Unfrozen rails dependency on version 3

Not thoroughly tested on Rails 4, but after some light usage I didn't find any problems