ActiveRecords

Ruby on Rails 4.2
  • 12 Videos | 54m 9s
  • Earns a Badge
Likes 4 Likes 4
Models are the gateway to the database and ActiveRecord is the Rails library for dealing with data. Explore ActiveRecord and how to work with it.

WHAT YOU WILL LEARN

  • describe the basics of how ActiveRecord works
    use has_one, has_many, and belongs_to associations
    use the :through association
    make one class belongs_to more than one type of another class
    use virtual attributes
    persist data into multiple models
  • describe Hstore and how it is used
    use .where and .find
    execute a raw SQL query
    compare the .select and .pluck methods
    use different finder methods to retrieve objects from the database
    recall how to use modules to share functionality between disparate model classes

IN THIS COURSE

  • Playable
    1. 
    Introduction to ActiveRecord
    4m 48s
    UP NEXT
  • Playable
    2. 
    Using Basic Associations
    6m 40s
  • Locked
    3. 
    Using Advanced Associations
    5m 20s
  • Locked
    4. 
    Using Polymorphic Has_many Relationships
    6m 1s
  • Locked
    5. 
    Using Virtual Attributes
    3m 47s
  • Locked
    6. 
    Persisting Data into Multiple Models
    4m
  • Locked
    7. 
    Exploring PostgreSQL Enhancements
    3m 49s
  • Locked
    8. 
    Using Where Clauses and Find Methods
    5m 45s
  • Locked
    9. 
    Executing Raw SQL Queries
    2m 46s
  • Locked
    10. 
    Using Select and Pluck
    3m 6s
  • Locked
    11. 
    Using Other Finder Methods
    3m 7s
  • Locked
    12. 
    Reusing Common Behavior with Modules
    3m 31s

EARN A DIGITAL BADGE WHEN YOU COMPLETE THIS COURSE

Skillsoft is providing you the opportunity to earn a digital badge upon successful completion of this course, which can be shared on any social network or business platform

Digital badges are yours to keep, forever.

YOU MIGHT ALSO LIKE

Likes 2 Likes 2  
Likes 5 Likes 5