RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: brettsanders
Has anyone else run into a mass assignment error when trying to create a new piano?
ActiveModel::MassAssignmentSecurity::Error in Refinery::Pianos::Admin::PianosController#create
Can't mass-assign protected attributes: name, dimensions, manufactured_on(1i), manufactured_on(2i), manufactured_on(3i), upright, photo_id, description, position
Here's screenshot of error: http://grab.by/cWGE
If anyone has an idea how to solve this, would be appreciated.
Has anyone else run into a mass assignment error when trying to create a new piano?
ActiveModel::MassAssignmentSecurity::Error in Refinery::Pianos::Admin::PianosController#create
Can't mass-assign protected attributes: name, dimensions, manufactured_on(1i), manufactured_on(2i), manufactured_on(3i), upright, photo_id, description, position
Here's screenshot of error:
http://grab.by/cWGE
If anyone has an idea how to solve this, would be appreciated.