When looking to change a postgres index to be case insensitive, I came across this gem: GitHub - SchemaPlus/schema_plus: SchemaPlus provides a collection of enhancements and extensions to ActiveRecord which would seem to provide quite a few nice database features.
To quote:
SchemaPlus is an ActiveRecord extension that provides enhanced capabilities for schema definition and querying, including: enhanced and more DRY index capabilities, support and automation for foreign key constraints, and support for views.
I like this option when trying to rollback migrations:
drop_table :table_name, if_exists: true # no error if table doesn't exist
I’m wondering if anybody on this group is using it or evaluated it.