Add field to Devise user registration
I use Devise with my Ruby on Rails 4 application for user
authentication/registration. I want to add one more field to my user
registration form called nickname. Adding this field to the views is
straight forward, but what's the best way to go ahead and ensure that
Devise ensures that it persists to the model and doesn't reject this
attribute as it is non-standard for it is built for?
No comments:
Post a Comment