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/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

