RailsCasts Pro episodes are now free!

Learn more or hide this

sai kiran's Profile

GitHub User: kiran4002

Comments by sai kiran

Avatar

ActiveModel::MassAssignmentSecurity::Error in ShopsController#create

Can't mass-assign protected attributes: photo

app/controllers/shops_controller.rb:43:in `new'

app/controllers/shops_controller.rb:43:in `create'

getting an error please help me any one