how can i set the text_fields to put data into a model with habtm bindings? Example: model1 has_and_belongs_to_many :model2 how can i insert data into the references of model2 into model1? -- Posted via http://www.ruby-forum.com/.
Enzo Rivello wrote:> how can i set the text_fields to put data into a model with habtm > bindings? > > Example: > > model1 has_and_belongs_to_many :model2 > > how can i insert data into the references of model2 into model1?use model1.model2 attribute -- Posted via http://www.ruby-forum.com/.