Too Long; Didn't Read
Ruby and ActiveRecord are Ruby's Ruby gem, which builds common query methods on simple class methods. The same SQL queries are made by ActiveRecord, but the abstract ones to short story methods like find, group, select, select and order. Ruby's ActiveRecord Query Interface documentation explains how to use these methods in a relational database. For example, the find method shows the query that was executed, in addition to the result, obtained this time an Array with the 2 records of the "User" table that we required.