ActiveRecord outside of Rails: handy DB-tool

The popular web framework Ruby on Rails has a core part called ActiveRecord. That is the ORM, the object-relational mapper, which lets you use your database records “as objects” in your code. With Rails, ActiveRecord is very powerful, but it’s…