rails 4 deprecated Model.scoped