1
I have a model of Item has_and_belongs_to_many :generous and a model Gender has_and_belongs_to_many :items, with this I also have a generous item relationship table(id_item, genero_id).
I’m trying to create a new relationship between item and gender in view of the items (show/1), I would first search for all the generos and then with this data I would include this new relationship, but as I do not have a model for the table generos_items and also do not have the controller do not know how to enter this record, which is the best way to proceed?