<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>vendor/plugins/acts_as_list/README</filename>
    </added>
    <added>
      <filename>vendor/plugins/acts_as_list/init.rb</filename>
    </added>
    <added>
      <filename>vendor/plugins/acts_as_list/lib/active_record/acts/list.rb</filename>
    </added>
    <added>
      <filename>vendor/plugins/acts_as_list/test/list_test.rb</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -1,153 +1,3 @@
-== Welcome to Rails
+== TABLEAU
 
-Rails is a web-application and persistence framework that includes everything
-needed to create database-backed web-applications according to the
-Model-View-Control pattern of separation. This pattern splits the view (also
-called the presentation) into &quot;dumb&quot; templates that are primarily responsible
-for inserting pre-built data in between HTML tags. The model contains the
-&quot;smart&quot; domain objects (such as Account, Product, Person, Post) that holds all
-the business logic and knows how to persist themselves to a database. The
-controller handles the incoming requests (such as Save New Account, Update
-Product, Show Post) by manipulating the model and directing data to the view.
-
-In Rails, the model is handled by what's called an object-relational mapping
-layer entitled Active Record. This layer allows you to present the data from
-database rows as objects and embellish these data objects with business logic
-methods. You can read more about Active Record in 
-link:files/vendor/rails/activerecord/README.html.
-
-The controller and view are handled by the Action Pack, which handles both
-layers by its two parts: Action View and Action Controller. These two layers
-are bundled in a single package due to their heavy interdependence. This is
-unlike the relationship between the Active Record and Action Pack that is much
-more separate. Each of these packages can be used independently outside of
-Rails.  You can read more about Action Pack in 
-link:files/vendor/rails/actionpack/README.html.
-
-
-== Getting started
-
-1. Run the WEBrick servlet: &lt;tt&gt;ruby script/server&lt;/tt&gt; (run with --help for options)
-   ...or if you have lighttpd installed: &lt;tt&gt;ruby script/lighttpd&lt;/tt&gt; (it's faster)
-2. Go to http://localhost:3000/ and get &quot;Congratulations, you've put Ruby on Rails!&quot;
-3. Follow the guidelines on the &quot;Congratulations, you've put Ruby on Rails!&quot; screen
-
-
-== Example for Apache conf
-
-  &lt;VirtualHost *:80&gt;
-    ServerName rails
-    DocumentRoot /path/application/public/
-    ErrorLog /path/application/log/server.log
-  
-    &lt;Directory /path/application/public/&gt;
-      Options ExecCGI FollowSymLinks
-      AllowOverride all
-      Allow from all
-      Order allow,deny
-    &lt;/Directory&gt;
-  &lt;/VirtualHost&gt;
-
-NOTE: Be sure that CGIs can be executed in that directory as well. So ExecCGI
-should be on and &quot;.cgi&quot; should respond. All requests from 127.0.0.1 go
-through CGI, so no Apache restart is necessary for changes. All other requests
-go through FCGI (or mod_ruby), which requires a restart to show changes.
-
-
-== Debugging Rails
-
-Have &quot;tail -f&quot; commands running on both the server.log, production.log, and
-test.log files. Rails will automatically display debugging and runtime
-information to these files. Debugging info will also be shown in the browser
-on requests from 127.0.0.1.
-
-
-== Breakpoints
-
-Breakpoint support is available through the script/breakpointer client. This
-means that you can break out of execution at any point in the code, investigate
-and change the model, AND then resume execution! Example:
-
-  class WeblogController &lt; ActionController::Base
-    def index
-      @posts = Post.find_all
-      breakpoint &quot;Breaking out from the list&quot;
-    end
-  end
-  
-So the controller will accept the action, run the first line, then present you
-with a IRB prompt in the breakpointer window. Here you can do things like:
-
-Executing breakpoint &quot;Breaking out from the list&quot; at .../webrick_server.rb:16 in 'breakpoint'
-
-  &gt;&gt; @posts.inspect
-  =&gt; &quot;[#&lt;Post:0x14a6be8 @attributes={\&quot;title\&quot;=&gt;nil, \&quot;body\&quot;=&gt;nil, \&quot;id\&quot;=&gt;\&quot;1\&quot;}&gt;, 
-       #&lt;Post:0x14a6620 @attributes={\&quot;title\&quot;=&gt;\&quot;Rails you know!\&quot;, \&quot;body\&quot;=&gt;\&quot;Only ten..\&quot;, \&quot;id\&quot;=&gt;\&quot;2\&quot;}&gt;]&quot;
-  &gt;&gt; @posts.first.title = &quot;hello from a breakpoint&quot;
-  =&gt; &quot;hello from a breakpoint&quot;
-
-...and even better is that you can examine how your runtime objects actually work:
-
-  &gt;&gt; f = @posts.first 
-  =&gt; #&lt;Post:0x13630c4 @attributes={&quot;title&quot;=&gt;nil, &quot;body&quot;=&gt;nil, &quot;id&quot;=&gt;&quot;1&quot;}&gt;
-  &gt;&gt; f.
-  Display all 152 possibilities? (y or n)
-
-Finally, when you're ready to resume execution, you press CTRL-D
-
-
-== Console
-
-You can interact with the domain model by starting the console through script/console. 
-Here you'll have all parts of the application configured, just like it is when the
-application is running. You can inspect domain models, change values, and save to the
-database. Starting the script without arguments will launch it in the development environment.
-Passing an argument will specify a different environment, like &lt;tt&gt;console production&lt;/tt&gt;.
-
-
-== Description of contents
-
-app
-  Holds all the code that's specific to this particular application.
-
-app/controllers
-  Holds controllers that should be named like weblog_controller.rb for
-  automated URL mapping. All controllers should descend from
-  ActionController::Base.
-
-app/models
-  Holds models that should be named like post.rb.
-  Most models will descend from ActiveRecord::Base.
-  
-app/views
-  Holds the template files for the view that should be named like
-  weblog/index.rhtml for the WeblogController#index action. All views use eRuby
-  syntax. This directory can also be used to keep stylesheets, images, and so on
-  that can be symlinked to public.
-  
-app/helpers
-  Holds view helpers that should be named like weblog_helper.rb.
-
-config
-  Configuration files for the Rails environment, the routing map, the database, and other dependencies.
-
-components
-  Self-contained mini-applications that can bundle together controllers, models, and views.
-
-lib
-  Application specific libraries. Basically, any kind of custom code that doesn't
-  belong under controllers, models, or helpers. This directory is in the load path.
-    
-public
-  The directory available for the web server. Contains subdirectories for images, stylesheets,
-  and javascripts. Also contains the dispatchers and the default HTML files.
-
-script
-  Helper scripts for automation and generation.
-
-test
-  Unit and functional tests along with fixtures.
-
-vendor
-  External libraries that the application depends on. Also includes the plugins subdirectory.
-  This directory is in the load path.
+http://github.com/bousquet/tableau/
\ No newline at end of file</diff>
      <filename>README</filename>
    </modified>
    <modified>
      <diff>@@ -1,5 +1,5 @@
 
-&lt;%= start_form_tag %&gt;
+&lt;% form_tag do %&gt;
 &lt;div id=&quot;login&quot;&gt;
 	&lt;% if flash[:notice] %&gt;
 	&lt;div id=&quot;errorExplanation&quot;&gt;&lt;h2&gt;&lt;%= flash[:notice] %&gt;&lt;/h2&gt;&lt;/div&gt;
@@ -11,4 +11,4 @@
 	&lt;label&gt;&amp;nbsp;&lt;/label&gt;
 	&lt;%= submit_tag 'Login' %&gt; &lt;%= link_to &quot;Cancel&quot;, :controller=&gt;&quot;gallery&quot;, :action=&gt;&quot;list&quot; %&gt;
 &lt;/div&gt;
-&lt;%= end_form_tag %&gt;
+&lt;% end %&gt;</diff>
      <filename>app/views/account/login.rhtml</filename>
    </modified>
    <modified>
      <diff>@@ -1,4 +1,4 @@
-&lt;%= start_form_tag %&gt;
+&lt;% form_tag do %&gt;
 &lt;div id=&quot;login&quot;&gt;
 
 &lt;%= error_messages_for &quot;user&quot; %&gt;
@@ -25,4 +25,4 @@
 &lt;%= submit_tag 'Sign up' %&gt; &lt;%= link_to &quot;Cancel&quot;, :controller=&gt;&quot;gallery&quot;, :action=&gt;&quot;list&quot; %&gt;
 &lt;/div&gt;
 
-&lt;%= end_form_tag %&gt;
+&lt;% end %&gt;</diff>
      <filename>app/views/account/signup.rhtml</filename>
    </modified>
    <modified>
      <diff>@@ -1,10 +1,10 @@
 &lt;h1&gt;New Album&lt;/h1&gt;
 &lt;div id=&quot;photos&quot;&gt;
 	&lt;%= error_messages_for &quot;album&quot; %&gt;
-	&lt;%= start_form_tag %&gt;
+	&lt;% form_tag do %&gt;
 	  &lt;label for=&quot;album_title&quot;&gt;Title&lt;/label&gt;
 	  &lt;%= text_field &quot;album&quot;, &quot;title&quot; %&gt;
 	  &lt;label&gt;&amp;nbsp;&lt;/label&gt;
 	  &lt;%= submit_tag &quot;Save&quot; %&gt; &lt;%= link_to &quot;Cancel&quot;, :controller=&gt;&quot;gallery&quot;, :action=&gt;&quot;list&quot; %&gt;
-	&lt;%= end_form_tag %&gt;
+	&lt;% end %&gt;
 &lt;/div&gt;
\ No newline at end of file</diff>
      <filename>app/views/albums/new.rhtml</filename>
    </modified>
    <modified>
      <diff>@@ -1 +1 @@
-&lt;%= link_to(image_tag(&quot;images&quot;)+&quot; #{album.title} (#{album.photos.size})&quot;, :controller=&gt;&quot;gallery&quot;, :action=&gt;&quot;album&quot;, :id=&gt;album) %&gt;
\ No newline at end of file
+&lt;%= link_to(image_tag(&quot;images.png&quot;)+&quot; #{album.title} (#{album.photos.size})&quot;, :controller=&gt;&quot;gallery&quot;, :action=&gt;&quot;album&quot;, :id=&gt;album) %&gt;
\ No newline at end of file</diff>
      <filename>app/views/gallery/_album.rhtml</filename>
    </modified>
    <modified>
      <diff>@@ -3,12 +3,12 @@
 &lt;div id=&quot;photos&quot;&gt;
 &lt;%= error_messages_for &quot;photo&quot; %&gt;
 
-&lt;%= start_form_tag nil, :multipart=&gt;true %&gt;
+&lt;% form_for :photo, @photo, :html =&gt; {:multipart=&gt;true} do %&gt;
   &lt;label&gt;Title&lt;/label&gt;
   &lt;%= text_field &quot;photo&quot;, &quot;title&quot; %&gt;
   &lt;label&gt;Photo&lt;/label&gt;
   &lt;%= file_field_tag &quot;file&quot; %&gt;
   &lt;label&gt;&amp;nbsp;&lt;/label&gt;
   &lt;%= submit_tag &quot;Upload&quot; %&gt; &lt;%= link_to &quot;Cancel&quot;, :controller=&gt;&quot;gallery&quot;, :action=&gt;&quot;list&quot; %&gt;
-&lt;%= end_form_tag %&gt;
+&lt;% end %&gt;
 &lt;/div&gt;
\ No newline at end of file</diff>
      <filename>app/views/gallery/new.rhtml</filename>
    </modified>
    <modified>
      <diff>@@ -7,8 +7,8 @@
 				&lt;div id=&quot;admin&quot;&gt;
 					&lt;h2&gt;Admin&lt;/h2&gt;
 					&lt;ul&gt;
-						&lt;li&gt;&lt;%= link_to image_tag(&quot;images&quot;)+&quot; New Album&quot;, :controller=&gt;&quot;albums&quot;, :action=&gt;&quot;new&quot; %&gt;&lt;/li&gt;
-		        &lt;li&gt;&lt;%= link_to image_tag(&quot;image_add&quot;)+&quot; New Photo&quot;, :controller=&gt;&quot;gallery&quot;, :action=&gt;&quot;new&quot; %&gt;&lt;/li&gt;
+						&lt;li&gt;&lt;%= link_to image_tag(&quot;images.png&quot;)+&quot; New Album&quot;, :controller=&gt;&quot;albums&quot;, :action=&gt;&quot;new&quot; %&gt;&lt;/li&gt;
+		        &lt;li&gt;&lt;%= link_to image_tag(&quot;image_add.png&quot;)+&quot; New Photo&quot;, :controller=&gt;&quot;gallery&quot;, :action=&gt;&quot;new&quot; %&gt;&lt;/li&gt;
 						&lt;li id=&quot;image_destroy&quot;&gt;&lt;%= link_to image_tag(&quot;trash.gif&quot;)+&quot; Delete Photo&quot;, &quot;#&quot; %&gt;&lt;/li&gt;
 		        &lt;%= drop_receiving_element &quot;image_destroy&quot;, 
 				          :update =&gt; &quot;photos&quot;, :url =&gt; { :controller=&gt;&quot;gallery&quot;, :action=&gt;&quot;destroy&quot; },
@@ -31,7 +31,7 @@
 				          :loading =&gt; &quot;Element.show('album_spinner')&quot;,
 				          :complete =&gt; &quot;Element.hide('album_spinner')&quot; if logged_in? %&gt;
 				  &lt;% end %&gt;
-				  &lt;%= content_tag &quot;li&quot;, link_to(image_tag(&quot;arrow_left&quot;)+&quot; Back to gallery&quot;, :controller=&gt;&quot;gallery&quot;, :action=&gt;&quot;index&quot;) if current_page?(:controller=&gt;&quot;gallery&quot;, :action=&gt;&quot;album&quot;) %&gt;
+				  &lt;%= content_tag &quot;li&quot;, link_to(image_tag(&quot;arrow_left.png&quot;)+&quot; Back to gallery&quot;, :controller=&gt;&quot;gallery&quot;, :action=&gt;&quot;index&quot;) if current_page?(:controller=&gt;&quot;gallery&quot;, :action=&gt;&quot;album&quot;) %&gt;
 				&lt;/ul&gt;
 				&lt;div id=&quot;album_spinner&quot; style=&quot;display:none;clear:both&quot;&gt;&lt;%= image_tag &quot;spinner.gif&quot;, :style=&gt;&quot;vertical-align:middle&quot; %&gt; Adding photo to album...&lt;/div&gt;	
 				&lt;p id=&quot;login_link&quot;&gt;&lt;%= logged_in? ? @curuser.full_name+&quot; &quot;+link_to(&quot;Logout&quot;, :controller=&gt;&quot;account&quot;, :action=&gt;&quot;logout&quot;) : link_to(&quot;Login&quot;, :controller=&gt;&quot;account&quot;, :action=&gt;&quot;login&quot;) %&gt;&lt;/p&gt;
@@ -42,7 +42,7 @@
       &lt;%= @content_for_layout %&gt;
       &lt;div style=&quot;clear:both&quot;&gt;&lt;/div&gt;
 			&lt;div id=&quot;footer&quot;&gt;
-				&lt;p&gt;Powered by &lt;%= link_to &quot;Tableau&quot;, &quot;http://creativi.st/tableau&quot; %&gt;&lt;/p&gt;
+				&lt;p&gt;Powered by &lt;%= link_to &quot;Tableau&quot;, &quot;http://github.com/bousquet/tableau/&quot; %&gt;&lt;/p&gt;
 			&lt;/div&gt;
     &lt;/div&gt;
   &lt;/body&gt;</diff>
      <filename>app/views/layouts/application.rhtml</filename>
    </modified>
    <modified>
      <diff>@@ -1,48 +1,55 @@
-# This file is autogenerated. Instead of editing this file, please use the
-# migrations feature of ActiveRecord to incrementally modify your database, and
+# This file is auto-generated from the current state of the database. Instead of editing this file, 
+# please use the migrations feature of ActiveRecord to incrementally modify your database, and
 # then regenerate this schema definition.
+#
+# Note that this schema.rb definition is the authoritative source for your database schema. If you need
+# to create the application database on another system, you should be using db:schema:load, not running
+# all the migrations from scratch. The latter is a flawed and unsustainable approach (the more migrations
+# you'll amass, the slower it'll run and the greater likelihood for issues).
+#
+# It's strongly recommended to check this file into your version control system.
 
 ActiveRecord::Schema.define(:version =&gt; 2) do
 
   create_table &quot;albums&quot;, :force =&gt; true do |t|
-    t.column &quot;user_id&quot;, :integer
-    t.column &quot;title&quot;, :string
-    t.column &quot;created_at&quot;, :datetime
-    t.column &quot;position&quot;, :integer
+    t.integer  &quot;user_id&quot;
+    t.string   &quot;title&quot;
+    t.datetime &quot;created_at&quot;
+    t.integer  &quot;position&quot;
   end
 
   create_table &quot;albums_photos&quot;, :id =&gt; false, :force =&gt; true do |t|
-    t.column &quot;album_id&quot;, :integer
-    t.column &quot;photo_id&quot;, :integer
+    t.integer &quot;album_id&quot;
+    t.integer &quot;photo_id&quot;
   end
 
   create_table &quot;photos&quot;, :force =&gt; true do |t|
-    t.column &quot;user_id&quot;, :integer
-    t.column &quot;title&quot;, :string
-    t.column &quot;position&quot;, :integer
-    t.column &quot;created_at&quot;, :datetime
-    t.column &quot;taken_at&quot;, :datetime
+    t.integer  &quot;user_id&quot;
+    t.string   &quot;title&quot;
+    t.integer  &quot;position&quot;
+    t.datetime &quot;created_at&quot;
+    t.datetime &quot;taken_at&quot;
   end
 
   create_table &quot;sessions&quot;, :force =&gt; true do |t|
-    t.column &quot;session_id&quot;, :string
-    t.column &quot;data&quot;, :text
-    t.column &quot;updated_at&quot;, :datetime
+    t.string   &quot;session_id&quot;
+    t.text     &quot;data&quot;
+    t.datetime &quot;updated_at&quot;
   end
 
   add_index &quot;sessions&quot;, [&quot;session_id&quot;], :name =&gt; &quot;sessions_session_id_index&quot;
 
   create_table &quot;users&quot;, :force =&gt; true do |t|
-    t.column &quot;login&quot;, :string
-    t.column &quot;email&quot;, :string
-    t.column &quot;crypted_password&quot;, :string
-    t.column &quot;salt&quot;, :string
-    t.column &quot;activation_code&quot;, :string
-    t.column &quot;activated_at&quot;, :datetime
-    t.column &quot;created_at&quot;, :datetime
-    t.column &quot;updated_at&quot;, :datetime
-    t.column &quot;first&quot;, :string
-    t.column &quot;last&quot;, :string
+    t.string   &quot;login&quot;
+    t.string   &quot;email&quot;
+    t.string   &quot;crypted_password&quot;
+    t.string   &quot;salt&quot;
+    t.string   &quot;activation_code&quot;
+    t.datetime &quot;activated_at&quot;
+    t.datetime &quot;created_at&quot;
+    t.datetime &quot;updated_at&quot;
+    t.string   &quot;first&quot;
+    t.string   &quot;last&quot;
   end
 
 end</diff>
      <filename>db/schema.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>66bc67238bf34163bc24b04e873ee027905bed18</id>
    </parent>
  </parents>
  <author>
    <name>robert</name>
    <email>robert@22c876fd-090a-0410-8685-aeedfd4d70f8</email>
  </author>
  <url>http://github.com/bousquet/tableau/commit/87dd89a7ba42313cf0014b7f065d999ea814a24a</url>
  <id>87dd89a7ba42313cf0014b7f065d999ea814a24a</id>
  <committed-date>2008-02-27T18:15:07-08:00</committed-date>
  <authored-date>2008-02-27T18:15:07-08:00</authored-date>
  <message>Updated source to work with Rails 2.0.2

git-svn-id: svn://code.creativi.st/gallery/trunk@10 22c876fd-090a-0410-8685-aeedfd4d70f8</message>
  <tree>909efb8b4d966eda1da68648d0ad7e6bbb640657</tree>
  <committer>
    <name>robert</name>
    <email>robert@22c876fd-090a-0410-8685-aeedfd4d70f8</email>
  </committer>
</commit>
