Relax dependency for Rails 4