Forum: Ruby on Rails Disabling an after_save() in a rake conversion?

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
2f9a03aa0fcfe945229cb6126eda2cb2?d=identicon&s=25 Philip Hallstrom (Guest)
on 2006-06-02 01:42
(Received via mailing list)
Hi all -

I've got a model Foo that has an after_save() method.  I'd like to
disable
it while doing a rake conversion.

Seems I should be able to just redeclare Foo.after_save() somehow, but
I'm
not quite sure how to do that in the rake task...

Any ideas?

Thanks!

-philip
This topic is locked and can not be replied to.