just calling save on the parent association works in my testing, e.g.
  some_child.some_parent.save

On Nov 13, 10:08 am, David Warburton <[EMAIL PROTECTED]
s.net> wrote:
> When I update an ActiveRecord, i would like to "touch" one of the
> related objects, that the updated record belongs_to, in order to update
> the timestamps on the parent record, although i don't want to change any
> of the data in the parent.  Whats the accepted way to do this?
> --
> Posted viahttp://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to