Ruby gem to have automatic scopes for ActiveRecord models
I use these modules in most of my projects to have useful scopes based on columns’ types (dates, times, strings and numerics). I finally took the time to extract it into a fully reusable gem :) https://github.com/BaseSecrete/type_scopes
Post a comment