Rails 4 support

lol