Make compatible to run with Rails 4.0

Just loosening up the dependency to make it work with Rails 4.0.

I tried it in my app and worked without a hitch.