On May 23, 5:10 pm, Alex N <[email protected]> wrote:
> I'd like to do something like:
>
> after_save :get_url, :if => url_changed?
>
> but this won't work because the url is no longer "dirty" after the
> save.

Have you tried this? Unless something's broken, the dirty attributes
shouldn't be cleared until *after* all the callbacks run.

--Matt Jones

-- 
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