On Jun 8, 12:02 am, Frederick Cheung <frederick.che...@gmail.com>
wrote:
> On Jun 7, 10:01 pm, "J. D." <rails-mailing-l...@andreas-s.net> wrote:
>
>
>
> > Any ideas of what I might be doing wrong?
>
> You're not using update_all correctly - check the documentation
>
Well the documentation may not mention the usage you are using, but it
does exist, sorry about that. You do seem to be using it slightly
oddly though: you call update_all multiple times, but you don't
specify any conditions, so each call to update_all overwrites the
changes made by the previous one.

Fred
> Fred
>
>
>
> > This still has been a great day because even though I've seen tons of
> > errors, I'm learning..
>
> > --
> > 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 rubyonrails-talk@googlegroups.com
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to