- Introduction
- Operating System and Work Environment
- The Command Line
- Disk Space and Organization
- Software Requirements
- Rails, Breadth First
- Welcome to Ruby on Rails
- What Rails Does (and Does for You)
- Inside MVC in Rails
- How Separate are the MVC Layers?
- A Guided Tour of a Small (But Working!) Rails App
- The Rails Application Directory Structure
- Connecting to a Rails Application
- The Rails Request/Response Cycle
- Some Pre-Auction Housekeeping
- Ruby Skills and Tools
- Running Ruby Programs
- IRB (Interactive Ruby)
- Objects and Methods
- Classes
- Strings and Numbers
- Symbols
- Arrays
- Hashes
- Modules
- Control Flow and Conditionals
- Instance Variables and Attributes
- Iterators
- Sorting Collections
- Filtering Collections
- Domain Modeling and ActiveRecord
- ActiveRecord Overview
- Domain Modeling, Ruby, and Rails
- Programming the Domain
- Creating the Database Tables
- The Rails Application Console
- Routing and Responses
- The Rails Request/Response Cycle
- URL Recognition and Routing
- Named Routes and URL Generation
- Resource Routing
- Creating Controllers and Views
- Understanding ERB Templates
- Forms
- Displaying and Processing Forms in Rails
- Exploring ActiveRecord Techniques
- Getting into ActiveRecord
- Refining AR Associations
- Many-to-Many Associations with "Through"
- Miscellaneous Custom Methods in the Models
- ActiveRelation Basics
- Testing
- Ruby's Test Framework
- From Minitest to Rails Testing
- Functional Tests
- Data Validation with ActiveRecord
- Validating ActiveRecord Objects
- The Role of the Controller in Validating Data
- Examples of Selected Validation Methods
- Exploring ActionPack
- ActionPack, the Composite Library
- Custom Helper Methods
- Partial Templates
- The Session Hash
- Controller Filters
- Differential Responses
- XML with Builder
- Users and Bids
- Consolidating Your Gains
- The Results
- Using CSS and JavaScript
- The Basic Asset Pipeline Architecture
- AJAX
- Ruby and Rails Resources
- Conclusion
|