Gems


RGL is a framework for graph data structures and algorithms in Ruby.
RGL is a framework for graph data structures and algorithms.The design of the library is much influenced by the Boost Graph Library (BGL) which is written in C . Refer to https://www.boost.org/libs/graph/doc for further links and documentation on...

Easily setup logical replication and switchover to new database with minimal downtime
pg_easy_replicate is a CLI orchestrator tool that simplifies the process of setting up logical replication between two PostgreSQL databases. pg_easy_replicate also supports switchover. After the source (primary database) is fully replicating, pg_e...



ActiveRecord schema visualization and model organization made easy
ActiveRecord schema visualization and model organization made easy 🙌Colorized table info for columns, types, nullables, indexes... and the actual DDL used by the database to create the table. All this and more with ModelProbe!Get a clear picture o...

A faster alternative to the custom use of `in_batches` with `pluck`
ActiveRecord comes with find_each / find_in_batches / in_batches methods to batch process records from a database. ActiveRecord also has the pluck method which allows the selection of a set of fields without pulling the entire record into memory.T...


Define structured and strongly-typed parameter schemas for your Rails controllers
typed_params is an alternative to Rails strong parameters for controller params, offering an intuitive DSL for defining structured and strongly-typed controller parameter schemas for Rails APIs.This gem was extracted from Keygen and is being used ...

Update Action View to use HTML5 standards-compliant sanitizers
The modern web is built on HTML5The HTML sanitizers used in Rails 7.0 and earlier, rails/rails-html-sanitizer, use Loofah and Nokogiri, and specifically rely on Nokogiri's HTML4 parser, libxml2.libxml2's HTML4 parser has not kept up-to-date with t...