Patrick Clas wrote:
> I thought this was possible using the update_all method of
> ActiveRecord...no?  

You're quite right.  I had forgotten about that method.

> If not, then I will just write native sql commands
> instead.

No, use something like ar-extensions if update_all won't do the trick. 
If you're writing SQL for a task this simple, then something is wrong.

Best,
--
Marnen Laibow-Koser
http://www.marnen.org
[email protected]
-- 
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