ActiveRecords
Ruby on Rails 4.2
| Intermediate
- 12 videos | 52m 39s
- Earns a Badge
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 worksUse has_one, has_many, and belongs_to associationsUse the :through associationMake one class belongs_to more than one type of another classUse virtual attributesPersist data into multiple models
-
Describe hstore and how it is usedUse .where and .findExecute a raw sql queryCompare the .select and .pluck methodsUse different finder methods to retrieve objects from the databaseRecall how to use modules to share functionality between disparate model classes
IN THIS COURSE
-
4m 48sUpon completion of this video, you will be able to describe the basics of ActiveRecord. FREE ACCESS
-
6m 40sDuring this video, you will learn how to use the has_one, has_many, and belongs_to associations. FREE ACCESS
-
5m 20sIn this video, you will use the through association. FREE ACCESS
-
6m 1sDuring this video, you will learn how to make one class belong to more than one type of another class. FREE ACCESS
-
3m 47sIn this video, you will learn how to use virtual attributes. FREE ACCESS
-
4mLearn how to store data in multiple models. FREE ACCESS
-
3m 49sUpon completion of this video, you will be able to describe Hstore and how to use it. FREE ACCESS
-
5m 45sIn this video, learn how to use the methods .where and .find. FREE ACCESS
-
2m 46sIn this video, learn how to run a raw SQL query. FREE ACCESS
-
3m 6sIn this video, learn how to compare the .select and .pluck methods. FREE ACCESS
-
3m 7sFind out how to use different methods to retrieve objects from the database. FREE ACCESS
-
3m 31sUpon completion of this video, you will be able to recall how to use modules to share functionality between disparate model classes. FREE ACCESS
EARN A DIGITAL BADGE WHEN YOU COMPLETE THIS COURSE
Skillsoft is providing you the opportunity to earn a digital badge upon successful completion on some of our courses, which can be shared on any social network or business platform.
Digital badges are yours to keep, forever.YOU MIGHT ALSO LIKE
Channel
Ruby