allow dependency on Rails 4