Default scope must be a block

Rails 4.1 deprecation