Polymorphic Association When you have one model that could belong to any one of a set of models. Comments is the classic example. A comments could belong to a book, a video or a photo. Goals: Understand overview of polymorphic relationships. How to set up model relationships.
RSpec Testing TDD - Test Driven Development Student Learning Objectives: By the end of this lesson you should be able to: 1) Set up an rspec testing environment for a ruby project
Rails Views and Controllers Lesson Today we are going to review a completed rails app: Todo App. Todo App is a complete implementation of a CRUD. The morning we will review the Todo App in detail. The afternoon lesson will be a code along to create the Todo App. We will analyze the todo_app in detail We will follow how the Views and the Controller communicate together. * We will follow a typical rails code development sequence.