Active Record gems

Showing projects tagged as ORM/ODM Extensions and Active Record

  • PaperTrail

    9.5 5.9 L3 Ruby
    Track changes to your rails models
  • Pagy

    8.9 9.5 Ruby
    ๐Ÿ† The Best Pagination Ruby Gem ๐Ÿฅ‡
  • Ancestry

    8.8 5.8 L4 Ruby
    Organise ActiveRecord model into a tree structure
  • Audited

    8.8 6.8 L5 Ruby
    Audited (formerly acts_as_audited) is an ORM extension that logs all changes to your Rails models.
  • Awesome Nested Set

    8.2 5.5 L5 Ruby
    An awesome replacement for acts_as_nested_set and better_nested_set.
  • ActsAsList

    7.8 4.6 L4 Ruby
    An ActiveRecord plugin for managing lists.
  • Discard

    7.3 6.0 Ruby
    ๐Ÿƒ๐Ÿ—‘ Soft deletes for ActiveRecord done right
  • Enumerize

    7.3 7.2 L4 Ruby
    Enumerated attributes with I18n and ActiveRecord/Mongoid support
  • Logidze

    6.7 5.5 Ruby
    Database changes log for Rails
  • BatchLoader

    5.9 4.7 Ruby
    :zap: Powerful tool for avoiding N+1 DB or HTTP queries
  • Acts As Commentable

    5.9 0.0 L5 Ruby
    The ActiveRecord acts_as_commentable plugin
  • Rails PG Extras

    5.8 5.7 Ruby
    Rails PostgreSQL database performance insights. Locks, index usage, buffer cache hit ratios, vacuum stats and more.
  • StoreModel

    5.7 6.9 Ruby
    Work with JSON-backed attributes as ActiveRecord-ish models
  • ArLazyPreload

    4.8 5.7 Ruby
    Lazy loading associations for the ActiveRecord models
  • DeepPluck

    4.0 7.2 L5 Ruby
    Allow you to pluck attributes from nested associations without loading a bunch of records.
  • Hightop

    4.0 4.7 Ruby
    A nice shortcut for group count queries
  • arel-helpers

    3.9 0.0 Ruby
    Useful tools to help construct database queries with ActiveRecord and Arel.
  • ActiveRecord::Turntable

    3.6 0.0 L5 Ruby
    ActiveRecord Sharding Plugin
  • Espinita

    3.4 4.6 L5 Ruby
    Audit activerecord models like a boss (and works with rails 4!)
  • ActiveRecord Where Assoc

    2.8 6.0 Ruby
    Make ActiveRecord do conditions on your associations
  • ValidatesZipcode

    2.8 4.4 Ruby
    Postal code / zipcode validation for Rails, supporting 233 country codes
  • N1Loader

    2.8 6.2 Ruby
    Loader to solve N+1 issues for good. Highly recommended for GraphQL API.
  • pluck_all

    2.2 6.1 L5 Ruby
    A more efficient way to get data from database. Like #pluck method but return array of hashes instead.
  • rails_or

    2.0 3.6 L5 Ruby
    Cleaner syntax for writing OR Query in Rails 5, 6. And also add #or support to Rails 3 and 4.
  • ActiveModelCachers

    1.9 4.0 Ruby
    Simply cache whatever you want by using cachers which will help you maintain cached objects and expire them when they are changed.
  • FindWithOrder

    1.5 0.0 L5 Ruby
    Provides a simple way to find records in the same order of input array. Has better performance than manually sorting. (Support both PostgreSQL and MySQL)
  • Filtered

    1.2 0.0 Ruby
    Filters ActiveRecord queries in a nice way
  • Atomically

    1.1 5.9 Ruby
    An ActiveRecord extension for writing commonly useful atomic SQL statements to avoid race condition.
  • Enummer

    1.1 5.1 Ruby
    ๐Ÿณ๏ธโ€๐ŸŒˆ Multi enums (aka flags) for Rails
  • ActiveRecord Setops

    1.0 0.0 Ruby
    Union, Intersect, and Difference set operations for ActiveRecord (also, SQL's UnionAll).