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) [1] http://datamapper.org/docs/callbacks.html --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
