Hello! I do an example on the Tutorial and stumble on the execution of $ bundle exec rake db:migrate , I get the following output:
@:~/rails/demo % bundle exec rake db:migrate config.eager_load is set to nil. Please update your config/environments/*.rb files accordingly: * development - set it to false * test - set it to false (unless you use a tool that preloads your test environment) * production - set it to true rake aborted! NoMethodError: undefined method `whitelist_attributes=' for #<Class:0x0000080d034c78> Tasks: TOP => db:migrate => db:load_config (See full trace by running task with --trace) What are my actions to be?
Added Now, after the actions taken are described in the comments, we need an explanation of what it all means.
NoMethodError: undefined method 'mass_assignment_sanitizer=' for #<Class:0x0000080cf090d8>- dileconfig.active_record.mass_assignment_sanitizerandconfig.active_record.auto_explain_threshold_in_seconds- dileconfig.eager_load is set to nil. Please update your config/environments/*.rb files accordingly:config.eager_load is set to nil. Please update your config/environments/*.rb files accordingly:- dileconfig.eager_load = true, and in the rest of the config / environments / *. rbconfig.eager_load = false- dile