Hi

I noticed that if in my code I use the following:

Photo.update_all("title = 'Ruby rocks' ", "id IN ([EMAIL PROTECTED])")

All my objects are properly updated but none of the filters/callbacks
are triggered. Is that what's expected?

I have a before_update filter set on the Photo class and it gets
totally ignored, I guess the only way to solve this issue is to
enumerate through the objects and update them one after the other :(

Thanks,

-Matt


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" group.
To post to this group, send email to rubyonrails-core@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-core?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to