Active Record
Object-relational mapping library for Ruby that maps classes to database tables, distributed as part of Rails.
Active Record is the object-relational mapping layer of Rails, and it can be installed on its own from RubyGems. A class that subclasses its base class maps to a database table, and associations, validations, callbacks, transactions and migrations are declared in Ruby. The source sits in the Rails monorepo on GitHub, next to the other Rails components.
Worth knowing
Active Record is one component of Rails, so the repository figures for stars and contributors describe the whole Rails project. The Active Record guide is the entry point for its concepts.
Sources
- 2026-11-04: links
rubyonrails.org/ - 2026-11-04: links, Written in, GitHub stars
api.github.com/repos/rails/rails - 2026-11-04: links, Categories, Install with, License, License model
github.com/rails/rails/blob/main/activerecord/README.rdoc - 2026-11-04: Maintainer
github.com/rails/rails/blob/main/activerecord/MIT-LICENSE - 2026-11-04: Runtime, Minimum runtime, Built on
github.com/rails/rails/blob/v8.1.4.1/activerecord/activerecord.gemspec - 2026-11-04: Databases
guides.rubyonrails.org/active_record_basics.html - 2026-11-04: Current major version
github.com/rails/rails/releases/tag/v8.1.4.1 - 2026-11-04: Last release
rubygems.org/api/v1/gems/activerecord.json - 2026-11-04: First release
api.github.com/repos/rails/rails/tags - 2026-11-04: Contributors
api.github.com/repos/rails/rails/contributors