Added 'config.action_controller.permit_all_parameters = true' to config/application.rb