My app I am building uses, Activeadmin for a back-end interface.
I currently use this for easy production for my clients to add simple things into the back-end like products etc.
I have set up using rails 4 and the activeadmin rails 4 compatible version.
When I go to add a new band in the back-end I get this error:
ActiveModel::ForbiddenAttributesError in Admin::BandsController#create
ActiveModel::ForbiddenAttributesError
Request
Parameters:
{"utf8"=>"✓",
"authenticity_token"=>"YnzHk2juyZ6W2kVS5ZVPCimoj7LSHRI1Oen4BHjaqfc=",
"bands"=>{"title"=>"Kings of Leon",
"picture"=>"blank"},
"commit"=>"Create Bands"}
I know that this is to do with the creation of a new item in the backend but I am unsure where to start from fixing this bug.
Any help would be great,
Thanks