Issue with roles changing to correct membership
RailsCod3rFuture opened this issue · comments
The stripe_id is identical to the role within the enum. But, when I check the role in the console. I get
@user.gold?
false
When I check the user directly for their role. I get
@user.role
"user"
Mind you, the user.stripe_plan_id is set
Rails Console >> subscription_plan_id: 5
How do you set the enum roles up to match the stripe id correctly?