seed-fu-mongoid/lib
Heitor Salazar Baldelli 0fc9735137 Send object a message instead of directly setting the attribute
This line will lead to fail when you have nested attributes in a document.

Since the access to the property is made directly (throgh the #[] method) mongoid will store the association_attributes as a property of the document, instead of triggering the nested attributes generated method.

This little patch fixes this issue.
2013-08-01 16:21:40 -03:00
..
seed-fu-mongoid Send object a message instead of directly setting the attribute 2013-08-01 16:21:40 -03:00
seed-fu-mongoid.rb add some tests and the ability to create objects via hashes 2013-03-27 10:41:04 -04:00