We've moved discussions to Discord

update video

Bryan Stewart
Is there an updated video for this?
https://youtu.be/dOEF1BJuUNY

current_team.subscribed is not available
Jon Sullivan
Howdy!

While I agree that a number of the videos from 2 years ago could use a good update and refresh, the big thing you'll want to keep in mind is that JSP renamed "team" to "account" — so basically anything from the original JSP launch 2 years ago referencing "team" should really be thought of as referencing "account".

As such, current_team is not defined, but current_account should be.
Bryan Stewart
many thanks Jon!

Bryan Stewart
I wasnt able to find that method under the current_helper.rb. not sure if I just missed it or not. I looked through the models and helpers without any luck. This works for now.

I ended up making a method
def current_subscriber?
 current_account.subscription_ids.length > 0
end
Notifications
You’re not receiving notifications from this thread.