-
Notifications
You must be signed in to change notification settings - Fork 132
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rails 4.2: Unable to use obfuscate_id :spin => 89238723 #34
Comments
Any luck getting this gem to work with Rails 4.2? Here's the error you get when using Rails 4.2 and devise:
|
@ACPK Can you provide the full stacktrace? |
Here's the stacktrace I get: By calling User.find(user_id) |
@johanoskarsson The reason why you're getting this is because Rails is trying to lookup the record with the id you provided in the URL params, and no record with that id exists. User.find_by(user_id])
or
User.find_by(params[:id) |
#28
The text was updated successfully, but these errors were encountered: