Allow dependency on Rails 4