Rails 4.1

Hi,

This is a handy gem...I made some changes so the tests would pass (locally) with Rails 4.1.x.