Here's what I'm using:
ActiveRecord::Base.send(callback_to_use, method_to_invoke)
-- Patrick
On Nov 21, 2006, at 7:47 PM, Nathan Colgate Clark wrote:
Would constantize do the trick? I've used it to turn strings into
class names. For example:
constantize("Animal").find_by_name("monkey")
There is a whole pile of inflectors:
http://railsmanual.org/module/Inflector/1.1.2
Good luck,
Nathan
_______________________________________________
Sdruby mailing list
[email protected]
http://lists.sdruby.com/mailman/listinfo/sdruby