Giter VIP home page Giter VIP logo

rails-activerecord-crud-study's Introduction

General Assembly Logo

Rails: ActiveRecord Study

ActiveRecord is a Ruby library that serves as an object-relational-mapper (ORM). ORMs allow us to use a language different than SQL to perform CRUD 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 conventions.
  • Reference basic CRUD operations in ActiveRecord using the Rails documentation.
  • Explain the role of migrations.
  • Reference documentation for writing migrations.
  • Explain the role of seed data.

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.

Source code distributed under the MIT license. Text and other assets copyright General Assembly, Inc., all rights reserved.

rails-activerecord-crud-study's People

Watchers

James Cloos avatar Natasa Peic avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.