Fix Rails 4 #with_scope deprecation-warning