Use ActiveRecord in your Ruby project

Doesn’t have to be Ruby on Rails Project

Panos Matsinopoulos
Level Up Coding
Published in
8 min readJun 19, 2023

--

Image by Ruslan Sikunov from Pixabay

ActiveRecord is a gem that is part of Ruby on Rails. It is the ORM, i.e. the library that maps our objects to tables. In other words, it is the Ruby library that allows us to use Ruby classes in order to access our data stored in an RDBMS, like MySQL or PostgreSQL.

--

--