I have nested resources as follows: 'albums has_many photos'.
Whenever someone edits photos, I would like update time stamp on albums.
I tried to do this like:
@photos.albums.updated_by = @currentusername
@photos.albums.save

But, this is not updating albums. I don't see anything happening in the
database log or mongrel log.

-
CS.
-- 
Posted via http://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