Forum: Ruby on Rails RE: How do I retrieve Errors from multiple updates

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
on 2005-11-18 20:38
(Received via mailing list)
Nevermind... figured it out... for the record, this is how I did it...

     @task = Task.update @params['task'].keys, @params['task'].values
      @task.each do |t|
        if t.errors.full_messages().to_s == ""
          flash[:notice] += + " updated successfully!<br />"
          flash[:notice] += t.errors.full_messages().to_s + "<br />"
This topic is locked and can not be replied to.