0
Opa,
The problem is this: I have a model called Idea and I’m trying to add a new nested in it to Ideategoria which is an associative with Idea. So we have:
Idea:
has_many :ideia_categories, inverse_of: :idea, dependent: :Destroy
accepts_nested_attributes_for :ideia_categories, :reject_if => :all_blank, :allow_destroy => true
Ideiacategoria:
belongs_to :idea
belongs_to :category
Category:
has_many :ideia_categories, inverse_of: :category, dependent: :Destroy
In my idea form I have like this:
And when I enter this form returns me the error:
And in my inflection is so that part of the ideas:
inflect.plural "ideia_comentario", "ideia_comentarios"
inflect.singular "ideia_comentarios", "ideia_comentario"
inflect.plural "ideia_arquivo", "ideia_arquivos"
inflect.singular "ideia_arquivos", "ideia_arquivo"
inflect.plural "ideia_categoria", "ideia_categorias"
inflect.singular "ideia_categorias", "ideia_categoria"
inflect.plural "categoria", "categorias"
inflect.singular "categorias", "categoria"
Where are you pulling this Ideiacategorium?