Nested simple_form with polymorphic association. Unpermited parameter
问题 It's a lot of question about it all around, but I can't find the answer. I've: group.rb class Group < ActiveRecord::Base has_many :descriptions, :as => :describable accepts_nested_attributes_for :descriptions end description.rb class Description < ActiveRecord::Base belongs_to :describable, :polymorphic => true end groups_controller.rb def update @group = Group.find(params[:id]) if @group.update_attributes(group_params) flash[:success] = "yes" redirect_to groups_path else render 'edit' end