Working with Databases in Ruby on Rails New Horizons Lebanon
Price: TBA
  • Duration: 2 Hours

Course details

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
Updated on 08 November, 2015

About New Horizons Lebanon

As changes in technology have accelerated, it’s become even more essential for people to master technology to be productive, invaluable employees who optimize, program and invent solutions—and even grow companies of their own. With over 300 centers in 60 countries, New Horizons is the world’s largest independent IT and Business training company. Over the past 35 years, New Horizons has delivered a full range of IT and business skills/Management training through innovative learning methods that have transformed businesses and helped over 35 million students reach their goals. New Horizons Lebanon branch was established in 1996.

See all New Horizons Lebanon courses
Courses you can instantly connect with... Do an online course on Database Management starting now. See all courses

Is this the right course for you?

Rate this page

Didn't find what you were looking for ?

or