RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: sunil1293
hi i am using rails 4.1.2, ruby 2.0.0 I upgraded the application form rails 3.2.14 to rails 4.1.2
ActiveModel::ForbiddenAttributesError in AAAAAImportsController#create ActiveModel::ForbiddenAttributesError
def import_params params.require(:aaaaa_import).permit(:file) end
@aaaaa_import = AaaaaImport.new(import_params)
in my controller and removed attr_accessible in model
hi i am using rails 4.1.2, ruby 2.0.0
I upgraded the application form rails 3.2.14 to rails 4.1.2
ActiveModel::ForbiddenAttributesError in AAAAAImportsController#create
ActiveModel::ForbiddenAttributesError
in my controller and removed attr_accessible in model