Active Record gems

Showing projects tagged as ORM/ODM Extensions and Active Record

  • PaperTrail

    9.5 7.7 L3 Ruby
    Track changes to your rails models
  • Ancestry

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

    8.6 4.0 L5 Ruby
    Audited (formerly acts_as_audited) is an ORM extension that logs all changes to your Rails models.
  • Pagy

    8.6 9.4 Ruby
    ๐Ÿ† The Best Pagination Ruby Gem ๐Ÿฅ‡
  • Awesome Nested Set

    8.1 5.3 L5 Ruby
    An awesome replacement for acts_as_nested_set and better_nested_set.
  • ActsAsList

    7.6 1.6 L4 Ruby
    An ActiveRecord plugin for managing lists.
  • Enumerize

    7.2 6.2 L4 Ruby
    Enumerated attributes with I18n and ActiveRecord/Mongoid support
  • Discard

    6.6 3.9 Ruby
    ๐Ÿƒ๐Ÿ—‘ Soft deletes for ActiveRecord done right
  • Logidze

    6.2 5.5 Ruby
    Database changes log for Rails
  • Acts As Commentable

    5.8 0.0 L5 Ruby
    The ActiveRecord acts_as_commentable plugin
  • BatchLoader

    5.6 0.0 Ruby
    :zap: Powerful tool for avoiding N+1 DB or HTTP queries
  • Rails PG Extras

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

    4.6 4.9 Ruby
    Work with JSON-backed attributes as ActiveRecord-ish models
  • Hightop

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

    3.7 5.0 Ruby
    Useful tools to help construct database queries with ActiveRecord and Arel.
  • DeepPluck

    3.7 1.3 L5 Ruby
    Allow you to pluck attributes from nested associations without loading a bunch of records.
  • ArLazyPreload

    3.6 4.5 Ruby
    Lazy loading associations for the ActiveRecord models
  • ActiveRecord::Turntable

    3.4 0.0 L5 Ruby
    ActiveRecord Sharding Plugin
  • Espinita

    3.2 0.0 L5 Ruby
    Audit activerecord models like a boss (and works with rails 4!)
  • ValidatesZipcode

    2.5 1.1 Ruby
    Postal code / zipcode validation for Rails, supporting 233 country codes
  • ActiveRecord Where Assoc

    2.3 3.6 Ruby
    Make ActiveRecord do conditions on your associations
  • N1Loader

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

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

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

    1.7 0.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.3 3.8 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.1 0.0 Ruby
    Filters ActiveRecord queries in a nice way
  • Atomically

    1.0 0.0 Ruby
    An ActiveRecord extension for writing commonly useful atomic SQL statements to avoid race condition.
  • ActiveRecord Setops

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

    0.8 7.0 Ruby
    ๐Ÿณ๏ธโ€๐ŸŒˆ Multi enums (aka flags) for Rails