1
0
mirror of https://github.com/danbee/danbarberphoto synced 2025-03-04 08:49:07 +00:00

Added postgresql db for production and added pg gem.

This commit is contained in:
Dan Barber 2010-10-12 10:34:43 -04:00
parent 2e83970fa9
commit 45612b8c85
2 changed files with 29 additions and 0 deletions

View File

@ -29,6 +29,7 @@ gem 'sqlite3-ruby', :require => 'sqlite3'
# gem 'webrat' # gem 'webrat'
# end # end
gem 'pg'
gem 'typus', :git => 'git://github.com/fesplugas/typus.git' gem 'typus', :git => 'git://github.com/fesplugas/typus.git'
gem 'mini_exiftool' gem 'mini_exiftool'
gem "will_paginate", "3.0.pre" gem "will_paginate", "3.0.pre"

View File

@ -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 Photo Load (0.6ms) SELECT "photos".* FROM "photos" ORDER BY RANDOM() LIMIT 2
Rendered categories/index.html.erb within layouts/photos (24.0ms) Rendered categories/index.html.erb within layouts/photos (24.0ms)
Completed 200 OK in 131ms (Views: 38.2ms | ActiveRecord: 1.6ms) 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)