RubyFlow The Ruby and Rails community linklog

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

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in