Thanks, Chris. No more 3AM posting from me.

On Apr 6, 1:36 pm, "Chris Wanstrath" <[EMAIL PROTECTED]> wrote:
> On 4/6/07, Adam Michela <[EMAIL PROTECTED]> wrote:
>
> > It would be nice to have a way to use `update_attribute` WITH
> > validations. I wouldn't propose, nor agree with, changing the default
> > behavior of `update_attribute` at this stage. I'm just saying it would
> > be nice to have validations as an option for that method, or at least
> > another method that could update a single protected attribute with
> > validations.
>
> update_attribute_without_validation_skipping
>
> The original update_attribute does perform validations.  It is
> overriden with alias_method_chain by validations.rb to skip 'em.  The
> original method is then preserved with the above name.
>
> --
> Chris Wanstrathhttp://errtheblog.com


--~--~---------~--~----~------------~-------~--~----~
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 [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-core?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to