onrails.org home

RailsConf 2010 - Baltimore

20100606_RailsConf_View.jpg

Here we go again RailsConf 2010 has started. The keynotes will be streamed online at http://railsconf.com and the slides of the presentation will also be posted there. I’ll provide more links once they become available.

This is the view from my hotel which is 5 minutes from the convention center where RailsConf is going on.

20100607_RailsConf_View_From_Hotel.jpg
20100607_RailsConf_Submarine.jpg

Acceptance Testing with Cucumber

I’m now following the Acceptance Testing with Cucumber tutorial. You can find the app we built, a kanban manager, on github.

Cucumber is executable documentation. Gurken is the DSL used to write your documentation in the form of

Scenario:
  Given
  When
  Then

The app has different git branches for each stage of the application. Checkout the move-card-passing branch for the most complete functionality. It contains great examples of feature test.


master f294f72 patch number
remotes/origin/HEAD → origin/master
remotes/origin/first-feature-failing 475eb7e words
remotes/origin/first-feature-passing e4ea67a gemfile
remotes/origin/latest eacd855 Merge
remotes/origin/master f294f72 patch number
remotes/origin/more-features-failing aa2d97b new failing features
remotes/origin/more-features-passing 03b6b44 added lane ordering
remotes/origin/move-card-failing 02fa766 add move_card feature

  • remotes/origin/move-card-passing 8c1d751 move cards from one lane to another

BUILDING AN API WITH RAILS

A great discussion on building APIs using Ruby and Rails:

Fork me on GitHub