Support using with Rails 4

Everything works fine in Rails 4 :smile: