Please sign in to comment.
Moved squawk method into LocalInstanceMethods module, so it would
not be added to every ActiveRecord::Base object. Changed acts_as_yaffle so it will include the LocalInstanceMethods module. Now only models that call acts_as_yaffle will get the squawk method, instead of pushing them into every ActiveRecord::Base.
- Loading branch information...
Showing with 6 additions and 3 deletions.