3 ms·
Steve, thanks for following-up. For point one, I mean that developers have free range with helper definitions and that they eventually find their way into cont
by purephase 13y ago
Steve, thanks for following-up.
For point one, I mean that developers have free range with helper definitions and that they eventually find their way into controllers.
Interesting news about performance tests in <4. I didn't realize that, I'll check them out.
The eval problem is as follows (typically if you have to eval something in a gem):
class Foo < ActiveRecord::Base
before_save :bar
..
end
Foo.class_eval do
# I want to remove before_save callback here without having to redefine it.
before_save :bar
...
def bar
return
end
end
It's not a big deal, just adds clutter. Thanks again!