object.errors looks like a hash. Can you do a puts object.errors and post
the result?

If it says :email => 'foo' somewhere, you should be able to do
object.errors.clear :email

On Fri, Sep 19, 2008 at 1:54 PM, Tom Styles <
[EMAIL PROTECTED]> wrote:

>
> Tom, did you ever get a solution to this problem, or even a work around.
> I've got the same issue now.
>
> Thanks in Advance
> Tom Styles
>
> TomRossi7 wrote:
> > Is there a way to remove a specific error or errors on a specific
> > attribute?  I see there is a object.errors.clear, but that clears all
> > the errors associated with the object.  I would like to do something
> > like object.errors.clear('email'), where any errors associated with
> > the email attribute are cleared out.
>
> --
> 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