make scopes for AR Rails 4 friendly