Rails 4 dependency