SquirtleSquad1988 / rails-activerecord-crud-study

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

General Assembly Logo

Rails: ActiveRecord Study

ActiveRecord is a Ruby library that serves as an object-relational mapping (ORM) tool. ORMs allow us to use a language other than SQL to perform CRUD operations on our data. ActiveRecord translates Ruby code into SQL and also creates Ruby objects from database rows.

ActiveRecord is a part of Rails and is used in the model layer. It allows us to use Ruby to manipulate objects without worrying about how those objects are persisted.

Prerequisites

Objectives

By the end of this, developers should be able to:

  • Explain the value of an ORM in developing an application.
  • Name model files and classes according to Rails's naming conventions.
  • Reference basic CRUD operations in ActiveRecord using the Rails documentation.

Instructions

  1. Fork and clone this repository.
  2. Change into the new directory.
  3. Create and checkout a new branch, named response.
  4. Follow the directions given in study.md.
  5. When finished, push to your fork and submit a pull request.

You may wish to refer to FAQs related to forking, cloning, and pull requests.

  1. All content is licensed under a CC­BY­NC­SA 4.0 license.
  2. All software code is licensed under GNU GPLv3. For commercial use or alternative licensing, please contact legal@ga.co.

About

License:Other