diff --git a/Gemfile b/Gemfile index cd641bf..11316b6 100644 --- a/Gemfile +++ b/Gemfile @@ -29,6 +29,7 @@ gem 'sqlite3-ruby', :require => 'sqlite3' # gem 'webrat' # end +gem 'pg' gem 'typus', :git => 'git://github.com/fesplugas/typus.git' gem 'mini_exiftool' gem "will_paginate", "3.0.pre" diff --git a/log/development.log b/log/development.log index 17b4e95..1b87c60 100644 --- a/log/development.log +++ b/log/development.log @@ -7530,3 +7530,31 @@ Started GET "/categories" for 127.0.0.1 at 2010-10-12 09:56:33 -0400 Photo Load (0.6ms) SELECT "photos".* FROM "photos" ORDER BY RANDOM() LIMIT 2 Rendered categories/index.html.erb within layouts/photos (24.0ms) Completed 200 OK in 131ms (Views: 38.2ms | ActiveRecord: 1.6ms) + + +Started GET "/categories" for 127.0.0.1 at 2010-10-12 10:04:53 -0400 + Processing by CategoriesController#index as HTML + Category Load (1.0ms) SELECT "categories".* FROM "categories" LIMIT 4 OFFSET 0 + SQL (0.2ms) SELECT COUNT(*) AS count_id FROM "categories" + Photo Load (0.5ms) SELECT "photos".* FROM "photos" ORDER BY RANDOM() LIMIT 2 +Rendered categories/index.html.erb within layouts/photos (55.2ms) +Completed 200 OK in 125ms (Views: 57.3ms | ActiveRecord: 1.8ms) + + +Started GET "/categories?page=2" for 127.0.0.1 at 2010-10-12 10:05:00 -0400 + Processing by CategoriesController#index as HTML + Parameters: {"page"=>"2"} + Category Load (0.5ms) SELECT "categories".* FROM "categories" LIMIT 4 OFFSET 4 + Photo Load (0.5ms) SELECT "photos".* FROM "photos" ORDER BY RANDOM() LIMIT 2 +Rendered categories/index.html.erb within layouts/photos (57.5ms) +Completed 200 OK in 81ms (Views: 59.3ms | ActiveRecord: 1.0ms) + + +Started GET "/categories?page=1" for 127.0.0.1 at 2010-10-12 10:05:01 -0400 + Processing by CategoriesController#index as HTML + Parameters: {"page"=>"1"} + Category Load (0.9ms) SELECT "categories".* FROM "categories" LIMIT 4 OFFSET 0 + SQL (0.2ms) SELECT COUNT(*) AS count_id FROM "categories" + Photo Load (0.5ms) SELECT "photos".* FROM "photos" ORDER BY RANDOM() LIMIT 2 +Rendered categories/index.html.erb within layouts/photos (21.3ms) +Completed 200 OK in 83ms (Views: 23.2ms | ActiveRecord: 1.5ms)