On 10/25/07, zdennis <[EMAIL PROTECTED]> wrote:
>
> Ticket 9900 adds a declarative way to define observer callbacks which
> seems more in line with the Rails way of thinking.
Umm..how is that so ?
CALLBACKS = %w(
after_find after_initialize before_save after_save before_create
after_create before_update after_update before_validation
after_validation before_validation_on_create
after_validation_on_create before_validation_on_update
after_validation_on_update before_destroy after_destroy
)
Places where the format proposed in this patch works, are dispatcher
callbacks and rescue_from, on top of my head.
Having said that, I don't see any harm in #9900 if it's a simple
patch. Always good to have options :)
--
Cheers!
- Pratik
http://m.onkey.org
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---