Use Rails 3 callbacks.
These callbacks are different from pre-rails 3. They do NOT cancel the after_ if the before_ returns false. They will cancell inner callbacks, however, but that's it. This is a change in functionality.
Showing
Please
register
or
sign in
to comment