Rails 3 compatibility
Merge pull request #5 from boxuk/railtie

Rails 3 compatibility