Ruby on Rails 6 Essential Training: Models and Associations

  • 2-3 hours worth of material
  • LinkedIn Learning
  • English
Ruby on Rails 6 Essential Training: Models and Associations

Course Overview

Speed up and improve your development of full-featured web applications. Explore built-in features of models and associations in Ruby on Rails and apply these to a sample project.

Course Circullum

Introduction
  • Let ActiveRecord objects manage your data
  • What you should know
  • Using the exercise files on GitHub
1. Smarter Models
  • Non-database attributes
  • Smart models by design
  • More ActiveRecord query methods
  • Query data selection
  • Named scopes
  • Challenge: Named scopes
  • Solution: Named scopes
2. Data Validations
  • Overview of validation methods
  • Write validations
  • Use the multipurpose validates method
  • Write custom validations
  • How to skip validations
  • Challenge: Validations
  • Solution: Validations
3. ActiveRecord Callbacks
  • Overview of callbacks
  • Use callbacks to automate actions
  • Execute callbacks conditionally
  • How to skip callbacks
  • Challenge: Callbacks
  • Solution: Callbacks
4. ActiveRecord Associations
  • Work with associations
  • Validate presence with belongs_to
  • Destroy dependent-related records
  • Has and belongs to many relationships
  • Rich join associations
  • Traversing a rich join association
  • Joining tables during queries
Conclusion
  • Next steps
out of 5.0
5 Star 85%
4 Star 75%
3 Star 53%
1 Star 20%

Item Reviews - 3

Submit Reviews

Free Trial Available

This Course Include:
Introduction
  • Let ActiveRecord objects manage your data
  • What you should know
  • Using the exercise files on GitHub
1. Smarter Models
  • Non-database attributes
  • Smart models by design
  • More ActiveRecord query methods
  • Query data selection
  • Named scopes
  • Challenge: Named scopes
  • Solution: Named scopes
2. Data Validations
  • Overview of validation methods
  • Write validations
  • Use the multipurpose validates method
  • Write custom validations
  • How to skip validations
  • Challenge: Validations
  • Solution: Validations
3. ActiveRecord Callbacks
  • Overview of callbacks
  • Use callbacks to automate actions
  • Execute callbacks conditionally
  • How to skip callbacks
  • Challenge: Callbacks
  • Solution: Callbacks
4. ActiveRecord Associations
  • Work with associations
  • Validate presence with belongs_to
  • Destroy dependent-related records
  • Has and belongs to many relationships
  • Rich join associations
  • Traversing a rich join association
  • Joining tables during queries
Conclusion
  • Next steps
  • Provider:LinkedIn Learning
  • Certificate:Certificate Available
  • Language:English
  • Duration:2-3 hours worth of material
  • Language CC:

Do You Have Questions ?

We'll help you to grow your career and growth.
Contact Us Today