Jumpstart Lab Curriculum

Advanced Patterns with Rails

Welcome! First, open this page in your browser:


Setting Expectations

Is this the right session for you?

You belong here if:

  • You feel very comfortable working with Ruby and Rails
  • You have built several Rails projects
  • You’re interested in some new ideas
  • You’re willing to wrestle with things that might not work the first time

This is not a good session for you if:

  • You’re new to Ruby/Rails
  • You were in my session this morning
  • You want everything to go smoothly
  • You only came for the "worker pattern", because I decided it didn’t fit

Are you prepared?

You need:

Get the Blogger project from GitHub and run setup procedures:

git clone git://github.com/JumpstartLab/blogger_advanced.git
cd blogger_advanced
bundle exec rake db:setup
bundle exec rake

All existing tests should pass. Optionally, run the tests continuously while developing by running guard

You can also run the tests continuously as we make changes by starting guard

The Plan

We’re going to approach this in four segments of about one hour each.

Decorator Pattern with Draper

Open the tutorial at http://tutorials.jumpstartlab.com/topics/decorators.html

Slimming Controllers

Open the tutorial at http://tutorials.jumpstartlab.com/topics/controllers/slimming_controllers.html

Facade Pattern

Open the tutorial at http://tutorials.jumpstartlab.com/topics/models/facade_pattern.html

Better Models with Modules

Open the tutorial at http://tutorials.jumpstartlab.com/topics/models/modules.html


You’re strongly invited to help improve these tutorials, even while we’re running the session. All the text is available on GitHub, so you can edit it right in the browser. Hit the "Feedback" tab on the left side of any page.



Have Feedback?

Did you find an error? Something confusing? We'd love your help: