Skip to content

raaynaldo/active-record-translating-from-orm-to-ar

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Translating From ORMs to Active Record

Objectives:

  1. Understand how ActiveRecord abstracts powerful methods for you.
  2. Identify how to inherit your models.

Instructions

This lab is meant to show you the power of Active Record. Take a look at your test suite in spec/dog_spec.rb Right now there are eight tests that are all failing. In the past you had to write out each method individually to pass each test. Now with Active Record, the hard work is done for you! Run your tests and watch them fail. Then make sure your Dog class inherits from ActiveRecord::Base and watch them pass!

View Objectives: on Learn.co and start learning to code for free.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 100.0%