hi,
Does anyone know whether FactoryGirl is possible to generate a factory
for a model that now HBTM associations and moreover this model requires
the presence of this association.
If possible, would appreciate any information.
The models:
Class Document < Activ…
has_and_belongs_to_many :languages
validate_presences_of :languages
end
Class Language < Active …
has_and_belongs_to_many :documents
end
Thanks.
PS: Sorry for my English.