Groups
Groups
Sign in
Groups
Groups
Mongoid
Conversations
About
Send feedback
Help
Touching the root document
7 views
Skip to first unread message
Nicholas Wieland
unread,
Feb 20, 2011, 11:01:47 AM
2/20/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 mon...@googlegroups.com
Hi *,
I have an object foo that references_many bars, I would like to have my foo.updated_at updated when I add an element to bars.
Do I have to do it manually or there's something like the :touch option of AR ?
TIA,
ngw
--
[ 926381, 23200231779, 1299022, 1045307475 ].collect { |a| a.to_s( 36 ) }.join( " " )
Nicholas Wieland (ngw)
n...@nofeed.org
http://www.nofeed.org
Durran Jordan
unread,
Feb 20, 2011, 12:11:05 PM
2/20/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 mon...@googlegroups.com
You'll have to do it manually for now.
2011/2/20 Nicholas Wieland
<
n...@nofeed.org
>
Reply all
Reply to author
Forward
0 new messages