<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -13,7 +13,8 @@ get '/login' do
   haml :login
 end
 
-get '/:slug.:format' do
+get '/:slug' do
+  haml :show
 end
 
 helpers do</diff>
      <filename>app.rb</filename>
    </modified>
    <modified>
      <diff>@@ -3,6 +3,7 @@ class CreatePlaces &lt; ActiveRecord::Migration
     create_table :places do |t|
       t.string  :slug, :name
       t.text    :description
+      t.integer :rating
     end
   end
   </diff>
      <filename>db/migrations/001_create_places.rb</filename>
    </modified>
    <modified>
      <diff>@@ -50,6 +50,7 @@ a.add   { float: right; margin-top: 12px; font-size: 1.5em }
   color: #FFF;
   background: transparent url(/slip.png) top left no-repeat;
 }
+.browned .place { width: 620px }
 .place img      { float: left; background: transparent url(/shadow.png) no-repeat right bottom; padding: 0 8px 9px 0 }
 .place p        { margin: 15px 0 0 150px; font-size: 1.2em }
 .place a.visit  { font-size: 1.5em; font-weight: bold }</diff>
      <filename>public/screen.css</filename>
    </modified>
    <modified>
      <diff>@@ -7,4 +7,11 @@ describe Place do
     place.slug.should_not be_nil
   end
   
+  it &quot;has a one to five rating, no more, no less&quot; do
+    place = Factory.build :place, :rating =&gt; nil
+    place.rating = 7
+    place.rating.should == 5
+    place.rating = -1
+    place.rating.should == 1
+  end
 end
\ No newline at end of file</diff>
      <filename>spec/place_spec.rb</filename>
    </modified>
    <modified>
      <diff>@@ -7,4 +7,5 @@ require 'faker'
 Factory.define :place do |place|
   place.name        { &quot;#{Faker::Name.first_name}'s beef club&quot; }
   place.description { Faker::Lorem.paragraph }
+  place.rating      { rand(6) }
 end
\ No newline at end of file</diff>
      <filename>spec/spec_helper.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>a9bb68fc45b2f1916f0c99380cdd78872ed467ad</id>
    </parent>
  </parents>
  <author>
    <name>Julio Cesar Ody</name>
    <email>julioody@gmail.com</email>
  </author>
  <url>http://github.com/juliocesar/whatsforsteaktoday/commit/ed05cb4c7cfa7c2ebfb5f97ab5bc4deda982b7cf</url>
  <id>ed05cb4c7cfa7c2ebfb5f97ab5bc4deda982b7cf</id>
  <committed-date>2009-11-04T01:53:01-08:00</committed-date>
  <authored-date>2009-11-04T01:53:01-08:00</authored-date>
  <message>err yeah. more</message>
  <tree>02cdc82da698609219f07d5ff82aab1da58b4007</tree>
  <committer>
    <name>Julio Cesar Ody</name>
    <email>julioody@gmail.com</email>
  </committer>
</commit>
