with_scope does not exist anymore in Rails 4.1