demo app done in ruby by micheal hartl's way.