Working with Databases in Ruby on Rails

Inquiry

This course covers how to work with databases in Ruby on Rails. It covers data models, referential integrity, record validation, and optimistic and pessimistic locking.

Topic T2 Objective O3

  • Start the course

Topic T6 Objective O7

  • Create and use a basic CRUD in Ruby on Rails

Topic T10 Objective O11

  • Create various data models in a Ruby on Rails database

Topic T14 Objective O15

  • Implement one-one relationships between two ActiveRecord models

Topic T18 Objective O19

  • Link one database in Ruby on Rails to multiple other tables using a has_many relationship

Topic T22 Objective O23

  • Use the joins keyword or the includes keyword to query two Ruby on Rails databases that have a has_many relationship

Topic T26 Objective O27

  • Up a polymorphic association in Active Record by generating models, declaring the association, and modifying the migrate

Topic T31 Objective O32

  • Examine a foreign key for an has_many relationship association in Ruby on Rails

Topic T35 Objective O36

  • Manage foreign keys in Ruby on Rails databases

Topic T39 Objective O40

  • Ensure referential integrity in Ruby on Rails databases

Topic T44 Objective O45

  • Identify the three main reasons duplicate data might be added to a Ruby on Rails database

Topic T48 Objective O49

  • Resolve duplication in a Ruby on Rails database by writing a validation rule in the model, as well as by adding an index to the database

Topic T52 Objective O53

  • Recap on how avoid duplication in Ruby on Rails databases and use the Consistency Fail gem

Topic T57 Objective O58

  • Add validation rules to the ActiveRecord in a Ruby on Rails database

Topic T61 Objective O62

  • Handle invalid data in a Ruby on Rails database

Topic T65 Objective O66

  • Migrate a not_null database in Ruby on Rails

Topic T69 Objective O70

  • Outline the difference between an empty string and a nil value in Ruby on Rails

Topic T74 Objective O75

  • Overview how to implement optimistic locking in a Rails application

Topic T78 Objective O79

  • Implement optimistic locking in a Rails application

Topic T82 Objective O83

  • Use the internal counter with Optimistic Locking in Ruby on Rails

Topic T86 Objective O87

  • Review the implementation of optimistic locking in a Rails application

Topic T91 Objective O92

  • Overview pessimistic locking and the different types of pessimistic locks you

Community Rating

Studied or Worked here? Share Your Review

Your email address will not be published. Required fields are marked *

Please do not post:

  • Aggressive or discriminatory language
  • Profanities (of any kind)
  • Trade secrets or confidential information

Thank you once again for doing your part to keep Edarabia the most trusted education source.

Similar Courses to Advance Your Career