Learn Rails

Quizzes

Learn Rails 3

MVC without generators
Create a RESTful model, view, and controller without using any rails generators.
Nested Resources
Create the model, view, and controller for a nested resource.
Database Queries
Structure database queries to get specific information from a database efficiently.
Polymorphism
Make a resource that belongs_to two other resources for nested comments.
Active Record
Associations, delegation, callbacks, etc.
Many to Many Relationships
Rails practice problems on has_and_belongs_to_many and has_many :through relationships

Learn SQL with Rails 4

Single Table Queries
SELECT, CREATE, INSERT
Two table queries
has_many, belongs_to, includes
Joins
has_many :through join queries
Intermediate queries
WHERE, ORDER BY, LIMIT, OFFSET

Rails TDD

Model Specs
Testing Rails models with RSpec
Controller Specs
Rails controller testing