Rails 4 deprecation warning scope