it works with Rails 4 - adjust dependency