vendredi 27 mars 2015

combine two active record objects in Rails 3

I would like combine these two objects.



@part_group.each do |pg|
pg.available_assignments.each do |aa|
result = pg.merge(au)
end
end


However, I'm getting undefined method merge for...


Aucun commentaire:

Enregistrer un commentaire