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?
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?
Enzo R. 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
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs