fearoffish / fear-of-callbacks

Activate logging of all your used ActiveRecord callback hooks

This URL has Read+Write access

fearoffish (author)
Wed Oct 07 17:07:37 -0700 2009
commit  5fd8ab3650ccb90b9c04b84bffe74f19b8145dd8
tree    f70ab0df71a1e706bff0daa32dd956597cdf813e
parent  dcd3be382449e13253d8a771f70693b7121d0f71
README.rdoc

fear-of-callbacks

Got a legacy app that has some spaghetti ActiveRecord callbacks? Install this gem, and your log will fruitfully fill with juicy logging of the callback calls.

Install

Add this to your Rails environment file, I recommend only development.rb

    config.gem 'fear-of-callbacks'

Note on Patches/Pull Requests

  • Fork the project.
  • Make your feature addition or bug fix.
  • Add tests for it. This is important so I don’t break it in a future version unintentionally. Although currently the tests aren’t much to write home about.
  • Commit, do not mess with rakefile, version, or history. (if you want to have your own version, that is fine but
     bump version in a commit by itself I can ignore when I pull)
    
  • Send me a pull request. Bonus points for topic branches.

Copyright

Copyright © 2009 Jamie van Dyke. See LICENSE for details.