Groups
Sign in
Groups
Mongoid
Conversations
About
Send feedback
Help
autosave for referenced_in
8 views
Skip to first unread message
Julian Maicher
unread,
Mar 25, 2011, 11:31:38 AM
3/25/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Mongoid
Hey Durran,
since rc1 there is the ability to accept nested attributes for
referenced_in associations.
Is there a reason why the autosave option is not available?
Julian
Julian Maicher
unread,
Mar 25, 2011, 12:09:31 PM
3/25/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Mongoid
I created a simple fix.
https://github.com/jmaicher/mongoid/commit/4cd5b5d14571ef68d7e280255b701ce280b11e24
(I created a new model Ghost for the specs. I used Agent first but you
removed all :create callbacks in
https://github.com/mongoid/mongoid/blob/master/spec/functional/mongoid/persistence/insert_spec.rb#L11
).
I also created a pull request for that.
Reply all
Reply to author
Forward
0 new messages