I am building a web application with strong Rails 4 options.
When creating back office admin controllers, I wonder what is the best way to allow all model attributes?
At the moment, I have written the following:
def user_params params.require(:user).permit(User.fields.keys) end
What do you think is the best way?
ruby-on-rails ruby-on-rails-3 strong-parameters
Nicolas Blanco Dec 25 2018-12-12T00: 00Z
source share