<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>testapp/config/templates/database.yml</filename>
    </added>
    <added>
      <filename>testapp/lib/tasks/rest_in_place.rake</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -1,2 +1,3 @@
 .DS_Store
-testapp/log
\ No newline at end of file
+testapp/log
+testapp/config/database.yml</diff>
      <filename>.gitignore</filename>
    </modified>
    <modified>
      <diff>@@ -1,4 +1,13 @@
 class UsersController &lt; ApplicationController
+  
+  def index
+    begin
+      redirect_to User.first
+    rescue Exception
+      raise &quot;Seems like you have'nt created any sample record. Please run: rake rest_in_place:create_sample&quot;
+    end
+  end
+  
   def show
     @user = User.find params[:id]
     respond_to do |type|</diff>
      <filename>testapp/app/controllers/users_controller.rb</filename>
    </modified>
    <modified>
      <diff>@@ -1,6 +1,7 @@
 ActionController::Routing::Routes.draw do |map|
   map.resources :users
 
+  map.root :controller =&gt; &quot;users&quot;
   # The priority is based upon order of creation: first created -&gt; highest priority.
 
   # Sample of regular route:</diff>
      <filename>testapp/config/routes.rb</filename>
    </modified>
  </modified>
  <removed type="array">
    <removed>
      <filename>testapp/config/database.yml</filename>
    </removed>
    <removed>
      <filename>testapp/public/index.html</filename>
    </removed>
  </removed>
  <parents type="array">
    <parent>
      <id>17ca4e3060a1420bf13d9b9d89ceeba2bcc144d2</id>
    </parent>
  </parents>
  <author>
    <name>Kevin Valdek</name>
    <email>kevin@kevPad.(none)</email>
  </author>
  <url>http://github.com/janv/rest_in_place/commit/8eb121271345943588fe2a8467c790e7e37f3d7a</url>
  <id>8eb121271345943588fe2a8467c790e7e37f3d7a</id>
  <committed-date>2009-03-02T07:43:48-08:00</committed-date>
  <authored-date>2009-03-02T07:43:48-08:00</authored-date>
  <message>made it somewhat easier to use testapp.</message>
  <tree>7858cdd1d2a1a368e2cdc996f2ced6d97f12246c</tree>
  <committer>
    <name>Kevin Valdek</name>
    <email>kevin@kevPad.(none)</email>
  </committer>
</commit>
