mirror of
https://github.com/danbee/danbarberphoto
synced 2025-03-04 08:49:07 +00:00
Added name method to photo model. Updated will_paginate gem to rails3 branch to resolve deprecation warning.
This commit is contained in:
parent
22994662da
commit
48584657de
2
Gemfile
2
Gemfile
@ -32,5 +32,5 @@ gem 'sqlite3-ruby', :require => 'sqlite3'
|
||||
gem 'pg'
|
||||
gem 'typus', :git => 'git://github.com/fesplugas/typus.git'
|
||||
gem 'mini_exiftool'
|
||||
gem "will_paginate", "3.0.pre"
|
||||
gem 'will_paginate', :git => 'http://github.com/mislav/will_paginate.git', :branch => 'rails3'
|
||||
gem 'rdiscount'
|
||||
12
Gemfile.lock
12
Gemfile.lock
@ -4,6 +4,13 @@ GIT
|
||||
specs:
|
||||
typus (1.0.0.pre8)
|
||||
|
||||
GIT
|
||||
remote: http://github.com/mislav/will_paginate.git
|
||||
revision: b1a5beeec9f56ecbe3594fcdca76d92b6767ce50
|
||||
branch: rails3
|
||||
specs:
|
||||
will_paginate (3.0.pre3)
|
||||
|
||||
GEM
|
||||
remote: http://rubygems.org/
|
||||
specs:
|
||||
@ -46,6 +53,7 @@ GEM
|
||||
treetop (>= 1.4.5)
|
||||
mime-types (1.16)
|
||||
mini_exiftool (1.0.1)
|
||||
pg (0.9.0)
|
||||
polyglot (0.3.1)
|
||||
rack (1.2.1)
|
||||
rack-mount (0.6.13)
|
||||
@ -72,15 +80,15 @@ GEM
|
||||
treetop (1.4.8)
|
||||
polyglot (>= 0.3.1)
|
||||
tzinfo (0.3.23)
|
||||
will_paginate (3.0.pre)
|
||||
|
||||
PLATFORMS
|
||||
ruby
|
||||
|
||||
DEPENDENCIES
|
||||
mini_exiftool
|
||||
pg
|
||||
rails (= 3.0.0)
|
||||
rdiscount
|
||||
sqlite3-ruby
|
||||
typus!
|
||||
will_paginate (= 3.0.pre)
|
||||
will_paginate!
|
||||
|
||||
@ -14,6 +14,14 @@ class Photo < ActiveRecord::Base
|
||||
|
||||
@@per_page = 11
|
||||
|
||||
def to_s
|
||||
self.title
|
||||
end
|
||||
|
||||
def name
|
||||
self.title
|
||||
end
|
||||
|
||||
private
|
||||
def get_exif
|
||||
exif = MiniExiftool.new photo.queued_for_write[:original].path
|
||||
|
||||
@ -7793,3 +7793,287 @@ Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/view
|
||||
Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/helpers/_login_info.html.erb (0.7ms)
|
||||
Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/resources/edit.html.erb within layouts/admin/base (99.5ms)
|
||||
Completed 200 OK in 220ms (Views: 123.4ms | ActiveRecord: 0.3ms)
|
||||
|
||||
|
||||
Started GET "/admin/categories" for 127.0.0.1 at 2010-10-12 13:31:46 -0400
|
||||
Processing by Admin::CategoriesController#index as HTML
|
||||
[1m[36mAdminUser Load (48.5ms)[0m [1mSELECT "admin_users".* FROM "admin_users" WHERE ("admin_users"."id" = 1) LIMIT 1[0m
|
||||
[1m[35mSQL (10.9ms)[0m SELECT COUNT(*) AS count_id FROM "categories"
|
||||
Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/helpers/sidebar/_sidebar.html.erb (35.6ms)
|
||||
Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/resources/_index.html.erb (0.3ms)
|
||||
Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/helpers/search/_search.html.erb (1.1ms)
|
||||
[1m[36mCACHE (0.0ms)[0m [1mSELECT COUNT(*) AS count_id FROM "categories"[0m
|
||||
Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/helpers/search/_search.html.erb (0.8ms)
|
||||
[1m[35mCACHE (0.0ms)[0m SELECT COUNT(*) AS count_id FROM "categories"
|
||||
[1m[36mCategory Load (1.7ms)[0m [1mSELECT "categories".* FROM "categories" LIMIT 15 OFFSET 0[0m
|
||||
Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/helpers/table/_table.html.erb (10.3ms)
|
||||
Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/helpers/_header.html.erb (0.8ms)
|
||||
Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/helpers/_apps.html.erb (2.6ms)
|
||||
Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/helpers/_login_info.html.erb (0.9ms)
|
||||
Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/resources/index.html.erb within layouts/admin/base (189.3ms)
|
||||
Completed 200 OK in 397ms (Views: 251.5ms | ActiveRecord: 61.1ms)
|
||||
|
||||
|
||||
Started GET "/" for 127.0.0.1 at 2010-10-12 15:47:01 -0400
|
||||
Processing by PagesController#index as HTML
|
||||
[1m[35mPhoto Load (19.0ms)[0m SELECT "photos".* FROM "photos" ORDER BY RANDOM() LIMIT 1
|
||||
Rendered pages/index.html.erb within layouts/photos (43.0ms)
|
||||
Completed 200 OK in 196ms (Views: 100.3ms | ActiveRecord: 19.0ms)
|
||||
|
||||
|
||||
Started GET "/admin" for 127.0.0.1 at 2010-10-12 15:47:06 -0400
|
||||
|
||||
|
||||
Started GET "/admin/dashboard" for 127.0.0.1 at 2010-10-12 15:47:06 -0400
|
||||
Processing by Admin::DashboardController#show as HTML
|
||||
[1m[36mAdminUser Load (22.5ms)[0m [1mSELECT "admin_users".* FROM "admin_users" WHERE ("admin_users"."id" = 1) LIMIT 1[0m
|
||||
Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/dashboard/_sidebar.html.erb (0.5ms)
|
||||
Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/helpers/dashboard/_applications.html.erb (92.8ms)
|
||||
Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/helpers/dashboard/_resources.html.erb (0.5ms)
|
||||
Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/helpers/_header.html.erb (20.1ms)
|
||||
Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/helpers/_apps.html.erb (3.2ms)
|
||||
Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/helpers/_login_info.html.erb (0.9ms)
|
||||
Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/dashboard/show.html.erb within layouts/admin/base (216.9ms)
|
||||
Completed 200 OK in 430ms (Views: 293.2ms | ActiveRecord: 22.5ms)
|
||||
|
||||
|
||||
Started GET "/admin/categories" for 127.0.0.1 at 2010-10-12 15:47:09 -0400
|
||||
Processing by Admin::CategoriesController#index as HTML
|
||||
[1m[35mAdminUser Load (0.2ms)[0m SELECT "admin_users".* FROM "admin_users" WHERE ("admin_users"."id" = 1) LIMIT 1
|
||||
[1m[36mSQL (20.6ms)[0m [1mSELECT COUNT(*) AS count_id FROM "categories"[0m
|
||||
Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/helpers/sidebar/_sidebar.html.erb (1.8ms)
|
||||
Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/resources/_index.html.erb (0.3ms)
|
||||
Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/helpers/search/_search.html.erb (0.9ms)
|
||||
[1m[35mCACHE (0.0ms)[0m SELECT COUNT(*) AS count_id FROM "categories"
|
||||
Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/helpers/search/_search.html.erb (0.8ms)
|
||||
[1m[36mCACHE (0.0ms)[0m [1mSELECT COUNT(*) AS count_id FROM "categories"[0m
|
||||
[1m[35mCategory Load (63.5ms)[0m SELECT "categories".* FROM "categories" LIMIT 15 OFFSET 0
|
||||
Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/helpers/table/_table.html.erb (10.0ms)
|
||||
Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/helpers/_header.html.erb (0.6ms)
|
||||
Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/helpers/_apps.html.erb (1.9ms)
|
||||
Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/helpers/_login_info.html.erb (0.6ms)
|
||||
Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/resources/index.html.erb within layouts/admin/base (152.6ms)
|
||||
Completed 200 OK in 279ms (Views: 125.2ms | ActiveRecord: 84.2ms)
|
||||
|
||||
|
||||
Started GET "/admin/categories/edit/1" for 127.0.0.1 at 2010-10-12 15:47:12 -0400
|
||||
Processing by Admin::CategoriesController#edit as HTML
|
||||
Parameters: {"id"=>"1"}
|
||||
[1m[36mAdminUser Load (0.2ms)[0m [1mSELECT "admin_users".* FROM "admin_users" WHERE ("admin_users"."id" = 1) LIMIT 1[0m
|
||||
[1m[35mCategory Load (0.4ms)[0m SELECT "categories".* FROM "categories" WHERE ("categories"."id" = 1) LIMIT 1
|
||||
Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/helpers/sidebar/_sidebar.html.erb (1.6ms)
|
||||
Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/resources/_edit.html.erb (0.2ms)
|
||||
Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/templates/_string.html.erb (1.0ms)
|
||||
Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/templates/_text.html.erb (0.8ms)
|
||||
Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/templates/_string.html.erb (0.9ms)
|
||||
Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/templates/_string.html.erb (0.9ms)
|
||||
Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/templates/_string.html.erb (0.9ms)
|
||||
Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/resources/_form.html.erb (19.5ms)
|
||||
[1m[36mPhoto Load (1.0ms)[0m [1mSELECT "photos".* FROM "photos"[0m
|
||||
[1m[35mPhoto Load (1.3ms)[0m SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )
|
||||
Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/templates/_relate_form.html.erb (19.3ms)
|
||||
[1m[36mCACHE (0.0ms)[0m [1mSELECT "categories".* FROM "categories" WHERE ("categories"."id" = 1) LIMIT 1[0m
|
||||
[1m[35mSQL (0.2ms)[0m SELECT COUNT(*) AS count_id FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )
|
||||
[1m[36mCACHE (0.0ms)[0m [1mSELECT "categories".* FROM "categories" WHERE ("categories"."id" = 1) LIMIT 1[0m
|
||||
[1m[35mPhoto Load (1.7ms)[0m SELECT "photos".* FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 15 OFFSET 0
|
||||
Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/helpers/table/_table.html.erb (23.5ms)
|
||||
Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/templates/_has_n.html.erb (1.6ms)
|
||||
Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/helpers/_header.html.erb (0.8ms)
|
||||
Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/helpers/_apps.html.erb (2.0ms)
|
||||
Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/helpers/_login_info.html.erb (0.6ms)
|
||||
Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/resources/edit.html.erb within layouts/admin/base (239.2ms)
|
||||
Completed 200 OK in 359ms (Views: 268.6ms | ActiveRecord: 4.8ms)
|
||||
|
||||
|
||||
Started GET "/admin/categories/edit/1" for 127.0.0.1 at 2010-10-13 03:50:15 -0400
|
||||
Processing by Admin::CategoriesController#edit as HTML
|
||||
Parameters: {"id"=>"1"}
|
||||
[1m[36mAdminUser Load (0.1ms)[0m [1mSELECT "admin_users".* FROM "admin_users" WHERE ("admin_users"."id" = 1) LIMIT 1[0m
|
||||
[1m[35mCategory Load (0.5ms)[0m SELECT "categories".* FROM "categories" WHERE ("categories"."id" = 1) LIMIT 1
|
||||
Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/helpers/sidebar/_sidebar.html.erb (1.8ms)
|
||||
Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/resources/_edit.html.erb (0.2ms)
|
||||
Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/templates/_string.html.erb (1.0ms)
|
||||
Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/templates/_text.html.erb (0.6ms)
|
||||
Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/templates/_string.html.erb (0.9ms)
|
||||
Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/templates/_string.html.erb (0.9ms)
|
||||
Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/templates/_string.html.erb (0.8ms)
|
||||
Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/resources/_form.html.erb (18.4ms)
|
||||
[1m[36mPhoto Load (1.1ms)[0m [1mSELECT "photos".* FROM "photos"[0m
|
||||
[1m[35mPhoto Load (0.8ms)[0m SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )
|
||||
Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/templates/_relate_form.html.erb (2.6ms)
|
||||
[1m[36mCACHE (0.0ms)[0m [1mSELECT "categories".* FROM "categories" WHERE ("categories"."id" = 1) LIMIT 1[0m
|
||||
[1m[35mSQL (0.2ms)[0m SELECT COUNT(*) AS count_id FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )
|
||||
[1m[36mCACHE (0.0ms)[0m [1mSELECT "categories".* FROM "categories" WHERE ("categories"."id" = 1) LIMIT 1[0m
|
||||
[1m[35mPhoto Load (0.9ms)[0m SELECT "photos".* FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 15 OFFSET 0
|
||||
Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/helpers/table/_table.html.erb (7.0ms)
|
||||
Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/templates/_has_n.html.erb (0.8ms)
|
||||
Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/helpers/_header.html.erb (0.6ms)
|
||||
Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/helpers/_apps.html.erb (2.5ms)
|
||||
Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/helpers/_login_info.html.erb (0.8ms)
|
||||
Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/resources/edit.html.erb within layouts/admin/base (146.1ms)
|
||||
Completed 200 OK in 230ms (Views: 154.7ms | ActiveRecord: 3.7ms)
|
||||
|
||||
|
||||
Started GET "/admin/categories/edit/1" for 127.0.0.1 at 2010-10-13 03:50:21 -0400
|
||||
Processing by Admin::CategoriesController#edit as HTML
|
||||
Parameters: {"id"=>"1"}
|
||||
[1m[36mAdminUser Load (0.2ms)[0m [1mSELECT "admin_users".* FROM "admin_users" WHERE ("admin_users"."id" = 1) LIMIT 1[0m
|
||||
[1m[35mCategory Load (0.4ms)[0m SELECT "categories".* FROM "categories" WHERE ("categories"."id" = 1) LIMIT 1
|
||||
Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/helpers/sidebar/_sidebar.html.erb (2.1ms)
|
||||
Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/resources/_edit.html.erb (0.3ms)
|
||||
Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/templates/_string.html.erb (1.1ms)
|
||||
Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/templates/_text.html.erb (0.6ms)
|
||||
Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/templates/_string.html.erb (1.0ms)
|
||||
Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/templates/_string.html.erb (0.9ms)
|
||||
Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/templates/_string.html.erb (0.8ms)
|
||||
Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/resources/_form.html.erb (19.4ms)
|
||||
[1m[36mPhoto Load (1.0ms)[0m [1mSELECT "photos".* FROM "photos"[0m
|
||||
[1m[35mPhoto Load (0.7ms)[0m SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )
|
||||
Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/templates/_relate_form.html.erb (2.6ms)
|
||||
[1m[36mCACHE (0.0ms)[0m [1mSELECT "categories".* FROM "categories" WHERE ("categories"."id" = 1) LIMIT 1[0m
|
||||
[1m[35mSQL (0.2ms)[0m SELECT COUNT(*) AS count_id FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )
|
||||
[1m[36mCACHE (0.0ms)[0m [1mSELECT "categories".* FROM "categories" WHERE ("categories"."id" = 1) LIMIT 1[0m
|
||||
[1m[35mPhoto Load (0.8ms)[0m SELECT "photos".* FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 15 OFFSET 0
|
||||
Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/helpers/table/_table.html.erb (6.6ms)
|
||||
Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/templates/_has_n.html.erb (0.8ms)
|
||||
Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/helpers/_header.html.erb (0.6ms)
|
||||
Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/helpers/_apps.html.erb (2.0ms)
|
||||
Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/helpers/_login_info.html.erb (0.6ms)
|
||||
Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/resources/edit.html.erb within layouts/admin/base (145.1ms)
|
||||
Completed 200 OK in 229ms (Views: 152.7ms | ActiveRecord: 3.4ms)
|
||||
|
||||
|
||||
Started GET "/admin/categories/edit/1" for 127.0.0.1 at 2010-10-13 03:50:26 -0400
|
||||
Processing by Admin::CategoriesController#edit as HTML
|
||||
Parameters: {"id"=>"1"}
|
||||
[1m[36mAdminUser Load (0.2ms)[0m [1mSELECT "admin_users".* FROM "admin_users" WHERE ("admin_users"."id" = 1) LIMIT 1[0m
|
||||
[1m[35mCategory Load (0.4ms)[0m SELECT "categories".* FROM "categories" WHERE ("categories"."id" = 1) LIMIT 1
|
||||
[1m[36mSQL (0.2ms)[0m [1m SELECT name
|
||||
FROM sqlite_master
|
||||
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
||||
[0m
|
||||
Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/resources/edit.html.erb within layouts/admin/base (48.9ms)
|
||||
Completed in 133ms
|
||||
|
||||
ActionView::Template::Error (undefined method `title' for #<Class:0x000001045e6e38>):
|
||||
3: title(page_title)
|
||||
4: %>
|
||||
5:
|
||||
6: <% content_for :sidebar, build_sidebar %>
|
||||
7:
|
||||
8: <h2>
|
||||
9: <%= page_title %>
|
||||
app/models/photo.rb:18:in `to_s'
|
||||
|
||||
Rendered /usr/local/Cellar/ruby/1.9.2-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.0.0/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.0ms)
|
||||
[1m[35mSQL (0.4ms)[0m SELECT name
|
||||
FROM sqlite_master
|
||||
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
||||
Rendered /usr/local/Cellar/ruby/1.9.2-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.0.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (31.7ms)
|
||||
Rendered /usr/local/Cellar/ruby/1.9.2-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.0.0/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (63.0ms)
|
||||
|
||||
|
||||
Started GET "/admin/categories/edit/1" for 127.0.0.1 at 2010-10-13 03:50:33 -0400
|
||||
Processing by Admin::CategoriesController#edit as HTML
|
||||
Parameters: {"id"=>"1"}
|
||||
[1m[36mAdminUser Load (0.2ms)[0m [1mSELECT "admin_users".* FROM "admin_users" WHERE ("admin_users"."id" = 1) LIMIT 1[0m
|
||||
[1m[35mCategory Load (0.4ms)[0m SELECT "categories".* FROM "categories" WHERE ("categories"."id" = 1) LIMIT 1
|
||||
Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/helpers/sidebar/_sidebar.html.erb (1.6ms)
|
||||
Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/resources/_edit.html.erb (0.2ms)
|
||||
Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/templates/_string.html.erb (1.1ms)
|
||||
Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/templates/_text.html.erb (0.6ms)
|
||||
Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/templates/_string.html.erb (0.9ms)
|
||||
Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/templates/_string.html.erb (1.0ms)
|
||||
Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/templates/_string.html.erb (1.0ms)
|
||||
Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/resources/_form.html.erb (19.2ms)
|
||||
[1m[36mPhoto Load (35.2ms)[0m [1mSELECT "photos".* FROM "photos"[0m
|
||||
[1m[35mPhoto Load (1.1ms)[0m SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )
|
||||
Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/templates/_relate_form.html.erb (2.9ms)
|
||||
[1m[36mCACHE (0.0ms)[0m [1mSELECT "categories".* FROM "categories" WHERE ("categories"."id" = 1) LIMIT 1[0m
|
||||
[1m[35mSQL (0.2ms)[0m SELECT COUNT(*) AS count_id FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )
|
||||
[1m[36mCACHE (0.0ms)[0m [1mSELECT "categories".* FROM "categories" WHERE ("categories"."id" = 1) LIMIT 1[0m
|
||||
[1m[35mPhoto Load (0.9ms)[0m SELECT "photos".* FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 15 OFFSET 0
|
||||
Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/helpers/table/_table.html.erb (6.5ms)
|
||||
Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/templates/_has_n.html.erb (1.0ms)
|
||||
Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/helpers/_header.html.erb (0.6ms)
|
||||
Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/helpers/_apps.html.erb (2.1ms)
|
||||
Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/helpers/_login_info.html.erb (0.7ms)
|
||||
Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/resources/edit.html.erb within layouts/admin/base (176.9ms)
|
||||
Completed 200 OK in 296ms (Views: 150.5ms | ActiveRecord: 38.0ms)
|
||||
|
||||
|
||||
Started GET "/admin/categories/edit/1" for 127.0.0.1 at 2010-10-13 03:50:44 -0400
|
||||
Processing by Admin::CategoriesController#edit as HTML
|
||||
Parameters: {"id"=>"1"}
|
||||
[1m[36mAdminUser Load (0.2ms)[0m [1mSELECT "admin_users".* FROM "admin_users" WHERE ("admin_users"."id" = 1) LIMIT 1[0m
|
||||
[1m[35mCategory Load (0.4ms)[0m SELECT "categories".* FROM "categories" WHERE ("categories"."id" = 1) LIMIT 1
|
||||
Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/helpers/sidebar/_sidebar.html.erb (1.6ms)
|
||||
Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/resources/_edit.html.erb (0.3ms)
|
||||
Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/templates/_string.html.erb (1.3ms)
|
||||
Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/templates/_text.html.erb (0.6ms)
|
||||
Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/templates/_string.html.erb (1.0ms)
|
||||
Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/templates/_string.html.erb (0.9ms)
|
||||
Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/templates/_string.html.erb (0.9ms)
|
||||
Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/resources/_form.html.erb (26.7ms)
|
||||
[1m[36mPhoto Load (1.1ms)[0m [1mSELECT "photos".* FROM "photos"[0m
|
||||
[1m[35mPhoto Load (0.7ms)[0m SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )
|
||||
Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/templates/_relate_form.html.erb (2.7ms)
|
||||
[1m[36mCACHE (0.0ms)[0m [1mSELECT "categories".* FROM "categories" WHERE ("categories"."id" = 1) LIMIT 1[0m
|
||||
[1m[35mSQL (0.2ms)[0m SELECT COUNT(*) AS count_id FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )
|
||||
[1m[36mCACHE (0.0ms)[0m [1mSELECT "categories".* FROM "categories" WHERE ("categories"."id" = 1) LIMIT 1[0m
|
||||
[1m[35mPhoto Load (0.9ms)[0m SELECT "photos".* FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 15 OFFSET 0
|
||||
Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/helpers/table/_table.html.erb (6.3ms)
|
||||
Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/templates/_has_n.html.erb (0.7ms)
|
||||
Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/helpers/_header.html.erb (0.5ms)
|
||||
Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/helpers/_apps.html.erb (2.0ms)
|
||||
Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/helpers/_login_info.html.erb (0.6ms)
|
||||
Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/resources/edit.html.erb within layouts/admin/base (149.8ms)
|
||||
Completed 200 OK in 236ms (Views: 157.5ms | ActiveRecord: 3.5ms)
|
||||
DEPRECATION WARNING: Use toplevel init.rb; rails/init.rb is deprecated: /Users/danbee/Sites/rails/photos/vendor/plugins/jrails/rails/init.rb. (called from <top (required)> at /Users/danbee/Sites/rails/photos/config/environment.rb:5)
|
||||
DEPRECATION WARNING: reset_javascript_include_default is deprecated. Please manipulate config.action_view.javascript_expansions[:defaults] directly. (called from block in <class:Plugin> at /Users/danbee/Sites/rails/photos/vendor/plugins/jrails/rails/init.rb:14)
|
||||
DEPRECATION WARNING: RAILS_ENV is deprecated. Please use ::Rails.env. (called from block in <class:Plugin> at /Users/danbee/Sites/rails/photos/vendor/plugins/jrails/rails/init.rb:16)
|
||||
DEPRECATION WARNING: Use toplevel init.rb; rails/init.rb is deprecated: /Users/danbee/Sites/rails/photos/vendor/plugins/paperclip/rails/init.rb. (called from <top (required)> at /Users/danbee/Sites/rails/photos/config/environment.rb:5)
|
||||
DEPRECATION WARNING: ActionController::Base.cookie_verifier_secret= is deprecated. Please configure it on your application with config.secret_token=. (called from <top (required)> at /Users/danbee/Sites/rails/photos/config/initializers/cookie_verification_secret.rb:7)
|
||||
DEPRECATION WARNING: Use toplevel init.rb; rails/init.rb is deprecated: /Users/danbee/Sites/rails/photos/vendor/plugins/jrails/rails/init.rb. (called from <top (required)> at /Users/danbee/Sites/rails/photos/config/environment.rb:5)
|
||||
DEPRECATION WARNING: reset_javascript_include_default is deprecated. Please manipulate config.action_view.javascript_expansions[:defaults] directly. (called from block in <class:Plugin> at /Users/danbee/Sites/rails/photos/vendor/plugins/jrails/rails/init.rb:14)
|
||||
DEPRECATION WARNING: RAILS_ENV is deprecated. Please use ::Rails.env. (called from block in <class:Plugin> at /Users/danbee/Sites/rails/photos/vendor/plugins/jrails/rails/init.rb:16)
|
||||
DEPRECATION WARNING: Use toplevel init.rb; rails/init.rb is deprecated: /Users/danbee/Sites/rails/photos/vendor/plugins/paperclip/rails/init.rb. (called from <top (required)> at /Users/danbee/Sites/rails/photos/config/environment.rb:5)
|
||||
DEPRECATION WARNING: ActionController::Base.cookie_verifier_secret= is deprecated. Please configure it on your application with config.secret_token=. (called from <top (required)> at /Users/danbee/Sites/rails/photos/config/initializers/cookie_verification_secret.rb:7)
|
||||
DEPRECATION WARNING: Use toplevel init.rb; rails/init.rb is deprecated: /Users/danbee/Sites/rails/photos/vendor/plugins/jrails/rails/init.rb. (called from <top (required)> at /Users/danbee/Sites/rails/photos/config/environment.rb:5)
|
||||
DEPRECATION WARNING: reset_javascript_include_default is deprecated. Please manipulate config.action_view.javascript_expansions[:defaults] directly. (called from block in <class:Plugin> at /Users/danbee/Sites/rails/photos/vendor/plugins/jrails/rails/init.rb:14)
|
||||
DEPRECATION WARNING: RAILS_ENV is deprecated. Please use ::Rails.env. (called from block in <class:Plugin> at /Users/danbee/Sites/rails/photos/vendor/plugins/jrails/rails/init.rb:16)
|
||||
DEPRECATION WARNING: Use toplevel init.rb; rails/init.rb is deprecated: /Users/danbee/Sites/rails/photos/vendor/plugins/paperclip/rails/init.rb. (called from <top (required)> at /Users/danbee/Sites/rails/photos/config/environment.rb:5)
|
||||
DEPRECATION WARNING: ActionController::Base.cookie_verifier_secret= is deprecated. Please configure it on your application with config.secret_token=. (called from <top (required)> at /Users/danbee/Sites/rails/photos/config/initializers/cookie_verification_secret.rb:7)
|
||||
|
||||
|
||||
Started GET "/admin/categories/edit/1" for 127.0.0.1 at 2010-10-13 04:21:22 -0400
|
||||
Processing by Admin::CategoriesController#edit as HTML
|
||||
Parameters: {"id"=>"1"}
|
||||
[1m[36mSQL (0.6ms)[0m [1m SELECT name
|
||||
FROM sqlite_master
|
||||
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
||||
[0m
|
||||
[1m[35mAdminUser Load (0.3ms)[0m SELECT "admin_users".* FROM "admin_users" WHERE ("admin_users"."id" = 1) LIMIT 1
|
||||
[1m[36mCategory Load (0.4ms)[0m [1mSELECT "categories".* FROM "categories" WHERE ("categories"."id" = 1) LIMIT 1[0m
|
||||
Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/helpers/sidebar/_sidebar.html.erb (1.8ms)
|
||||
Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/resources/_edit.html.erb (0.3ms)
|
||||
Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/templates/_string.html.erb (1.1ms)
|
||||
Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/templates/_text.html.erb (0.8ms)
|
||||
Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/templates/_string.html.erb (0.9ms)
|
||||
Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/templates/_string.html.erb (0.9ms)
|
||||
Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/templates/_string.html.erb (0.9ms)
|
||||
Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/resources/_form.html.erb (51.8ms)
|
||||
[1m[35mPhoto Load (1.0ms)[0m SELECT "photos".* FROM "photos"
|
||||
[1m[36mPhoto Load (0.7ms)[0m [1mSELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )[0m
|
||||
Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/templates/_relate_form.html.erb (1.6ms)
|
||||
[1m[35mCACHE (0.0ms)[0m SELECT "categories".* FROM "categories" WHERE ("categories"."id" = 1) LIMIT 1
|
||||
[1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) AS count_id FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )[0m
|
||||
[1m[35mCACHE (0.0ms)[0m SELECT "categories".* FROM "categories" WHERE ("categories"."id" = 1) LIMIT 1
|
||||
[1m[36mPhoto Load (1.0ms)[0m [1mSELECT "photos".* FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 15 OFFSET 0[0m
|
||||
Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/helpers/table/_table.html.erb (7.2ms)
|
||||
Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/templates/_has_n.html.erb (0.9ms)
|
||||
Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/helpers/_header.html.erb (0.6ms)
|
||||
Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/helpers/_apps.html.erb (2.2ms)
|
||||
Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/helpers/_login_info.html.erb (0.6ms)
|
||||
Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/resources/edit.html.erb within layouts/admin/base (161.6ms)
|
||||
Completed 200 OK in 344ms (Views: 171.4ms | ActiveRecord: 4.2ms)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user