Rails 4.1 compatibility

Looses backwards compadibility with Rails 2.3, and maybe 3.X as well
remove extra development dependency
Merge pull request #1 from pwim/rails-4-1-compatibility

Rails 4.1 compatibility