authtrail | Track Devise login activity | Application Framework library
kandi X-RAY | authtrail Summary
kandi X-RAY | authtrail Summary
Track Devise login activity. AuthTrail 0.4.0 was recently released - see how to upgrade. :tangerine: Battle-tested at Instacart.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Perform a login
authtrail Key Features
authtrail Examples and Code Snippets
Community Discussions
Trending Discussions on authtrail
QUESTION
I've added a new attribute/column (locale
) to my User model (Devise). I will use this to save the User's chosen language to show the app in. This is selected by the user on the default Devise sign up form.
I have added the devise_parameter_sanitizer
method to my application controller to permit the new parameter but everytime I add a new user, the locale
column is always blank in the database.
If I follow the logs, I can see that the parameter is passed through to the create action, but for some reason it's lost somewhere in the middle.
Would love some guidance on what I'm doing wrong here.
Log when creating a new user
...ANSWER
Answered 2019-Jan-19 at 11:56If you check your logs you will see that your locale
param does not come inside user
scope. I've reformatted this line:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install authtrail
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page