# Rails Index

## Pre-Rails
1. [Preview of Rails](preview-rails.md)
1. [Rails Installfest](installfest-rails.md)

## Week 1
1. [What is Rails?](what-is-ruby-on-rails.md)
1. Rails Setup
    - [Rails Templates](rails-template-setup.md)
    - [Configuring Rails to use Postgres](how-to-use-postgres.md)
    - [Live Code Intro](live-code-intro.md)
    - [What to do when you clone a rails project?](reference/cloning-rails-projects.md)
1. [Controllers and the Index Action](controllers.md)
1. [ERB & Layouts](ERB-and-Layouts.md)
1. [Intro to Testing Controllers: Adding Tests to the Index Action](intro-to-testing-controllers.md)
1. [Route Parameters & the Show Action](route-parameters.md)
1. [Intro to the Show Action and its Tests](show-action-intro.md)
1. [Requests and Responses](requests-and-responses.md)
1. [What is a Database?](database-intro.md)
1. [Active Record Migrations](active-record-migrations.md)
1. [Active Record Models](active-record-models.md)
    - [Using Active Record In Code](using-active-record-in-code.md)
    - [Exercise: Hike Finder Single Model](exercises/hike-finder/single-model.md)
1. [RESTful Routing](restful-routing.md)
1. [Safety and Idempotency](safety-idempotency.md)
1. [View Helpers](common-view-helpers.md)
1. [Rails Forms](rails-forms.md)
1. [Testing Database Changes in Controllers](testing-db-in-controllers.md)
1. [Routes with Resources](routes-and-resources.md)
1. [Strong Params](forms-strong-params.md)
1. [View Partials](partial-views.md)

## Week 2
20. [Active Record Relationships](active-record-relationships.md)
    - [Exercise: Hike Finder One-to-Many](exercises/hike-finder/one-to-many.md)
21. [DB Seeds](db-seeds.md)
22. [Logic in the Model](model-logic.md)
23. [Active Record Validations](active-record-validations.md)
24. [Deploying to Heroku](deploying-to-heroku.md)
25. [Nested Routes](nested-routes.md)
26. [Many-to-Many Relationships](many-to-many-relationships.md)
27. [Indirect Relationships (Has-Many Through)](indirect-relations.md)

## Week 3
- [Testing Introduction](test-intro.md)
- [Rails Testing Setup](test-setup.md)
28. [Unit Testing Models](test-models.md)
29. [The Test Database](test-the-test-database.md)
- [Intro to Integration Testing](test-integration-intro.md)
