I am working through the RailsApps Stripe tutorial.
When a new subscriber is created through a devise registration
controller they are then directed to their content page through a content
controller. I want to use their name
and email address
created upon registration on their content page. But I can't seem to bring the params into the content controller.
I put@user = User.find(params[:id])
into the content_controller
but I get the error "Couldn't find User without an ID".
On the error page it lists under Request Info > rack session: "warden.user.user.key"=>["User", [2]
,
So does that mean that ID of User #2 is being passed to the content_controller
but that I can't access it?