- Scopes between and not_between accept two arguments or a range
- Check if table exists to prevent from ActiveRecord::StatementInvalid
-
Refactor by switching modules into classes.
New usage is
TypeScopes.injectinstead ofinclude:class Model < ApplicationRecord TypeScopes.inject(self) end