# ORM And Active record

- [Why an ORM is Useful](https://certil-remy.gitbook.io/learn/orm-and-active-record/untitled.md)
- [Mapping Ruby Classes to Database Tables](https://certil-remy.gitbook.io/learn/orm-and-active-record/untitled-1.md)
- [Mapping Classes to Tables Lab](https://certil-remy.gitbook.io/learn/orm-and-active-record/untitled-2.md)
- [Mapping Database Tables to Ruby Objects](https://certil-remy.gitbook.io/learn/orm-and-active-record/untitled-3.md)
- [Mapping Database Rows to Objects Lab](https://certil-remy.gitbook.io/learn/orm-and-active-record/untitled-4.md)
- [Updating Records in an ORM](https://certil-remy.gitbook.io/learn/orm-and-active-record/untitled-5.md)
- [Updating Records in an ORM Lab](https://certil-remy.gitbook.io/learn/orm-and-active-record/untitled-6.md)
- [Preventing Record Duplication](https://certil-remy.gitbook.io/learn/orm-and-active-record/untitled-7.md)
- [ORMs Lab: Bringing It All Together lab](https://certil-remy.gitbook.io/learn/orm-and-active-record/untitled-8.md)
- [Dynamic ORMs](https://certil-remy.gitbook.io/learn/orm-and-active-record/untitled-9.md)
- [Dynamic ORMs with Inheritance](https://certil-remy.gitbook.io/learn/orm-and-active-record/untitled-10.md)
- [ActiveRecord Mechanics](https://certil-remy.gitbook.io/learn/orm-and-active-record/untitled-11.md)
- [Translating from ORM to ActiveRecord](https://certil-remy.gitbook.io/learn/orm-and-active-record/untitled-12.md)
- [Intro to Rake](https://certil-remy.gitbook.io/learn/orm-and-active-record/untitled-13.md)
- [Mechanics of Migrations](https://certil-remy.gitbook.io/learn/orm-and-active-record/untitled-14.md)
- [Writing Our Own Migrations](https://certil-remy.gitbook.io/learn/orm-and-active-record/untitled-15.md)
- [Migrations and Active Record Lab](https://certil-remy.gitbook.io/learn/orm-and-active-record/untitled-16.md)
- [ActiveRecord CRUD Lab](https://certil-remy.gitbook.io/learn/orm-and-active-record/untitled-17.md)
- [Advanced Finding Lab](https://certil-remy.gitbook.io/learn/orm-and-active-record/untitled-18.md)
- [ActiveRecord Associations](https://certil-remy.gitbook.io/learn/orm-and-active-record/untitled-19.md)
- [ActiveRecord Associations Lab](https://certil-remy.gitbook.io/learn/orm-and-active-record/untitled-20.md)
- [ActiveRecord Associations Lab II](https://certil-remy.gitbook.io/learn/orm-and-active-record/untitled-21.md)
- [ActiveRecord Associations Video Review](https://certil-remy.gitbook.io/learn/orm-and-active-record/untitled-22.md)
- [ActiveRecord Associations Video Review II](https://certil-remy.gitbook.io/learn/orm-and-active-record/untitled-23.md)
- [Video Review: Aliasing ActiveRecord Associations](https://certil-remy.gitbook.io/learn/orm-and-active-record/untitled-24.md)
- [Video Review: Blog CLI with ActiveRecord and Associations](https://certil-remy.gitbook.io/learn/orm-and-active-record/untitled-25.md)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://certil-remy.gitbook.io/learn/orm-and-active-record.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
