No implicit conversion of type Array to Integer with Rails 4.0.2 and Strong Parameters
问题 I'm trying to update a nested model with a simple has_many / belongs_to association I've setup parameters in the controller with params.require(:survey).permit(:name, :questions[[:id, :content]]) but I get the No implicit conversion of type Array to Integer console dump below. From similar issues I've read the problem may be how this :questions_attributes is hashed - no idea where this needs to be fixed tho - any ideas appreciated! Thanks Started PATCH "/surveys/1" for 127.0.0.1 at 2014-01-04