Ruby and Rails Tutorials
Setting up Ruby and Rails
Check out our tutorial to setup Ruby 1.9.3 and Rails 3.2.2 on OS X, Linux, or Windows
Hungry Academy
If you’re interested in the how Hungry Academy moves along, check out the academy index which has all our daily outlines, calendar, etc.
Long-Form Tutorials
Follow-along tutorials that walk you through every step of a project:
Ruby
- Ruby in 100 Minutes - Your first exposure to Ruby, focusing on the most important concepts and syntax elements.
- EventManager - An introduction to Ruby for new programmers doing "Extract-Translate-Load" operations against a large dataset.
- JSTwitter - A second introductory Ruby tutorial building a rudimentary Twitter client
Rails
- Blogger - A first Rails project, exploring REST, basic associations, basic templating, etc.
- JSMerchant - A second level Rails project with more complex relationships, techniques. Needs major revisions
Independent Work Projects
Ruby
- EventReporter - A follow-up to EventManager focusing more on Ruby object decomposition and working with Command Line Interfaces and program control flow.
- SalesEngine - This project supplies a set of CSV datafiles and challenges you to build a query/reporting API. It’s an excellent opportunity to practice TDD and manipulating collections. Also, several developers have used it as a test-bed for performance ideas like threads, distributed Ruby, and integrating with a SQL database.
Rails
- StoreEngine - A very challenging first Rails project, it represents 2-3 weeks work for a pair of new Rails developers. You’re challenged to build a fully functioning online store with products, categories, a cart, login/permissions, checkout, etc.
Paths
Paths are groupings of tutorial topics, generally put together for an event or class.
- Beginner Level
- One-Day Introductory Ruby – Ruby for beginners including "Ruby in 100 Minutes" and "EventManager"
- One-Day Introductory Rails – Rails for beginners with "Blogger"
- Advanced
- Advanced Patterns with Ruby and Rails – a four-hour tutorial used at CodeMash 2012
- Advanced Rails - Two-Day – a collection of topics centered around building better/faster Rails applications.
- Advanced Rails - Five-Day – a large collection of topics walking through everything from model construction to testing techniques to performance metrics.
Topic Tutorials
A collection of about 50 tutorials on special topics, more specific and generally more advanced than the tutorials. These are the building blocks used to create the Paths above and Hungry Academy curriculum.