2008/10/5 Kless <[EMAIL PROTECTED]>: > > I've tried testing Adding Class-Level Advice for hooks [1]: > > before_class_method :find, :prepare > > but it doesn't works. It shows: > > /usr/lib/ruby/gems/1.8/gems/extlib-0.9.7/lib/extlib/hook.rb:168:in > `register_hook': find class method does not exist (ArgumentError)
Maybe what you want to advice is get method and not find? Sorry if I am not making any sense here. -- MK --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "DataMapper" 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/datamapper?hl=en -~----------~----~----~----~------~----~------~--~---
