Loosen rails requirements in order to work with Rails 4