You need to override the devise strong params implementation inside your 
ApplicationController.

We could use a simple before_filter to check if devise controller is been 
use.
```ruby
class ApplicationController < ActionController::Base
before_filter :configure_permitted_parameters, if: :devise_controller?

private
def configure_permitted_parameters
devise_parameter_sanitazer.for(:sign_up){|u| u.permit(:first_name, 
:last_name, :birthday, :mobile, :password, :password_confirmation} 
end
end
ยดยดยด

Hope that helps.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rubyonrails-talk+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/b7bd8258-83bf-489c-a884-6520b3881878%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to