From e66e75c8087fc68364e6ce888ea4fc3e404e3728 Mon Sep 17 00:00:00 2001 From: Dan Barber Date: Mon, 11 Oct 2010 07:40:17 -0400 Subject: [PATCH] Transitioned to Rails 3 and Ruby 1.9.2. All working! --- .gitignore | 4 + README | 271 +- Rakefile | 7 +- .../admin/categories_controller.rb | 4 +- app/controllers/admin/photos_controller.rb | 4 +- .../admin/typus_users_controller.rb | 4 - app/controllers/application_controller.rb | 9 +- app/helpers/application_helper.rb | 1 - app/views/categories/index.html.erb | 18 +- app/views/layouts/photos.html.erb | 2 +- app/views/pages/about.html.erb | 4 +- app/views/pages/index.html.erb | 6 +- app/views/photos/index.html.erb | 8 +- config/boot.rb | 121 +- config/environment.rb | 46 +- config/environments/development.rb | 35 +- config/environments/production.rb | 61 +- config/environments/test.rb | 51 +- config/initializers/backtrace_silencers.rb | 4 +- .../cookie_verification_secret.rb | 2 +- config/initializers/inflections.rb | 2 +- config/initializers/new_rails_defaults.rb | 21 - config/initializers/session_store.rb | 11 +- config/initializers/typus.rb | 44 +- config/locales/en.yml | 2 +- config/routes.rb | 74 +- config/typus/README | 27 +- config/typus/application.yml | 10 +- config/typus/typus.yml | 17 - config/typus/typus_roles.yml | 6 - db/development.sqlite3 | Bin 20480 -> 20480 bytes .../20101008175640_create_typus_users.rb | 22 - db/schema.rb | 29 +- db/seeds.rb | 4 +- log/development.log | 25715 ++-------------- public/404.html | 34 +- public/422.html | 34 +- public/500.html | 32 +- public/index.html_ | 118 +- public/javascripts/controls.js | 8 +- public/javascripts/dragdrop.js | 13 +- public/javascripts/effects.js | 21 +- public/javascripts/prototype.js | 5493 ++-- public/stylesheets/photos.css | 14 +- .../admin/categories_controller_test.rb | 3 +- .../admin/photos_controller_test.rb | 3 +- .../admin/typus_users_controller_test.rb | 11 - test/performance/browsing_test.rb | 4 +- test/test_helper.rb | 29 +- vendor/plugins/typus/CHANGES | 68 - vendor/plugins/typus/MIT-LICENSE | 20 - vendor/plugins/typus/README.rdoc | 49 - vendor/plugins/typus/Rakefile | 57 - .../controllers/admin/master_controller.rb | 401 - .../typus/app/controllers/typus_controller.rb | 146 - .../typus/app/helpers/admin/form_helper.rb | 464 - .../typus/app/helpers/admin/master_helper.rb | 63 - .../typus/app/helpers/admin/public_helper.rb | 19 - .../typus/app/helpers/admin/sidebar_helper.rb | 238 - .../typus/app/helpers/admin/table_helper.rb | 261 - .../plugins/typus/app/helpers/typus_helper.rb | 101 - .../plugins/typus/app/models/typus_mailer.rb | 12 - vendor/plugins/typus/app/models/typus_user.rb | 8 - .../views/admin/dashboard/_sidebar.html.erb | 5 - .../admin/helpers/_applications.html.erb | 39 - .../app/views/admin/helpers/_date.html.erb | 26 - .../_display_link_to_previous.html.erb | 3 - .../admin/helpers/_flash_message.html.erb | 3 - .../app/views/admin/helpers/_header.html.erb | 13 - .../app/views/admin/helpers/_list.html.erb | 11 - .../views/admin/helpers/_login_info.html.erb | 4 - .../views/admin/helpers/_pagination.html.erb | 15 - .../app/views/admin/helpers/_preview.html.erb | 13 - .../views/admin/helpers/_quick_edit.html.erb | 3 - .../helpers/_remove_filter_link.html.erb | 1 - .../views/admin/helpers/_resources.html.erb | 14 - .../app/views/admin/helpers/_search.html.erb | 8 - .../admin/helpers/_table_header.html.erb | 5 - .../app/views/admin/resources/_form.html.erb | 12 - .../app/views/admin/resources/edit.html.erb | 25 - .../app/views/admin/resources/index.html.erb | 21 - .../app/views/admin/resources/new.html.erb | 22 - .../app/views/admin/resources/show.html.erb | 45 - .../app/views/admin/shared/_footer.html.erb | 1 - .../views/admin/templates/_boolean.html.erb | 4 - .../app/views/admin/templates/_date.html.erb | 9 - .../views/admin/templates/_datetime.html.erb | 9 - .../app/views/admin/templates/_file.html.erb | 19 - .../views/admin/templates/_password.html.erb | 4 - .../views/admin/templates/_selector.html.erb | 9 - .../views/admin/templates/_string.html.erb | 22 - .../app/views/admin/templates/_text.html.erb | 9 - .../app/views/admin/templates/_time.html.erb | 9 - .../typus/app/views/layouts/admin.html.erb | 69 - .../typus/app/views/layouts/typus.html.erb | 33 - .../typus/app/views/typus/dashboard.html.erb | 9 - .../app/views/typus/recover_password.html.erb | 16 - .../app/views/typus/reset_password.html.erb | 25 - .../typus/app/views/typus/sign_in.html.erb | 21 - .../typus/app/views/typus/sign_up.html.erb | 16 - .../typus_mailer/reset_password_link.erb | 6 - vendor/plugins/typus/config/locales/ca.yml | 118 - vendor/plugins/typus/config/locales/de.yml | 118 - vendor/plugins/typus/config/locales/es.yml | 118 - vendor/plugins/typus/config/locales/fr.yml | 118 - vendor/plugins/typus/config/locales/hu.yml | 128 - .../config/locales/language.yml.template | 118 - .../typus/config/locales/models/README.md | 8 - .../typus/config/locales/models/ca_models.yml | 16 - .../typus/config/locales/models/de_models.yml | 13 - .../typus/config/locales/models/es_models.yml | 13 - .../typus/config/locales/models/fr_models.yml | 13 - .../typus/config/locales/models/hu_models.yml | 13 - .../config/locales/models/pt-BR_models.yml | 13 - .../typus/config/locales/models/ru_models.yml | 17 - vendor/plugins/typus/config/locales/pt-BR.yml | 118 - vendor/plugins/typus/config/locales/ru.yml | 118 - vendor/plugins/typus/generators/typus/USAGE | 13 - .../generators/typus/lib/insert_commands.rb | 41 - .../typus/generators/typus/lib/string.rb | 5 - .../typus/generators/typus/templates/README | 44 - .../typus/templates/config/typus/README | 71 - .../templates/config/typus/application.yml | 5 - .../config/typus/application_roles.yml | 6 - .../typus/templates/config/typus/typus.yml | 17 - .../templates/config/typus/typus_roles.yml | 6 - .../generators/typus/templates/controller.rb | 4 - .../typus/templates/functional_test.rb | 11 - .../generators/typus/templates/initializer.rb | 26 - .../generators/typus/templates/migration.rb | 22 - .../typus/generators/typus/templates/model.rb | 8 - .../public/images/admin/fancybox/blank.gif | Bin 43 -> 0 bytes .../images/admin/fancybox/fancy_close.png | Bin 1517 -> 0 bytes .../images/admin/fancybox/fancy_loading.png | Bin 10195 -> 0 bytes .../images/admin/fancybox/fancy_nav_left.png | Bin 1446 -> 0 bytes .../images/admin/fancybox/fancy_nav_right.png | Bin 1454 -> 0 bytes .../images/admin/fancybox/fancy_shadow_e.png | Bin 107 -> 0 bytes .../images/admin/fancybox/fancy_shadow_n.png | Bin 106 -> 0 bytes .../images/admin/fancybox/fancy_shadow_ne.png | Bin 347 -> 0 bytes .../images/admin/fancybox/fancy_shadow_nw.png | Bin 324 -> 0 bytes .../images/admin/fancybox/fancy_shadow_s.png | Bin 111 -> 0 bytes .../images/admin/fancybox/fancy_shadow_se.png | Bin 352 -> 0 bytes .../images/admin/fancybox/fancy_shadow_sw.png | Bin 340 -> 0 bytes .../images/admin/fancybox/fancy_shadow_w.png | Bin 103 -> 0 bytes .../admin/fancybox/fancy_title_left.png | Bin 503 -> 0 bytes .../admin/fancybox/fancy_title_main.png | Bin 96 -> 0 bytes .../admin/fancybox/fancy_title_over.png | Bin 70 -> 0 bytes .../admin/fancybox/fancy_title_right.png | Bin 506 -> 0 bytes .../public/images/admin/ui-icons.png | Bin 5355 -> 0 bytes .../public/javascripts/admin/application.js | 2 - .../javascripts/admin/jquery-1.4.1.min.js | 152 - .../admin/jquery.fancybox-1.3.0.pack.js | 43 - .../admin/jquery.fancybox-1.3.0.css | 333 - .../public/stylesheets/admin/reset.css | 68 - .../public/stylesheets/admin/screen.css | 369 - .../generators/typus/templates/view.html.erb | 11 - .../typus/generators/typus/typus_generator.rb | 269 - .../templates/config/typus.yml | 12 - .../templates/migration.rb | 11 - .../typus_update_schema_to_01_generator.rb | 19 - .../templates/migration.rb | 11 - .../typus_update_schema_to_02_generator.rb | 11 - vendor/plugins/typus/init.rb | 3 - .../typus/lib/extensions/active_record.rb | 63 - vendor/plugins/typus/lib/extensions/array.rb | 13 - vendor/plugins/typus/lib/extensions/hash.rb | 8 - vendor/plugins/typus/lib/extensions/object.rb | 21 - vendor/plugins/typus/lib/extensions/string.rb | 27 - vendor/plugins/typus/lib/tasks/defaults.rake | 25 - vendor/plugins/typus/lib/typus.rb | 116 - .../plugins/typus/lib/typus/active_record.rb | 315 - .../plugins/typus/lib/typus/authentication.rb | 135 - .../plugins/typus/lib/typus/configuration.rb | 83 - vendor/plugins/typus/lib/typus/format.rb | 81 - vendor/plugins/typus/lib/typus/preferences.rb | 11 - vendor/plugins/typus/lib/typus/quick_edit.rb | 40 - vendor/plugins/typus/lib/typus/reloader.rb | 14 - vendor/plugins/typus/lib/typus/routes.rb | 37 - vendor/plugins/typus/lib/typus/user.rb | 162 - vendor/plugins/typus/lib/typus/version.rb | 3 - .../plugins/typus/lib/vendor/inherit_views.rb | 202 - vendor/plugins/typus/lib/vendor/paginator.rb | 143 - .../typus/test/config/broken/application.yml | 68 - .../test/config/broken/application_roles.yml | 20 - .../typus/test/config/broken/empty.yml | 0 .../typus/test/config/broken/empty_roles.yml | 0 .../typus/test/config/broken/undefined.yml | 3 - .../test/config/broken/undefined_roles.yml | 6 - .../typus/test/config/default/typus.yml | 12 - .../typus/test/config/default/typus_roles.yml | 2 - .../typus/test/config/empty/empty_01.yml | 0 .../test/config/empty/empty_01_roles.yml | 0 .../typus/test/config/empty/empty_02.yml | 0 .../test/config/empty/empty_02_roles.yml | 0 .../plugins/typus/test/config/locales/es.yml | 10 - .../typus/test/config/ordered/001_roles.yml | 2 - .../typus/test/config/ordered/002_roles.yml | 2 - .../test/config/unordered/app_one_roles.yml | 2 - .../test/config/unordered/app_two_roles.yml | 2 - .../typus/test/config/working/application.yml | 92 - .../test/config/working/application_roles.yml | 25 - .../typus/test/config/working/typus.yml | 12 - .../typus/test/config/working/typus_roles.yml | 2 - .../test/extensions/active_record_test.rb | 34 - .../typus/test/extensions/hash_test.rb | 11 - .../typus/test/extensions/string_test.rb | 55 - .../controllers/admin/assets_controller.rb | 2 - .../admin/categories_controller.rb | 2 - .../controllers/admin/comments_controller.rb | 2 - .../app/controllers/admin/pages_controller.rb | 2 - .../controllers/admin/pictures_controller.rb | 2 - .../app/controllers/admin/posts_controller.rb | 2 - .../controllers/admin/status_controller.rb | 6 - .../admin/typus_users_controller.rb | 2 - .../controllers/admin/watch_dog_controller.rb | 6 - .../typus/test/fixtures/app/models/asset.rb | 5 - .../test/fixtures/app/models/category.rb | 11 - .../typus/test/fixtures/app/models/comment.rb | 6 - .../test/fixtures/app/models/custom_user.rb | 2 - .../test/fixtures/app/models/delayed/task.rb | 5 - .../typus/test/fixtures/app/models/page.rb | 5 - .../typus/test/fixtures/app/models/picture.rb | 2 - .../typus/test/fixtures/app/models/post.rb | 19 - .../typus/test/fixtures/app/models/view.rb | 5 - .../app/views/admin/categories/_form.html.erb | 1 - .../views/admin/dashboard/_content.html.erb | 1 - .../views/admin/dashboard/_sidebar.html.erb | 1 - .../app/views/admin/pictures/_edit.html.erb | 1 - .../app/views/admin/pictures/_index.html.erb | 1 - .../app/views/admin/pictures/_new.html.erb | 1 - .../app/views/admin/pictures/_show.html.erb | 1 - .../views/admin/pictures/_sidebar.html.erb | 1 - .../app/views/admin/posts/_edit.html.erb | 1 - .../app/views/admin/posts/_index.html.erb | 1 - .../app/views/admin/posts/_new.html.erb | 1 - .../app/views/admin/posts/_show.html.erb | 1 - .../app/views/admin/posts/_sidebar.html.erb | 1 - .../views/admin/resources/_sidebar.html.erb | 1 - .../app/views/admin/shared/_footer.html.erb | 1 - .../app/views/admin/status/index.html.erb | 1 - .../admin/templates/_datepicker.html.erb | 1 - vendor/plugins/typus/test/fixtures/assets.yml | 11 - .../typus/test/fixtures/categories.yml | 14 - .../plugins/typus/test/fixtures/comments.yml | 27 - vendor/plugins/typus/test/fixtures/pages.yml | 41 - .../plugins/typus/test/fixtures/pictures.yml | 15 - vendor/plugins/typus/test/fixtures/posts.yml | 37 - .../typus/test/fixtures/typus_users.yml | 59 - .../master_controller_assets_relationships.rb | 66 - ...master_controller_categories_lists_test.rb | 64 - .../master_controller_posts_before_test.rb | 10 - .../master_controller_posts_crud_test.rb | 97 - .../master_controller_posts_formats_test.rb | 60 - .../master_controller_posts_forms_test.rb | 40 - ...aster_controller_posts_permissions_test.rb | 127 - ...ter_controller_posts_relationships_test.rb | 86 - .../admin/master_controller_posts_roles.rb | 50 - .../master_controller_posts_toggle_test.rb | 19 - .../master_controller_posts_views_test.rb | 209 - ...ster_controller_tableless_resource_test.rb | 36 - .../master_controller_typus_users_test.rb | 211 - .../test/functional/typus_controller_test.rb | 341 - vendor/plugins/typus/test/helper.rb | 51 - .../test/helpers/admin/form_helper_test.rb | 137 - .../test/helpers/admin/master_helper_test.rb | 73 - .../test/helpers/admin/public_helper_test.rb | 34 - .../test/helpers/admin/sidebar_helper_test.rb | 320 - .../test/helpers/admin/table_helper_test.rb | 266 - .../typus/test/helpers/typus_helper_test.rb | 144 - .../typus/test/lib/active_record_test.rb | 356 - .../typus/test/lib/configuration_test.rb | 92 - vendor/plugins/typus/test/lib/routes_test.rb | 71 - vendor/plugins/typus/test/lib/typus_test.rb | 69 - vendor/plugins/typus/test/schema.rb | 86 - .../typus/test/unit/typus_mailer_test.rb | 29 - vendor/plugins/typus/test/unit/typus_test.rb | 17 - .../typus/test/unit/typus_user_roles_test.rb | 97 - .../typus/test/unit/typus_user_test.rb | 179 - .../typus/test/vendor/paginator_test.rb | 138 - vendor/plugins/typus/typus.gemspec | 24 - 280 files changed, 5882 insertions(+), 37484 deletions(-) delete mode 100644 app/controllers/admin/typus_users_controller.rb delete mode 100644 config/initializers/new_rails_defaults.rb delete mode 100644 config/typus/typus.yml delete mode 100644 config/typus/typus_roles.yml delete mode 100644 db/migrate/20101008175640_create_typus_users.rb delete mode 100644 test/functional/admin/typus_users_controller_test.rb delete mode 100644 vendor/plugins/typus/CHANGES delete mode 100644 vendor/plugins/typus/MIT-LICENSE delete mode 100644 vendor/plugins/typus/README.rdoc delete mode 100644 vendor/plugins/typus/Rakefile delete mode 100644 vendor/plugins/typus/app/controllers/admin/master_controller.rb delete mode 100644 vendor/plugins/typus/app/controllers/typus_controller.rb delete mode 100644 vendor/plugins/typus/app/helpers/admin/form_helper.rb delete mode 100644 vendor/plugins/typus/app/helpers/admin/master_helper.rb delete mode 100644 vendor/plugins/typus/app/helpers/admin/public_helper.rb delete mode 100644 vendor/plugins/typus/app/helpers/admin/sidebar_helper.rb delete mode 100644 vendor/plugins/typus/app/helpers/admin/table_helper.rb delete mode 100644 vendor/plugins/typus/app/helpers/typus_helper.rb delete mode 100644 vendor/plugins/typus/app/models/typus_mailer.rb delete mode 100644 vendor/plugins/typus/app/models/typus_user.rb delete mode 100644 vendor/plugins/typus/app/views/admin/dashboard/_sidebar.html.erb delete mode 100644 vendor/plugins/typus/app/views/admin/helpers/_applications.html.erb delete mode 100644 vendor/plugins/typus/app/views/admin/helpers/_date.html.erb delete mode 100644 vendor/plugins/typus/app/views/admin/helpers/_display_link_to_previous.html.erb delete mode 100644 vendor/plugins/typus/app/views/admin/helpers/_flash_message.html.erb delete mode 100644 vendor/plugins/typus/app/views/admin/helpers/_header.html.erb delete mode 100644 vendor/plugins/typus/app/views/admin/helpers/_list.html.erb delete mode 100644 vendor/plugins/typus/app/views/admin/helpers/_login_info.html.erb delete mode 100644 vendor/plugins/typus/app/views/admin/helpers/_pagination.html.erb delete mode 100644 vendor/plugins/typus/app/views/admin/helpers/_preview.html.erb delete mode 100644 vendor/plugins/typus/app/views/admin/helpers/_quick_edit.html.erb delete mode 100644 vendor/plugins/typus/app/views/admin/helpers/_remove_filter_link.html.erb delete mode 100644 vendor/plugins/typus/app/views/admin/helpers/_resources.html.erb delete mode 100644 vendor/plugins/typus/app/views/admin/helpers/_search.html.erb delete mode 100644 vendor/plugins/typus/app/views/admin/helpers/_table_header.html.erb delete mode 100644 vendor/plugins/typus/app/views/admin/resources/_form.html.erb delete mode 100644 vendor/plugins/typus/app/views/admin/resources/edit.html.erb delete mode 100644 vendor/plugins/typus/app/views/admin/resources/index.html.erb delete mode 100644 vendor/plugins/typus/app/views/admin/resources/new.html.erb delete mode 100644 vendor/plugins/typus/app/views/admin/resources/show.html.erb delete mode 100644 vendor/plugins/typus/app/views/admin/shared/_footer.html.erb delete mode 100644 vendor/plugins/typus/app/views/admin/templates/_boolean.html.erb delete mode 100644 vendor/plugins/typus/app/views/admin/templates/_date.html.erb delete mode 100644 vendor/plugins/typus/app/views/admin/templates/_datetime.html.erb delete mode 100644 vendor/plugins/typus/app/views/admin/templates/_file.html.erb delete mode 100644 vendor/plugins/typus/app/views/admin/templates/_password.html.erb delete mode 100644 vendor/plugins/typus/app/views/admin/templates/_selector.html.erb delete mode 100644 vendor/plugins/typus/app/views/admin/templates/_string.html.erb delete mode 100644 vendor/plugins/typus/app/views/admin/templates/_text.html.erb delete mode 100644 vendor/plugins/typus/app/views/admin/templates/_time.html.erb delete mode 100644 vendor/plugins/typus/app/views/layouts/admin.html.erb delete mode 100644 vendor/plugins/typus/app/views/layouts/typus.html.erb delete mode 100644 vendor/plugins/typus/app/views/typus/dashboard.html.erb delete mode 100644 vendor/plugins/typus/app/views/typus/recover_password.html.erb delete mode 100644 vendor/plugins/typus/app/views/typus/reset_password.html.erb delete mode 100644 vendor/plugins/typus/app/views/typus/sign_in.html.erb delete mode 100644 vendor/plugins/typus/app/views/typus/sign_up.html.erb delete mode 100644 vendor/plugins/typus/app/views/typus_mailer/reset_password_link.erb delete mode 100644 vendor/plugins/typus/config/locales/ca.yml delete mode 100644 vendor/plugins/typus/config/locales/de.yml delete mode 100644 vendor/plugins/typus/config/locales/es.yml delete mode 100644 vendor/plugins/typus/config/locales/fr.yml delete mode 100644 vendor/plugins/typus/config/locales/hu.yml delete mode 100644 vendor/plugins/typus/config/locales/language.yml.template delete mode 100644 vendor/plugins/typus/config/locales/models/README.md delete mode 100644 vendor/plugins/typus/config/locales/models/ca_models.yml delete mode 100644 vendor/plugins/typus/config/locales/models/de_models.yml delete mode 100644 vendor/plugins/typus/config/locales/models/es_models.yml delete mode 100644 vendor/plugins/typus/config/locales/models/fr_models.yml delete mode 100644 vendor/plugins/typus/config/locales/models/hu_models.yml delete mode 100644 vendor/plugins/typus/config/locales/models/pt-BR_models.yml delete mode 100644 vendor/plugins/typus/config/locales/models/ru_models.yml delete mode 100644 vendor/plugins/typus/config/locales/pt-BR.yml delete mode 100644 vendor/plugins/typus/config/locales/ru.yml delete mode 100644 vendor/plugins/typus/generators/typus/USAGE delete mode 100644 vendor/plugins/typus/generators/typus/lib/insert_commands.rb delete mode 100644 vendor/plugins/typus/generators/typus/lib/string.rb delete mode 100644 vendor/plugins/typus/generators/typus/templates/README delete mode 100644 vendor/plugins/typus/generators/typus/templates/config/typus/README delete mode 100644 vendor/plugins/typus/generators/typus/templates/config/typus/application.yml delete mode 100644 vendor/plugins/typus/generators/typus/templates/config/typus/application_roles.yml delete mode 100644 vendor/plugins/typus/generators/typus/templates/config/typus/typus.yml delete mode 100644 vendor/plugins/typus/generators/typus/templates/config/typus/typus_roles.yml delete mode 100644 vendor/plugins/typus/generators/typus/templates/controller.rb delete mode 100644 vendor/plugins/typus/generators/typus/templates/functional_test.rb delete mode 100644 vendor/plugins/typus/generators/typus/templates/initializer.rb delete mode 100644 vendor/plugins/typus/generators/typus/templates/migration.rb delete mode 100644 vendor/plugins/typus/generators/typus/templates/model.rb delete mode 100755 vendor/plugins/typus/generators/typus/templates/public/images/admin/fancybox/blank.gif delete mode 100755 vendor/plugins/typus/generators/typus/templates/public/images/admin/fancybox/fancy_close.png delete mode 100755 vendor/plugins/typus/generators/typus/templates/public/images/admin/fancybox/fancy_loading.png delete mode 100755 vendor/plugins/typus/generators/typus/templates/public/images/admin/fancybox/fancy_nav_left.png delete mode 100755 vendor/plugins/typus/generators/typus/templates/public/images/admin/fancybox/fancy_nav_right.png delete mode 100755 vendor/plugins/typus/generators/typus/templates/public/images/admin/fancybox/fancy_shadow_e.png delete mode 100755 vendor/plugins/typus/generators/typus/templates/public/images/admin/fancybox/fancy_shadow_n.png delete mode 100755 vendor/plugins/typus/generators/typus/templates/public/images/admin/fancybox/fancy_shadow_ne.png delete mode 100755 vendor/plugins/typus/generators/typus/templates/public/images/admin/fancybox/fancy_shadow_nw.png delete mode 100755 vendor/plugins/typus/generators/typus/templates/public/images/admin/fancybox/fancy_shadow_s.png delete mode 100755 vendor/plugins/typus/generators/typus/templates/public/images/admin/fancybox/fancy_shadow_se.png delete mode 100755 vendor/plugins/typus/generators/typus/templates/public/images/admin/fancybox/fancy_shadow_sw.png delete mode 100755 vendor/plugins/typus/generators/typus/templates/public/images/admin/fancybox/fancy_shadow_w.png delete mode 100755 vendor/plugins/typus/generators/typus/templates/public/images/admin/fancybox/fancy_title_left.png delete mode 100755 vendor/plugins/typus/generators/typus/templates/public/images/admin/fancybox/fancy_title_main.png delete mode 100755 vendor/plugins/typus/generators/typus/templates/public/images/admin/fancybox/fancy_title_over.png delete mode 100755 vendor/plugins/typus/generators/typus/templates/public/images/admin/fancybox/fancy_title_right.png delete mode 100755 vendor/plugins/typus/generators/typus/templates/public/images/admin/ui-icons.png delete mode 100644 vendor/plugins/typus/generators/typus/templates/public/javascripts/admin/application.js delete mode 100644 vendor/plugins/typus/generators/typus/templates/public/javascripts/admin/jquery-1.4.1.min.js delete mode 100755 vendor/plugins/typus/generators/typus/templates/public/javascripts/admin/jquery.fancybox-1.3.0.pack.js delete mode 100755 vendor/plugins/typus/generators/typus/templates/public/stylesheets/admin/jquery.fancybox-1.3.0.css delete mode 100644 vendor/plugins/typus/generators/typus/templates/public/stylesheets/admin/reset.css delete mode 100644 vendor/plugins/typus/generators/typus/templates/public/stylesheets/admin/screen.css delete mode 100644 vendor/plugins/typus/generators/typus/templates/view.html.erb delete mode 100644 vendor/plugins/typus/generators/typus/typus_generator.rb delete mode 100644 vendor/plugins/typus/generators/typus_update_schema_to_01/templates/config/typus.yml delete mode 100644 vendor/plugins/typus/generators/typus_update_schema_to_01/templates/migration.rb delete mode 100644 vendor/plugins/typus/generators/typus_update_schema_to_01/typus_update_schema_to_01_generator.rb delete mode 100644 vendor/plugins/typus/generators/typus_update_schema_to_02/templates/migration.rb delete mode 100644 vendor/plugins/typus/generators/typus_update_schema_to_02/typus_update_schema_to_02_generator.rb delete mode 100644 vendor/plugins/typus/init.rb delete mode 100644 vendor/plugins/typus/lib/extensions/active_record.rb delete mode 100644 vendor/plugins/typus/lib/extensions/array.rb delete mode 100644 vendor/plugins/typus/lib/extensions/hash.rb delete mode 100644 vendor/plugins/typus/lib/extensions/object.rb delete mode 100644 vendor/plugins/typus/lib/extensions/string.rb delete mode 100644 vendor/plugins/typus/lib/tasks/defaults.rake delete mode 100644 vendor/plugins/typus/lib/typus.rb delete mode 100644 vendor/plugins/typus/lib/typus/active_record.rb delete mode 100644 vendor/plugins/typus/lib/typus/authentication.rb delete mode 100644 vendor/plugins/typus/lib/typus/configuration.rb delete mode 100644 vendor/plugins/typus/lib/typus/format.rb delete mode 100644 vendor/plugins/typus/lib/typus/preferences.rb delete mode 100644 vendor/plugins/typus/lib/typus/quick_edit.rb delete mode 100644 vendor/plugins/typus/lib/typus/reloader.rb delete mode 100644 vendor/plugins/typus/lib/typus/routes.rb delete mode 100644 vendor/plugins/typus/lib/typus/user.rb delete mode 100644 vendor/plugins/typus/lib/typus/version.rb delete mode 100644 vendor/plugins/typus/lib/vendor/inherit_views.rb delete mode 100644 vendor/plugins/typus/lib/vendor/paginator.rb delete mode 100644 vendor/plugins/typus/test/config/broken/application.yml delete mode 100644 vendor/plugins/typus/test/config/broken/application_roles.yml delete mode 100644 vendor/plugins/typus/test/config/broken/empty.yml delete mode 100644 vendor/plugins/typus/test/config/broken/empty_roles.yml delete mode 100644 vendor/plugins/typus/test/config/broken/undefined.yml delete mode 100644 vendor/plugins/typus/test/config/broken/undefined_roles.yml delete mode 100644 vendor/plugins/typus/test/config/default/typus.yml delete mode 100644 vendor/plugins/typus/test/config/default/typus_roles.yml delete mode 100644 vendor/plugins/typus/test/config/empty/empty_01.yml delete mode 100644 vendor/plugins/typus/test/config/empty/empty_01_roles.yml delete mode 100644 vendor/plugins/typus/test/config/empty/empty_02.yml delete mode 100644 vendor/plugins/typus/test/config/empty/empty_02_roles.yml delete mode 100644 vendor/plugins/typus/test/config/locales/es.yml delete mode 100644 vendor/plugins/typus/test/config/ordered/001_roles.yml delete mode 100644 vendor/plugins/typus/test/config/ordered/002_roles.yml delete mode 100644 vendor/plugins/typus/test/config/unordered/app_one_roles.yml delete mode 100644 vendor/plugins/typus/test/config/unordered/app_two_roles.yml delete mode 100644 vendor/plugins/typus/test/config/working/application.yml delete mode 100644 vendor/plugins/typus/test/config/working/application_roles.yml delete mode 100644 vendor/plugins/typus/test/config/working/typus.yml delete mode 100644 vendor/plugins/typus/test/config/working/typus_roles.yml delete mode 100644 vendor/plugins/typus/test/extensions/active_record_test.rb delete mode 100644 vendor/plugins/typus/test/extensions/hash_test.rb delete mode 100644 vendor/plugins/typus/test/extensions/string_test.rb delete mode 100644 vendor/plugins/typus/test/fixtures/app/controllers/admin/assets_controller.rb delete mode 100644 vendor/plugins/typus/test/fixtures/app/controllers/admin/categories_controller.rb delete mode 100644 vendor/plugins/typus/test/fixtures/app/controllers/admin/comments_controller.rb delete mode 100644 vendor/plugins/typus/test/fixtures/app/controllers/admin/pages_controller.rb delete mode 100644 vendor/plugins/typus/test/fixtures/app/controllers/admin/pictures_controller.rb delete mode 100644 vendor/plugins/typus/test/fixtures/app/controllers/admin/posts_controller.rb delete mode 100644 vendor/plugins/typus/test/fixtures/app/controllers/admin/status_controller.rb delete mode 100644 vendor/plugins/typus/test/fixtures/app/controllers/admin/typus_users_controller.rb delete mode 100644 vendor/plugins/typus/test/fixtures/app/controllers/admin/watch_dog_controller.rb delete mode 100644 vendor/plugins/typus/test/fixtures/app/models/asset.rb delete mode 100644 vendor/plugins/typus/test/fixtures/app/models/category.rb delete mode 100644 vendor/plugins/typus/test/fixtures/app/models/comment.rb delete mode 100644 vendor/plugins/typus/test/fixtures/app/models/custom_user.rb delete mode 100644 vendor/plugins/typus/test/fixtures/app/models/delayed/task.rb delete mode 100644 vendor/plugins/typus/test/fixtures/app/models/page.rb delete mode 100644 vendor/plugins/typus/test/fixtures/app/models/picture.rb delete mode 100644 vendor/plugins/typus/test/fixtures/app/models/post.rb delete mode 100644 vendor/plugins/typus/test/fixtures/app/models/view.rb delete mode 100644 vendor/plugins/typus/test/fixtures/app/views/admin/categories/_form.html.erb delete mode 100644 vendor/plugins/typus/test/fixtures/app/views/admin/dashboard/_content.html.erb delete mode 100644 vendor/plugins/typus/test/fixtures/app/views/admin/dashboard/_sidebar.html.erb delete mode 100644 vendor/plugins/typus/test/fixtures/app/views/admin/pictures/_edit.html.erb delete mode 100644 vendor/plugins/typus/test/fixtures/app/views/admin/pictures/_index.html.erb delete mode 100644 vendor/plugins/typus/test/fixtures/app/views/admin/pictures/_new.html.erb delete mode 100644 vendor/plugins/typus/test/fixtures/app/views/admin/pictures/_show.html.erb delete mode 100644 vendor/plugins/typus/test/fixtures/app/views/admin/pictures/_sidebar.html.erb delete mode 100644 vendor/plugins/typus/test/fixtures/app/views/admin/posts/_edit.html.erb delete mode 100644 vendor/plugins/typus/test/fixtures/app/views/admin/posts/_index.html.erb delete mode 100644 vendor/plugins/typus/test/fixtures/app/views/admin/posts/_new.html.erb delete mode 100644 vendor/plugins/typus/test/fixtures/app/views/admin/posts/_show.html.erb delete mode 100644 vendor/plugins/typus/test/fixtures/app/views/admin/posts/_sidebar.html.erb delete mode 100644 vendor/plugins/typus/test/fixtures/app/views/admin/resources/_sidebar.html.erb delete mode 100644 vendor/plugins/typus/test/fixtures/app/views/admin/shared/_footer.html.erb delete mode 100644 vendor/plugins/typus/test/fixtures/app/views/admin/status/index.html.erb delete mode 100644 vendor/plugins/typus/test/fixtures/app/views/admin/templates/_datepicker.html.erb delete mode 100644 vendor/plugins/typus/test/fixtures/assets.yml delete mode 100644 vendor/plugins/typus/test/fixtures/categories.yml delete mode 100644 vendor/plugins/typus/test/fixtures/comments.yml delete mode 100644 vendor/plugins/typus/test/fixtures/pages.yml delete mode 100644 vendor/plugins/typus/test/fixtures/pictures.yml delete mode 100644 vendor/plugins/typus/test/fixtures/posts.yml delete mode 100644 vendor/plugins/typus/test/fixtures/typus_users.yml delete mode 100644 vendor/plugins/typus/test/functional/admin/master_controller_assets_relationships.rb delete mode 100644 vendor/plugins/typus/test/functional/admin/master_controller_categories_lists_test.rb delete mode 100644 vendor/plugins/typus/test/functional/admin/master_controller_posts_before_test.rb delete mode 100644 vendor/plugins/typus/test/functional/admin/master_controller_posts_crud_test.rb delete mode 100644 vendor/plugins/typus/test/functional/admin/master_controller_posts_formats_test.rb delete mode 100644 vendor/plugins/typus/test/functional/admin/master_controller_posts_forms_test.rb delete mode 100644 vendor/plugins/typus/test/functional/admin/master_controller_posts_permissions_test.rb delete mode 100644 vendor/plugins/typus/test/functional/admin/master_controller_posts_relationships_test.rb delete mode 100644 vendor/plugins/typus/test/functional/admin/master_controller_posts_roles.rb delete mode 100644 vendor/plugins/typus/test/functional/admin/master_controller_posts_toggle_test.rb delete mode 100644 vendor/plugins/typus/test/functional/admin/master_controller_posts_views_test.rb delete mode 100644 vendor/plugins/typus/test/functional/admin/master_controller_tableless_resource_test.rb delete mode 100644 vendor/plugins/typus/test/functional/admin/master_controller_typus_users_test.rb delete mode 100644 vendor/plugins/typus/test/functional/typus_controller_test.rb delete mode 100644 vendor/plugins/typus/test/helper.rb delete mode 100644 vendor/plugins/typus/test/helpers/admin/form_helper_test.rb delete mode 100644 vendor/plugins/typus/test/helpers/admin/master_helper_test.rb delete mode 100644 vendor/plugins/typus/test/helpers/admin/public_helper_test.rb delete mode 100644 vendor/plugins/typus/test/helpers/admin/sidebar_helper_test.rb delete mode 100644 vendor/plugins/typus/test/helpers/admin/table_helper_test.rb delete mode 100644 vendor/plugins/typus/test/helpers/typus_helper_test.rb delete mode 100644 vendor/plugins/typus/test/lib/active_record_test.rb delete mode 100644 vendor/plugins/typus/test/lib/configuration_test.rb delete mode 100644 vendor/plugins/typus/test/lib/routes_test.rb delete mode 100644 vendor/plugins/typus/test/lib/typus_test.rb delete mode 100644 vendor/plugins/typus/test/schema.rb delete mode 100644 vendor/plugins/typus/test/unit/typus_mailer_test.rb delete mode 100644 vendor/plugins/typus/test/unit/typus_test.rb delete mode 100644 vendor/plugins/typus/test/unit/typus_user_roles_test.rb delete mode 100644 vendor/plugins/typus/test/unit/typus_user_test.rb delete mode 100644 vendor/plugins/typus/test/vendor/paginator_test.rb delete mode 100644 vendor/plugins/typus/typus.gemspec diff --git a/.gitignore b/.gitignore index c52204d..b634d71 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,5 @@ +.bundle +db/*.sqlite3 +log/*.log +tmp/**/* public/system diff --git a/README b/README index 37ec8ea..6966fe9 100644 --- a/README +++ b/README @@ -1,14 +1,15 @@ == Welcome to Rails -Rails is a web-application framework that includes everything needed to create -database-backed web applications according to the Model-View-Control pattern. +Rails is a web-application framework that includes everything needed to create +database-backed web applications according to the Model-View-Control pattern. -This pattern splits the view (also called the presentation) into "dumb" templates -that are primarily responsible for inserting pre-built data in between HTML tags. -The model contains the "smart" 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. +This pattern splits the view (also called the presentation) into "dumb" +templates that are primarily responsible for inserting pre-built data in between +HTML tags. The model contains the "smart" 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 @@ -21,89 +22,40 @@ 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 +Rails. You can read more about Action Pack in link:files/vendor/rails/actionpack/README.html. == Getting Started -1. At the command prompt, start a new Rails application using the rails command - and your application name. Ex: rails myapp -2. Change directory into myapp and start the web server: script/server (run with --help for options) -3. Go to http://localhost:3000/ and get "Welcome aboard: You're riding the Rails!" -4. Follow the guidelines to start developing your application +1. At the command prompt, create a new Rails application: + rails new myapp (where myapp is the application name) +2. Change directory to myapp and start the web server: + cd myapp; rails server (run with --help for options) -== Web Servers +3. Go to http://localhost:3000/ and you'll see: + "Welcome aboard: You're riding Ruby on Rails!" -By default, Rails will try to use Mongrel if it's are installed when started with script/server, otherwise Rails will use WEBrick, the webserver that ships with Ruby. But you can also use Rails -with a variety of other web servers. +4. Follow the guidelines to start developing your application. You can find +the following resources handy: -Mongrel is a Ruby-based webserver with a C component (which requires compilation) that is -suitable for development and deployment of Rails applications. If you have Ruby Gems installed, -getting up and running with mongrel is as easy as: gem install mongrel. -More info at: http://mongrel.rubyforge.org - -Say other Ruby web servers like Thin and Ebb or regular web servers like Apache or LiteSpeed or -Lighttpd or IIS. The Ruby web servers are run through Rack and the latter can either be setup to use -FCGI or proxy to a pack of Mongrels/Thin/Ebb servers. - -== Apache .htaccess example for FCGI/CGI - -# General Apache options -AddHandler fastcgi-script .fcgi -AddHandler cgi-script .cgi -Options +FollowSymLinks +ExecCGI - -# If you don't want Rails to look in certain directories, -# use the following rewrite rules so that Apache won't rewrite certain requests -# -# Example: -# RewriteCond %{REQUEST_URI} ^/notrails.* -# RewriteRule .* - [L] - -# Redirect all requests not available on the filesystem to Rails -# By default the cgi dispatcher is used which is very slow -# -# For better performance replace the dispatcher with the fastcgi one -# -# Example: -# RewriteRule ^(.*)$ dispatch.fcgi [QSA,L] -RewriteEngine On - -# If your Rails application is accessed via an Alias directive, -# then you MUST also set the RewriteBase in this htaccess file. -# -# Example: -# Alias /myrailsapp /path/to/myrailsapp/public -# RewriteBase /myrailsapp - -RewriteRule ^$ index.html [QSA] -RewriteRule ^([^.]+)$ $1.html [QSA] -RewriteCond %{REQUEST_FILENAME} !-f -RewriteRule ^(.*)$ dispatch.cgi [QSA,L] - -# In case Rails experiences terminal errors -# Instead of displaying this message you can supply a file here which will be rendered instead -# -# Example: -# ErrorDocument 500 /500.html - -ErrorDocument 500 "

Application error

Rails application failed to start properly" +* The Getting Started Guide: http://guides.rubyonrails.org/getting_started.html +* Ruby on Rails Tutorial Book: http://www.railstutorial.org/ == Debugging Rails -Sometimes your application goes wrong. Fortunately there are a lot of tools that +Sometimes your application goes wrong. Fortunately there are a lot of tools that will help you debug it and get it back on the rails. -First area to check is the application log files. Have "tail -f" commands running -on the server.log and development.log. 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. +First area to check is the application log files. Have "tail -f" commands +running on the server.log and development.log. 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. -You can also log your own messages directly into the log file from your code using -the Ruby logger class from inside your controllers. Example: +You can also log your own messages directly into the log file from your code +using the Ruby logger class from inside your controllers. Example: class WeblogController < ActionController::Base def destroy @@ -115,26 +67,27 @@ the Ruby logger class from inside your controllers. Example: The result will be a message in your log file along the lines of: - Mon Oct 08 14:22:29 +1000 2007 Destroyed Weblog ID #1 + Mon Oct 08 14:22:29 +1000 2007 Destroyed Weblog ID #1! More information on how to use the logger is at http://www.ruby-doc.org/core/ -Also, Ruby documentation can be found at http://www.ruby-lang.org/ including: +Also, Ruby documentation can be found at http://www.ruby-lang.org/. There are +several books available online as well: -* The Learning Ruby (Pickaxe) Book: http://www.ruby-doc.org/docs/ProgrammingRuby/ -* Learn to Program: http://pine.fm/LearnToProgram/ (a beginners guide) +* Programming Ruby: http://www.ruby-doc.org/docs/ProgrammingRuby/ (Pickaxe) +* Learn to Program: http://pine.fm/LearnToProgram/ (a beginners guide) -These two online (and free) books will bring you up to speed on the Ruby language -and also on programming in general. +These two books will bring you up to speed on the Ruby language and also on +programming in general. == Debugger -Debugger support is available through the debugger command when you start your Mongrel or -Webrick server with --debugger. This means that you can break out of execution at any point -in the code, investigate and change the model, AND then resume execution! -You need to install ruby-debug to run the server in debugging mode. With gems, use 'gem install ruby-debug' -Example: +Debugger support is available through the debugger command when you start your +Mongrel or WEBrick server with --debugger. This means that you can break out of +execution at any point in the code, investigate and change the model, and then, +resume execution! You need to install ruby-debug to run the server in debugging +mode. With gems, use sudo gem install ruby-debug. Example: class WeblogController < ActionController::Base def index @@ -147,97 +100,157 @@ So the controller will accept the action, run the first line, then present you with a IRB prompt in the server window. Here you can do things like: >> @posts.inspect - => "[#nil, \"body\"=>nil, \"id\"=>\"1\"}>, - #\"Rails you know!\", \"body\"=>\"Only ten..\", \"id\"=>\"2\"}>]" + => "[#nil, "body"=>nil, "id"=>"1"}>, + #"Rails", "body"=>"Only ten..", "id"=>"2"}>]" >> @posts.first.title = "hello from a debugger" => "hello from a debugger" -...and even better is that you can examine how your runtime objects actually work: +...and even better, you can examine how your runtime objects actually work: >> f = @posts.first => #nil, "body"=>nil, "id"=>"1"}> >> f. Display all 152 possibilities? (y or n) -Finally, when you're ready to resume execution, you enter "cont" +Finally, when you're ready to resume execution, you can enter "cont". == 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 script/console production. +The console is a Ruby shell, which allows you to interact with your +application's domain model. 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. + +To start the console, run rails console from the application +directory. + +Options: + +* Passing the -s, --sandbox argument will rollback any modifications + made to the database. +* Passing an environment name as an argument will load the corresponding + environment. Example: rails console production. + +To reload your controllers and models after launching the console run +reload! + +More information about irb can be found at: +link:http://www.rubycentral.com/pickaxe/irb.html -To reload your controllers and models after launching the console run reload! == dbconsole -You can go to the command line of your database directly through script/dbconsole. -You would be connected to the database with the credentials defined in database.yml. -Starting the script without arguments will connect you to the development database. Passing an -argument will connect you to a different database, like script/dbconsole production. -Currently works for mysql, postgresql and sqlite. +You can go to the command line of your database directly through rails +dbconsole. You would be connected to the database with the credentials +defined in database.yml. Starting the script without arguments will connect you +to the development database. Passing an argument will connect you to a different +database, like rails dbconsole production. Currently works for MySQL, +PostgreSQL and SQLite 3. == Description of Contents +The default directory structure of a generated Ruby on Rails application: + + |-- app + | |-- controllers + | |-- helpers + | |-- models + | `-- views + | `-- layouts + |-- config + | |-- environments + | |-- initializers + | `-- locales + |-- db + |-- doc + |-- lib + | `-- tasks + |-- log + |-- public + | |-- images + | |-- javascripts + | `-- stylesheets + |-- script + | `-- performance + |-- test + | |-- fixtures + | |-- functional + | |-- integration + | |-- performance + | `-- unit + |-- tmp + | |-- cache + | |-- pids + | |-- sessions + | `-- sockets + `-- vendor + `-- plugins + app Holds all the code that's specific to this particular application. app/controllers Holds controllers that should be named like weblogs_controller.rb for - automated URL mapping. All controllers should descend from ApplicationController - which itself descends from ActionController::Base. + automated URL mapping. All controllers should descend from + ApplicationController which itself descends from ActionController::Base. app/models - Holds models that should be named like post.rb. - Most models will descend from ActiveRecord::Base. + Holds models that should be named like post.rb. Models descend from + ActiveRecord::Base by default. app/views Holds the template files for the view that should be named like - weblogs/index.html.erb for the WeblogsController#index action. All views use eRuby - syntax. + weblogs/index.html.erb for the WeblogsController#index action. All views use + eRuby syntax by default. app/views/layouts - Holds the template files for layouts to be used with views. This models the common - header/footer method of wrapping views. In your views, define a layout using the - layout :default and create a file named default.html.erb. Inside default.html.erb, - call <% yield %> to render the view using this layout. + Holds the template files for layouts to be used with views. This models the + common header/footer method of wrapping views. In your views, define a layout + using the layout :default and create a file named default.html.erb. + Inside default.html.erb, call <% yield %> to render the view using this + layout. app/helpers - Holds view helpers that should be named like weblogs_helper.rb. These are generated - for you automatically when using script/generate for controllers. Helpers can be used to - wrap functionality for your views into methods. + Holds view helpers that should be named like weblogs_helper.rb. These are + generated for you automatically when using generators for controllers. + Helpers can be used to wrap functionality for your views into methods. config - Configuration files for the Rails environment, the routing map, the database, and other dependencies. + Configuration files for the Rails environment, the routing map, the database, + and other dependencies. db - Contains the database schema in schema.rb. db/migrate contains all - the sequence of Migrations for your schema. + Contains the database schema in schema.rb. db/migrate contains all the + sequence of Migrations for your schema. doc - This directory is where your application documentation will be stored when generated - using rake doc:app + This directory is where your application documentation will be stored when + generated using rake doc:app 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. + 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. This should be - set as the DOCUMENT_ROOT of your web server. + The directory available for the web server. Contains subdirectories for + images, stylesheets, and javascripts. Also contains the dispatchers and the + default HTML files. This should be set as the DOCUMENT_ROOT of your web + server. script Helper scripts for automation and generation. test - Unit and functional tests along with fixtures. When using the script/generate scripts, template - test files will be generated for you and placed in this directory. + Unit and functional tests along with fixtures. When using the rails generate + command, template test files will be generated for you and placed in this + directory. vendor - External libraries that the application depends on. Also includes the plugins subdirectory. - If the app has frozen rails, those gems also go here, under vendor/rails/. - This directory is in the load path. + External libraries that the application depends on. Also includes the plugins + subdirectory. If the app has frozen rails, those gems also go here, under + vendor/rails/. This directory is in the load path. diff --git a/Rakefile b/Rakefile index 3bb0e85..0ddd1b5 100644 --- a/Rakefile +++ b/Rakefile @@ -1,10 +1,7 @@ # Add your own tasks in files placed in lib/tasks ending in .rake, # for example lib/tasks/capistrano.rake, and they will automatically be available to Rake. -require(File.join(File.dirname(__FILE__), 'config', 'boot')) - +require File.expand_path('../config/application', __FILE__) require 'rake' -require 'rake/testtask' -require 'rake/rdoctask' -require 'tasks/rails' +Photos::Application.load_tasks diff --git a/app/controllers/admin/categories_controller.rb b/app/controllers/admin/categories_controller.rb index 4c2af1e..0d4438d 100644 --- a/app/controllers/admin/categories_controller.rb +++ b/app/controllers/admin/categories_controller.rb @@ -1,4 +1,2 @@ -# Controller generated by Typus, use it to extend admin functionality. -class Admin::CategoriesController < Admin::MasterController - +class Admin::CategoriesController < Admin::ResourcesController end diff --git a/app/controllers/admin/photos_controller.rb b/app/controllers/admin/photos_controller.rb index c54d227..75d2f9a 100644 --- a/app/controllers/admin/photos_controller.rb +++ b/app/controllers/admin/photos_controller.rb @@ -1,4 +1,2 @@ -# Controller generated by Typus, use it to extend admin functionality. -class Admin::PhotosController < Admin::MasterController - +class Admin::PhotosController < Admin::ResourcesController end diff --git a/app/controllers/admin/typus_users_controller.rb b/app/controllers/admin/typus_users_controller.rb deleted file mode 100644 index be79387..0000000 --- a/app/controllers/admin/typus_users_controller.rb +++ /dev/null @@ -1,4 +0,0 @@ -# Controller generated by Typus, use it to extend admin functionality. -class Admin::TypusUsersController < Admin::MasterController - -end diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index 6635a3f..e8065d9 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -1,10 +1,3 @@ -# Filters added to this controller apply to all controllers in the application. -# Likewise, all the methods added will be available for all controllers. - class ApplicationController < ActionController::Base - helper :all # include all helpers, all the time - protect_from_forgery # See ActionController::RequestForgeryProtection for details - - # Scrub sensitive parameters from your log - # filter_parameter_logging :password + protect_from_forgery end diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index 22a7940..de6be79 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -1,3 +1,2 @@ -# Methods added to this helper will be available to all templates in the application. module ApplicationHelper end diff --git a/app/views/categories/index.html.erb b/app/views/categories/index.html.erb index 3f76f33..ea8d3c9 100644 --- a/app/views/categories/index.html.erb +++ b/app/views/categories/index.html.erb @@ -1,11 +1,11 @@ @@ -17,14 +17,14 @@ <% @photos.each do |photo| %>
- <%= link_to ' ', photo.photo.url, :rel => 'photo', :class => 'fancy' %> + <%= link_to '', photo.photo.url, :rel => 'photo', :class => 'fancy' %>
<% end %> <% @categories.each do |category| %>
- <%= link_to '

'+h(category.name.downcase)+'

', category_photos_path(category) %> + <%= link_to raw('

'+h(category.name.downcase)+'

'), category_photos_path(category) %>
<% end %> @@ -33,14 +33,4 @@ <% end %> - - diff --git a/app/views/layouts/photos.html.erb b/app/views/layouts/photos.html.erb index 972a19f..cb84252 100644 --- a/app/views/layouts/photos.html.erb +++ b/app/views/layouts/photos.html.erb @@ -19,7 +19,7 @@
<%= yield %> diff --git a/app/views/pages/about.html.erb b/app/views/pages/about.html.erb index 0e7f1c1..683b8a0 100644 --- a/app/views/pages/about.html.erb +++ b/app/views/pages/about.html.erb @@ -1,7 +1,7 @@
- <%= link_to '
portfolio
', :controller => 'categories' %> + <%= link_to raw('portfolio'), :controller => 'categories' %>
@@ -20,7 +20,7 @@
- <%= link_to '
contact
', :action => 'contact' %> + <%= link_to raw('contact'), :action => 'contact' %>
\ No newline at end of file diff --git a/app/views/pages/index.html.erb b/app/views/pages/index.html.erb index 53ff8ff..dfbfa3b 100644 --- a/app/views/pages/index.html.erb +++ b/app/views/pages/index.html.erb @@ -1,8 +1,8 @@
- <%= link_to '
about
', :action => 'about' %> + <%= link_to raw('about'), :action => 'about' %>
- <%= link_to '
portfolio
', :controller => 'categories' %> + <%= link_to raw('portfolio'), :controller => 'categories' %>
@@ -14,5 +14,5 @@
- <%= link_to '
contact
', :action => 'contact' %> + <%= link_to raw('contact'), :action => 'contact' %>
diff --git a/app/views/photos/index.html.erb b/app/views/photos/index.html.erb index 5eaa585..09d49b9 100644 --- a/app/views/photos/index.html.erb +++ b/app/views/photos/index.html.erb @@ -1,11 +1,11 @@ @@ -14,7 +14,7 @@ <% if @category %>
- <%= link_to '

'+h(@category.name.downcase)+'

', categories_url %> + <%= link_to raw('

'+h(@category.name.downcase)+'

'), categories_url %>
<% else %>
@@ -27,7 +27,7 @@ <% @photos.each do |photo| %>
- <%= link_to ' ', photo.photo.url, :rel => 'photo', :class => 'fancy' %> + <%= link_to '', photo.photo.url, :rel => 'photo', :class => 'fancy' %>
<% end %> diff --git a/config/boot.rb b/config/boot.rb index dd5e3b6..ab6cb37 100644 --- a/config/boot.rb +++ b/config/boot.rb @@ -1,110 +1,13 @@ -# Don't change this file! -# Configure your app in config/environment.rb and config/environments/*.rb +require 'rubygems' -RAILS_ROOT = "#{File.dirname(__FILE__)}/.." unless defined?(RAILS_ROOT) - -module Rails - class << self - def boot! - unless booted? - preinitialize - pick_boot.run - end - end - - def booted? - defined? Rails::Initializer - end - - def pick_boot - (vendor_rails? ? VendorBoot : GemBoot).new - end - - def vendor_rails? - File.exist?("#{RAILS_ROOT}/vendor/rails") - end - - def preinitialize - load(preinitializer_path) if File.exist?(preinitializer_path) - end - - def preinitializer_path - "#{RAILS_ROOT}/config/preinitializer.rb" - end - end - - class Boot - def run - load_initializer - Rails::Initializer.run(:set_load_path) - end - end - - class VendorBoot < Boot - def load_initializer - require "#{RAILS_ROOT}/vendor/rails/railties/lib/initializer" - Rails::Initializer.run(:install_gem_spec_stubs) - Rails::GemDependency.add_frozen_gem_path - end - end - - class GemBoot < Boot - def load_initializer - self.class.load_rubygems - load_rails_gem - require 'initializer' - end - - def load_rails_gem - if version = self.class.gem_version - gem 'rails', version - else - gem 'rails' - end - rescue Gem::LoadError => load_error - $stderr.puts %(Missing the Rails #{version} gem. Please `gem install -v=#{version} rails`, update your RAILS_GEM_VERSION setting in config/environment.rb for the Rails version you do have installed, or comment out RAILS_GEM_VERSION to use the latest version installed.) - exit 1 - end - - class << self - def rubygems_version - Gem::RubyGemsVersion rescue nil - end - - def gem_version - if defined? RAILS_GEM_VERSION - RAILS_GEM_VERSION - elsif ENV.include?('RAILS_GEM_VERSION') - ENV['RAILS_GEM_VERSION'] - else - parse_gem_version(read_environment_rb) - end - end - - def load_rubygems - min_version = '1.3.2' - require 'rubygems' - unless rubygems_version >= min_version - $stderr.puts %Q(Rails requires RubyGems >= #{min_version} (you have #{rubygems_version}). Please `gem update --system` and try again.) - exit 1 - end - - rescue LoadError - $stderr.puts %Q(Rails requires RubyGems >= #{min_version}. Please install RubyGems and try again: http://rubygems.rubyforge.org) - exit 1 - end - - def parse_gem_version(text) - $1 if text =~ /^[^#]*RAILS_GEM_VERSION\s*=\s*["']([!~<>=]*\s*[\d.]+)["']/ - end - - private - def read_environment_rb - File.read("#{RAILS_ROOT}/config/environment.rb") - end - end - end -end - -# All that for this: -Rails.boot! +# Set up gems listed in the Gemfile. +gemfile = File.expand_path('../../Gemfile', __FILE__) +begin + ENV['BUNDLE_GEMFILE'] = gemfile + require 'bundler' + Bundler.setup +rescue Bundler::GemNotFound => e + STDERR.puts e.message + STDERR.puts "Try running `bundle install`." + exit! +end if File.exist?(gemfile) diff --git a/config/environment.rb b/config/environment.rb index 8b55b2d..6c12e33 100644 --- a/config/environment.rb +++ b/config/environment.rb @@ -1,43 +1,5 @@ -# Be sure to restart your server when you modify this file +# Load the rails application +require File.expand_path('../application', __FILE__) -# Specifies gem version of Rails to use when vendor/rails is not present -RAILS_GEM_VERSION = '2.3.8' unless defined? RAILS_GEM_VERSION - -# Bootstrap the Rails environment, frameworks, and default configuration -require File.join(File.dirname(__FILE__), 'boot') - -Rails::Initializer.run do |config| - # Settings in config/environments/* take precedence over those specified here. - # Application configuration should go into files in config/initializers - # -- all .rb files in that directory are automatically loaded. - - # Add additional load paths for your own custom dirs - # config.load_paths += %W( #{RAILS_ROOT}/extras ) - - # Specify gems that this application depends on and have them installed with rake gems:install - # config.gem "bj" - # config.gem "hpricot", :version => '0.6', :source => "http://code.whytheluckystiff.net" - # config.gem "sqlite3-ruby", :lib => "sqlite3" - # config.gem "aws-s3", :lib => "aws/s3" - config.gem "mini_exiftool" - config.gem "will_paginate" - - # Only load the plugins named here, in the order given (default is alphabetical). - # :all can be used as a placeholder for all plugins not explicitly named - # config.plugins = [ :exception_notification, :ssl_requirement, :all ] - - # Skip frameworks you're not going to use. To use Rails without a database, - # you must remove the Active Record framework. - # config.frameworks -= [ :active_record, :active_resource, :action_mailer ] - - # Activate observers that should always be running - # config.active_record.observers = :cacher, :garbage_collector, :forum_observer - - # Set Time.zone default to the specified zone and make Active Record auto-convert to this zone. - # Run "rake -D time" for a list of tasks for finding time zone names. - config.time_zone = 'UTC' - - # The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded. - # config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}')] - # config.i18n.default_locale = :de -end \ No newline at end of file +# Initialize the rails application +Photos::Application.initialize! diff --git a/config/environments/development.rb b/config/environments/development.rb index 85c9a60..8cdd743 100644 --- a/config/environments/development.rb +++ b/config/environments/development.rb @@ -1,17 +1,26 @@ -# Settings specified here will take precedence over those in config/environment.rb +Photos::Application.configure do + # Settings specified here will take precedence over those in config/environment.rb -# In the development environment your application's code is reloaded on -# every request. This slows down response time but is perfect for development -# since you don't have to restart the webserver when you make code changes. -config.cache_classes = false + # In the development environment your application's code is reloaded on + # every request. This slows down response time but is perfect for development + # since you don't have to restart the webserver when you make code changes. + config.cache_classes = false -# Log error messages when you accidentally call methods on nil. -config.whiny_nils = true + # Log error messages when you accidentally call methods on nil. + config.whiny_nils = true -# Show full error reports and disable caching -config.action_controller.consider_all_requests_local = true -config.action_view.debug_rjs = true -config.action_controller.perform_caching = false + # Show full error reports and disable caching + config.consider_all_requests_local = true + config.action_view.debug_rjs = true + config.action_controller.perform_caching = false + + # Don't care if the mailer can't send + config.action_mailer.raise_delivery_errors = false + + # Print deprecation notices to the Rails logger + config.active_support.deprecation = :log + + # Only use best-standards-support built into browsers + config.action_dispatch.best_standards_support = :builtin +end -# Don't care if the mailer can't send -config.action_mailer.raise_delivery_errors = false \ No newline at end of file diff --git a/config/environments/production.rb b/config/environments/production.rb index 27119d2..66a1a1a 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -1,28 +1,49 @@ -# Settings specified here will take precedence over those in config/environment.rb +Photos::Application.configure do + # Settings specified here will take precedence over those in config/environment.rb -# The production environment is meant for finished, "live" apps. -# Code is not reloaded between requests -config.cache_classes = true + # The production environment is meant for finished, "live" apps. + # Code is not reloaded between requests + config.cache_classes = true -# Full error reports are disabled and caching is turned on -config.action_controller.consider_all_requests_local = false -config.action_controller.perform_caching = true -config.action_view.cache_template_loading = true + # Full error reports are disabled and caching is turned on + config.consider_all_requests_local = false + config.action_controller.perform_caching = true -# See everything in the log (default is :info) -# config.log_level = :debug + # Specifies the header that your server uses for sending files + config.action_dispatch.x_sendfile_header = "X-Sendfile" -# Use a different logger for distributed setups -# config.logger = SyslogLogger.new + # For nginx: + # config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' -# Use a different cache store in production -# config.cache_store = :mem_cache_store + # If you have no front-end server that supports something like X-Sendfile, + # just comment this out and Rails will serve the files -# Enable serving of images, stylesheets, and javascripts from an asset server -# config.action_controller.asset_host = "http://assets.example.com" + # See everything in the log (default is :info) + # config.log_level = :debug -# Disable delivery errors, bad email addresses will be ignored -# config.action_mailer.raise_delivery_errors = false + # Use a different logger for distributed setups + # config.logger = SyslogLogger.new -# Enable threaded mode -# config.threadsafe! \ No newline at end of file + # Use a different cache store in production + # config.cache_store = :mem_cache_store + + # Disable Rails's static asset server + # In production, Apache or nginx will already do this + config.serve_static_assets = false + + # Enable serving of images, stylesheets, and javascripts from an asset server + # config.action_controller.asset_host = "http://assets.example.com" + + # Disable delivery errors, bad email addresses will be ignored + # config.action_mailer.raise_delivery_errors = false + + # Enable threaded mode + # config.threadsafe! + + # Enable locale fallbacks for I18n (makes lookups for any locale fall back to + # the I18n.default_locale when a translation can not be found) + config.i18n.fallbacks = true + + # Send deprecation notices to registered listeners + config.active_support.deprecation = :notify +end diff --git a/config/environments/test.rb b/config/environments/test.rb index d6f80a4..33e40e5 100644 --- a/config/environments/test.rb +++ b/config/environments/test.rb @@ -1,28 +1,35 @@ -# Settings specified here will take precedence over those in config/environment.rb +Photos::Application.configure do + # Settings specified here will take precedence over those in config/environment.rb -# The test environment is used exclusively to run your application's -# test suite. You never need to work with it otherwise. Remember that -# your test database is "scratch space" for the test suite and is wiped -# and recreated between test runs. Don't rely on the data there! -config.cache_classes = true + # The test environment is used exclusively to run your application's + # test suite. You never need to work with it otherwise. Remember that + # your test database is "scratch space" for the test suite and is wiped + # and recreated between test runs. Don't rely on the data there! + config.cache_classes = true -# Log error messages when you accidentally call methods on nil. -config.whiny_nils = true + # Log error messages when you accidentally call methods on nil. + config.whiny_nils = true -# Show full error reports and disable caching -config.action_controller.consider_all_requests_local = true -config.action_controller.perform_caching = false -config.action_view.cache_template_loading = true + # Show full error reports and disable caching + config.consider_all_requests_local = true + config.action_controller.perform_caching = false -# Disable request forgery protection in test environment -config.action_controller.allow_forgery_protection = false + # Raise exceptions instead of rendering exception templates + config.action_dispatch.show_exceptions = false -# Tell Action Mailer not to deliver emails to the real world. -# The :test delivery method accumulates sent emails in the -# ActionMailer::Base.deliveries array. -config.action_mailer.delivery_method = :test + # Disable request forgery protection in test environment + config.action_controller.allow_forgery_protection = false -# Use SQL instead of Active Record's schema dumper when creating the test database. -# This is necessary if your schema can't be completely dumped by the schema dumper, -# like if you have constraints or database-specific column types -# config.active_record.schema_format = :sql \ No newline at end of file + # Tell Action Mailer not to deliver emails to the real world. + # The :test delivery method accumulates sent emails in the + # ActionMailer::Base.deliveries array. + config.action_mailer.delivery_method = :test + + # Use SQL instead of Active Record's schema dumper when creating the test database. + # This is necessary if your schema can't be completely dumped by the schema dumper, + # like if you have constraints or database-specific column types + # config.active_record.schema_format = :sql + + # Print deprecation notices to the stderr + config.active_support.deprecation = :stderr +end diff --git a/config/initializers/backtrace_silencers.rb b/config/initializers/backtrace_silencers.rb index c2169ed..59385cd 100644 --- a/config/initializers/backtrace_silencers.rb +++ b/config/initializers/backtrace_silencers.rb @@ -3,5 +3,5 @@ # You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces. # Rails.backtrace_cleaner.add_silencer { |line| line =~ /my_noisy_library/ } -# You can also remove all the silencers if you're trying do debug a problem that might steem from framework code. -# Rails.backtrace_cleaner.remove_silencers! \ No newline at end of file +# You can also remove all the silencers if you're trying to debug a problem that might stem from framework code. +# Rails.backtrace_cleaner.remove_silencers! diff --git a/config/initializers/cookie_verification_secret.rb b/config/initializers/cookie_verification_secret.rb index 28ffba3..f74da38 100644 --- a/config/initializers/cookie_verification_secret.rb +++ b/config/initializers/cookie_verification_secret.rb @@ -4,4 +4,4 @@ # If you change this key, all old signed cookies will become invalid! # Make sure the secret is at least 30 characters and all random, # no regular words or you'll be exposed to dictionary attacks. -ActionController::Base.cookie_verifier_secret = '753efedb9ba8c926e9053ad138f162b2100fe0569940ff9b0fdea8d3ebb973c12a5028923f5557270806b20084e154ea28550234639ec67542fa49aa603454c9'; +ActionController::Base.cookie_verifier_secret = 'b1d6b935fa81c698e8da3f2452f0aabc70c70c06903b6a9f281caf8cdb64ed4f4eaeb02c19077c642dee2dcb40191780fbe028fb7c6274f8a47550ec6b2c7663'; diff --git a/config/initializers/inflections.rb b/config/initializers/inflections.rb index d531b8b..9e8b013 100644 --- a/config/initializers/inflections.rb +++ b/config/initializers/inflections.rb @@ -1,6 +1,6 @@ # Be sure to restart your server when you modify this file. -# Add new inflection rules using the following format +# Add new inflection rules using the following format # (all these examples are active by default): # ActiveSupport::Inflector.inflections do |inflect| # inflect.plural /^(ox)$/i, '\1en' diff --git a/config/initializers/new_rails_defaults.rb b/config/initializers/new_rails_defaults.rb deleted file mode 100644 index c94db0a..0000000 --- a/config/initializers/new_rails_defaults.rb +++ /dev/null @@ -1,21 +0,0 @@ -# Be sure to restart your server when you modify this file. - -# These settings change the behavior of Rails 2 apps and will be defaults -# for Rails 3. You can remove this initializer when Rails 3 is released. - -if defined?(ActiveRecord) - # Include Active Record class name as root for JSON serialized output. - ActiveRecord::Base.include_root_in_json = true - - # Store the full class name (including module namespace) in STI type column. - ActiveRecord::Base.store_full_sti_class = true -end - -ActionController::Routing.generate_best_match = false - -# Use ISO 8601 format for JSON serialized times and dates. -ActiveSupport.use_standard_json_time_format = true - -# Don't escape HTML entities in JSON, leave that for the #json_escape helper. -# if you're including raw json in an HTML page. -ActiveSupport.escape_html_entities_in_json = false \ No newline at end of file diff --git a/config/initializers/session_store.rb b/config/initializers/session_store.rb index 159ce33..c0e57cd 100644 --- a/config/initializers/session_store.rb +++ b/config/initializers/session_store.rb @@ -1,15 +1,8 @@ # Be sure to restart your server when you modify this file. -# Your secret key for verifying cookie session data integrity. -# If you change this key, all old sessions will become invalid! -# Make sure the secret is at least 30 characters and all random, -# no regular words or you'll be exposed to dictionary attacks. -ActionController::Base.session = { - :key => '_photos_session', - :secret => 'ed6e47eac508a8c65c3c07ed65c888777d4282f081da72cfdd2b19cf8ff553a655b3fc44e6a92c85c396444359539934e1f1c2ea1558dcd0fafc80699cfc5694' -} +Photos::Application.config.session_store :cookie_store, :key => '_photos_session' # Use the database for sessions instead of the cookie-based default, # which shouldn't be used to store highly confidential information # (create the session table with "rake db:sessions:create") -# ActionController::Base.session_store = :active_record_store +# Photos::Application.config.session_store :active_record_store diff --git a/config/initializers/typus.rb b/config/initializers/typus.rb index 24e8cb7..63c1be3 100644 --- a/config/initializers/typus.rb +++ b/config/initializers/typus.rb @@ -1,26 +1,26 @@ -# Be sure to restart your server when you modify this file. +Typus.setup do |config| -# System wide options + # Application name. + config.admin_title = "Dan Barber Photography" + # config.admin_sub_title = "" -Typus::Configuration.options[:app_name] = 'photos' -# Typus::Configuration.options[:email] = 'admin@example.com' -# Typus::Configuration.options[:file_preview] = :typus_preview -# Typus::Configuration.options[:file_thumbnail] = :typus_thumbnail -# Typus::Configuration.options[:relationship] = 'typus_users' -# Typus::Configuration.options[:root] = 'admin' -Typus::Configuration.options[:user_class_name] = 'TypusUser' -Typus::Configuration.options[:user_fk] = 'typus_user_id' + # When mailer_sender is set, password recover is enabled. This email + # address will be used in Admin::Mailer. + # config.mailer_sender = "admin@example.com" -# Model options which can also be defined by model on the yaml files. + # Define file attachment settings. + # config.file_preview = :typus_preview + # config.file_thumbnail = :typus_thumbnail -# Typus::Configuration.options[:default_action_on_item] = 'edit' -# Typus::Configuration.options[:end_year] = Time.now.year + 1 -# Typus::Configuration.options[:form_rows] = 15 -# Typus::Configuration.options[:index_after_save] = true -# Typus::Configuration.options[:minute_step] = 5 -# Typus::Configuration.options[:nil] = 'nil' -# Typus::Configuration.options[:on_header] = false -# Typus::Configuration.options[:only_user_items] = false -# Typus::Configuration.options[:per_page] = 15 -# Typus::Configuration.options[:sidebar_selector] = 5 -# Typus::Configuration.options[:start_year] = Time.now.year - 10 + # Authentication: +:none+, +:http_basic+ + # Run `rails g typus:migration` if you need an advanced authentication system. + # config.authentication = :none + + # Define username and password for +:http_basic+ authentication + # config.username = "admin" + # config.password = "columbia" + + # Define available languages on the admin interface. + # config.available_locales = [:en] + +end diff --git a/config/locales/en.yml b/config/locales/en.yml index f265c06..a747bfa 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -2,4 +2,4 @@ # See http://github.com/svenfuchs/rails-i18n/tree/master/rails%2Flocale for starting points. en: - hello: "Hello world" \ No newline at end of file + hello: "Hello world" diff --git a/config/routes.rb b/config/routes.rb index 393f718..bf671f2 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -1,52 +1,70 @@ -ActionController::Routing::Routes.draw do |map| - Typus::Routes.draw(map) - # The priority is based upon order of creation: first created -> highest priority. +Photos::Application.routes.draw do + # The priority is based upon order of creation: + # first created -> highest priority. # Sample of regular route: - # map.connect 'products/:id', :controller => 'catalog', :action => 'view' + # match 'products/:id' => 'catalog#view' # Keep in mind you can assign values other than :controller and :action # Sample of named route: - # map.purchase 'products/:id/purchase', :controller => 'catalog', :action => 'purchase' + # match 'products/:id/purchase' => 'catalog#purchase', :as => :purchase # This route can be invoked with purchase_url(:id => product.id) # Sample resource route (maps HTTP verbs to controller actions automatically): - # map.resources :products + # resources :products # Sample resource route with options: - # map.resources :products, :member => { :short => :get, :toggle => :post }, :collection => { :sold => :get } + # resources :products do + # member do + # get 'short' + # post 'toggle' + # end + # + # collection do + # get 'sold' + # end + # end # Sample resource route with sub-resources: - # map.resources :products, :has_many => [ :comments, :sales ], :has_one => :seller - + # resources :products do + # resources :comments, :sales + # resource :seller + # end + # Sample resource route with more complex sub-resources - # map.resources :products do |products| - # products.resources :comments - # products.resources :sales, :collection => { :recent => :get } + # resources :products do + # resources :comments + # resources :sales do + # get 'recent', :on => :collection + # end # end # Sample resource route within a namespace: - # map.namespace :admin do |admin| - # # Directs /admin/products/* to Admin::ProductsController (app/controllers/admin/products_controller.rb) - # admin.resources :products + # namespace :admin do + # # Directs /admin/products/* to Admin::ProductsController + # # (app/controllers/admin/products_controller.rb) + # resources :products # end - # You can have the root of your site routed with map.root -- just remember to delete public/index.html. - # map.root :controller => "welcome" + # You can have the root of your site routed with "root" + # just remember to delete public/index.html. + # root :to => "welcome#index" # See how all your routes lay out with "rake routes" - # Install the default routes as the lowest priority. - # Note: These default routes make all actions in every controller accessible via GET requests. You should - # consider removing or commenting them out if you're using named routes and resources. - map.resources :categories, :has_many => :photos - map.resources :photos + resources :categories do + resources :photos + end - map.root :controller => "pages" - - map.pages ':action', :controller => 'pages' - - map.connect ':controller/:action/:id' - map.connect ':controller/:action/:id.:format' + resources :photos + root :to => 'pages#index' + + match 'about' => 'pages#about' + match 'contact' => 'pages#contact' + + # This is a legacy wild controller route that's not recommended for RESTful applications. + # Note: This route will make all actions in every controller accessible via GET requests. + match ':controller(/:action(/:id(.:format)))' + end diff --git a/config/typus/README b/config/typus/README index 558295c..0991058 100644 --- a/config/typus/README +++ b/config/typus/README @@ -1,11 +1,12 @@ # Models -This is an example of a **Typus** enabled model with all available -options. You can use this example to customize your YAML files which -only have set the most common settings. +This is an example of a **Typus** enabled model with all available options. You +can use this example to customize your YAML files which only have set the most +common settings. Post: fields: + default: id, title, category_id, created_at, is_published? list: id, title, category_id, created_at, is_published? form: title, body, is_published?, created_at show: title, category, is_published? @@ -25,7 +26,7 @@ only have set the most common settings. index: cleanup edit: send_as_newsletter show: rebuild - export: csv, xml, pdf + export: csv, xml order_by: created_at relationships: filters: is_published?, created_at, category_id @@ -33,25 +34,23 @@ only have set the most common settings. application: Application description: Some text to describe the model options: + action_after_save: :index default_action_on_item: show end_year: 2015 form_rows: 25 - index_after_save: false minute_step: 15 nil: 'nil' - on_header: true only_user_items: true per_page: 5 - sidebar_selector: 5 start_year: 1990 Note: To define namespace models use :: as a separator. (i.e. Delayed::Job) # Roles -In this file you can configure the actions available for each of -your models on the application. You can also use the 'all' shortcut -to allow the user the access to all actions. +In this file you can configure the actions available for each of your models on +the application. You can also use the 'all' shortcut to allow the user the +access to all actions. admin: Post: create, read, update, delete @@ -62,10 +61,8 @@ to allow the user the access to all actions. Post: create, read, update Category: read, update -You can also define `resources` which are not related to a model, -for example to control MemCached or see the Starling queue -statistics. +You can also define `resources` which are not related to a model, for example +to control `Redis`. admin: - Starling: index - MemCached: index, cleanup + Redis: index, flush_all diff --git a/config/typus/application.yml b/config/typus/application.yml index be62e57..4b032df 100644 --- a/config/typus/application.yml +++ b/config/typus/application.yml @@ -5,22 +5,20 @@ Category: fields: default: name, photo_id, base_colour, sort - list: name, photo_id, base_colour, sort form: name, description, photo_id, base_colour, sort order_by: relationships: photos filters: search: name - application: photos + application: Photos Photo: fields: - default: photo_file_name, photo_content_type, photo_file_size, photo_updated_at, title, sort - list: photo_file_name, categories, photo_content_type, photo_file_size, photo_updated_at, title, sort - form: photo, flickr_url, title, description, sort + default: title, sort + form: photo, title, description, flickr_url, sort order_by: relationships: categories filters: search: title - application: photos + application: Photos diff --git a/config/typus/typus.yml b/config/typus/typus.yml deleted file mode 100644 index c15e30f..0000000 --- a/config/typus/typus.yml +++ /dev/null @@ -1,17 +0,0 @@ -# Typus Models Configuration File -# -# Use the README file as a reference to customize settings. - -TypusUser: - fields: - default: first_name, last_name, email, role, status - list: email, role, status - form: first_name, last_name, role, email, password, password_confirmation, language - options: - selectors: role, language - booleans: - status: Active, Inactive - filters: status, role - search: first_name, last_name, email, role - application: Admin Panel - description: Admin Panel Users Administration diff --git a/config/typus/typus_roles.yml b/config/typus/typus_roles.yml deleted file mode 100644 index 05edc75..0000000 --- a/config/typus/typus_roles.yml +++ /dev/null @@ -1,6 +0,0 @@ -# Typus Roles Configuration File -# -# Use the README file as a reference to customize settings. - -admin: - TypusUser: all diff --git a/db/development.sqlite3 b/db/development.sqlite3 index 3e9fc7929e4cc20e50b41014edfdae986b24df16..62bbf04019560dad6a9f480732adf7507161b8b6 100644 GIT binary patch delta 442 zcmZozz}T>Wae}nqQU(a%1X9dEEIU!hhMA42d}6jC3v(^w?Trgk*qPbcn>Mp^WU{jW z6$ni(;hz8$sou;kkO&qLo}42-gM*2!mVw=wt#&hyL?Ihrqq8gz1FyLvv!kPe;%b4jIm>ZZFn&6gk&L}NP&QQotQ}8TG z%}LBl2`bIZD+cis6#|O#OHzwV67xzFk|D}6^AtkzON(+7vr{K`$n)_uTFC&NWe;}N zWC=+_H>lM{R)&^(=B7qQ#^_cXSs5AW8CaNGTH=wJTqSA6#|sP`CiW)`>`&OguwULR zsBnmVVgMVX;Nc9{%*eWae}nqJO&8h1X4^uEHhEZhMApV&ctj(mgWc!_Kgct*qJ%l3pTTJWU{je za4>03F5#a56v^1kE|AF1BE+o8I5|gr1_uKN*dVUWJQ9U$n`_ "", :null => false - t.string :last_name, :default => "", :null => false - t.string :role, :null => false - t.string :email, :null => false - t.boolean :status, :default => false - t.string :token, :null => false - t.string :salt, :null => false - t.string :crypted_password, :null => false - t.string :preferences - t.timestamps - end - end - - def self.down - drop_table :typus_users - end - -end diff --git a/db/schema.rb b/db/schema.rb index 1ac47a9..b6dc49d 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -1,15 +1,16 @@ -# This file is auto-generated from the current state of the database. Instead of editing this file, -# please use the migrations feature of Active Record to incrementally modify your database, and -# then regenerate this schema definition. +# This file is auto-generated from the current state of the database. Instead +# of editing this file, please use the migrations feature of Active Record 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 +# 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 => 20101008175640) do +ActiveRecord::Schema.define(:version => 20101008172319) do create_table "categories", :force => true do |t| t.string "name" @@ -39,18 +40,4 @@ ActiveRecord::Schema.define(:version => 20101008175640) do t.integer "sort" end - create_table "typus_users", :force => true do |t| - t.string "first_name", :default => "", :null => false - t.string "last_name", :default => "", :null => false - t.string "role", :null => false - t.string "email", :null => false - t.boolean "status", :default => false - t.string "token", :null => false - t.string "salt", :null => false - t.string "crypted_password", :null => false - t.string "preferences" - t.datetime "created_at" - t.datetime "updated_at" - end - end diff --git a/db/seeds.rb b/db/seeds.rb index 3174d0c..664d8c7 100644 --- a/db/seeds.rb +++ b/db/seeds.rb @@ -2,6 +2,6 @@ # The data can then be loaded with the rake db:seed (or created alongside the db with db:setup). # # Examples: -# +# # cities = City.create([{ :name => 'Chicago' }, { :name => 'Copenhagen' }]) -# Major.create(:name => 'Daley', :city => cities.first) +# Mayor.create(:name => 'Daley', :city => cities.first) diff --git a/log/development.log b/log/development.log index 2ec34f1..160f197 100644 --- a/log/development.log +++ b/log/development.log @@ -1,24034 +1,1915 @@ - SQL (0.2ms)  SELECT name +DEPRECATION WARNING: Use toplevel init.rb; rails/init.rb is deprecated: /Users/danbee/Sites/rails/photos/vendor/plugins/jrails/rails/init.rb. (called from 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 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 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 at /Users/danbee/Sites/rails/photos/config/environment.rb:5) +DEPRECATION WARNING: Use toplevel init.rb; rails/init.rb is deprecated: /Users/danbee/Sites/rails/photos/vendor/plugins/jrails/rails/init.rb. (called from 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 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 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 at /Users/danbee/Sites/rails/photos/config/environment.rb:5) +DEPRECATION WARNING: Use toplevel init.rb; rails/init.rb is deprecated: /Users/danbee/Sites/rails/photos/vendor/plugins/jrails/rails/init.rb. (called from 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 at /Users/danbee/Sites/rails/photos/config/initializers/cookie_verification_secret.rb:7) + + +Started GET "/photos" for 127.0.0.1 at 2010-10-11 06:38:34 -0400 + Processing by PhotosController#index as HTML + SQL (0.3ms)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  - SQL (0.1ms) select sqlite_version(*) - SQL (3.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  - SQL (0.0ms) PRAGMA index_list("schema_migrations") - SQL (3.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") - SQL (0.1ms)  SELECT name - FROM sqlite_master - WHERE type = 'table' AND NOT name = 'sqlite_sequence' - - SQL (0.2ms) SELECT version FROM schema_migrations -Migrating to CreateCategories (20101006095323) - SQL (0.4ms) CREATE TABLE "categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "description" text, "created_at" datetime, "updated_at" datetime)  - SQL (0.1ms) INSERT INTO schema_migrations (version) VALUES ('20101006095323') -Migrating to CreatePhotos (20101006095457) - SQL (0.4ms) CREATE TABLE "photos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "category_id" integer, "content_type" varchar(255), "filename" varchar(255), "thumbnail" varchar(255), "size" integer, "width" integer, "height" integer, "created_at" datetime, "updated_at" datetime)  - SQL (0.1ms) INSERT INTO schema_migrations (version) VALUES ('20101006095457') - SQL (0.3ms)  SELECT name - FROM sqlite_master - WHERE type = 'table' AND NOT name = 'sqlite_sequence' - - SQL (0.2ms) SELECT version FROM schema_migrations - SQL (0.2ms)  SELECT name - FROM sqlite_master - WHERE type = 'table' AND NOT name = 'sqlite_sequence' - - SQL (0.0ms) PRAGMA index_list("categories") - SQL (0.0ms) PRAGMA index_list("photos") - SQL (0.4ms)  SELECT name - FROM sqlite_master - WHERE type = 'table' AND NOT name = 'sqlite_sequence' - - SQL (0.4ms)  SELECT name - FROM sqlite_master - WHERE type = 'table' AND NOT name = 'sqlite_sequence' - - SQL (0.1ms) SELECT version FROM schema_migrations - SQL (35.1ms) DROP TABLE "categories" - SQL (13.4ms) DELETE FROM schema_migrations WHERE version = '20101006095323' - SQL (0.2ms) select sqlite_version(*) - SQL (0.2ms)  SELECT name - FROM sqlite_master - WHERE type = 'table' AND NOT name = 'sqlite_sequence' - - SQL (0.1ms) SELECT version FROM schema_migrations - SQL (0.1ms)  SELECT name - FROM sqlite_master - WHERE type = 'table' AND NOT name = 'sqlite_sequence' - - SQL (0.0ms) PRAGMA index_list("photos") - SQL (0.3ms)  SELECT name - FROM sqlite_master - WHERE type = 'table' AND NOT name = 'sqlite_sequence' - - SQL (0.1ms) SELECT version FROM schema_migrations - SQL (1.4ms) DROP TABLE "photos" - SQL (1.0ms) DELETE FROM schema_migrations WHERE version = '20101006095457' - SQL (0.2ms) select sqlite_version(*) - SQL (0.2ms)  SELECT name - FROM sqlite_master - WHERE type = 'table' AND NOT name = 'sqlite_sequence' - - SQL (0.1ms) SELECT version FROM schema_migrations - SQL (0.1ms)  SELECT name - FROM sqlite_master - WHERE type = 'table' AND NOT name = 'sqlite_sequence' - - SQL (0.4ms)  SELECT name - FROM sqlite_master - WHERE type = 'table' AND NOT name = 'sqlite_sequence' - - SQL (0.1ms) SELECT version FROM schema_migrations -Migrating to CreateCategories (20101006095323) - SQL (0.1ms) select sqlite_version(*) - SQL (61.2ms) CREATE TABLE "categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "description" text, "created_at" datetime, "updated_at" datetime)  - SQL (0.2ms) INSERT INTO schema_migrations (version) VALUES ('20101006095323') -Migrating to CreatePhotos (20101006095457) - SQL (0.4ms) CREATE TABLE "photos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "category_id" integer, "title" varchar(255), "description" text, "flickr_url" varchar(255), "content_type" varchar(255), "filename" varchar(255), "thumbnail" varchar(255), "size" integer, "width" integer, "height" integer, "created_at" datetime, "updated_at" datetime)  - SQL (0.1ms) INSERT INTO schema_migrations (version) VALUES ('20101006095457') - SQL (0.4ms)  SELECT name - FROM sqlite_master - WHERE type = 'table' AND NOT name = 'sqlite_sequence' - - SQL (0.1ms) SELECT version FROM schema_migrations - SQL (0.2ms)  SELECT name - FROM sqlite_master - WHERE type = 'table' AND NOT name = 'sqlite_sequence' - - SQL (0.0ms) PRAGMA index_list("categories") - SQL (0.0ms) PRAGMA index_list("photos") + Photo Load (6.2ms) SELECT "photos".* FROM "photos" +Completed in 81ms - -Processing ApplicationController#index (for 127.0.0.1 at 2010-10-06 15:27:36) [GET] - -ActionController::RoutingError (No route matches "/photos" with {:method=>:get}): - :8:in `synchronize' - /usr/local/Cellar/ruby/1.9.1-p378/lib/ruby/1.9.1/webrick/httpserver.rb:111:in `service' - /usr/local/Cellar/ruby/1.9.1-p378/lib/ruby/1.9.1/webrick/httpserver.rb:70:in `run' - /usr/local/Cellar/ruby/1.9.1-p378/lib/ruby/1.9.1/webrick/server.rb:183:in `block in start_thread' - -Rendering rescues/layout (not_found) - - -Processing ApplicationController#index (for 127.0.0.1 at 2010-10-06 15:28:54) [GET] - -ActionController::RoutingError (No route matches "/photos" with {:method=>:get}): - :8:in `synchronize' - /usr/local/Cellar/ruby/1.9.1-p378/lib/ruby/1.9.1/webrick/httpserver.rb:111:in `service' - /usr/local/Cellar/ruby/1.9.1-p378/lib/ruby/1.9.1/webrick/httpserver.rb:70:in `run' - /usr/local/Cellar/ruby/1.9.1-p378/lib/ruby/1.9.1/webrick/server.rb:183:in `block in start_thread' - -Rendering rescues/layout (not_found) - - -Processing ApplicationController#index (for 127.0.0.1 at 2010-10-06 15:28:56) [GET] - -ActionController::RoutingError (No route matches "/photos" with {:method=>:get}): - :8:in `synchronize' - /usr/local/Cellar/ruby/1.9.1-p378/lib/ruby/1.9.1/webrick/httpserver.rb:111:in `service' - /usr/local/Cellar/ruby/1.9.1-p378/lib/ruby/1.9.1/webrick/httpserver.rb:70:in `run' - /usr/local/Cellar/ruby/1.9.1-p378/lib/ruby/1.9.1/webrick/server.rb:183:in `block in start_thread' - -Rendering rescues/layout (not_found) - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-06 15:29:04) [GET] - -ActionController::UnknownAction (No action responded to index. Actions: ): - :8:in `synchronize' - /usr/local/Cellar/ruby/1.9.1-p378/lib/ruby/1.9.1/webrick/httpserver.rb:111:in `service' - /usr/local/Cellar/ruby/1.9.1-p378/lib/ruby/1.9.1/webrick/httpserver.rb:70:in `run' - /usr/local/Cellar/ruby/1.9.1-p378/lib/ruby/1.9.1/webrick/server.rb:183:in `block in start_thread' - -Rendering rescues/layout (not_found) - - -Processing PhotosController#new (for 127.0.0.1 at 2010-10-06 15:29:12) [GET] - -ActionController::UnknownAction (No action responded to new. Actions: ): - :8:in `synchronize' - /usr/local/Cellar/ruby/1.9.1-p378/lib/ruby/1.9.1/webrick/httpserver.rb:111:in `service' - /usr/local/Cellar/ruby/1.9.1-p378/lib/ruby/1.9.1/webrick/httpserver.rb:70:in `run' - /usr/local/Cellar/ruby/1.9.1-p378/lib/ruby/1.9.1/webrick/server.rb:183:in `block in start_thread' - -Rendering rescues/layout (not_found) - - -Processing PhotosController#new (for 127.0.0.1 at 2010-10-06 15:35:33) [GET] -Rendering photos/new -Completed in 51ms (View: 50, DB: 0) | 200 OK [http://localhost/photos/new] - - -Processing PhotosController#new (for 127.0.0.1 at 2010-10-06 15:35:51) [GET] -Rendering photos/new -Completed in 40ms (View: 39, DB: 0) | 200 OK [http://localhost/photos/new] - - -Processing PhotosController#new (for 127.0.0.1 at 2010-10-06 15:37:01) [GET] -Rendering photos/new -Completed in 9ms (View: 8, DB: 0) | 200 OK [http://localhost/photos/new] - - -Processing PhotosController#new (for 127.0.0.1 at 2010-10-07 04:08:18) [GET] -Rendering photos/new -Completed in 14ms (View: 13, DB: 0) | 200 OK [http://localhost/photos/new] - SQL (0.4ms)  SELECT name - FROM sqlite_master - WHERE type = 'table' AND NOT name = 'sqlite_sequence' - - SQL (0.2ms) SELECT version FROM schema_migrations - SQL (117.3ms) DROP TABLE "photos" - SQL (5.3ms) DELETE FROM schema_migrations WHERE version = '20101006095457' - SQL (0.2ms) select sqlite_version(*) - SQL (0.2ms)  SELECT name - FROM sqlite_master - WHERE type = 'table' AND NOT name = 'sqlite_sequence' - - SQL (0.1ms) SELECT version FROM schema_migrations - SQL (0.1ms)  SELECT name - FROM sqlite_master - WHERE type = 'table' AND NOT name = 'sqlite_sequence' - - SQL (0.0ms) PRAGMA index_list("categories") - SQL (0.3ms)  SELECT name - FROM sqlite_master - WHERE type = 'table' AND NOT name = 'sqlite_sequence' - - SQL (0.3ms) SELECT version FROM schema_migrations -Migrating to CreateCategories (20101006095323) -Migrating to CreatePhotos (20101006095457) - SQL (0.1ms) select sqlite_version(*) - SQL (0.7ms) CREATE TABLE "photos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "category_id" integer, "flickr_url" varchar(255), "content_type" varchar(255), "filename" varchar(255), "thumbnail" varchar(255), "size" integer, "width" integer, "height" integer, "created_at" datetime, "updated_at" datetime)  - SQL (0.1ms) INSERT INTO schema_migrations (version) VALUES ('20101006095457') - SQL (0.3ms)  SELECT name - FROM sqlite_master - WHERE type = 'table' AND NOT name = 'sqlite_sequence' - - SQL (0.1ms) SELECT version FROM schema_migrations - SQL (0.1ms)  SELECT name - FROM sqlite_master - WHERE type = 'table' AND NOT name = 'sqlite_sequence' - - SQL (0.0ms) PRAGMA index_list("categories") - SQL (0.0ms) PRAGMA index_list("photos") - - -Processing PhotosController#new (for 127.0.0.1 at 2010-10-07 08:14:49) [GET] -Rendering photos/new -Completed in 90ms (View: 88, DB: 0) | 200 OK [http://localhost/photos/new] - - -Processing PhotosController#new (for 127.0.0.1 at 2010-10-07 08:14:49) [GET] -Rendering photos/new -Completed in 4ms (View: 3, DB: 0) | 200 OK [http://localhost/photos/new] - - -Processing PhotosController#new (for 127.0.0.1 at 2010-10-07 10:16:53) [POST] - Parameters: {"authenticity_token"=>"MRMA5jN8F+L8Qu/qxudBGU2lL/82P68aMbmoNbKb5zw=", "photo"=>{"uploaded_data"=>#}, "commit"=>"Upload"} - -SyntaxError (/usr/local/Cellar/ruby/1.9.1-p378/lib/ruby/gems/1.9.1/gems/gd2-1.1.1/lib/gd2.rb:46: syntax error, unexpected ':', expecting keyword_then or ',' or ';' or '\n' - when ?D: 8 - ^ -/usr/local/Cellar/ruby/1.9.1-p378/lib/ruby/gems/1.9.1/gems/gd2-1.1.1/lib/gd2.rb:180: syntax error, unexpected keyword_end, expecting $end): - app/models/photo.rb:8:in `' - app/models/photo.rb:1:in `' - app/controllers/photos_controller.rb:3:in `new' - :8:in `synchronize' - /usr/local/Cellar/ruby/1.9.1-p378/lib/ruby/1.9.1/webrick/httpserver.rb:111:in `service' - /usr/local/Cellar/ruby/1.9.1-p378/lib/ruby/1.9.1/webrick/httpserver.rb:70:in `run' - /usr/local/Cellar/ruby/1.9.1-p378/lib/ruby/1.9.1/webrick/server.rb:183:in `block in start_thread' - -Rendered rescues/_trace (113.8ms) -Rendered rescues/_request_and_response (1.2ms) -Rendering rescues/layout (internal_server_error) - - -Processing PhotosController#new (for 127.0.0.1 at 2010-10-07 10:17:42) [POST] - Parameters: {"photo"=>{"uploaded_data"=>#}, "commit"=>"Upload", "authenticity_token"=>"MRMA5jN8F+L8Qu/qxudBGU2lL/82P68aMbmoNbKb5zw="} -Rendering photos/new -Completed in 2700ms (View: 133, DB: 0) | 200 OK [http://localhost/photos/new] - - -Processing PhotosController#new (for 127.0.0.1 at 2010-10-07 10:21:41) [POST] - Parameters: {"photo"=>{"uploaded_data"=>#}, "commit"=>"Upload", "authenticity_token"=>"MRMA5jN8F+L8Qu/qxudBGU2lL/82P68aMbmoNbKb5zw="} -Rendering photos/new -Completed in 176ms (View: 32, DB: 0) | 200 OK [http://localhost/photos/new] - - -Processing PhotosController#new (for 127.0.0.1 at 2010-10-07 10:24:58) [POST] - Parameters: {"photo"=>{"uploaded_data"=>#}, "commit"=>"Upload", "authenticity_token"=>"MRMA5jN8F+L8Qu/qxudBGU2lL/82P68aMbmoNbKb5zw="} -Rendering photos/new -Completed in 50ms (View: 43, DB: 0) | 200 OK [http://localhost/photos/new] - - -Processing PhotosController#new (for 127.0.0.1 at 2010-10-07 10:25:19) [POST] - Parameters: {"photo"=>{"uploaded_data"=>#}, "commit"=>"Upload", "authenticity_token"=>"MRMA5jN8F+L8Qu/qxudBGU2lL/82P68aMbmoNbKb5zw="} -Rendering photos/new -Completed in 131ms (View: 6, DB: 0) | 200 OK [http://localhost/photos/new] - - -Processing PhotosController#new (for 127.0.0.1 at 2010-10-07 10:26:30) [POST] - Parameters: {"photo"=>{"uploaded_data"=>#}, "commit"=>"Upload", "authenticity_token"=>"MRMA5jN8F+L8Qu/qxudBGU2lL/82P68aMbmoNbKb5zw="} -Rendering photos/new -Completed in 10ms (View: 4, DB: 0) | 200 OK [http://localhost/photos/new] - - -Processing PhotosController#new (for 127.0.0.1 at 2010-10-07 10:31:32) [POST] - Parameters: {"photo"=>{"uploaded_data"=>#}, "commit"=>"Upload", "authenticity_token"=>"MRMA5jN8F+L8Qu/qxudBGU2lL/82P68aMbmoNbKb5zw="} -Rendering photos/new -Completed in 119ms (View: 6, DB: 0) | 200 OK [http://localhost/photos/new] - - -Processing PhotosController#new (for 127.0.0.1 at 2010-10-07 10:31:43) [POST] - Parameters: {"photo"=>{"uploaded_data"=>#}, "commit"=>"Upload", "authenticity_token"=>"MRMA5jN8F+L8Qu/qxudBGU2lL/82P68aMbmoNbKb5zw="} -Rendering photos/new -Completed in 10ms (View: 3, DB: 0) | 200 OK [http://localhost/photos/new] - - -Processing PhotosController#new (for 127.0.0.1 at 2010-10-07 10:34:14) [GET] -Rendering photos/new -Completed in 13ms (View: 8, DB: 0) | 200 OK [http://localhost/photos/new] - - -Processing PhotosController#create (for 127.0.0.1 at 2010-10-07 10:34:24) [POST] - Parameters: {"photo"=>{"uploaded_data"=>#}, "commit"=>"Upload", "authenticity_token"=>"MRMA5jN8F+L8Qu/qxudBGU2lL/82P68aMbmoNbKb5zw="} - Photo Create (65.2ms) INSERT INTO "photos" ("size", "created_at", "content_type", "flickr_url", "thumbnail", "updated_at", "category_id", "filename", "height", "width") VALUES(271536, '2010-10-07 14:34:24', 'image/jpeg', NULL, NULL, '2010-10-07 14:34:24', NULL, 'Buttercup.jpg', 649, 1024) -Redirected to http://localhost:3000/photos/1 -Completed in 857ms (DB: 65) | 302 Found [http://localhost/photos] - - -Processing PhotosController#show (for 127.0.0.1 at 2010-10-07 10:34:25) [GET] - Parameters: {"id"=>"1"} - -ActionController::UnknownAction (No action responded to show. Actions: create and new): - - -Rendering rescues/layout (not_found) - - -Processing PhotosController#new (for 127.0.0.1 at 2010-10-07 10:48:12) [GET] -Rendering photos/new -Completed in 117ms (View: 30, DB: 0) | 200 OK [http://localhost/photos/new] - - -Processing PhotosController#create (for 127.0.0.1 at 2010-10-07 10:48:23) [POST] - Parameters: {"photo"=>{"uploaded_data"=>#}, "commit"=>"Upload", "authenticity_token"=>"MRMA5jN8F+L8Qu/qxudBGU2lL/82P68aMbmoNbKb5zw="} - Photo Create (46.1ms) INSERT INTO "photos" ("size", "created_at", "content_type", "flickr_url", "thumbnail", "updated_at", "category_id", "filename", "height", "width") VALUES(616171, '2010-10-07 14:48:24', 'image/jpeg', NULL, NULL, '2010-10-07 14:48:24', NULL, 'Bell_Tower.jpg', 736, 1024) -Redirected to http://localhost:3000/photos/2 -Completed in 816ms (DB: 46) | 302 Found [http://localhost/photos] - - -Processing PhotosController#show (for 127.0.0.1 at 2010-10-07 10:48:24) [GET] - Parameters: {"id"=>"2"} - -ActionController::UnknownAction (No action responded to show. Actions: create and new): - - -Rendering rescues/layout (not_found) - - -Processing PhotosController#show (for 127.0.0.1 at 2010-10-07 10:51:36) [GET] - Parameters: {"id"=>"1"} - -ActionController::UnknownAction (No action responded to show. Actions: create and new): - - -Rendering rescues/layout (not_found) - - -Processing PhotosController#show (for 127.0.0.1 at 2010-10-07 10:52:48) [GET] - Parameters: {"id"=>"1"} - Photo Load (0.2ms) SELECT * FROM "photos" WHERE ("photos"."id" = 1)  - -ActionView::MissingTemplate (Missing template photos/show.erb in view path app/views): - - -Rendering rescues/layout (internal_server_error) - - -Processing PhotosController#show (for 127.0.0.1 at 2010-10-07 10:53:50) [GET] - Parameters: {"id"=>"1"} - Photo Load (0.2ms) SELECT * FROM "photos" WHERE ("photos"."id" = 1)  -Rendering photos/show -Completed in 12ms (View: 5, DB: 0) | 200 OK [http://localhost/photos/1] - - -Processing ApplicationController#index (for 127.0.0.1 at 2010-10-07 10:53:50) [GET] - -ActionController::RoutingError (No route matches "/photos/0000/0001/Buttercup_thumb.jpg" with {:method=>:get}): - - -Rendering rescues/layout (not_found) - - -Processing PhotosController#show (for 127.0.0.1 at 2010-10-07 10:54:28) [GET] - Parameters: {"id"=>"2"} - Photo Load (0.2ms) SELECT * FROM "photos" WHERE ("photos"."id" = 2)  -Rendering photos/show -Completed in 12ms (View: 3, DB: 0) | 200 OK [http://localhost/photos/2] - - -Processing ApplicationController#index (for 127.0.0.1 at 2010-10-07 10:54:28) [GET] - -ActionController::RoutingError (No route matches "/photos/0000/0002/Bell_Tower_thumb.jpg" with {:method=>:get}): - - -Rendering rescues/layout (not_found) - SQL (0.4ms)  SELECT name - FROM sqlite_master - WHERE type = 'table' AND NOT name = 'sqlite_sequence' - - SQL (0.1ms) SELECT version FROM schema_migrations - SQL (24.2ms) DROP TABLE "categories" - SQL (1.0ms) DELETE FROM schema_migrations WHERE version = '20101006095323' - SQL (0.1ms) select sqlite_version(*) - SQL (0.1ms)  SELECT name - FROM sqlite_master - WHERE type = 'table' AND NOT name = 'sqlite_sequence' - - SQL (0.1ms) SELECT version FROM schema_migrations - SQL (0.1ms)  SELECT name - FROM sqlite_master - WHERE type = 'table' AND NOT name = 'sqlite_sequence' - - SQL (0.0ms) PRAGMA index_list("photos") - SQL (0.3ms)  SELECT name - FROM sqlite_master - WHERE type = 'table' AND NOT name = 'sqlite_sequence' - - SQL (0.1ms) SELECT version FROM schema_migrations - SQL (1.6ms) DROP TABLE "photos" - SQL (1.0ms) DELETE FROM schema_migrations WHERE version = '20101006095457' - SQL (0.1ms) select sqlite_version(*) - SQL (0.1ms)  SELECT name - FROM sqlite_master - WHERE type = 'table' AND NOT name = 'sqlite_sequence' - - SQL (0.1ms) SELECT version FROM schema_migrations - SQL (0.1ms)  SELECT name - FROM sqlite_master - WHERE type = 'table' AND NOT name = 'sqlite_sequence' - - SQL (0.3ms)  SELECT name - FROM sqlite_master - WHERE type = 'table' AND NOT name = 'sqlite_sequence' - - SQL (0.1ms) SELECT version FROM schema_migrations -Migrating to CreateCategories (20101006095323) - SQL (0.1ms) select sqlite_version(*) - SQL (0.4ms) CREATE TABLE "categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "description" text, "created_at" datetime, "updated_at" datetime)  - SQL (0.1ms) INSERT INTO schema_migrations (version) VALUES ('20101006095323') -Migrating to CreatePhotos (20101006095457) - SQL (0.5ms) CREATE TABLE "photos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "category_id" integer, "flickr_url" varchar(255), "parent_id" integer, "content_type" varchar(255), "filename" varchar(255), "thumbnail" varchar(255), "size" integer, "width" integer, "height" integer, "created_at" datetime, "updated_at" datetime)  - SQL (0.1ms) INSERT INTO schema_migrations (version) VALUES ('20101006095457') - SQL (0.3ms)  SELECT name - FROM sqlite_master - WHERE type = 'table' AND NOT name = 'sqlite_sequence' - - SQL (0.1ms) SELECT version FROM schema_migrations - SQL (0.1ms)  SELECT name - FROM sqlite_master - WHERE type = 'table' AND NOT name = 'sqlite_sequence' - - SQL (0.0ms) PRAGMA index_list("categories") - SQL (0.0ms) PRAGMA index_list("photos") - SQL (0.5ms)  SELECT name - FROM sqlite_master - WHERE type = 'table' AND NOT name = 'sqlite_sequence' - - SQL (0.1ms) SELECT version FROM schema_migrations -Migrating to CreateCategories (20101006095323) -Migrating to CreatePhotos (20101006095457) - SQL (0.1ms) select sqlite_version(*) - SQL (0.2ms)  SELECT name - FROM sqlite_master - WHERE type = 'table' AND NOT name = 'sqlite_sequence' - - SQL (0.1ms) SELECT version FROM schema_migrations - SQL (0.1ms)  SELECT name - FROM sqlite_master - WHERE type = 'table' AND NOT name = 'sqlite_sequence' - - SQL (0.0ms) PRAGMA index_list("categories") - SQL (0.0ms) PRAGMA index_list("photos") - - -Processing PhotosController#show (for 127.0.0.1 at 2010-10-07 11:09:26) [GET] - Parameters: {"id"=>"1"} - Photo Load (0.1ms) SELECT * FROM "photos" WHERE ("photos"."id" = 1)  - -ActiveRecord::RecordNotFound (Couldn't find Photo with ID=1): - app/controllers/photos_controller.rb:17:in `show' - -Rendered rescues/_trace (69.1ms) -Rendered rescues/_request_and_response (1.0ms) -Rendering rescues/layout (not_found) - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-07 11:09:29) [GET] - -ActionController::UnknownAction (No action responded to index. Actions: create, new, and show): - - -Rendering rescues/layout (not_found) - - -Processing PhotosController#new (for 127.0.0.1 at 2010-10-07 11:09:36) [GET] -Rendering photos/new -Completed in 16ms (View: 7, DB: 0) | 200 OK [http://localhost/photos/new] - - -Processing PhotosController#create (for 127.0.0.1 at 2010-10-07 11:09:45) [POST] - Parameters: {"photo"=>{"uploaded_data"=>#}, "commit"=>"Upload", "authenticity_token"=>"MRMA5jN8F+L8Qu/qxudBGU2lL/82P68aMbmoNbKb5zw="} - Photo Create (0.5ms) INSERT INTO "photos" ("size", "created_at", "content_type", "flickr_url", "thumbnail", "updated_at", "category_id", "parent_id", "filename", "height", "width") VALUES(271536, '2010-10-07 15:09:45', 'image/jpeg', NULL, NULL, '2010-10-07 15:09:45', NULL, NULL, 'Buttercup.jpg', 649, 1024) - Photo Load (0.1ms) SELECT * FROM "photos" WHERE ("photos"."thumbnail" = 'thumb' AND "photos"."parent_id" = 1) LIMIT 1 - Photo Create (0.2ms) INSERT INTO "photos" ("size", "created_at", "content_type", "flickr_url", "thumbnail", "updated_at", "category_id", "parent_id", "filename", "height", "width") VALUES(22093, '2010-10-07 15:09:45', 'image/jpeg', NULL, 'thumb', '2010-10-07 15:09:45', NULL, 1, 'Buttercup_thumb.jpg', 89, 140) -Redirected to http://localhost:3000/photos/1 -Completed in 924ms (DB: 1) | 302 Found [http://localhost/photos] - - -Processing PhotosController#show (for 127.0.0.1 at 2010-10-07 11:09:46) [GET] - Parameters: {"id"=>"1"} - Photo Load (0.2ms) SELECT * FROM "photos" WHERE ("photos"."id" = 1)  -Rendering photos/show -Completed in 14ms (View: 7, DB: 0) | 200 OK [http://localhost/photos/1] - - -Processing PhotosController#new (for 127.0.0.1 at 2010-10-07 11:10:25) [GET] -Rendering photos/new -Completed in 11ms (View: 4, DB: 0) | 200 OK [http://localhost/photos/new] - - -Processing PhotosController#create (for 127.0.0.1 at 2010-10-07 11:10:33) [POST] - Parameters: {"photo"=>{"uploaded_data"=>#}, "commit"=>"Upload", "authenticity_token"=>"MRMA5jN8F+L8Qu/qxudBGU2lL/82P68aMbmoNbKb5zw="} - Photo Create (0.4ms) INSERT INTO "photos" ("size", "created_at", "content_type", "flickr_url", "thumbnail", "updated_at", "category_id", "parent_id", "filename", "height", "width") VALUES(616171, '2010-10-07 15:10:34', 'image/jpeg', NULL, NULL, '2010-10-07 15:10:34', NULL, NULL, 'Bell_Tower.jpg', 736, 1024) - Photo Load (0.1ms) SELECT * FROM "photos" WHERE ("photos"."thumbnail" = 'thumb' AND "photos"."parent_id" = 3) LIMIT 1 - -ArgumentError (invalid geometry format): - app/controllers/photos_controller.rb:8:in `create' - -Rendered rescues/_trace (36.7ms) -Rendered rescues/_request_and_response (0.4ms) -Rendering rescues/layout (internal_server_error) - SQL (0.4ms)  SELECT name - FROM sqlite_master - WHERE type = 'table' AND NOT name = 'sqlite_sequence' - - SQL (0.3ms) SELECT version FROM schema_migrations - SQL (188.4ms) DROP TABLE "categories" - SQL (236.1ms) DELETE FROM schema_migrations WHERE version = '20101006095323' - SQL (0.2ms) select sqlite_version(*) - SQL (0.2ms)  SELECT name - FROM sqlite_master - WHERE type = 'table' AND NOT name = 'sqlite_sequence' - - SQL (0.1ms) SELECT version FROM schema_migrations - SQL (0.1ms)  SELECT name - FROM sqlite_master - WHERE type = 'table' AND NOT name = 'sqlite_sequence' - - SQL (0.0ms) PRAGMA index_list("photos") - SQL (0.5ms)  SELECT name - FROM sqlite_master - WHERE type = 'table' AND NOT name = 'sqlite_sequence' - - SQL (0.1ms) SELECT version FROM schema_migrations - SQL (15.1ms) DROP TABLE "photos" - SQL (1.3ms) DELETE FROM schema_migrations WHERE version = '20101006095457' - SQL (0.2ms) select sqlite_version(*) - SQL (0.2ms)  SELECT name - FROM sqlite_master - WHERE type = 'table' AND NOT name = 'sqlite_sequence' - - SQL (0.1ms) SELECT version FROM schema_migrations - SQL (0.1ms)  SELECT name - FROM sqlite_master - WHERE type = 'table' AND NOT name = 'sqlite_sequence' - - SQL (0.4ms)  SELECT name - FROM sqlite_master - WHERE type = 'table' AND NOT name = 'sqlite_sequence' - - SQL (0.1ms) SELECT version FROM schema_migrations -Migrating to CreateCategories (20101006095323) - SQL (0.1ms) select sqlite_version(*) - SQL (1.1ms) CREATE TABLE "categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "description" text, "created_at" datetime, "updated_at" datetime)  - SQL (0.1ms) INSERT INTO schema_migrations (version) VALUES ('20101006095323') -Migrating to CreatePhotos (20101006095457) - SQL (0.3ms) CREATE TABLE "photos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "category_id" integer, "flickr_url" varchar(255), "photo_file_name" varchar(255), "photo_content_type" varchar(255), "photo_file_size" integer, "photo_updated_at" datetime, "created_at" datetime, "updated_at" datetime)  - SQL (0.1ms) INSERT INTO schema_migrations (version) VALUES ('20101006095457') - SQL (0.5ms)  SELECT name - FROM sqlite_master - WHERE type = 'table' AND NOT name = 'sqlite_sequence' - - SQL (0.2ms) SELECT version FROM schema_migrations - SQL (0.2ms)  SELECT name - FROM sqlite_master - WHERE type = 'table' AND NOT name = 'sqlite_sequence' - - SQL (0.0ms) PRAGMA index_list("categories") - SQL (0.0ms) PRAGMA index_list("photos") - - -Processing PhotosController#new (for 127.0.0.1 at 2010-10-07 13:27:43) [GET] -Rendering photos/new -Completed in 70ms (View: 52, DB: 0) | 200 OK [http://localhost/photos/new] - - -Processing PhotosController#create (for 127.0.0.1 at 2010-10-07 13:27:59) [POST] - Parameters: {"photo"=>{"photo"=>#}, "commit"=>"Upload", "authenticity_token"=>"MRMA5jN8F+L8Qu/qxudBGU2lL/82P68aMbmoNbKb5zw="} -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101007-62042-m6g5oe-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101007-62042-m6g5oe-0.jpg[0]' -resize "1024x1024>" '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101007-62042-m6g5oe-020101007-62042-kbfrrw-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101007-62042-m6g5oe-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101007-62042-m6g5oe-0.jpg[0]' -resize "x140" -crop "140x140+40+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101007-62042-m6g5oe-020101007-62042-1t5w9jm-0' 2>/dev/null - Photo Create (0.6ms) INSERT INTO "photos" ("photo_file_size", "created_at", "flickr_url", "photo_file_name", "updated_at", "photo_content_type", "category_id", "photo_updated_at") VALUES(1120695, '2010-10-07 17:28:02', NULL, 'Buttercup.jpg', '2010-10-07 17:28:02', 'image/jpeg', NULL, '2010-10-07 17:27:59') -[paperclip] Saving attachments. -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/1/original/Buttercup.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/1/large/Buttercup.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/1/thumb/Buttercup.jpg -Redirected to http://localhost:3000/photos/1 -Completed in 3045ms (DB: 1) | 302 Found [http://localhost/photos] - - -Processing PhotosController#show (for 127.0.0.1 at 2010-10-07 13:28:02) [GET] - Parameters: {"id"=>"1"} - Photo Load (0.3ms) SELECT * FROM "photos" WHERE ("photos"."id" = 1)  -Rendering photos/show - -ActionView::TemplateError (undefined method `public_filename' for #) on line #1 of app/views/photos/show.html.erb: -1: <%= link_to image_tag(@photo.public_filename(:thumb)), @photo.public_filename %> - - app/views/photos/show.html.erb:1 - -Rendered rescues/_trace (123.2ms) -Rendered rescues/_request_and_response (1.5ms) -Rendering rescues/layout (internal_server_error) - - -Processing PhotosController#show (for 127.0.0.1 at 2010-10-07 13:30:51) [GET] - Parameters: {"id"=>"1"} - Photo Load (0.2ms) SELECT * FROM "photos" WHERE ("photos"."id" = 1)  -Rendering photos/show -Completed in 10ms (View: 6, DB: 0) | 200 OK [http://localhost/photos/1] - - -Processing PhotosController#new (for 127.0.0.1 at 2010-10-07 13:31:03) [GET] -Rendering photos/new -Completed in 10ms (View: 4, DB: 0) | 200 OK [http://localhost/photos/new] - - -Processing PhotosController#create (for 127.0.0.1 at 2010-10-07 13:31:16) [POST] - Parameters: {"photo"=>{"photo"=>#}, "commit"=>"Upload", "authenticity_token"=>"MRMA5jN8F+L8Qu/qxudBGU2lL/82P68aMbmoNbKb5zw="} -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101007-62042-1s5yovn-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101007-62042-1s5yovn-0.jpg[0]' -resize "1024x1024>" '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101007-62042-1s5yovn-020101007-62042-rw85nl-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101007-62042-1s5yovn-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101007-62042-1s5yovn-0.jpg[0]' -resize "x140" -crop "140x140+37+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101007-62042-1s5yovn-020101007-62042-1x0zhc-0' 2>/dev/null - Photo Create (0.4ms) INSERT INTO "photos" ("photo_file_size", "created_at", "flickr_url", "photo_file_name", "updated_at", "photo_content_type", "category_id", "photo_updated_at") VALUES(1065859, '2010-10-07 17:31:17', NULL, 'Dragonfly.jpg', '2010-10-07 17:31:17', 'image/jpeg', NULL, '2010-10-07 17:31:16') -[paperclip] Saving attachments. -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/2/original/Dragonfly.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/2/large/Dragonfly.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/2/thumb/Dragonfly.jpg -Redirected to http://localhost:3000/photos/2 -Completed in 859ms (DB: 0) | 302 Found [http://localhost/photos] - - -Processing PhotosController#show (for 127.0.0.1 at 2010-10-07 13:31:17) [GET] - Parameters: {"id"=>"2"} - Photo Load (0.2ms) SELECT * FROM "photos" WHERE ("photos"."id" = 2)  -Rendering photos/show -Completed in 8ms (View: 3, DB: 0) | 200 OK [http://localhost/photos/2] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-07 13:32:42) [GET] - -ActionController::UnknownAction (No action responded to index. Actions: create, new, and show): - - -Rendering rescues/layout (not_found) - - -Processing PhotosController#new (for 127.0.0.1 at 2010-10-07 13:48:04) [GET] -Rendering photos/new -Completed in 13ms (View: 6, DB: 0) | 200 OK [http://localhost/photos/new] - - -Processing PhotosController#create (for 127.0.0.1 at 2010-10-07 13:48:14) [POST] - Parameters: {"photo"=>{"photo"=>#}, "commit"=>"Upload", "authenticity_token"=>"MRMA5jN8F+L8Qu/qxudBGU2lL/82P68aMbmoNbKb5zw="} -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101007-62042-1iixv17-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101007-62042-1iixv17-0.jpg[0]' -resize "1024x1024>" '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101007-62042-1iixv17-020101007-62042-ryaqji-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101007-62042-1iixv17-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101007-62042-1iixv17-0.jpg[0]' -resize "x40" -crop "40x40+11+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101007-62042-1iixv17-020101007-62042-1qoirtk-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101007-62042-1iixv17-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101007-62042-1iixv17-0.jpg[0]' -resize "x140" -crop "140x140+40+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101007-62042-1iixv17-020101007-62042-1nyhthw-0' 2>/dev/null - Photo Create (0.5ms) INSERT INTO "photos" ("photo_file_size", "created_at", "flickr_url", "photo_file_name", "updated_at", "photo_content_type", "category_id", "photo_updated_at") VALUES(1120695, '2010-10-07 17:48:16', NULL, 'Buttercup.jpg', '2010-10-07 17:48:16', 'image/jpeg', NULL, '2010-10-07 17:48:14') -[paperclip] Saving attachments. -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/3/original/Buttercup.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/3/admin_thumb/Buttercup.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/3/large/Buttercup.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/3/thumb/Buttercup.jpg -Redirected to http://localhost:3000/photos/3 -Completed in 1728ms (DB: 0) | 302 Found [http://localhost/photos] - - -Processing PhotosController#show (for 127.0.0.1 at 2010-10-07 13:48:16) [GET] - Parameters: {"id"=>"3"} - Photo Load (0.2ms) SELECT * FROM "photos" WHERE ("photos"."id" = 3)  -Rendering photos/show -Completed in 11ms (View: 4, DB: 0) | 200 OK [http://localhost/photos/3] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-07 13:48:35) [GET] - -ActionController::UnknownAction (No action responded to index. Actions: create, new, and show): - - -Rendering rescues/layout (not_found) - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-07 13:50:32) [GET] - Photo Load (0.5ms) SELECT * FROM "photos"  -Rendering photos/index -Completed in 10ms (View: 5, DB: 1) | 200 OK [http://localhost/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-07 13:51:01) [GET] - Photo Load (0.4ms) SELECT * FROM "photos"  -Rendering photos/index -Completed in 74ms (View: 69, DB: 0) | 200 OK [http://localhost/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-07 13:51:21) [GET] - Photo Load (0.4ms) SELECT * FROM "photos"  -Rendering photos/index -Completed in 10ms (View: 6, DB: 0) | 200 OK [http://localhost/photos] - - -Processing PhotosController#new (for 127.0.0.1 at 2010-10-07 13:51:31) [GET] -Rendering photos/new -Completed in 10ms (View: 4, DB: 0) | 200 OK [http://localhost/photos/new] - - -Processing PhotosController#create (for 127.0.0.1 at 2010-10-07 13:51:39) [POST] - Parameters: {"photo"=>{"photo"=>#}, "commit"=>"Upload", "authenticity_token"=>"MRMA5jN8F+L8Qu/qxudBGU2lL/82P68aMbmoNbKb5zw="} -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101007-62042-13eob09-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101007-62042-13eob09-0.jpg[0]' -resize "1024x1024>" '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101007-62042-13eob09-020101007-62042-1elgovt-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101007-62042-13eob09-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101007-62042-13eob09-0.jpg[0]' -resize "x40" -crop "40x40+7+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101007-62042-13eob09-020101007-62042-ncq2ae-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101007-62042-13eob09-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101007-62042-13eob09-0.jpg[0]' -resize "x140" -crop "140x140+27+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101007-62042-13eob09-020101007-62042-xi2w1l-0' 2>/dev/null - Photo Create (0.5ms) INSERT INTO "photos" ("photo_file_size", "created_at", "flickr_url", "photo_file_name", "updated_at", "photo_content_type", "category_id", "photo_updated_at") VALUES(1877137, '2010-10-07 17:51:41', NULL, 'Bell Tower.jpg', '2010-10-07 17:51:41', 'image/jpeg', NULL, '2010-10-07 17:51:39') -[paperclip] Saving attachments. -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/4/original/Bell Tower.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/4/admin_thumb/Bell Tower.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/4/large/Bell Tower.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/4/thumb/Bell Tower.jpg -Redirected to http://localhost:3000/photos/4 -Completed in 1684ms (DB: 1) | 302 Found [http://localhost/photos] - - -Processing PhotosController#show (for 127.0.0.1 at 2010-10-07 13:51:41) [GET] - Parameters: {"id"=>"4"} - Photo Load (0.2ms) SELECT * FROM "photos" WHERE ("photos"."id" = 4)  -Rendering photos/show -Completed in 8ms (View: 3, DB: 0) | 200 OK [http://localhost/photos/4] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-07 13:51:43) [GET] - Photo Load (0.7ms) SELECT * FROM "photos"  -Rendering photos/index -Completed in 11ms (View: 5, DB: 1) | 200 OK [http://localhost/photos] - - -Processing PhotosController#new (for 127.0.0.1 at 2010-10-07 13:51:47) [GET] -Rendering photos/new -Completed in 10ms (View: 4, DB: 0) | 200 OK [http://localhost/photos/new] - - -Processing PhotosController#create (for 127.0.0.1 at 2010-10-07 13:51:51) [POST] - Parameters: {"photo"=>{"photo"=>#}, "commit"=>"Upload", "authenticity_token"=>"MRMA5jN8F+L8Qu/qxudBGU2lL/82P68aMbmoNbKb5zw="} -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101007-62042-6vyt0j-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101007-62042-6vyt0j-0.jpg[0]' -resize "1024x1024>" '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101007-62042-6vyt0j-020101007-62042-5f7qoh-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101007-62042-6vyt0j-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101007-62042-6vyt0j-0.jpg[0]' -resize "40x" -crop "40x40+0+10" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101007-62042-6vyt0j-020101007-62042-clrav5-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101007-62042-6vyt0j-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101007-62042-6vyt0j-0.jpg[0]' -resize "140x" -crop "140x140+0+35" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101007-62042-6vyt0j-020101007-62042-1k26qeo-0' 2>/dev/null - Photo Create (0.4ms) INSERT INTO "photos" ("photo_file_size", "created_at", "flickr_url", "photo_file_name", "updated_at", "photo_content_type", "category_id", "photo_updated_at") VALUES(3275560, '2010-10-07 17:51:53', NULL, 'Church of Ireland.jpg', '2010-10-07 17:51:53', 'image/jpeg', NULL, '2010-10-07 17:51:51') -[paperclip] Saving attachments. -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/5/original/Church of Ireland.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/5/admin_thumb/Church of Ireland.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/5/large/Church of Ireland.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/5/thumb/Church of Ireland.jpg -Redirected to http://localhost:3000/photos/5 -Completed in 2048ms (DB: 0) | 302 Found [http://localhost/photos] - - -Processing PhotosController#show (for 127.0.0.1 at 2010-10-07 13:51:53) [GET] - Parameters: {"id"=>"5"} - Photo Load (0.2ms) SELECT * FROM "photos" WHERE ("photos"."id" = 5)  -Rendering photos/show -Completed in 8ms (View: 3, DB: 0) | 200 OK [http://localhost/photos/5] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-07 13:51:55) [GET] - Photo Load (0.6ms) SELECT * FROM "photos"  -Rendering photos/index -Completed in 11ms (View: 6, DB: 1) | 200 OK [http://localhost/photos] - - -Processing PhotosController#new (for 127.0.0.1 at 2010-10-07 13:51:58) [GET] -Rendering photos/new -Completed in 10ms (View: 4, DB: 0) | 200 OK [http://localhost/photos/new] - - -Processing PhotosController#create (for 127.0.0.1 at 2010-10-07 13:52:05) [POST] - Parameters: {"photo"=>{"photo"=>#}, "commit"=>"Upload", "authenticity_token"=>"MRMA5jN8F+L8Qu/qxudBGU2lL/82P68aMbmoNbKb5zw="} -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101007-62042-cxh6zd-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101007-62042-cxh6zd-0.jpg[0]' -resize "1024x1024>" '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101007-62042-cxh6zd-020101007-62042-11w3imk-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101007-62042-cxh6zd-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101007-62042-cxh6zd-0.jpg[0]' -resize "x40" -crop "40x40+22+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101007-62042-cxh6zd-020101007-62042-xachv2-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101007-62042-cxh6zd-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101007-62042-cxh6zd-0.jpg[0]' -resize "x140" -crop "140x140+78+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101007-62042-cxh6zd-020101007-62042-mu6nkg-0' 2>/dev/null - Photo Create (0.4ms) INSERT INTO "photos" ("photo_file_size", "created_at", "flickr_url", "photo_file_name", "updated_at", "photo_content_type", "category_id", "photo_updated_at") VALUES(5675107, '2010-10-07 17:52:10', NULL, 'Emerald Panarama.jpg', '2010-10-07 17:52:10', 'image/jpeg', NULL, '2010-10-07 17:52:05') -[paperclip] Saving attachments. -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/6/original/Emerald Panarama.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/6/admin_thumb/Emerald Panarama.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/6/large/Emerald Panarama.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/6/thumb/Emerald Panarama.jpg -Redirected to http://localhost:3000/photos/6 -Completed in 4546ms (DB: 0) | 302 Found [http://localhost/photos] - - -Processing PhotosController#show (for 127.0.0.1 at 2010-10-07 13:52:10) [GET] - Parameters: {"id"=>"6"} - Photo Load (0.2ms) SELECT * FROM "photos" WHERE ("photos"."id" = 6)  -Rendering photos/show -Completed in 8ms (View: 3, DB: 0) | 200 OK [http://localhost/photos/6] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-07 13:52:19) [GET] - Photo Load (0.9ms) SELECT * FROM "photos"  -Rendering photos/index -Completed in 13ms (View: 7, DB: 1) | 200 OK [http://localhost/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-07 13:53:38) [GET] - Photo Load (0.6ms) SELECT * FROM "photos"  -Rendering photos/index -Completed in 14ms (View: 9, DB: 1) | 200 OK [http://localhost/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-07 13:57:27) [GET] - Photo Load (0.6ms) SELECT * FROM "photos"  -Rendering photos/index -Completed in 13ms (View: 9, DB: 1) | 200 OK [http://localhost/photos] - - -Processing PhotosController#show (for 127.0.0.1 at 2010-10-07 13:57:28) [GET] - Parameters: {"id"=>"5"} - Photo Load (0.2ms) SELECT * FROM "photos" WHERE ("photos"."id" = 5)  -Rendering photos/show -Completed in 8ms (View: 3, DB: 0) | 200 OK [http://localhost/photos/5] - - -Processing PhotosController#show (for 127.0.0.1 at 2010-10-07 13:57:29) [GET] - Parameters: {"id"=>"6"} - Photo Load (0.2ms) SELECT * FROM "photos" WHERE ("photos"."id" = 6)  -Rendering photos/show -Completed in 8ms (View: 3, DB: 0) | 200 OK [http://localhost/photos/6] - - -Processing PhotosController#show (for 127.0.0.1 at 2010-10-07 13:57:31) [GET] - Parameters: {"id"=>"4"} - Photo Load (0.2ms) SELECT * FROM "photos" WHERE ("photos"."id" = 4)  -Rendering photos/show -Completed in 7ms (View: 3, DB: 0) | 200 OK [http://localhost/photos/4] - - -Processing PhotosController#show (for 127.0.0.1 at 2010-10-07 13:57:33) [GET] - Parameters: {"id"=>"3"} - Photo Load (0.2ms) SELECT * FROM "photos" WHERE ("photos"."id" = 3)  -Rendering photos/show -Completed in 7ms (View: 3, DB: 0) | 200 OK [http://localhost/photos/3] - - -Processing PhotosController#show (for 127.0.0.1 at 2010-10-07 13:57:36) [GET] - Parameters: {"id"=>"4"} - Photo Load (0.2ms) SELECT * FROM "photos" WHERE ("photos"."id" = 4)  -Rendering photos/show -Completed in 7ms (View: 3, DB: 0) | 200 OK [http://localhost/photos/4] - - -Processing PhotosController#show (for 127.0.0.1 at 2010-10-07 13:57:38) [GET] - Parameters: {"id"=>"5"} - Photo Load (0.2ms) SELECT * FROM "photos" WHERE ("photos"."id" = 5)  -Rendering photos/show -Completed in 8ms (View: 3, DB: 0) | 200 OK [http://localhost/photos/5] - - -Processing PhotosController#show (for 127.0.0.1 at 2010-10-07 13:57:43) [GET] - Parameters: {"id"=>"3"} - Photo Load (0.2ms) SELECT * FROM "photos" WHERE ("photos"."id" = 3)  -Rendering photos/show -Completed in 8ms (View: 3, DB: 0) | 200 OK [http://localhost/photos/3] - - -Processing PhotosController#show (for 127.0.0.1 at 2010-10-07 13:57:46) [GET] - Parameters: {"id"=>"6"} - Photo Load (0.2ms) SELECT * FROM "photos" WHERE ("photos"."id" = 6)  -Rendering photos/show -Completed in 7ms (View: 3, DB: 0) | 200 OK [http://localhost/photos/6] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-07 13:58:57) [GET] - Photo Load (0.6ms) SELECT * FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 61ms (View: 9, DB: 1) | 200 OK [http://localhost/photos] - - -Processing PhotosController#show (for 127.0.0.1 at 2010-10-07 13:58:59) [GET] - Parameters: {"id"=>"4"} - Photo Load (0.2ms) SELECT * FROM "photos" WHERE ("photos"."id" = 4)  -Rendering template within layouts/photos -Rendering photos/show -Completed in 8ms (View: 3, DB: 0) | 200 OK [http://localhost/photos/4] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-07 14:03:03) [GET] - Photo Load (0.6ms) SELECT * FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 13ms (View: 9, DB: 1) | 200 OK [http://localhost/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-07 14:05:18) [GET] - Photo Load (0.6ms) SELECT * FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 13ms (View: 9, DB: 1) | 200 OK [http://localhost/photos] - - -Processing ApplicationController#index (for 127.0.0.1 at 2010-10-07 14:05:18) [GET] - -ActionController::RoutingError (No route matches "/images/sg_grid_sub.png" with {:method=>:get}): - - -Rendering rescues/layout (not_found) - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-07 14:05:59) [GET] - Photo Load (0.6ms) SELECT * FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 64ms (View: 60, DB: 1) | 200 OK [http://localhost/photos] - - -Processing ApplicationController#index (for 127.0.0.1 at 2010-10-07 14:05:59) [GET] - -ActionController::RoutingError (No route matches "/images/sg_grid_sub.png" with {:method=>:get}): - - -Rendering rescues/layout (not_found) - - -Processing PhotosController#show (for 127.0.0.1 at 2010-10-07 14:06:37) [GET] - Parameters: {"id"=>"6"} - Photo Load (0.2ms) SELECT * FROM "photos" WHERE ("photos"."id" = 6)  -Rendering template within layouts/photos -Rendering photos/show -Completed in 11ms (View: 6, DB: 0) | 200 OK [http://localhost/photos/6] - - -Processing ApplicationController#index (for 127.0.0.1 at 2010-10-07 14:06:37) [GET] - -ActionController::RoutingError (No route matches "/images/sg_grid_sub.png" with {:method=>:get}): - - -Rendering rescues/layout (not_found) - - -Processing PhotosController#show (for 127.0.0.1 at 2010-10-07 14:06:39) [GET] - Parameters: {"id"=>"5"} - Photo Load (0.2ms) SELECT * FROM "photos" WHERE ("photos"."id" = 5)  -Rendering template within layouts/photos -Rendering photos/show -Completed in 8ms (View: 3, DB: 0) | 200 OK [http://localhost/photos/5] - - -Processing ApplicationController#index (for 127.0.0.1 at 2010-10-07 14:06:39) [GET] - -ActionController::RoutingError (No route matches "/images/sg_grid_sub.png" with {:method=>:get}): - - -Rendering rescues/layout (not_found) - - -Processing PhotosController#show (for 127.0.0.1 at 2010-10-07 14:06:40) [GET] - Parameters: {"id"=>"3"} - Photo Load (0.2ms) SELECT * FROM "photos" WHERE ("photos"."id" = 3)  -Rendering template within layouts/photos -Rendering photos/show -Completed in 7ms (View: 3, DB: 0) | 200 OK [http://localhost/photos/3] - - -Processing ApplicationController#index (for 127.0.0.1 at 2010-10-07 14:06:40) [GET] - -ActionController::RoutingError (No route matches "/images/sg_grid_sub.png" with {:method=>:get}): - - -Rendering rescues/layout (not_found) - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-07 14:07:04) [GET] - Photo Load (0.6ms) SELECT * FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 14ms (View: 9, DB: 1) | 200 OK [http://localhost/photos] - - -Processing ApplicationController#index (for 127.0.0.1 at 2010-10-07 14:07:04) [GET] - -ActionController::RoutingError (No route matches "/images/sg_grid_sub.png" with {:method=>:get}): - - -Rendering rescues/layout (not_found) - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-07 14:07:49) [GET] - Photo Load (0.6ms) SELECT * FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 10ms (View: 6, DB: 1) | 200 OK [http://localhost/photos] - - -Processing ApplicationController#index (for 127.0.0.1 at 2010-10-07 14:07:49) [GET] - -ActionController::RoutingError (No route matches "/images/sg_grid_sub.png" with {:method=>:get}): - - -Rendering rescues/layout (not_found) - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-07 14:08:23) [GET] - Photo Load (0.6ms) SELECT * FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 10ms (View: 6, DB: 1) | 200 OK [http://localhost/photos] - - -Processing PhotosController#new (for 127.0.0.1 at 2010-10-07 14:08:48) [GET] -Rendering template within layouts/photos -Rendering photos/new -Completed in 56ms (View: 4, DB: 0) | 200 OK [http://localhost/photos/new] - - -Processing PhotosController#create (for 127.0.0.1 at 2010-10-07 14:08:59) [POST] - Parameters: {"photo"=>{"photo"=>#}, "commit"=>"Upload", "authenticity_token"=>"MRMA5jN8F+L8Qu/qxudBGU2lL/82P68aMbmoNbKb5zw="} -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101007-62042-1eh5gg7-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101007-62042-1eh5gg7-0.jpg[0]' -resize "1024x1024>" '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101007-62042-1eh5gg7-020101007-62042-vj5zs2-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101007-62042-1eh5gg7-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101007-62042-1eh5gg7-0.jpg[0]' -resize "x40" -crop "40x40+19+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101007-62042-1eh5gg7-020101007-62042-1q9khb0-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101007-62042-1eh5gg7-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101007-62042-1eh5gg7-0.jpg[0]' -resize "x140" -crop "140x140+67+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101007-62042-1eh5gg7-020101007-62042-aq30z4-0' 2>/dev/null - Photo Create (1.0ms) INSERT INTO "photos" ("photo_file_size", "created_at", "flickr_url", "photo_file_name", "updated_at", "photo_content_type", "category_id", "photo_updated_at") VALUES(1082099, '2010-10-07 18:09:00', NULL, 'Croagh Patrick Sunset.jpg', '2010-10-07 18:09:00', 'image/jpeg', NULL, '2010-10-07 18:08:59') -[paperclip] Saving attachments. -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/7/original/Croagh Patrick Sunset.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/7/admin_thumb/Croagh Patrick Sunset.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/7/large/Croagh Patrick Sunset.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/7/thumb/Croagh Patrick Sunset.jpg -Redirected to http://localhost:3000/photos/7 -Completed in 1440ms (DB: 1) | 302 Found [http://localhost/photos] - - -Processing PhotosController#show (for 127.0.0.1 at 2010-10-07 14:09:00) [GET] - Parameters: {"id"=>"7"} - Photo Load (0.2ms) SELECT * FROM "photos" WHERE ("photos"."id" = 7)  -Rendering template within layouts/photos -Rendering photos/show -Completed in 9ms (View: 3, DB: 0) | 200 OK [http://localhost/photos/7] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-07 14:09:02) [GET] - Photo Load (0.7ms) SELECT * FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 76ms (View: 6, DB: 1) | 200 OK [http://localhost/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-07 14:10:47) [GET] - Photo Load (0.7ms) SELECT * FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 15ms (View: 10, DB: 1) | 200 OK [http://localhost/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-07 14:10:58) [GET] - Photo Load (0.7ms) SELECT * FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 15ms (View: 11, DB: 1) | 200 OK [http://localhost/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-07 14:11:11) [GET] - Photo Load (0.7ms) SELECT * FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 56ms (View: 7, DB: 1) | 200 OK [http://localhost/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-07 14:11:27) [GET] - Photo Load (0.9ms) SELECT * FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 13ms (View: 8, DB: 1) | 200 OK [http://localhost/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-07 14:12:02) [GET] - Photo Load (0.7ms) SELECT * FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 12ms (View: 8, DB: 1) | 200 OK [http://localhost/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-07 14:12:18) [GET] - Photo Load (0.6ms) SELECT * FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 11ms (View: 7, DB: 1) | 200 OK [http://localhost/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-07 14:12:27) [GET] - Photo Load (0.6ms) SELECT * FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 11ms (View: 7, DB: 1) | 200 OK [http://localhost/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-07 14:13:08) [GET] - Photo Load (0.6ms) SELECT * FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 12ms (View: 8, DB: 1) | 200 OK [http://localhost/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-07 14:13:20) [GET] - Photo Load (0.6ms) SELECT * FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 11ms (View: 7, DB: 1) | 200 OK [http://localhost/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-07 14:13:34) [GET] - Photo Load (0.8ms) SELECT * FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 11ms (View: 7, DB: 1) | 200 OK [http://localhost/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-07 14:15:03) [GET] - Photo Load (0.6ms) SELECT * FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 11ms (View: 7, DB: 1) | 200 OK [http://localhost/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-07 14:15:31) [GET] - Photo Load (0.8ms) SELECT * FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 65ms (View: 60, DB: 1) | 200 OK [http://localhost/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-07 14:15:54) [GET] - Photo Load (1.0ms) SELECT * FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 14ms (View: 9, DB: 1) | 200 OK [http://localhost/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-07 14:16:10) [GET] - Photo Load (0.6ms) SELECT * FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 12ms (View: 8, DB: 1) | 200 OK [http://localhost/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-07 14:20:15) [GET] - Photo Load (0.7ms) SELECT * FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 16ms (View: 11, DB: 1) | 200 OK [http://localhost/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-07 14:20:38) [GET] - Photo Load (0.7ms) SELECT * FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 12ms (View: 7, DB: 1) | 200 OK [http://localhost/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-07 14:20:49) [GET] - Photo Load (0.6ms) SELECT * FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 12ms (View: 7, DB: 1) | 200 OK [http://localhost/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-07 14:21:20) [GET] - Photo Load (0.7ms) SELECT * FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 12ms (View: 7, DB: 1) | 200 OK [http://localhost/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-07 14:21:50) [GET] - Photo Load (0.6ms) SELECT * FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 12ms (View: 7, DB: 1) | 200 OK [http://localhost/photos] - - -Processing PhotosController#new (for 127.0.0.1 at 2010-10-07 14:22:00) [GET] -Rendering template within layouts/photos -Rendering photos/new -Completed in 11ms (View: 5, DB: 0) | 200 OK [http://localhost/photos/new] - - -Processing PhotosController#create (for 127.0.0.1 at 2010-10-07 14:22:10) [POST] - Parameters: {"photo"=>{"photo"=>#}, "commit"=>"Upload", "authenticity_token"=>"MRMA5jN8F+L8Qu/qxudBGU2lL/82P68aMbmoNbKb5zw="} -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101007-62042-13pe829-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101007-62042-13pe829-0.jpg[0]' -resize "1024x1024>" '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101007-62042-13pe829-020101007-62042-1w0gx1m-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101007-62042-13pe829-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101007-62042-13pe829-0.jpg[0]' -resize "x40" -crop "40x40+13+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101007-62042-13pe829-020101007-62042-mh3asd-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101007-62042-13pe829-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101007-62042-13pe829-0.jpg[0]' -resize "x140" -crop "140x140+45+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101007-62042-13pe829-020101007-62042-1grnzf7-0' 2>/dev/null - Photo Create (0.5ms) INSERT INTO "photos" ("photo_file_size", "created_at", "flickr_url", "photo_file_name", "updated_at", "photo_content_type", "category_id", "photo_updated_at") VALUES(1362163, '2010-10-07 18:22:11', NULL, 'Cross.jpg', '2010-10-07 18:22:11', 'image/jpeg', NULL, '2010-10-07 18:22:10') -[paperclip] Saving attachments. -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/8/original/Cross.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/8/admin_thumb/Cross.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/8/large/Cross.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/8/thumb/Cross.jpg -Redirected to http://localhost:3000/photos/8 -Completed in 1572ms (DB: 0) | 302 Found [http://localhost/photos] - - -Processing PhotosController#show (for 127.0.0.1 at 2010-10-07 14:22:11) [GET] - Parameters: {"id"=>"8"} - Photo Load (0.2ms) SELECT * FROM "photos" WHERE ("photos"."id" = 8)  -Rendering template within layouts/photos -Rendering photos/show -Completed in 9ms (View: 3, DB: 0) | 200 OK [http://localhost/photos/8] - - -Processing PhotosController#new (for 127.0.0.1 at 2010-10-07 14:22:14) [GET] -Rendering template within layouts/photos -Rendering photos/new -Completed in 12ms (View: 6, DB: 0) | 200 OK [http://localhost/photos/new] - - -Processing PhotosController#create (for 127.0.0.1 at 2010-10-07 14:22:22) [POST] - Parameters: {"photo"=>{"photo"=>#}, "commit"=>"Upload", "authenticity_token"=>"MRMA5jN8F+L8Qu/qxudBGU2lL/82P68aMbmoNbKb5zw="} -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101007-62042-kzpggv-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101007-62042-kzpggv-0.jpg[0]' -resize "1024x1024>" '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101007-62042-kzpggv-020101007-62042-b9ansm-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101007-62042-kzpggv-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101007-62042-kzpggv-0.jpg[0]' -resize "40x" -crop "40x40+0+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101007-62042-kzpggv-020101007-62042-1sqwdtb-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101007-62042-kzpggv-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101007-62042-kzpggv-0.jpg[0]' -resize "140x" -crop "140x140+0+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101007-62042-kzpggv-020101007-62042-191ndm6-0' 2>/dev/null - Photo Create (0.4ms) INSERT INTO "photos" ("photo_file_size", "created_at", "flickr_url", "photo_file_name", "updated_at", "photo_content_type", "category_id", "photo_updated_at") VALUES(2822720, '2010-10-07 18:22:24', NULL, 'Light and Shade.jpg', '2010-10-07 18:22:24', 'image/jpeg', NULL, '2010-10-07 18:22:22') -[paperclip] Saving attachments. -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/9/original/Light and Shade.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/9/admin_thumb/Light and Shade.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/9/large/Light and Shade.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/9/thumb/Light and Shade.jpg -Redirected to http://localhost:3000/photos/9 -Completed in 1591ms (DB: 0) | 302 Found [http://localhost/photos] - - -Processing PhotosController#show (for 127.0.0.1 at 2010-10-07 14:22:24) [GET] - Parameters: {"id"=>"9"} - Photo Load (0.2ms) SELECT * FROM "photos" WHERE ("photos"."id" = 9)  -Rendering template within layouts/photos -Rendering photos/show -Completed in 8ms (View: 3, DB: 0) | 200 OK [http://localhost/photos/9] - - -Processing PhotosController#new (for 127.0.0.1 at 2010-10-07 14:22:25) [GET] -Rendering template within layouts/photos -Rendering photos/new -Completed in 12ms (View: 6, DB: 0) | 200 OK [http://localhost/photos/new] - - -Processing PhotosController#create (for 127.0.0.1 at 2010-10-07 14:22:29) [POST] - Parameters: {"photo"=>{"photo"=>#}, "commit"=>"Upload", "authenticity_token"=>"MRMA5jN8F+L8Qu/qxudBGU2lL/82P68aMbmoNbKb5zw="} -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101007-62042-vp2cgg-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101007-62042-vp2cgg-0.jpg[0]' -resize "1024x1024>" '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101007-62042-vp2cgg-020101007-62042-fh2rae-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101007-62042-vp2cgg-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101007-62042-vp2cgg-0.jpg[0]' -resize "40x" -crop "40x40+0+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101007-62042-vp2cgg-020101007-62042-kztyot-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101007-62042-vp2cgg-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101007-62042-vp2cgg-0.jpg[0]' -resize "140x" -crop "140x140+0+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101007-62042-vp2cgg-020101007-62042-16qki8d-0' 2>/dev/null - Photo Create (0.5ms) INSERT INTO "photos" ("photo_file_size", "created_at", "flickr_url", "photo_file_name", "updated_at", "photo_content_type", "category_id", "photo_updated_at") VALUES(1574250, '2010-10-07 18:22:30', NULL, 'Moody Me.jpg', '2010-10-07 18:22:30', 'image/jpeg', NULL, '2010-10-07 18:22:29') -[paperclip] Saving attachments. -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/10/original/Moody Me.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/10/admin_thumb/Moody Me.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/10/large/Moody Me.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/10/thumb/Moody Me.jpg -Redirected to http://localhost:3000/photos/10 -Completed in 1054ms (DB: 0) | 302 Found [http://localhost/photos] - - -Processing PhotosController#show (for 127.0.0.1 at 2010-10-07 14:22:30) [GET] - Parameters: {"id"=>"10"} - Photo Load (0.2ms) SELECT * FROM "photos" WHERE ("photos"."id" = 10)  -Rendering template within layouts/photos -Rendering photos/show -Completed in 10ms (View: 4, DB: 0) | 200 OK [http://localhost/photos/10] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-07 14:22:31) [GET] - Photo Load (1.0ms) SELECT * FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 79ms (View: 74, DB: 1) | 200 OK [http://localhost/photos] - - -Processing PhotosController#index (for 192.168.42.32 at 2010-10-07 14:59:54) [GET] - Photo Load (0.8ms) SELECT * FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 15ms (View: 10, DB: 1) | 200 OK [http://junpei/photos] - - -Processing ApplicationController#index (for 192.168.42.32 at 2010-10-07 14:59:54) [GET] - -ActionController::RoutingError (No route matches "/images/sg_grid_sub.png" with {:method=>:get}): - - -Rendering rescues/layout (not_found) - - -Processing PhotosController#index (for 192.168.42.32 at 2010-10-07 15:23:03) [GET] - Photo Load (0.8ms) SELECT * FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 15ms (View: 10, DB: 1) | 200 OK [http://junpei/photos] - - -Processing ApplicationController#index (for 192.168.42.32 at 2010-10-07 15:23:04) [GET] - -ActionController::RoutingError (No route matches "/images/sg_grid_sub.png" with {:method=>:get}): - - -Rendering rescues/layout (not_found) - - -Processing PhotosController#index (for 192.168.42.32 at 2010-10-07 15:38:46) [GET] - Photo Load (0.8ms) SELECT * FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 13ms (View: 9, DB: 1) | 200 OK [http://junpei/photos] - - -Processing ApplicationController#index (for 192.168.42.32 at 2010-10-07 15:38:46) [GET] - -ActionController::RoutingError (No route matches "/images/sg_grid_sub.png" with {:method=>:get}): - - -Rendering rescues/layout (not_found) - - -Processing PhotosController#index (for 192.168.42.102 at 2010-10-07 16:20:38) [GET] - Photo Load (0.8ms) SELECT * FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 45ms (View: 41, DB: 1) | 200 OK [http://junpei/photos] - - -Processing ApplicationController#index (for 192.168.42.102 at 2010-10-07 16:20:38) [GET] - -ActionController::RoutingError (No route matches "/images/sg_grid_sub.png" with {:method=>:get}): - - -Rendering rescues/layout (not_found) - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-07 16:32:52) [GET] - Photo Load (1.1ms) SELECT * FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 14ms (View: 9, DB: 1) | 200 OK [http://localhost/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-07 16:33:08) [GET] - Photo Load (0.7ms) SELECT * FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 14ms (View: 9, DB: 1) | 200 OK [http://localhost/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-07 16:33:20) [GET] - Photo Load (0.7ms) SELECT * FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 14ms (View: 9, DB: 1) | 200 OK [http://localhost/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-07 16:33:28) [GET] - Photo Load (0.7ms) SELECT * FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 60ms (View: 56, DB: 1) | 200 OK [http://localhost/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-07 16:34:00) [GET] - Photo Load (0.8ms) SELECT * FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 14ms (View: 9, DB: 1) | 200 OK [http://localhost/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-07 16:34:24) [GET] - Photo Load (0.8ms) SELECT * FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 13ms (View: 9, DB: 1) | 200 OK [http://localhost/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 03:24:53) [GET] - Photo Load (0.8ms) SELECT * FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 14ms (View: 9, DB: 1) | 200 OK [http://localhost/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 03:25:17) [GET] - Photo Load (0.7ms) SELECT * FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 14ms (View: 9, DB: 1) | 200 OK [http://localhost/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 03:25:33) [GET] - Photo Load (0.9ms) SELECT * FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 15ms (View: 9, DB: 1) | 200 OK [http://localhost/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 03:26:01) [GET] - Photo Load (0.9ms) SELECT * FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 15ms (View: 9, DB: 1) | 200 OK [http://localhost/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 03:26:09) [GET] - Photo Load (0.9ms) SELECT * FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 15ms (View: 10, DB: 1) | 200 OK [http://localhost/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 03:26:19) [GET] - Photo Load (0.8ms) SELECT * FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 14ms (View: 9, DB: 1) | 200 OK [http://localhost/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 03:27:03) [GET] - Photo Load (0.7ms) SELECT * FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 16ms (View: 12, DB: 1) | 200 OK [http://localhost/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 04:37:46) [GET] - Photo Load (0.8ms) SELECT * FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 47ms (View: 42, DB: 1) | 200 OK [http://localhost/photos] - - -Processing ApplicationController#index (for 127.0.0.1 at 2010-10-08 04:38:08) [GET] - -ActionController::RoutingError (No route matches "/photo/new" with {:method=>:get}): - - -Rendering rescues/layout (not_found) - - -Processing PhotosController#new (for 127.0.0.1 at 2010-10-08 04:38:11) [GET] -Rendering template within layouts/photos -Rendering photos/new -Completed in 58ms (View: 51, DB: 0) | 200 OK [http://localhost/photos/new] - - -Processing PhotosController#create (for 127.0.0.1 at 2010-10-08 04:38:27) [POST] - Parameters: {"photo"=>{"photo"=>#}, "commit"=>"Upload", "authenticity_token"=>"MRMA5jN8F+L8Qu/qxudBGU2lL/82P68aMbmoNbKb5zw="} -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-1msdntj-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-1msdntj-0.jpg[0]' -resize "1024x1024>" '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-1msdntj-020101008-62042-njn20n-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-1msdntj-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-1msdntj-0.jpg[0]' -resize "x40" -crop "40x40+20+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-1msdntj-020101008-62042-yv60l8-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-1msdntj-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-1msdntj-0.jpg[0]' -resize "x140" -crop "140x140+71+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-1msdntj-020101008-62042-1rsrk5z-0' 2>/dev/null - Photo Create (0.4ms) INSERT INTO "photos" ("photo_file_size", "created_at", "flickr_url", "photo_file_name", "updated_at", "photo_content_type", "category_id", "photo_updated_at") VALUES(1858172, '2010-10-08 08:38:29', NULL, 'Bubble #2.jpg', '2010-10-08 08:38:29', 'image/jpeg', NULL, '2010-10-08 08:38:27') -[paperclip] Saving attachments. -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/11/original/Bubble #2.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/11/admin_thumb/Bubble #2.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/11/large/Bubble #2.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/11/thumb/Bubble #2.jpg -Redirected to http://localhost:3000/photos/11 -Completed in 2446ms (DB: 0) | 302 Found [http://localhost/photos] - - -Processing PhotosController#show (for 127.0.0.1 at 2010-10-08 04:38:29) [GET] - Parameters: {"id"=>"11"} - Photo Load (0.2ms) SELECT * FROM "photos" WHERE ("photos"."id" = 11)  -Rendering template within layouts/photos -Rendering photos/show -Completed in 14ms (View: 5, DB: 0) | 200 OK [http://localhost/photos/11] - - -Processing ApplicationController#index (for 127.0.0.1 at 2010-10-08 04:38:29) [GET] - -ActionController::RoutingError (No route matches "/system/photos/11/thumb/Bubble%20" with {:method=>:get}): - - -Rendering rescues/layout (not_found) - - -Processing ApplicationController#index (for 127.0.0.1 at 2010-10-08 04:38:32) [GET] - -ActionController::RoutingError (No route matches "/system/photos/11/large/Bubble%20" with {:method=>:get}): - - -Rendering rescues/layout (not_found) - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 04:38:40) [GET] - Photo Load (1.7ms) SELECT * FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 123ms (View: 111, DB: 2) | 200 OK [http://localhost/photos/] - - -Processing ApplicationController#index (for 127.0.0.1 at 2010-10-08 04:38:41) [GET] - -ActionController::RoutingError (No route matches "/system/photos/11/thumb/Bubble%20" with {:method=>:get}): - - -Rendering rescues/layout (not_found) - - -Processing PhotosController#new (for 127.0.0.1 at 2010-10-08 04:38:49) [GET] -Rendering template within layouts/photos -Rendering photos/new -Completed in 10ms (View: 5, DB: 0) | 200 OK [http://localhost/photos/new] - - -Processing PhotosController#create (for 127.0.0.1 at 2010-10-08 04:39:01) [POST] - Parameters: {"photo"=>{"photo"=>#}, "commit"=>"Upload", "authenticity_token"=>"MRMA5jN8F+L8Qu/qxudBGU2lL/82P68aMbmoNbKb5zw="} -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-szc6kd-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-szc6kd-0.jpg[0]' -resize "1024x1024>" '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-szc6kd-020101008-62042-l83gzo-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-szc6kd-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-szc6kd-0.jpg[0]' -resize "40x" -crop "40x40+0+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-szc6kd-020101008-62042-1gbo0d7-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-szc6kd-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-szc6kd-0.jpg[0]' -resize "140x" -crop "140x140+0+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-szc6kd-020101008-62042-dt92x9-0' 2>/dev/null - Photo Create (0.4ms) INSERT INTO "photos" ("photo_file_size", "created_at", "flickr_url", "photo_file_name", "updated_at", "photo_content_type", "category_id", "photo_updated_at") VALUES(2060700, '2010-10-08 08:39:03', NULL, 'Halfway There.jpg', '2010-10-08 08:39:03', 'image/jpeg', NULL, '2010-10-08 08:39:01') -[paperclip] Saving attachments. -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/12/original/Halfway There.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/12/admin_thumb/Halfway There.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/12/large/Halfway There.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/12/thumb/Halfway There.jpg -Redirected to http://localhost:3000/photos/12 -Completed in 1716ms (DB: 0) | 302 Found [http://localhost/photos] - - -Processing PhotosController#show (for 127.0.0.1 at 2010-10-08 04:39:03) [GET] - Parameters: {"id"=>"12"} - Photo Load (0.2ms) SELECT * FROM "photos" WHERE ("photos"."id" = 12)  -Rendering template within layouts/photos -Rendering photos/show -Completed in 9ms (View: 4, DB: 0) | 200 OK [http://localhost/photos/12] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 04:39:05) [GET] - Photo Load (1.1ms) SELECT * FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 20ms (View: 13, DB: 1) | 200 OK [http://localhost/photos/] - - -Processing ApplicationController#index (for 127.0.0.1 at 2010-10-08 04:39:05) [GET] - -ActionController::RoutingError (No route matches "/system/photos/11/thumb/Bubble%20" with {:method=>:get}): - - -Rendering rescues/layout (not_found) - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 04:40:06) [GET] - Photo Load (1.0ms) SELECT * FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 65ms (View: 60, DB: 1) | 200 OK [http://localhost/photos/] - - -Processing PhotosController#new (for 127.0.0.1 at 2010-10-08 04:40:09) [GET] -Rendering template within layouts/photos -Rendering photos/new -Completed in 11ms (View: 5, DB: 0) | 200 OK [http://localhost/photos/new] - - -Processing PhotosController#create (for 127.0.0.1 at 2010-10-08 04:40:41) [POST] - Parameters: {"photo"=>{"photo"=>#}, "commit"=>"Upload", "authenticity_token"=>"MRMA5jN8F+L8Qu/qxudBGU2lL/82P68aMbmoNbKb5zw="} -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-1o20o4v-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-1o20o4v-0.jpg[0]' -resize "1024x1024>" '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-1o20o4v-020101008-62042-1g6upw7-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-1o20o4v-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-1o20o4v-0.jpg[0]' -resize "x40" -crop "40x40+20+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-1o20o4v-020101008-62042-bj8zwv-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-1o20o4v-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-1o20o4v-0.jpg[0]' -resize "x140" -crop "140x140+71+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-1o20o4v-020101008-62042-t87l4k-0' 2>/dev/null - Photo Create (0.5ms) INSERT INTO "photos" ("photo_file_size", "created_at", "flickr_url", "photo_file_name", "updated_at", "photo_content_type", "category_id", "photo_updated_at") VALUES(1858172, '2010-10-08 08:40:42', NULL, 'Bubble no2.jpg', '2010-10-08 08:40:42', 'image/jpeg', NULL, '2010-10-08 08:40:41') -[paperclip] Saving attachments. -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/13/original/Bubble no2.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/13/admin_thumb/Bubble no2.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/13/large/Bubble no2.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/13/thumb/Bubble no2.jpg -Redirected to http://localhost:3000/photos/13 -Completed in 1616ms (DB: 1) | 302 Found [http://localhost/photos] - - -Processing PhotosController#show (for 127.0.0.1 at 2010-10-08 04:40:42) [GET] - Parameters: {"id"=>"13"} - Photo Load (0.2ms) SELECT * FROM "photos" WHERE ("photos"."id" = 13)  -Rendering template within layouts/photos -Rendering photos/show -Completed in 11ms (View: 4, DB: 0) | 200 OK [http://localhost/photos/13] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 04:40:44) [GET] - Photo Load (1.1ms) SELECT * FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 19ms (View: 13, DB: 1) | 200 OK [http://localhost/photos/] - - -Processing PhotosController#new (for 127.0.0.1 at 2010-10-08 04:40:52) [GET] -Rendering template within layouts/photos -Rendering photos/new -Completed in 12ms (View: 5, DB: 0) | 200 OK [http://localhost/photos/new] - - -Processing PhotosController#create (for 127.0.0.1 at 2010-10-08 04:40:56) [POST] - Parameters: {"photo"=>{"photo"=>#}, "commit"=>"Upload", "authenticity_token"=>"MRMA5jN8F+L8Qu/qxudBGU2lL/82P68aMbmoNbKb5zw="} -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-4dglhp-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-4dglhp-0.jpg[0]' -resize "1024x1024>" '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-4dglhp-020101008-62042-3twkkj-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-4dglhp-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-4dglhp-0.jpg[0]' -resize "40x" -crop "40x40+0+10" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-4dglhp-020101008-62042-1wyqhfq-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-4dglhp-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-4dglhp-0.jpg[0]' -resize "140x" -crop "140x140+0+35" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-4dglhp-020101008-62042-51nswz-0' 2>/dev/null - Photo Create (0.4ms) INSERT INTO "photos" ("photo_file_size", "created_at", "flickr_url", "photo_file_name", "updated_at", "photo_content_type", "category_id", "photo_updated_at") VALUES(2040957, '2010-10-08 08:40:58', NULL, 'Church of Ireland Gate.jpg', '2010-10-08 08:40:58', 'image/jpeg', NULL, '2010-10-08 08:40:56') -[paperclip] Saving attachments. -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/14/original/Church of Ireland Gate.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/14/admin_thumb/Church of Ireland Gate.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/14/large/Church of Ireland Gate.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/14/thumb/Church of Ireland Gate.jpg -Redirected to http://localhost:3000/photos/14 -Completed in 1869ms (DB: 0) | 302 Found [http://localhost/photos] - - -Processing PhotosController#show (for 127.0.0.1 at 2010-10-08 04:40:58) [GET] - Parameters: {"id"=>"14"} - Photo Load (0.3ms) SELECT * FROM "photos" WHERE ("photos"."id" = 14)  -Rendering template within layouts/photos -Rendering photos/show -Completed in 10ms (View: 4, DB: 0) | 200 OK [http://localhost/photos/14] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 04:41:04) [GET] - Photo Load (1.0ms) SELECT * FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 21ms (View: 14, DB: 1) | 200 OK [http://localhost/photos] - - -Processing PhotosController#new (for 127.0.0.1 at 2010-10-08 04:41:10) [GET] -Rendering template within layouts/photos -Rendering photos/new -Completed in 11ms (View: 5, DB: 0) | 200 OK [http://localhost/photos/new] - - -Processing PhotosController#create (for 127.0.0.1 at 2010-10-08 04:41:17) [POST] - Parameters: {"photo"=>{"photo"=>#}, "commit"=>"Upload", "authenticity_token"=>"MRMA5jN8F+L8Qu/qxudBGU2lL/82P68aMbmoNbKb5zw="} -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-esxq8y-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-esxq8y-0.jpg[0]' -resize "1024x1024>" '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-esxq8y-020101008-62042-1cczpg5-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-esxq8y-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-esxq8y-0.jpg[0]' -resize "x40" -crop "40x40+10+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-esxq8y-020101008-62042-2vfnt8-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-esxq8y-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-esxq8y-0.jpg[0]' -resize "x140" -crop "140x140+37+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-esxq8y-020101008-62042-1kmad9o-0' 2>/dev/null - Photo Create (0.4ms) INSERT INTO "photos" ("photo_file_size", "created_at", "flickr_url", "photo_file_name", "updated_at", "photo_content_type", "category_id", "photo_updated_at") VALUES(1065859, '2010-10-08 08:41:18', NULL, 'Dragonfly.jpg', '2010-10-08 08:41:18', 'image/jpeg', NULL, '2010-10-08 08:41:17') -[paperclip] Saving attachments. -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/15/original/Dragonfly.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/15/admin_thumb/Dragonfly.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/15/large/Dragonfly.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/15/thumb/Dragonfly.jpg -Redirected to http://localhost:3000/photos/15 -Completed in 1210ms (DB: 0) | 302 Found [http://localhost/photos] - - -Processing PhotosController#show (for 127.0.0.1 at 2010-10-08 04:41:18) [GET] - Parameters: {"id"=>"15"} - Photo Load (0.2ms) SELECT * FROM "photos" WHERE ("photos"."id" = 15)  -Rendering template within layouts/photos -Rendering photos/show -Completed in 8ms (View: 3, DB: 0) | 200 OK [http://localhost/photos/15] - - -Processing PhotosController#new (for 127.0.0.1 at 2010-10-08 04:41:20) [GET] -Rendering template within layouts/photos -Rendering photos/new -Completed in 12ms (View: 6, DB: 0) | 200 OK [http://localhost/photos/new] - - -Processing PhotosController#create (for 127.0.0.1 at 2010-10-08 04:41:30) [POST] - Parameters: {"photo"=>{"photo"=>#}, "commit"=>"Upload", "authenticity_token"=>"MRMA5jN8F+L8Qu/qxudBGU2lL/82P68aMbmoNbKb5zw="} -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-ji2p83-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-ji2p83-0.jpg[0]' -resize "1024x1024>" '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-ji2p83-020101008-62042-11asebv-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-ji2p83-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-ji2p83-0.jpg[0]' -resize "40x" -crop "40x40+0+8" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-ji2p83-020101008-62042-190d5hb-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-ji2p83-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-ji2p83-0.jpg[0]' -resize "140x" -crop "140x140+0+28" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-ji2p83-020101008-62042-3mdrno-0' 2>/dev/null - Photo Create (0.4ms) INSERT INTO "photos" ("photo_file_size", "created_at", "flickr_url", "photo_file_name", "updated_at", "photo_content_type", "category_id", "photo_updated_at") VALUES(1020911, '2010-10-08 08:41:31', NULL, 'House through the Doorway.jpg', '2010-10-08 08:41:31', 'image/jpeg', NULL, '2010-10-08 08:41:30') -[paperclip] Saving attachments. -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/16/original/House through the Doorway.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/16/admin_thumb/House through the Doorway.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/16/large/House through the Doorway.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/16/thumb/House through the Doorway.jpg -Redirected to http://localhost:3000/photos/16 -Completed in 1476ms (DB: 0) | 302 Found [http://localhost/photos] - - -Processing PhotosController#show (for 127.0.0.1 at 2010-10-08 04:41:31) [GET] - Parameters: {"id"=>"16"} - Photo Load (0.2ms) SELECT * FROM "photos" WHERE ("photos"."id" = 16)  -Rendering template within layouts/photos -Rendering photos/show -Completed in 8ms (View: 3, DB: 0) | 200 OK [http://localhost/photos/16] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 04:41:33) [GET] - Photo Load (1.1ms) SELECT * FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 22ms (View: 16, DB: 1) | 200 OK [http://localhost/photos] - - -Processing PhotosController#new (for 127.0.0.1 at 2010-10-08 04:41:46) [GET] -Rendering template within layouts/photos -Rendering photos/new -Completed in 11ms (View: 5, DB: 0) | 200 OK [http://localhost/photos/new] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 04:41:54) [GET] - Photo Load (1.2ms) SELECT * FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 78ms (View: 72, DB: 1) | 200 OK [http://localhost/photos/] - - -Processing PhotosController#new (for 127.0.0.1 at 2010-10-08 04:42:36) [GET] -Rendering template within layouts/photos -Rendering photos/new -Completed in 13ms (View: 6, DB: 0) | 200 OK [http://localhost/photos/new] - - -Processing PhotosController#create (for 127.0.0.1 at 2010-10-08 04:42:53) [POST] - Parameters: {"photo"=>{"photo"=>#}, "commit"=>"Upload", "authenticity_token"=>"MRMA5jN8F+L8Qu/qxudBGU2lL/82P68aMbmoNbKb5zw="} -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-17laygy-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-17laygy-0.jpg[0]' -resize "1024x1024>" '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-17laygy-020101008-62042-mxdt6v-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-17laygy-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-17laygy-0.jpg[0]' -resize "x40" -crop "40x40+21+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-17laygy-020101008-62042-h8dvma-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-17laygy-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-17laygy-0.jpg[0]' -resize "x140" -crop "140x140+74+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-17laygy-020101008-62042-ouvolf-0' 2>/dev/null - Photo Create (0.4ms) INSERT INTO "photos" ("photo_file_size", "created_at", "flickr_url", "photo_file_name", "updated_at", "photo_content_type", "category_id", "photo_updated_at") VALUES(997816, '2010-10-08 08:42:54', NULL, 'Croagh Patrick no3.jpg', '2010-10-08 08:42:54', 'image/jpeg', NULL, '2010-10-08 08:42:53') -[paperclip] Saving attachments. -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/17/original/Croagh Patrick no3.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/17/admin_thumb/Croagh Patrick no3.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/17/large/Croagh Patrick no3.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/17/thumb/Croagh Patrick no3.jpg -Redirected to http://localhost:3000/photos/17 -Completed in 1404ms (DB: 0) | 302 Found [http://localhost/photos] - - -Processing PhotosController#show (for 127.0.0.1 at 2010-10-08 04:42:54) [GET] - Parameters: {"id"=>"17"} - Photo Load (0.2ms) SELECT * FROM "photos" WHERE ("photos"."id" = 17)  -Rendering template within layouts/photos -Rendering photos/show -Completed in 76ms (View: 3, DB: 0) | 200 OK [http://localhost/photos/17] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 04:42:55) [GET] - Photo Load (1.6ms) SELECT * FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 23ms (View: 16, DB: 2) | 200 OK [http://localhost/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 04:44:37) [GET] - Photo Load (1.0ms) SELECT * FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 24ms (View: 20, DB: 1) | 200 OK [http://localhost/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 04:47:13) [GET] - Photo Load (1.2ms) SELECT * FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 20ms (View: 15, DB: 1) | 200 OK [http://localhost/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 04:47:14) [GET] - Photo Load (1.0ms) SELECT * FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 19ms (View: 14, DB: 1) | 200 OK [http://localhost/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 04:52:04) [GET] - Photo Load (1.5ms) SELECT * FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index - -ActionView::TemplateError (No expansion found for :jquery) on line #8 of app/views/layouts/photos.html.erb: -5: Photos -6: <%= stylesheet_link_tag "squaregrid", :media => "all" %> -7: <%= stylesheet_link_tag "photos", :media => "all" %> -8: <%= javascript_include_tag :jquery, :jrails %> -9: -10: -11: - - app/views/layouts/photos.html.erb:8 - -Rendered rescues/_trace (36.5ms) -Rendered rescues/_request_and_response (0.4ms) -Rendering rescues/layout (internal_server_error) - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 04:52:29) [GET] - Photo Load (1.1ms) SELECT * FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 22ms (View: 17, DB: 1) | 200 OK [http://localhost/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 04:56:24) [GET] - Photo Load (1.4ms) SELECT * FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index - -ActionView::TemplateError (undefined method `stylesheel_link_tag' for #) on line #8 of app/views/layouts/photos.html.erb: -5: Photos -6: <%= stylesheet_link_tag "squaregrid", :media => "all" %> -7: <%= stylesheet_link_tag "photos", :media => "all" %> -8: <%= stylesheel_link_tag "fancybox", :media => "all" %> -9: <%= javascript_include_tag 'jquery', 'jrails', 'fancybox' %> -10: -11: - - app/views/layouts/photos.html.erb:8 - -Rendered rescues/_trace (29.0ms) -Rendered rescues/_request_and_response (0.3ms) -Rendering rescues/layout (internal_server_error) - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 04:56:37) [GET] - Photo Load (1.1ms) SELECT * FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 25ms (View: 20, DB: 1) | 200 OK [http://localhost/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 04:59:26) [GET] - Photo Load (1.1ms) SELECT * FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 22ms (View: 17, DB: 1) | 200 OK [http://localhost/photos] - - -Processing ApplicationController#index (for 127.0.0.1 at 2010-10-08 04:59:26) [GET] - -ActionController::RoutingError (No route matches "/javascripts/photos.js" with {:method=>:get}): - - -Rendering rescues/layout (not_found) - - -Processing ApplicationController#index (for 127.0.0.1 at 2010-10-08 04:59:26) [GET] - -ActionController::RoutingError (No route matches "/javascripts/photos.js" with {:method=>:get}): - - -Rendering rescues/layout (not_found) - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 05:00:43) [GET] - Photo Load (1.0ms) SELECT * FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 20ms (View: 15, DB: 1) | 200 OK [http://localhost/photos] - - -Processing ApplicationController#index (for 127.0.0.1 at 2010-10-08 05:00:44) [GET] - -ActionController::RoutingError (No route matches "/stylesheets/fancybox.png" with {:method=>:get}): - - -Rendering rescues/layout (not_found) - - -Processing ApplicationController#index (for 127.0.0.1 at 2010-10-08 05:00:44) [GET] - -ActionController::RoutingError (No route matches "/stylesheets/fancybox.png" with {:method=>:get}): - - -Rendering rescues/layout (not_found) - - -Processing ApplicationController#index (for 127.0.0.1 at 2010-10-08 05:00:44) [GET] - -ActionController::RoutingError (No route matches "/stylesheets/fancybox-x.png" with {:method=>:get}): - - -Rendering rescues/layout (not_found) - - -Processing ApplicationController#index (for 127.0.0.1 at 2010-10-08 05:00:44) [GET] - -ActionController::RoutingError (No route matches "/stylesheets/fancybox-y.png" with {:method=>:get}): - - -Rendering rescues/layout (not_found) - - -Processing ApplicationController#index (for 127.0.0.1 at 2010-10-08 05:00:45) [GET] - -ActionController::RoutingError (No route matches "/stylesheets/fancybox.png" with {:method=>:get}): - - -Rendering rescues/layout (not_found) - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 05:06:33) [GET] - Photo Load (1.1ms) SELECT * FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 21ms (View: 15, DB: 1) | 200 OK [http://localhost/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 05:07:36) [GET] - Photo Load (1.1ms) SELECT * FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 24ms (View: 19, DB: 1) | 200 OK [http://localhost/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 05:08:59) [GET] - Photo Load (1.1ms) SELECT * FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 21ms (View: 16, DB: 1) | 200 OK [http://localhost/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 05:10:23) [GET] - Photo Load (1.1ms) SELECT * FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 20ms (View: 15, DB: 1) | 200 OK [http://localhost/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 05:10:52) [GET] - Photo Load (1.6ms) SELECT * FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 21ms (View: 15, DB: 2) | 200 OK [http://localhost/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 05:35:29) [GET] - Photo Load (1.1ms) SELECT * FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 54ms (View: 49, DB: 1) | 200 OK [http://localhost/photos] - SQL (0.4ms)  SELECT name - FROM sqlite_master - WHERE type = 'table' AND NOT name = 'sqlite_sequence' - - SQL (0.1ms) SELECT version FROM schema_migrations -Migrating to CreateCategories (20101006095323) -Migrating to CreatePhotos (20101006095457) -Migrating to AddPhotoToCategory (20101008101157) - SQL (0.1ms) select sqlite_version(*) - SQL (14.7ms) ALTER TABLE "categories" ADD "photo_id" integer - SQL (0.1ms) INSERT INTO schema_migrations (version) VALUES ('20101008101157') - SQL (0.5ms)  SELECT name - FROM sqlite_master - WHERE type = 'table' AND NOT name = 'sqlite_sequence' - - SQL (0.2ms) SELECT version FROM schema_migrations - SQL (0.2ms)  SELECT name - FROM sqlite_master - WHERE type = 'table' AND NOT name = 'sqlite_sequence' - - SQL (0.0ms) PRAGMA index_list("categories") - SQL (0.0ms) PRAGMA index_list("photos") - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-08 06:29:41) [GET] - Category Load (0.3ms) SELECT * FROM "categories"  -Rendering template within layouts/categories -Rendering categories/index -Completed in 72ms (View: 49, DB: 0) | 200 OK [http://localhost/categories] - - -Processing CategoriesController#new (for 127.0.0.1 at 2010-10-08 06:29:44) [GET] -Rendering template within layouts/categories -Rendering categories/new -Completed in 13ms (View: 9, DB: 0) | 200 OK [http://localhost/categories/new] - - -Processing CategoriesController#create (for 127.0.0.1 at 2010-10-08 06:29:53) [POST] - Parameters: {"category"=>{"name"=>"Landscapes", "photo_id"=>"", "description"=>""}, "commit"=>"Create", "authenticity_token"=>"MRMA5jN8F+L8Qu/qxudBGU2lL/82P68aMbmoNbKb5zw="} - Category Create (0.4ms) INSERT INTO "categories" ("name", "created_at", "updated_at", "description", "photo_id") VALUES('Landscapes', '2010-10-08 10:29:53', '2010-10-08 10:29:53', '', NULL) -Redirected to http://localhost:3000/categories/1 -Completed in 9ms (DB: 0) | 302 Found [http://localhost/categories] - - -Processing CategoriesController#show (for 127.0.0.1 at 2010-10-08 06:29:53) [GET] - Parameters: {"id"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = 1)  -Rendering template within layouts/categories -Rendering categories/show -Completed in 9ms (View: 5, DB: 0) | 200 OK [http://localhost/categories/1] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-08 06:29:55) [GET] - Category Load (0.4ms) SELECT * FROM "categories"  -Rendering template within layouts/categories -Rendering categories/index -Completed in 9ms (View: 4, DB: 0) | 200 OK [http://localhost/categories] - - -Processing CategoriesController#new (for 127.0.0.1 at 2010-10-08 06:29:58) [GET] -Rendering template within layouts/categories -Rendering categories/new -Completed in 10ms (View: 6, DB: 0) | 200 OK [http://localhost/categories/new] - - -Processing CategoriesController#create (for 127.0.0.1 at 2010-10-08 06:30:14) [POST] - Parameters: {"category"=>{"name"=>"Close Up", "photo_id"=>"", "description"=>""}, "commit"=>"Create", "authenticity_token"=>"MRMA5jN8F+L8Qu/qxudBGU2lL/82P68aMbmoNbKb5zw="} - Category Create (0.4ms) INSERT INTO "categories" ("name", "created_at", "updated_at", "description", "photo_id") VALUES('Close Up', '2010-10-08 10:30:14', '2010-10-08 10:30:14', '', NULL) -Redirected to http://localhost:3000/categories/2 -Completed in 10ms (DB: 0) | 302 Found [http://localhost/categories] - - -Processing CategoriesController#show (for 127.0.0.1 at 2010-10-08 06:30:14) [GET] - Parameters: {"id"=>"2"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = 2)  -Rendering template within layouts/categories -Rendering categories/show -Completed in 7ms (View: 2, DB: 0) | 200 OK [http://localhost/categories/2] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-08 06:30:16) [GET] - Category Load (0.5ms) SELECT * FROM "categories"  -Rendering template within layouts/categories -Rendering categories/index -Completed in 10ms (View: 6, DB: 0) | 200 OK [http://localhost/categories] - - -Processing CategoriesController#new (for 127.0.0.1 at 2010-10-08 06:30:17) [GET] -Rendering template within layouts/categories -Rendering categories/new -Completed in 11ms (View: 6, DB: 0) | 200 OK [http://localhost/categories/new] - - -Processing CategoriesController#create (for 127.0.0.1 at 2010-10-08 06:30:23) [POST] - Parameters: {"category"=>{"name"=>"Architecture", "photo_id"=>"", "description"=>""}, "commit"=>"Create", "authenticity_token"=>"MRMA5jN8F+L8Qu/qxudBGU2lL/82P68aMbmoNbKb5zw="} - Category Create (0.3ms) INSERT INTO "categories" ("name", "created_at", "updated_at", "description", "photo_id") VALUES('Architecture', '2010-10-08 10:30:23', '2010-10-08 10:30:23', '', NULL) -Redirected to http://localhost:3000/categories/3 -Completed in 9ms (DB: 0) | 302 Found [http://localhost/categories] - - -Processing CategoriesController#show (for 127.0.0.1 at 2010-10-08 06:30:23) [GET] - Parameters: {"id"=>"3"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = 3)  -Rendering template within layouts/categories -Rendering categories/show -Completed in 7ms (View: 2, DB: 0) | 200 OK [http://localhost/categories/3] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-08 06:30:24) [GET] - Category Load (0.5ms) SELECT * FROM "categories"  -Rendering template within layouts/categories -Rendering categories/index -Completed in 11ms (View: 7, DB: 0) | 200 OK [http://localhost/categories] - - -Processing CategoriesController#show (for 127.0.0.1 at 2010-10-08 06:30:29) [GET] - Parameters: {"id"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = 1)  -Rendering template within layouts/categories -Rendering categories/show -Completed in 7ms (View: 2, DB: 0) | 200 OK [http://localhost/categories/1] - - -Processing CategoriesController#show (for 127.0.0.1 at 2010-10-08 06:30:31) [GET] - Parameters: {"id"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = 1)  -Rendering template within layouts/categories -Rendering categories/show -Completed in 7ms (View: 2, DB: 0) | 200 OK [http://localhost/categories/1] - SQL (0.4ms)  SELECT name - FROM sqlite_master - WHERE type = 'table' AND NOT name = 'sqlite_sequence' - - SQL (0.1ms) SELECT version FROM schema_migrations -Migrating to CreateCategories (20101006095323) -Migrating to CreatePhotos (20101006095457) -Migrating to AddPhotoToCategory (20101008101157) -Migrating to AddDetailsToPhoto (20101008103053) - SQL (0.1ms) select sqlite_version(*) - SQL (0.4ms) ALTER TABLE "photos" ADD "title" varchar(255) - SQL (0.1ms) ALTER TABLE "photos" ADD "description" text - SQL (0.2ms) INSERT INTO schema_migrations (version) VALUES ('20101008103053') - SQL (0.3ms)  SELECT name - FROM sqlite_master - WHERE type = 'table' AND NOT name = 'sqlite_sequence' - - SQL (0.2ms) SELECT version FROM schema_migrations - SQL (0.1ms)  SELECT name - FROM sqlite_master - WHERE type = 'table' AND NOT name = 'sqlite_sequence' - - SQL (0.0ms) PRAGMA index_list("categories") - SQL (0.1ms) PRAGMA index_list("photos") - - -Processing CategoriesController#new (for 127.0.0.1 at 2010-10-08 06:48:38) [GET] -Rendering template within layouts/categories -Rendering categories/new -Completed in 83ms (View: 32, DB: 0) | 200 OK [http://localhost/categories/new] - - -Processing CategoriesController#create (for 127.0.0.1 at 2010-10-08 06:48:42) [POST] - Parameters: {"category"=>{"name"=>"Black and White", "photo_id"=>"", "description"=>""}, "commit"=>"Create", "authenticity_token"=>"MRMA5jN8F+L8Qu/qxudBGU2lL/82P68aMbmoNbKb5zw="} - Category Create (0.3ms) INSERT INTO "categories" ("name", "created_at", "updated_at", "description", "photo_id") VALUES('Black and White', '2010-10-08 10:48:42', '2010-10-08 10:48:42', '', NULL) -Redirected to http://localhost:3000/categories/4 -Completed in 8ms (DB: 0) | 302 Found [http://localhost/categories] - - -Processing CategoriesController#show (for 127.0.0.1 at 2010-10-08 06:48:42) [GET] - Parameters: {"id"=>"4"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = 4)  -Rendering template within layouts/categories -Rendering categories/show -Completed in 7ms (View: 2, DB: 0) | 200 OK [http://localhost/categories/4] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-08 06:48:44) [GET] - Category Load (0.5ms) SELECT * FROM "categories"  -Rendering template within layouts/categories -Rendering categories/index -Completed in 13ms (View: 9, DB: 1) | 200 OK [http://localhost/categories] - - -Processing CategoriesController#new (for 127.0.0.1 at 2010-10-08 06:51:18) [GET] -Rendering template within layouts/categories -Rendering categories/new -Completed in 10ms (View: 6, DB: 0) | 200 OK [http://localhost/categories/new] - - -Processing CategoriesController#create (for 127.0.0.1 at 2010-10-08 06:51:27) [POST] - Parameters: {"category"=>{"name"=>"Flowers & Plants", "photo_id"=>"", "description"=>""}, "commit"=>"Create", "authenticity_token"=>"MRMA5jN8F+L8Qu/qxudBGU2lL/82P68aMbmoNbKb5zw="} - Category Create (31.1ms) INSERT INTO "categories" ("name", "created_at", "updated_at", "description", "photo_id") VALUES('Flowers & Plants', '2010-10-08 10:51:27', '2010-10-08 10:51:27', '', NULL) -Redirected to http://localhost:3000/categories/5 -Completed in 53ms (DB: 31) | 302 Found [http://localhost/categories] - - -Processing CategoriesController#show (for 127.0.0.1 at 2010-10-08 06:51:27) [GET] - Parameters: {"id"=>"5"} - Category Load (0.3ms) SELECT * FROM "categories" WHERE ("categories"."id" = 5)  -Rendering template within layouts/categories -Rendering categories/show -Completed in 19ms (View: 13, DB: 0) | 200 OK [http://localhost/categories/5] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-08 06:51:28) [GET] - Category Load (0.6ms) SELECT * FROM "categories"  -Rendering template within layouts/categories -Rendering categories/index -Completed in 15ms (View: 11, DB: 1) | 200 OK [http://localhost/categories] - - -Processing CategoriesController#edit (for 127.0.0.1 at 2010-10-08 06:51:31) [GET] - Parameters: {"id"=>"4"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = 4)  -Rendering template within layouts/categories -Rendering categories/edit -Completed in 13ms (View: 9, DB: 0) | 200 OK [http://localhost/categories/4/edit] - - -Processing CategoriesController#update (for 127.0.0.1 at 2010-10-08 06:51:38) [PUT] - Parameters: {"category"=>{"name"=>"Black & White", "photo_id"=>"", "description"=>""}, "commit"=>"Update", "authenticity_token"=>"MRMA5jN8F+L8Qu/qxudBGU2lL/82P68aMbmoNbKb5zw=", "id"=>"4"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = 4)  - Category Update (0.2ms) UPDATE "categories" SET "updated_at" = '2010-10-08 10:51:38', "name" = 'Black & White' WHERE "id" = 4 -Redirected to http://localhost:3000/categories/4 -Completed in 9ms (DB: 0) | 302 Found [http://localhost/categories/4] - - -Processing CategoriesController#show (for 127.0.0.1 at 2010-10-08 06:51:38) [GET] - Parameters: {"id"=>"4"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = 4)  -Rendering template within layouts/categories -Rendering categories/show -Completed in 7ms (View: 2, DB: 0) | 200 OK [http://localhost/categories/4] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-08 06:52:10) [GET] - Category Load (0.6ms) SELECT * FROM "categories"  -Rendering template within layouts/categories -Rendering categories/index -Completed in 44ms (View: 39, DB: 1) | 200 OK [http://localhost/categories] - SQL (0.4ms)  SELECT name - FROM sqlite_master - WHERE type = 'table' AND NOT name = 'sqlite_sequence' - - SQL (0.2ms) SELECT version FROM schema_migrations -Migrating to CreateCategories (20101006095323) -Migrating to CreatePhotos (20101006095457) -Migrating to AddPhotoToCategory (20101008101157) -Migrating to AddDetailsToPhoto (20101008103053) -Migrating to AddColourToCategory (20101008105348) - SQL (0.1ms) select sqlite_version(*) - SQL (0.5ms) ALTER TABLE "categories" ADD "base_colour" varchar(255) - SQL (0.1ms) INSERT INTO schema_migrations (version) VALUES ('20101008105348') - SQL (0.4ms)  SELECT name - FROM sqlite_master - WHERE type = 'table' AND NOT name = 'sqlite_sequence' - - SQL (0.3ms) SELECT version FROM schema_migrations - SQL (0.2ms)  SELECT name - FROM sqlite_master - WHERE type = 'table' AND NOT name = 'sqlite_sequence' - - SQL (0.2ms) PRAGMA index_list("categories") - SQL (0.1ms) PRAGMA index_list("photos") - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-08 06:56:46) [GET] - Category Load (0.6ms) SELECT * FROM "categories"  -Rendering template within layouts/categories -Rendering categories/index -Completed in 78ms (View: 11, DB: 1) | 200 OK [http://localhost/categories] - - -Processing CategoriesController#edit (for 127.0.0.1 at 2010-10-08 06:56:48) [GET] - Parameters: {"id"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = 1)  -Rendering template within layouts/categories -Rendering categories/edit -Completed in 38ms (View: 33, DB: 0) | 200 OK [http://localhost/categories/1/edit] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-08 06:57:26) [GET] - Category Load (0.6ms) SELECT * FROM "categories"  -Rendering template within layouts/categories -Rendering categories/index -Completed in 18ms (View: 13, DB: 1) | 200 OK [http://localhost/categories] - - -Processing CategoriesController#edit (for 127.0.0.1 at 2010-10-08 06:57:46) [GET] - Parameters: {"id"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = 1)  -Rendering template within layouts/categories -Rendering categories/edit -Completed in 12ms (View: 7, DB: 0) | 200 OK [http://localhost/categories/1/edit] - - -Processing CategoriesController#update (for 127.0.0.1 at 2010-10-08 06:57:50) [PUT] - Parameters: {"category"=>{"name"=>"Landscapes", "base_colour"=>"#99bf00", "photo_id"=>"", "description"=>""}, "commit"=>"Update", "authenticity_token"=>"MRMA5jN8F+L8Qu/qxudBGU2lL/82P68aMbmoNbKb5zw=", "id"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = 1)  - Category Update (0.3ms) UPDATE "categories" SET "updated_at" = '2010-10-08 10:57:50', "base_colour" = '#99bf00' WHERE "id" = 1 -Redirected to http://localhost:3000/categories/1 -Completed in 9ms (DB: 0) | 302 Found [http://localhost/categories/1] - - -Processing CategoriesController#show (for 127.0.0.1 at 2010-10-08 06:57:50) [GET] - Parameters: {"id"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = 1)  -Rendering template within layouts/categories -Rendering categories/show -Completed in 7ms (View: 2, DB: 0) | 200 OK [http://localhost/categories/1] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-08 06:57:52) [GET] - Category Load (0.6ms) SELECT * FROM "categories"  -Rendering template within layouts/categories -Rendering categories/index -Completed in 17ms (View: 13, DB: 1) | 200 OK [http://localhost/categories] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-08 06:59:17) [GET] - Category Load (0.6ms) SELECT * FROM "categories"  -Rendering template within layouts/categories -Rendering categories/index -Completed in 17ms (View: 14, DB: 1) | 200 OK [http://localhost/categories] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-08 06:59:42) [GET] - Category Load (0.6ms) SELECT * FROM "categories"  -Rendering template within layouts/categories -Rendering categories/index -Completed in 23ms (View: 19, DB: 1) | 200 OK [http://localhost/categories] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-08 07:00:25) [GET] - Category Load (0.7ms) SELECT * FROM "categories"  -Rendering template within layouts/categories -Rendering categories/index -Completed in 19ms (View: 14, DB: 1) | 200 OK [http://localhost/categories] - - -Processing CategoriesController#edit (for 127.0.0.1 at 2010-10-08 07:00:39) [GET] - Parameters: {"id"=>"3"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = 3)  -Rendering template within layouts/categories -Rendering categories/edit -Completed in 189ms (View: 185, DB: 0) | 200 OK [http://localhost/categories/3/edit] - - -Processing CategoriesController#update (for 127.0.0.1 at 2010-10-08 07:00:41) [PUT] - Parameters: {"category"=>{"name"=>"Architecture", "base_colour"=>"#bf5e00", "photo_id"=>"", "description"=>""}, "commit"=>"Update", "authenticity_token"=>"MRMA5jN8F+L8Qu/qxudBGU2lL/82P68aMbmoNbKb5zw=", "id"=>"3"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = 3)  - Category Update (17.8ms) UPDATE "categories" SET "updated_at" = '2010-10-08 11:00:41', "base_colour" = '#bf5e00' WHERE "id" = 3 -Redirected to http://localhost:3000/categories/3 -Completed in 26ms (DB: 18) | 302 Found [http://localhost/categories/3] - - -Processing CategoriesController#show (for 127.0.0.1 at 2010-10-08 07:00:42) [GET] - Parameters: {"id"=>"3"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = 3)  -Rendering template within layouts/categories -Rendering categories/show -Completed in 7ms (View: 2, DB: 0) | 200 OK [http://localhost/categories/3] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-08 07:00:42) [GET] - Category Load (0.6ms) SELECT * FROM "categories"  -Rendering template within layouts/categories -Rendering categories/index -Completed in 16ms (View: 12, DB: 1) | 200 OK [http://localhost/categories] - - -Processing CategoriesController#edit (for 127.0.0.1 at 2010-10-08 07:00:55) [GET] - Parameters: {"id"=>"4"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = 4)  -Rendering template within layouts/categories -Rendering categories/edit -Completed in 11ms (View: 6, DB: 0) | 200 OK [http://localhost/categories/4/edit] - - -Processing CategoriesController#update (for 127.0.0.1 at 2010-10-08 07:00:58) [PUT] - Parameters: {"category"=>{"name"=>"Black & White", "base_colour"=>"#909090", "photo_id"=>"", "description"=>""}, "commit"=>"Update", "authenticity_token"=>"MRMA5jN8F+L8Qu/qxudBGU2lL/82P68aMbmoNbKb5zw=", "id"=>"4"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = 4)  - Category Update (0.4ms) UPDATE "categories" SET "updated_at" = '2010-10-08 11:00:58', "base_colour" = '#909090' WHERE "id" = 4 -Redirected to http://localhost:3000/categories/4 -Completed in 9ms (DB: 1) | 302 Found [http://localhost/categories/4] - - -Processing CategoriesController#show (for 127.0.0.1 at 2010-10-08 07:00:58) [GET] - Parameters: {"id"=>"4"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = 4)  -Rendering template within layouts/categories -Rendering categories/show -Completed in 8ms (View: 2, DB: 0) | 200 OK [http://localhost/categories/4] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-08 07:00:59) [GET] - Category Load (0.6ms) SELECT * FROM "categories"  -Rendering template within layouts/categories -Rendering categories/index -Completed in 70ms (View: 66, DB: 1) | 200 OK [http://localhost/categories] - - -Processing CategoriesController#edit (for 127.0.0.1 at 2010-10-08 07:01:28) [GET] - Parameters: {"id"=>"5"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = 5)  -Rendering template within layouts/categories -Rendering categories/edit -Completed in 12ms (View: 7, DB: 0) | 200 OK [http://localhost/categories/5/edit] - - -Processing CategoriesController#update (for 127.0.0.1 at 2010-10-08 07:01:32) [PUT] - Parameters: {"category"=>{"name"=>"Flowers & Plants", "base_colour"=>"#c73c9e", "photo_id"=>"", "description"=>""}, "commit"=>"Update", "authenticity_token"=>"MRMA5jN8F+L8Qu/qxudBGU2lL/82P68aMbmoNbKb5zw=", "id"=>"5"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = 5)  - Category Update (0.3ms) UPDATE "categories" SET "updated_at" = '2010-10-08 11:01:32', "base_colour" = '#c73c9e' WHERE "id" = 5 -Redirected to http://localhost:3000/categories/5 -Completed in 10ms (DB: 0) | 302 Found [http://localhost/categories/5] - - -Processing CategoriesController#show (for 127.0.0.1 at 2010-10-08 07:01:32) [GET] - Parameters: {"id"=>"5"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = 5)  -Rendering template within layouts/categories -Rendering categories/show -Completed in 7ms (View: 2, DB: 0) | 200 OK [http://localhost/categories/5] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-08 07:01:34) [GET] - Category Load (0.6ms) SELECT * FROM "categories"  -Rendering template within layouts/categories -Rendering categories/index -Completed in 15ms (View: 11, DB: 1) | 200 OK [http://localhost/categories] - - -Processing CategoriesController#edit (for 127.0.0.1 at 2010-10-08 07:01:51) [GET] - Parameters: {"id"=>"2"} - Category Load (0.3ms) SELECT * FROM "categories" WHERE ("categories"."id" = 2)  -Rendering template within layouts/categories -Rendering categories/edit -Completed in 43ms (View: 36, DB: 0) | 200 OK [http://localhost/categories/2/edit] - - -Processing CategoriesController#update (for 127.0.0.1 at 2010-10-08 07:01:54) [PUT] - Parameters: {"category"=>{"name"=>"Close Up", "base_colour"=>"#664bda", "photo_id"=>"", "description"=>""}, "commit"=>"Update", "authenticity_token"=>"MRMA5jN8F+L8Qu/qxudBGU2lL/82P68aMbmoNbKb5zw=", "id"=>"2"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = 2)  - Category Update (0.3ms) UPDATE "categories" SET "updated_at" = '2010-10-08 11:01:54', "base_colour" = '#664bda' WHERE "id" = 2 -Redirected to http://localhost:3000/categories/2 -Completed in 9ms (DB: 0) | 302 Found [http://localhost/categories/2] - - -Processing CategoriesController#show (for 127.0.0.1 at 2010-10-08 07:01:54) [GET] - Parameters: {"id"=>"2"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = 2)  -Rendering template within layouts/categories -Rendering categories/show -Completed in 7ms (View: 2, DB: 0) | 200 OK [http://localhost/categories/2] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-08 07:01:55) [GET] - Category Load (0.7ms) SELECT * FROM "categories"  -Rendering template within layouts/categories -Rendering categories/index -Completed in 16ms (View: 12, DB: 1) | 200 OK [http://localhost/categories] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-08 07:41:01) [GET] - Category Load (0.8ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 23ms (View: 12, DB: 1) | 200 OK [http://localhost/categories] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-08 07:41:28) [GET] - Category Load (0.6ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 16ms (View: 12, DB: 1) | 200 OK [http://localhost/categories] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-08 07:42:06) [GET] - Category Load (0.7ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 17ms (View: 12, DB: 1) | 200 OK [http://localhost/categories] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-08 07:42:34) [GET] - Category Load (0.6ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 16ms (View: 12, DB: 1) | 200 OK [http://localhost/categories] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 07:42:41) [GET] - Photo Load (1.2ms) SELECT * FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 133ms (View: 63, DB: 1) | 200 OK [http://localhost/photos] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-08 07:42:48) [GET] - Category Load (0.8ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 37ms (View: 30, DB: 1) | 200 OK [http://localhost/categories] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-08 07:44:21) [GET] - Category Load (0.7ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 60ms (View: 55, DB: 1) | 200 OK [http://localhost/categories] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-08 07:46:07) [GET] - Category Load (0.6ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 10ms (View: 6, DB: 1) | 200 OK [http://localhost/categories] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-08 07:46:22) [GET] - Category Load (0.6ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 10ms (View: 6, DB: 1) | 200 OK [http://localhost/categories] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-08 07:47:36) [GET] - Category Load (0.6ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 10ms (View: 6, DB: 1) | 200 OK [http://localhost/categories] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-08 07:48:21) [GET] - Category Load (0.6ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 8ms (View: 4, DB: 1) | 200 OK [http://localhost/categories] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-08 07:52:08) [GET] - Category Load (0.6ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 11ms (View: 7, DB: 1) | 200 OK [http://localhost/categories] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-08 07:52:18) [GET] - Category Load (0.6ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 10ms (View: 6, DB: 1) | 200 OK [http://localhost/categories] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-08 07:52:38) [GET] - Category Load (0.6ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index - -ActionView::TemplateError (undefined method `lowercase' for "Landscapes":String) on line #5 of app/views/categories/index.html.erb: -2: -3: <% @categories.each do |category| %> -4:
-5: <%=h category.name.lowercase %> -6:
-7: <% end %> -8: - - app/views/categories/index.html.erb:5 - app/views/categories/index.html.erb:3:in `each' - app/views/categories/index.html.erb:3 - app/controllers/categories_controller.rb:8:in `index' - -Rendered rescues/_trace (83.0ms) -Rendered rescues/_request_and_response (0.2ms) -Rendering rescues/layout (internal_server_error) - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-08 07:53:11) [GET] - Category Load (0.6ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 10ms (View: 6, DB: 1) | 200 OK [http://localhost/categories] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-08 07:53:34) [GET] - Category Load (0.7ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 11ms (View: 7, DB: 1) | 200 OK [http://localhost/categories] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-08 07:54:07) [GET] - Category Load (0.8ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 8ms (View: 4, DB: 1) | 200 OK [http://localhost/categories] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-08 07:54:10) [GET] - Category Load (0.9ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 10ms (View: 4, DB: 1) | 200 OK [http://localhost/categories] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-08 07:54:17) [GET] - Category Load (0.6ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 10ms (View: 4, DB: 1) | 200 OK [http://localhost/categories] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-08 07:54:55) [GET] - Category Load (0.6ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 32ms (View: 28, DB: 1) | 200 OK [http://localhost/categories] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-08 07:55:07) [GET] - Category Load (0.8ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 8ms (View: 4, DB: 1) | 200 OK [http://localhost/categories] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 07:59:15) [GET] - Photo Load (1.1ms) SELECT * FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 71ms (View: 50, DB: 1) | 200 OK [http://localhost/photos] - - -Processing PhotosController#new (for 127.0.0.1 at 2010-10-08 08:06:32) [GET] -Rendering template within layouts/photos -Rendering photos/new -Completed in 14ms (View: 10, DB: 0) | 200 OK [http://localhost/photos/new] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-08 08:06:59) [GET] - Category Load (1.0ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 12ms (View: 6, DB: 1) | 200 OK [http://localhost/categories] - - -Processing PhotosController#new (for 127.0.0.1 at 2010-10-08 08:07:10) [GET] -Rendering template within layouts/photos -Rendering photos/new -Completed in 12ms (View: 6, DB: 0) | 200 OK [http://localhost/photos/new] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 08:11:01) [GET] - Photo Load (1.2ms) SELECT * FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 50ms (View: 44, DB: 1) | 200 OK [http://localhost/photos] - - -Processing ApplicationController#index (for 127.0.0.1 at 2010-10-08 08:11:01) [GET] - Parameters: {"1286527141"=>nil} - -ActionController::RoutingError (No route matches "/system/photos/12/thumb/Halfway%20There.jpg" with {:method=>:get}): - - -Rendering rescues/layout (not_found) - - -Processing ApplicationController#index (for 127.0.0.1 at 2010-10-08 08:11:01) [GET] - Parameters: {"1286527241"=>nil} - -ActionController::RoutingError (No route matches "/system/photos/13/thumb/Bubble%20no2.jpg" with {:method=>:get}): - - -Rendering rescues/layout (not_found) - - -Processing ApplicationController#index (for 127.0.0.1 at 2010-10-08 08:11:01) [GET] - Parameters: {"1286527256"=>nil} - -ActionController::RoutingError (No route matches "/system/photos/14/thumb/Church%20of%20Ireland%20Gate.jpg" with {:method=>:get}): - - -Rendering rescues/layout (not_found) - - -Processing ApplicationController#index (for 127.0.0.1 at 2010-10-08 08:11:01) [GET] - Parameters: {"1286527277"=>nil} - -ActionController::RoutingError (No route matches "/system/photos/15/thumb/Dragonfly.jpg" with {:method=>:get}): - - -Rendering rescues/layout (not_found) - - -Processing ApplicationController#index (for 127.0.0.1 at 2010-10-08 08:11:01) [GET] - Parameters: {"1286527290"=>nil} - -ActionController::RoutingError (No route matches "/system/photos/16/thumb/House%20through%20the%20Doorway.jpg" with {:method=>:get}): - - -Rendering rescues/layout (not_found) - - -Processing ApplicationController#index (for 127.0.0.1 at 2010-10-08 08:11:01) [GET] - Parameters: {"1286527373"=>nil} - -ActionController::RoutingError (No route matches "/system/photos/17/thumb/Croagh%20Patrick%20no3.jpg" with {:method=>:get}): - - -Rendering rescues/layout (not_found) - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 08:11:04) [GET] - Photo Load (2.0ms) SELECT * FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 31ms (View: 22, DB: 2) | 200 OK [http://localhost/photos] - - -Processing ApplicationController#index (for 127.0.0.1 at 2010-10-08 08:11:04) [GET] - Parameters: {"1286527141"=>nil} - -ActionController::RoutingError (No route matches "/system/photos/12/thumb/Halfway%20There.jpg" with {:method=>:get}): - - -Rendering rescues/layout (not_found) - - -Processing ApplicationController#index (for 127.0.0.1 at 2010-10-08 08:11:04) [GET] - Parameters: {"1286527241"=>nil} - -ActionController::RoutingError (No route matches "/system/photos/13/thumb/Bubble%20no2.jpg" with {:method=>:get}): - - -Rendering rescues/layout (not_found) - - -Processing ApplicationController#index (for 127.0.0.1 at 2010-10-08 08:11:04) [GET] - Parameters: {"1286527256"=>nil} - -ActionController::RoutingError (No route matches "/system/photos/14/thumb/Church%20of%20Ireland%20Gate.jpg" with {:method=>:get}): - - -Rendering rescues/layout (not_found) - - -Processing ApplicationController#index (for 127.0.0.1 at 2010-10-08 08:11:04) [GET] - Parameters: {"1286527277"=>nil} - -ActionController::RoutingError (No route matches "/system/photos/15/thumb/Dragonfly.jpg" with {:method=>:get}): - - -Rendering rescues/layout (not_found) - - -Processing ApplicationController#index (for 127.0.0.1 at 2010-10-08 08:11:04) [GET] - Parameters: {"1286527290"=>nil} - -ActionController::RoutingError (No route matches "/system/photos/16/thumb/House%20through%20the%20Doorway.jpg" with {:method=>:get}): - - -Rendering rescues/layout (not_found) - - -Processing ApplicationController#index (for 127.0.0.1 at 2010-10-08 08:11:05) [GET] - Parameters: {"1286527373"=>nil} - -ActionController::RoutingError (No route matches "/system/photos/17/thumb/Croagh%20Patrick%20no3.jpg" with {:method=>:get}): - - -Rendering rescues/layout (not_found) - - -Processing ApplicationController#index (for 127.0.0.1 at 2010-10-08 08:11:05) [GET] - Parameters: {"1286473694"=>nil} - -ActionController::RoutingError (No route matches "/system/photos/3/thumb/Buttercup.jpg" with {:method=>:get}): - - -Rendering rescues/layout (not_found) - - -Processing ApplicationController#index (for 127.0.0.1 at 2010-10-08 08:11:05) [GET] - Parameters: {"1286473899"=>nil} - -ActionController::RoutingError (No route matches "/system/photos/4/thumb/Bell%20Tower.jpg" with {:method=>:get}): - - -Rendering rescues/layout (not_found) - - -Processing ApplicationController#index (for 127.0.0.1 at 2010-10-08 08:11:05) [GET] - Parameters: {"1286473911"=>nil} - -ActionController::RoutingError (No route matches "/system/photos/5/thumb/Church%20of%20Ireland.jpg" with {:method=>:get}): - - -Rendering rescues/layout (not_found) - - -Processing ApplicationController#index (for 127.0.0.1 at 2010-10-08 08:11:05) [GET] - Parameters: {"1286473925"=>nil} - -ActionController::RoutingError (No route matches "/system/photos/6/thumb/Emerald%20Panarama.jpg" with {:method=>:get}): - - -Rendering rescues/layout (not_found) - - -Processing ApplicationController#index (for 127.0.0.1 at 2010-10-08 08:11:05) [GET] - Parameters: {"1286474939"=>nil} - -ActionController::RoutingError (No route matches "/system/photos/7/thumb/Croagh%20Patrick%20Sunset.jpg" with {:method=>:get}): - - -Rendering rescues/layout (not_found) - - -Processing ApplicationController#index (for 127.0.0.1 at 2010-10-08 08:11:05) [GET] - Parameters: {"1286475730"=>nil} - -ActionController::RoutingError (No route matches "/system/photos/8/thumb/Cross.jpg" with {:method=>:get}): - - -Rendering rescues/layout (not_found) - - -Processing ApplicationController#index (for 127.0.0.1 at 2010-10-08 08:11:05) [GET] - Parameters: {"1286527141"=>nil} - -ActionController::RoutingError (No route matches "/system/photos/12/thumb/Halfway%20There.jpg" with {:method=>:get}): - - -Rendering rescues/layout (not_found) - - -Processing ApplicationController#index (for 127.0.0.1 at 2010-10-08 08:11:05) [GET] - Parameters: {"1286527241"=>nil} - -ActionController::RoutingError (No route matches "/system/photos/13/thumb/Bubble%20no2.jpg" with {:method=>:get}): - - -Rendering rescues/layout (not_found) - - -Processing ApplicationController#index (for 127.0.0.1 at 2010-10-08 08:11:05) [GET] - Parameters: {"1286527256"=>nil} - -ActionController::RoutingError (No route matches "/system/photos/14/thumb/Church%20of%20Ireland%20Gate.jpg" with {:method=>:get}): - - -Rendering rescues/layout (not_found) - - -Processing ApplicationController#index (for 127.0.0.1 at 2010-10-08 08:11:05) [GET] - Parameters: {"1286527277"=>nil} - -ActionController::RoutingError (No route matches "/system/photos/15/thumb/Dragonfly.jpg" with {:method=>:get}): - - -Rendering rescues/layout (not_found) - - -Processing ApplicationController#index (for 127.0.0.1 at 2010-10-08 08:11:05) [GET] - Parameters: {"1286475742"=>nil} - -ActionController::RoutingError (No route matches "/system/photos/9/thumb/Light%20and%20Shade.jpg" with {:method=>:get}): - - -Rendering rescues/layout (not_found) - - -Processing ApplicationController#index (for 127.0.0.1 at 2010-10-08 08:11:05) [GET] - Parameters: {"1286475749"=>nil} - -ActionController::RoutingError (No route matches "/system/photos/10/thumb/Moody%20Me.jpg" with {:method=>:get}): - - -Rendering rescues/layout (not_found) - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 08:11:21) [GET] - Photo Load (0.3ms) SELECT * FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 7ms (View: 2, DB: 0) | 200 OK [http://localhost/photos] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-08 08:11:27) [GET] - Category Load (0.9ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 32ms (View: 26, DB: 1) | 200 OK [http://localhost/categories] - - -Processing PhotosController#new (for 127.0.0.1 at 2010-10-08 08:11:57) [GET] -Rendering template within layouts/photos -Rendering photos/new -Completed in 52ms (View: 45, DB: 0) | 200 OK [http://localhost/photos/new] - - -Processing PhotosController#create (for 127.0.0.1 at 2010-10-08 08:12:09) [POST] - Parameters: {"photo"=>{"photo"=>#}, "commit"=>"Upload", "authenticity_token"=>"MRMA5jN8F+L8Qu/qxudBGU2lL/82P68aMbmoNbKb5zw="} -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-1gabyue-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-1gabyue-0.jpg[0]' -resize "x308" -crop "308x308+89+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-1gabyue-020101008-62042-19vv0nb-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-1gabyue-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-1gabyue-0.jpg[0]' -resize "x224" -crop "224x224+64+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-1gabyue-020101008-62042-1n98u0a-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-1gabyue-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-1gabyue-0.jpg[0]' -resize "x140" -crop "140x140+40+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-1gabyue-020101008-62042-h4aagg-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-1gabyue-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-1gabyue-0.jpg[0]' -resize "x84" -crop "84x84+24+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-1gabyue-020101008-62042-v5tqeq-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-1gabyue-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-1gabyue-0.jpg[0]' -resize "1024x1024>" '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-1gabyue-020101008-62042-1545x6x-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-1gabyue-020101008-62042-1545x6x-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-1gabyue-020101008-62042-1545x6x-0[0]' -resize "x56" -crop "56x56+16+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-1gabyue-020101008-62042-1545x6x-020101008-62042-1hl6xxu-0' 2>/dev/null - Photo Create (0.4ms) INSERT INTO "photos" ("photo_file_size", "created_at", "title", "flickr_url", "photo_file_name", "updated_at", "photo_content_type", "category_id", "photo_updated_at", "description") VALUES(113067, '2010-10-08 12:12:13', NULL, NULL, 'Buttercup.jpg', '2010-10-08 12:12:13', 'image/jpeg', NULL, '2010-10-08 12:12:09', NULL) -[paperclip] Saving attachments. -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/18/size11/Buttercup.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/18/size8/Buttercup.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/18/size5/Buttercup.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/18/size3/Buttercup.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/18/original/Buttercup.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/18/size2/Buttercup.jpg -Redirected to http://localhost:3000/photos/18 -Completed in 4238ms (DB: 0) | 302 Found [http://localhost/photos] - - -Processing PhotosController#show (for 127.0.0.1 at 2010-10-08 08:12:13) [GET] - Parameters: {"id"=>"18"} - Photo Load (0.2ms) SELECT * FROM "photos" WHERE ("photos"."id" = 18)  -Rendering template within layouts/photos -Rendering photos/show -Completed in 9ms (View: 4, DB: 0) | 200 OK [http://localhost/photos/18] - - -Processing ApplicationController#index (for 127.0.0.1 at 2010-10-08 08:12:14) [GET] - Parameters: {"1286539929"=>nil} - -ActionController::RoutingError (No route matches "/system/photos/18/thumb/Buttercup.jpg" with {:method=>:get}): - - -Rendering rescues/layout (not_found) - - -Processing ApplicationController#index (for 127.0.0.1 at 2010-10-08 08:12:14) [GET] - Parameters: {"1286539929"=>nil} - -ActionController::RoutingError (No route matches "/system/photos/18/thumb/Buttercup.jpg" with {:method=>:get}): - - -Rendering rescues/layout (not_found) - - -Processing PhotosController#show (for 127.0.0.1 at 2010-10-08 08:12:40) [GET] - Parameters: {"id"=>"18"} - Photo Load (0.2ms) SELECT * FROM "photos" WHERE ("photos"."id" = 18)  -Rendering template within layouts/photos -Rendering photos/show -ERROR: compiling _run_erb_app47views47photos47show46html46erb RAISED compile error -/Users/danbee/Sites/rails/photos/app/views/photos/show.html.erb:1: syntax error, unexpected ';', expecting ')' -...11), @photo.photo.url ).to_s); @output_buffer.concat "\n" - ^ -Function body: def _run_erb_app47views47photos47show46html46erb(local_assigns) - old_output_buffer = output_buffer;;@output_buffer = ''; __in_erb_template=true ; @output_buffer.concat(( link_to image_tag(@photo.photo.url(:size11), @photo.photo.url ).to_s); @output_buffer.concat "\n" -; @output_buffer - ensure - self.output_buffer = old_output_buffer - end -Backtrace: /Users/danbee/Sites/rails/photos/app/views/photos/show.html.erb:5:in `compile!' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_view/renderable.rb:61:in `compile' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_view/renderable.rb:28:in `render' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_view/template.rb:205:in `render_template' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_view/base.rb:265:in `render' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_view/base.rb:348:in `_render_with_layout' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_view/base.rb:262:in `render' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/base.rb:1250:in `render_for_file' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/base.rb:936:in `render_without_benchmark' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/benchmarking.rb:51:in `render' -/Library/Ruby/Gems/1.8/gems/activesupport-2.3.8/lib/active_support/core_ext/benchmark.rb:17:in `ms' -/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/benchmark.rb:308:in `realtime' -/Library/Ruby/Gems/1.8/gems/activesupport-2.3.8/lib/active_support/core_ext/benchmark.rb:17:in `ms' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/benchmarking.rb:51:in `render' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/base.rb:1326:in `default_render' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/base.rb:1332:in `perform_action_without_filters' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/filters.rb:617:in `call_filters' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/filters.rb:610:in `perform_action_without_benchmark' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue' -/Library/Ruby/Gems/1.8/gems/activesupport-2.3.8/lib/active_support/core_ext/benchmark.rb:17:in `ms' -/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/benchmark.rb:308:in `realtime' -/Library/Ruby/Gems/1.8/gems/activesupport-2.3.8/lib/active_support/core_ext/benchmark.rb:17:in `ms' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/rescue.rb:160:in `perform_action_without_flash' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/flash.rb:151:in `perform_action' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/base.rb:532:in `send' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/base.rb:532:in `process_without_filters' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/filters.rb:606:in `process' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/base.rb:391:in `process' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/base.rb:386:in `call' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/routing/route_set.rb:438:in `call' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/dispatcher.rb:87:in `dispatch' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/dispatcher.rb:121:in `_call' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/dispatcher.rb:130:in `build_middleware_stack' -/Library/Ruby/Gems/1.8/gems/activerecord-2.3.8/lib/active_record/query_cache.rb:29:in `call' -/Library/Ruby/Gems/1.8/gems/activerecord-2.3.8/lib/active_record/query_cache.rb:29:in `call' -/Library/Ruby/Gems/1.8/gems/activerecord-2.3.8/lib/active_record/connection_adapters/abstract/query_cache.rb:34:in `cache' -/Library/Ruby/Gems/1.8/gems/activerecord-2.3.8/lib/active_record/query_cache.rb:9:in `cache' -/Library/Ruby/Gems/1.8/gems/activerecord-2.3.8/lib/active_record/query_cache.rb:28:in `call' -/Library/Ruby/Gems/1.8/gems/activerecord-2.3.8/lib/active_record/connection_adapters/abstract/connection_pool.rb:361:in `call' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/string_coercion.rb:25:in `call' -/Library/Ruby/Gems/1.8/gems/rack-1.1.0/lib/rack/head.rb:9:in `call' -/Library/Ruby/Gems/1.8/gems/rack-1.1.0/lib/rack/methodoverride.rb:24:in `call' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/params_parser.rb:15:in `call' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/session/cookie_store.rb:99:in `call' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/failsafe.rb:26:in `call' -/Library/Ruby/Gems/1.8/gems/rack-1.1.0/lib/rack/lock.rb:11:in `call' -/Library/Ruby/Gems/1.8/gems/rack-1.1.0/lib/rack/lock.rb:11:in `synchronize' -/Library/Ruby/Gems/1.8/gems/rack-1.1.0/lib/rack/lock.rb:11:in `call' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/dispatcher.rb:114:in `call' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/reloader.rb:34:in `run' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/dispatcher.rb:108:in `call' -/Library/Ruby/Gems/1.8/gems/rails-2.3.8/lib/rails/rack/static.rb:31:in `call' -/Library/Ruby/Gems/1.8/gems/rack-1.1.0/lib/rack/urlmap.rb:47:in `call' -/Library/Ruby/Gems/1.8/gems/rack-1.1.0/lib/rack/urlmap.rb:41:in `each' -/Library/Ruby/Gems/1.8/gems/rack-1.1.0/lib/rack/urlmap.rb:41:in `call' -/Library/Ruby/Gems/1.8/gems/rails-2.3.8/lib/rails/rack/log_tailer.rb:17:in `call' -/Library/Ruby/Gems/1.8/gems/rack-1.1.0/lib/rack/content_length.rb:13:in `call' -/Library/Ruby/Gems/1.8/gems/rack-1.1.0/lib/rack/chunked.rb:15:in `call' -/Library/Ruby/Gems/1.8/gems/rack-1.1.0/lib/rack/handler/mongrel.rb:67:in `process' -/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:159:in `process_client' -/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in `each' -/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in `process_client' -/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `run' -/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `initialize' -/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `new' -/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `run' -/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `initialize' -/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `new' -/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `run' -/Library/Ruby/Gems/1.8/gems/rack-1.1.0/lib/rack/handler/mongrel.rb:38:in `run' -/Library/Ruby/Gems/1.8/gems/rails-2.3.8/lib/commands/server.rb:111 -/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require' -/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require' -script/server:3 - -ActionView::TemplateError (compile error -/Users/danbee/Sites/rails/photos/app/views/photos/show.html.erb:1: syntax error, unexpected ';', expecting ')' -...11), @photo.photo.url ).to_s); @output_buffer.concat "\n" - ^) on line #1 of app/views/photos/show.html.erb: -1: <%= link_to image_tag(@photo.photo.url(:size11), @photo.photo.url %> - - app/views/photos/show.html.erb:5:in `compile!' - -Rendered rescues/_trace (84.6ms) -Rendered rescues/_request_and_response (0.4ms) -Rendering rescues/layout (internal_server_error) - - -Processing PhotosController#show (for 127.0.0.1 at 2010-10-08 08:12:55) [GET] - Parameters: {"id"=>"18"} - Photo Load (0.2ms) SELECT * FROM "photos" WHERE ("photos"."id" = 18)  -Rendering template within layouts/photos -Rendering photos/show -Completed in 12ms (View: 7, DB: 0) | 200 OK [http://localhost/photos/18] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 08:13:22) [GET] - Photo Load (0.5ms) SELECT * FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 10ms (View: 5, DB: 0) | 200 OK [http://localhost/photos/] - - -Processing ApplicationController#index (for 127.0.0.1 at 2010-10-08 08:13:22) [GET] - Parameters: {"1286539929"=>nil} - -ActionController::RoutingError (No route matches "/system/photos/18/thumb/Buttercup.jpg" with {:method=>:get}): - - -Rendering rescues/layout (not_found) - - -Processing ApplicationController#index (for 127.0.0.1 at 2010-10-08 08:13:22) [GET] - Parameters: {"1286539929"=>nil} - -ActionController::RoutingError (No route matches "/system/photos/18/thumb/Buttercup.jpg" with {:method=>:get}): - - -Rendering rescues/layout (not_found) - - -Processing ApplicationController#index (for 127.0.0.1 at 2010-10-08 08:13:24) [GET] - Parameters: {"1286539929"=>nil} - -ActionController::RoutingError (No route matches "/system/photos/18/large/Buttercup.jpg" with {:method=>:get}): - - -Rendering rescues/layout (not_found) - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 08:13:42) [GET] - Photo Load (0.5ms) SELECT * FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 12ms (View: 8, DB: 1) | 200 OK [http://localhost/photos/] - - -Processing PhotosController#new (for 127.0.0.1 at 2010-10-08 08:16:29) [GET] -Rendering template within layouts/photos -Rendering photos/new - -ActionView::TemplateError (uninitialized constant Photo::CATEGORIES) on line #11 of app/views/photos/new.html.erb: -8:

-9:

-10: <%= f.label :category %> -11: <%= f.select :category, Photo::CATEGORIES %> -12:

-13:

-14: <%= submit_tag 'Upload' %> - - app/views/photos/new.html.erb:11 - app/views/photos/new.html.erb:3 - -Rendered rescues/_trace (27.5ms) -Rendered rescues/_request_and_response (0.3ms) -Rendering rescues/layout (internal_server_error) - - -Processing PhotosController#new (for 127.0.0.1 at 2010-10-08 08:18:08) [GET] -Rendering template within layouts/photos -Rendering photos/new - -ActionView::TemplateError (undefined method `select_tag' for #) on line #11 of app/views/photos/new.html.erb: -8:

-9:

-10: <%= f.label :category %> -11: <%= f.select_tag :category %> -12:

-13:

-14: <%= submit_tag 'Upload' %> - - app/views/photos/new.html.erb:11 - app/views/photos/new.html.erb:3 - -Rendered rescues/_trace (26.3ms) -Rendered rescues/_request_and_response (0.3ms) -Rendering rescues/layout (internal_server_error) - - -Processing PhotosController#new (for 127.0.0.1 at 2010-10-08 08:21:40) [GET] -Rendering template within layouts/photos -Rendering photos/new - -ActionView::TemplateError (undefined method `select_tag' for #) on line #11 of app/views/photos/new.html.erb: -8:

-9:

-10: <%= f.label :category %> -11: <%= f.select_tag :category %> -12:

-13:

-14: <%= submit_tag 'Upload' %> - - app/views/photos/new.html.erb:11 - app/views/photos/new.html.erb:3 - -Rendered rescues/_trace (85.4ms) -Rendered rescues/_request_and_response (0.2ms) -Rendering rescues/layout (internal_server_error) - - -Processing PhotosController#new (for 127.0.0.1 at 2010-10-08 08:22:27) [GET] -Rendering template within layouts/photos -Rendering photos/new - -ActionView::TemplateError (wrong number of arguments (1 for 2)) on line #11 of app/views/photos/new.html.erb: -8:

-9:

-10: <%= f.label :category %> -11: <%= f.select :category %> -12:

-13:

-14: <%= submit_tag 'Upload' %> - - app/views/photos/new.html.erb:11:in `select' - app/views/photos/new.html.erb:11 - app/views/photos/new.html.erb:3 - -Rendered rescues/_trace (25.7ms) -Rendered rescues/_request_and_response (0.2ms) -Rendering rescues/layout (internal_server_error) - - -Processing PhotosController#new (for 127.0.0.1 at 2010-10-08 08:23:31) [GET] -Rendering template within layouts/photos -Rendering photos/new - -ActionView::TemplateError (uninitialized constant ActionView::Base::CompiledTemplates::Categories) on line #11 of app/views/photos/new.html.erb: -8:

-9:

-10: <%= f.label :category %> -11: <%= f.select :category, Categories.find(:all) %> -12:

-13:

-14: <%= submit_tag 'Upload' %> - - app/views/photos/new.html.erb:11 - app/views/photos/new.html.erb:3 - -Rendered rescues/_trace (26.0ms) -Rendered rescues/_request_and_response (0.3ms) -Rendering rescues/layout (internal_server_error) - - -Processing PhotosController#new (for 127.0.0.1 at 2010-10-08 08:23:50) [GET] -Rendering template within layouts/photos -Rendering photos/new - Category Load (0.4ms) SELECT * FROM "categories"  -Completed in 17ms (View: 12, DB: 0) | 200 OK [http://localhost/photos/new] - - -Processing PhotosController#new (for 127.0.0.1 at 2010-10-08 08:25:03) [GET] -Rendering template within layouts/photos -Rendering photos/new - -ActionView::TemplateError (You have a nil object when you didn't expect it! -You might have expected an instance of Array. -The error occurred while evaluating nil.inject) on line #11 of app/views/photos/new.html.erb: -8:

-9:

-10: <%= f.label :category %> -11: <%= f.select :category, @categories %> -12:

-13:

-14: <%= submit_tag 'Upload' %> - - app/views/photos/new.html.erb:11 - app/views/photos/new.html.erb:3 - -Rendered rescues/_trace (37.1ms) -Rendered rescues/_request_and_response (0.3ms) -Rendering rescues/layout (internal_server_error) - - -Processing ApplicationController#new (for 127.0.0.1 at 2010-10-08 08:25:47) [GET] - -SyntaxError (/Users/danbee/Sites/rails/photos/app/controllers/photos_controller.rb:5: syntax error, unexpected kEND, expecting '}' -/Users/danbee/Sites/rails/photos/app/controllers/photos_controller.rb:24: syntax error, unexpected kEND, expecting '}'): - - -Rendered rescues/_trace (18.5ms) -Rendered rescues/_request_and_response (0.3ms) -Rendering rescues/layout (internal_server_error) - - -Processing PhotosController#new (for 127.0.0.1 at 2010-10-08 08:25:57) [GET] - Category Load (0.3ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering photos/new -Completed in 75ms (View: 6, DB: 0) | 200 OK [http://localhost/photos/new] - SQL (0.4ms)  SELECT name - FROM sqlite_master - WHERE type = 'table' AND NOT name = 'sqlite_sequence' - - SQL (0.2ms) SELECT version FROM schema_migrations -Migrating to CreateCategories (20101006095323) -Migrating to CreatePhotos (20101006095457) -Migrating to AddPhotoToCategory (20101008101157) -Migrating to AddDetailsToPhoto (20101008103053) -Migrating to AddColourToCategory (20101008105348) -Migrating to AddSortOrders (20101008122736) - SQL (0.1ms) select sqlite_version(*) - SQL (0.4ms) ALTER TABLE "photos" ADD "sort" integer - SQL (0.2ms) ALTER TABLE "categories" ADD "sort" integer - SQL (0.1ms) INSERT INTO schema_migrations (version) VALUES ('20101008122736') - SQL (0.2ms)  SELECT name - FROM sqlite_master - WHERE type = 'table' AND NOT name = 'sqlite_sequence' - - SQL (0.2ms) SELECT version FROM schema_migrations - SQL (0.1ms)  SELECT name - FROM sqlite_master - WHERE type = 'table' AND NOT name = 'sqlite_sequence' - - SQL (0.0ms) PRAGMA index_list("categories") - SQL (0.0ms) PRAGMA index_list("photos") - - -Processing PhotosController#create (for 127.0.0.1 at 2010-10-08 08:29:37) [POST] - Parameters: {"photo"=>{"photo"=>#, "category"=>"2"}, "commit"=>"Upload", "authenticity_token"=>"MRMA5jN8F+L8Qu/qxudBGU2lL/82P68aMbmoNbKb5zw="} -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-17gxn0j-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-17gxn0j-0.jpg[0]' -resize "x308" -crop "308x308+89+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-17gxn0j-020101008-62042-1nc6u01-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-17gxn0j-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-17gxn0j-0.jpg[0]' -resize "x224" -crop "224x224+64+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-17gxn0j-020101008-62042-1wcu26w-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-17gxn0j-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-17gxn0j-0.jpg[0]' -resize "x140" -crop "140x140+40+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-17gxn0j-020101008-62042-wgh3c9-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-17gxn0j-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-17gxn0j-0.jpg[0]' -resize "x84" -crop "84x84+24+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-17gxn0j-020101008-62042-149w3og-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-17gxn0j-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-17gxn0j-0.jpg[0]' -resize "1024x1024>" '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-17gxn0j-020101008-62042-196xlvw-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-17gxn0j-020101008-62042-196xlvw-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-17gxn0j-020101008-62042-196xlvw-0[0]' -resize "x56" -crop "56x56+16+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-17gxn0j-020101008-62042-196xlvw-020101008-62042-pr4frc-0' 2>/dev/null - -ActiveRecord::AssociationTypeMismatch (Category(#2175204920) expected, got String(#2148246520)): - app/controllers/photos_controller.rb:12:in `new' - app/controllers/photos_controller.rb:12:in `create' - -Rendered rescues/_trace (35.2ms) -Rendered rescues/_request_and_response (0.5ms) -Rendering rescues/layout (internal_server_error) - - -Processing PhotosController#new (for 127.0.0.1 at 2010-10-08 08:30:21) [GET] - Category Load (0.7ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering photos/new -Completed in 37ms (View: 26, DB: 1) | 200 OK [http://localhost/photos/new] - - -Processing PhotosController#create (for 127.0.0.1 at 2010-10-08 08:30:23) [POST] - Parameters: {"photo"=>{"photo"=>#, "category_id"=>"1"}, "commit"=>"Upload", "authenticity_token"=>"MRMA5jN8F+L8Qu/qxudBGU2lL/82P68aMbmoNbKb5zw="} -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-kbn7me-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-kbn7me-0.jpg[0]' -resize "x308" -crop "308x308+89+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-kbn7me-020101008-62042-qywpck-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-kbn7me-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-kbn7me-0.jpg[0]' -resize "x224" -crop "224x224+64+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-kbn7me-020101008-62042-16py9zu-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-kbn7me-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-kbn7me-0.jpg[0]' -resize "x140" -crop "140x140+40+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-kbn7me-020101008-62042-1jt13v8-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-kbn7me-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-kbn7me-0.jpg[0]' -resize "x84" -crop "84x84+24+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-kbn7me-020101008-62042-1r2nttd-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-kbn7me-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-kbn7me-0.jpg[0]' -resize "1024x1024>" '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-kbn7me-020101008-62042-1d10x2s-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-kbn7me-020101008-62042-1d10x2s-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-kbn7me-020101008-62042-1d10x2s-0[0]' -resize "x56" -crop "56x56+16+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-kbn7me-020101008-62042-1d10x2s-020101008-62042-kjss77-0' 2>/dev/null - Category Load (0.7ms) SELECT * FROM "categories" WHERE ("categories"."id" = 1)  - Photo Create (0.3ms) INSERT INTO "photos" ("photo_file_size", "created_at", "title", "flickr_url", "photo_file_name", "updated_at", "photo_content_type", "category_id", "photo_updated_at", "description", "sort") VALUES(113067, '2010-10-08 12:30:26', NULL, NULL, 'Buttercup.jpg', '2010-10-08 12:30:26', 'image/jpeg', 1, '2010-10-08 12:30:23', NULL, NULL) -[paperclip] Saving attachments. -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/19/size11/Buttercup.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/19/size8/Buttercup.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/19/size5/Buttercup.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/19/size3/Buttercup.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/19/original/Buttercup.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/19/size2/Buttercup.jpg -Redirected to http://localhost:3000/photos/19 -Completed in 3856ms (DB: 1) | 302 Found [http://localhost/photos] - - -Processing PhotosController#show (for 127.0.0.1 at 2010-10-08 08:30:27) [GET] - Parameters: {"id"=>"19"} - Photo Load (0.2ms) SELECT * FROM "photos" WHERE ("photos"."id" = 19)  -Rendering template within layouts/photos -Rendering photos/show -Completed in 9ms (View: 4, DB: 0) | 200 OK [http://localhost/photos/19] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-08 08:31:18) [GET] - Category Load (0.6ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 64ms (View: 13, DB: 1) | 200 OK [http://localhost/categories] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 08:31:42) [GET] - Photo Load (0.8ms) SELECT * FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 13ms (View: 6, DB: 1) | 200 OK [http://localhost/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 08:34:26) [GET] - Photo Load (0.3ms) SELECT * FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 6ms (View: 2, DB: 0) | 200 OK [http://localhost/photos] - - -Processing PhotosController#new (for 127.0.0.1 at 2010-10-08 08:34:29) [GET] - Category Load (0.4ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering photos/new -Completed in 98ms (View: 35, DB: 0) | 200 OK [http://localhost/photos/new] - - -Processing PhotosController#create (for 127.0.0.1 at 2010-10-08 08:35:06) [POST] - Parameters: {"photo"=>{"photo"=>#, "category_id"=>"1"}, "commit"=>"Upload", "authenticity_token"=>"MRMA5jN8F+L8Qu/qxudBGU2lL/82P68aMbmoNbKb5zw="} -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-3t46ze-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-3t46ze-0.jpg[0]' -resize "308x" -crop "308x308+0+77" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-3t46ze-020101008-62042-16go1zy-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-3t46ze-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-3t46ze-0.jpg[0]' -resize "224x" -crop "224x224+0+56" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-3t46ze-020101008-62042-129jzx9-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-3t46ze-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-3t46ze-0.jpg[0]' -resize "140x" -crop "140x140+0+35" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-3t46ze-020101008-62042-tzbygt-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-3t46ze-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-3t46ze-0.jpg[0]' -resize "84x" -crop "84x84+0+21" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-3t46ze-020101008-62042-15fk4x8-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-3t46ze-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-3t46ze-0.jpg[0]' -resize "1024x1024>" '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-3t46ze-020101008-62042-1s0c6ss-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-3t46ze-020101008-62042-1s0c6ss-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-3t46ze-020101008-62042-1s0c6ss-0[0]' -resize "56x" -crop "56x56+0+13" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-3t46ze-020101008-62042-1s0c6ss-020101008-62042-p052wv-0' 2>/dev/null - Category Load (0.4ms) SELECT * FROM "categories" WHERE ("categories"."id" = 1)  - Photo Create (0.3ms) INSERT INTO "photos" ("photo_file_size", "created_at", "title", "flickr_url", "photo_file_name", "updated_at", "photo_content_type", "category_id", "photo_updated_at", "description", "sort") VALUES(389062, '2010-10-08 12:35:09', NULL, NULL, 'Croagh Patrick no1.jpg', '2010-10-08 12:35:09', 'image/jpeg', 1, '2010-10-08 12:35:06', NULL, NULL) -[paperclip] Saving attachments. -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/20/size11/Croagh Patrick no1.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/20/size8/Croagh Patrick no1.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/20/size5/Croagh Patrick no1.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/20/size3/Croagh Patrick no1.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/20/original/Croagh Patrick no1.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/20/size2/Croagh Patrick no1.jpg -Redirected to http://localhost:3000/photos/20 -Completed in 3574ms (DB: 1) | 302 Found [http://localhost/photos] - - -Processing PhotosController#show (for 127.0.0.1 at 2010-10-08 08:35:09) [GET] - Parameters: {"id"=>"20"} - Photo Load (0.2ms) SELECT * FROM "photos" WHERE ("photos"."id" = 20)  -Rendering template within layouts/photos -Rendering photos/show -Completed in 68ms (View: 63, DB: 0) | 200 OK [http://localhost/photos/20] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 08:35:15) [GET] - Photo Load (0.5ms) SELECT * FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 11ms (View: 6, DB: 0) | 200 OK [http://localhost/photos] - - -Processing PhotosController#new (for 127.0.0.1 at 2010-10-08 08:35:34) [GET] - Category Load (0.6ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering photos/new -Completed in 44ms (View: 33, DB: 1) | 200 OK [http://localhost/photos/new] - - -Processing PhotosController#create (for 127.0.0.1 at 2010-10-08 08:35:40) [POST] - Parameters: {"photo"=>{"photo"=>#, "category_id"=>"3"}, "commit"=>"Upload", "authenticity_token"=>"MRMA5jN8F+L8Qu/qxudBGU2lL/82P68aMbmoNbKb5zw="} -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-1qc5pik-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-1qc5pik-0.jpg[0]' -resize "x308" -crop "308x308+60+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-1qc5pik-020101008-62042-96jbl5-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-1qc5pik-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-1qc5pik-0.jpg[0]' -resize "x224" -crop "224x224+43+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-1qc5pik-020101008-62042-kijfuv-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-1qc5pik-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-1qc5pik-0.jpg[0]' -resize "x140" -crop "140x140+27+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-1qc5pik-020101008-62042-4sg5ij-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-1qc5pik-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-1qc5pik-0.jpg[0]' -resize "x84" -crop "84x84+16+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-1qc5pik-020101008-62042-iznpft-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-1qc5pik-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-1qc5pik-0.jpg[0]' -resize "1024x1024>" '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-1qc5pik-020101008-62042-1irrc1t-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-1qc5pik-020101008-62042-1irrc1t-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-1qc5pik-020101008-62042-1irrc1t-0[0]' -resize "x56" -crop "56x56+10+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-1qc5pik-020101008-62042-1irrc1t-020101008-62042-k1gv17-0' 2>/dev/null - Category Load (0.4ms) SELECT * FROM "categories" WHERE ("categories"."id" = 3)  - Photo Create (0.3ms) INSERT INTO "photos" ("photo_file_size", "created_at", "title", "flickr_url", "photo_file_name", "updated_at", "photo_content_type", "category_id", "photo_updated_at", "description", "sort") VALUES(362111, '2010-10-08 12:35:42', NULL, NULL, 'Bell Tower.jpg', '2010-10-08 12:35:42', 'image/jpeg', 3, '2010-10-08 12:35:40', NULL, NULL) -[paperclip] Saving attachments. -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/21/size11/Bell Tower.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/21/size8/Bell Tower.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/21/size5/Bell Tower.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/21/size3/Bell Tower.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/21/original/Bell Tower.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/21/size2/Bell Tower.jpg -Redirected to http://localhost:3000/photos/21 -Completed in 2856ms (DB: 1) | 302 Found [http://localhost/photos] - - -Processing PhotosController#show (for 127.0.0.1 at 2010-10-08 08:35:43) [GET] - Parameters: {"id"=>"21"} - Photo Load (0.2ms) SELECT * FROM "photos" WHERE ("photos"."id" = 21)  -Rendering template within layouts/photos -Rendering photos/show -Completed in 10ms (View: 4, DB: 0) | 200 OK [http://localhost/photos/21] - - -Processing PhotosController#new (for 127.0.0.1 at 2010-10-08 08:35:46) [GET] - Category Load (0.6ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering photos/new -Completed in 19ms (View: 7, DB: 1) | 200 OK [http://localhost/photos/new] - - -Processing PhotosController#create (for 127.0.0.1 at 2010-10-08 08:35:55) [POST] - Parameters: {"photo"=>{"photo"=>#, "category_id"=>"2"}, "commit"=>"Upload", "authenticity_token"=>"MRMA5jN8F+L8Qu/qxudBGU2lL/82P68aMbmoNbKb5zw="} -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-1tjt2om-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-1tjt2om-0.jpg[0]' -resize "x308" -crop "308x308+89+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-1tjt2om-020101008-62042-1oqlig9-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-1tjt2om-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-1tjt2om-0.jpg[0]' -resize "x224" -crop "224x224+64+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-1tjt2om-020101008-62042-7liygu-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-1tjt2om-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-1tjt2om-0.jpg[0]' -resize "x140" -crop "140x140+40+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-1tjt2om-020101008-62042-4umred-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-1tjt2om-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-1tjt2om-0.jpg[0]' -resize "x84" -crop "84x84+24+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-1tjt2om-020101008-62042-1h4or57-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-1tjt2om-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-1tjt2om-0.jpg[0]' -resize "1024x1024>" '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-1tjt2om-020101008-62042-17hfx02-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-1tjt2om-020101008-62042-17hfx02-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-1tjt2om-020101008-62042-17hfx02-0[0]' -resize "x56" -crop "56x56+16+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-1tjt2om-020101008-62042-17hfx02-020101008-62042-15ozut5-0' 2>/dev/null - Category Load (0.8ms) SELECT * FROM "categories" WHERE ("categories"."id" = 2)  - Photo Create (0.4ms) INSERT INTO "photos" ("photo_file_size", "created_at", "title", "flickr_url", "photo_file_name", "updated_at", "photo_content_type", "category_id", "photo_updated_at", "description", "sort") VALUES(113067, '2010-10-08 12:35:58', NULL, NULL, 'Buttercup.jpg', '2010-10-08 12:35:58', 'image/jpeg', 2, '2010-10-08 12:35:55', NULL, NULL) -[paperclip] Saving attachments. -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/22/size11/Buttercup.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/22/size8/Buttercup.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/22/size5/Buttercup.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/22/size3/Buttercup.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/22/original/Buttercup.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/22/size2/Buttercup.jpg -Redirected to http://localhost:3000/photos/22 -Completed in 3169ms (DB: 1) | 302 Found [http://localhost/photos] - - -Processing PhotosController#show (for 127.0.0.1 at 2010-10-08 08:35:58) [GET] - Parameters: {"id"=>"22"} - Photo Load (0.5ms) SELECT * FROM "photos" WHERE ("photos"."id" = 22)  -Rendering template within layouts/photos -Rendering photos/show -Completed in 13ms (View: 6, DB: 1) | 200 OK [http://localhost/photos/22] - - -Processing PhotosController#new (for 127.0.0.1 at 2010-10-08 08:36:00) [GET] - Category Load (0.4ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering photos/new -Completed in 18ms (View: 7, DB: 0) | 200 OK [http://localhost/photos/new] - - -Processing PhotosController#create (for 127.0.0.1 at 2010-10-08 08:36:05) [POST] - Parameters: {"photo"=>{"photo"=>#, "category_id"=>"4"}, "commit"=>"Upload", "authenticity_token"=>"MRMA5jN8F+L8Qu/qxudBGU2lL/82P68aMbmoNbKb5zw="} -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-1ppv3s5-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-1ppv3s5-0.jpg[0]' -resize "x308" -crop "308x308+77+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-1ppv3s5-020101008-62042-1ppn119-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-1ppv3s5-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-1ppv3s5-0.jpg[0]' -resize "x224" -crop "224x224+56+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-1ppv3s5-020101008-62042-sgdzqj-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-1ppv3s5-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-1ppv3s5-0.jpg[0]' -resize "x140" -crop "140x140+35+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-1ppv3s5-020101008-62042-1rpznuy-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-1ppv3s5-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-1ppv3s5-0.jpg[0]' -resize "x84" -crop "84x84+21+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-1ppv3s5-020101008-62042-1io17xi-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-1ppv3s5-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-1ppv3s5-0.jpg[0]' -resize "1024x1024>" '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-1ppv3s5-020101008-62042-jp7rsn-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-1ppv3s5-020101008-62042-jp7rsn-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-1ppv3s5-020101008-62042-jp7rsn-0[0]' -resize "x56" -crop "56x56+13+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-1ppv3s5-020101008-62042-jp7rsn-020101008-62042-ijmlvm-0' 2>/dev/null - Category Load (0.9ms) SELECT * FROM "categories" WHERE ("categories"."id" = 4)  - Photo Create (0.4ms) INSERT INTO "photos" ("photo_file_size", "created_at", "title", "flickr_url", "photo_file_name", "updated_at", "photo_content_type", "category_id", "photo_updated_at", "description", "sort") VALUES(206182, '2010-10-08 12:36:08', NULL, NULL, 'Cadover Horses.jpg', '2010-10-08 12:36:08', 'image/jpeg', 4, '2010-10-08 12:36:05', NULL, NULL) -[paperclip] Saving attachments. -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/23/size11/Cadover Horses.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/23/size8/Cadover Horses.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/23/size5/Cadover Horses.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/23/size3/Cadover Horses.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/23/original/Cadover Horses.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/23/size2/Cadover Horses.jpg -Redirected to http://localhost:3000/photos/23 -Completed in 3456ms (DB: 1) | 302 Found [http://localhost/photos] - - -Processing PhotosController#show (for 127.0.0.1 at 2010-10-08 08:36:08) [GET] - Parameters: {"id"=>"23"} - Photo Load (0.3ms) SELECT * FROM "photos" WHERE ("photos"."id" = 23)  -Rendering template within layouts/photos -Rendering photos/show -Completed in 14ms (View: 6, DB: 0) | 200 OK [http://localhost/photos/23] - - -Processing PhotosController#new (for 127.0.0.1 at 2010-10-08 08:36:12) [GET] - Category Load (0.4ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering photos/new -Completed in 16ms (View: 6, DB: 0) | 200 OK [http://localhost/photos/new] - - -Processing PhotosController#create (for 127.0.0.1 at 2010-10-08 08:36:22) [POST] - Parameters: {"photo"=>{"photo"=>#, "category_id"=>"2"}, "commit"=>"Upload", "authenticity_token"=>"MRMA5jN8F+L8Qu/qxudBGU2lL/82P68aMbmoNbKb5zw="} -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-v13tg0-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-v13tg0-0.jpg[0]' -resize "x308" -crop "308x308+82+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-v13tg0-020101008-62042-1fwmofr-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-v13tg0-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-v13tg0-0.jpg[0]' -resize "x224" -crop "224x224+59+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-v13tg0-020101008-62042-1vkt1nh-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-v13tg0-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-v13tg0-0.jpg[0]' -resize "x140" -crop "140x140+37+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-v13tg0-020101008-62042-1fw777k-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-v13tg0-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-v13tg0-0.jpg[0]' -resize "x84" -crop "84x84+22+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-v13tg0-020101008-62042-1sl98pj-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-v13tg0-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-v13tg0-0.jpg[0]' -resize "1024x1024>" '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-v13tg0-020101008-62042-4x3cob-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-v13tg0-020101008-62042-4x3cob-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-v13tg0-020101008-62042-4x3cob-0[0]' -resize "x56" -crop "56x56+14+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-v13tg0-020101008-62042-4x3cob-020101008-62042-1qtqc8a-0' 2>/dev/null - Category Load (0.3ms) SELECT * FROM "categories" WHERE ("categories"."id" = 2)  - Photo Create (0.3ms) INSERT INTO "photos" ("photo_file_size", "created_at", "title", "flickr_url", "photo_file_name", "updated_at", "photo_content_type", "category_id", "photo_updated_at", "description", "sort") VALUES(262475, '2010-10-08 12:36:24', NULL, NULL, 'Dragonfly.jpg', '2010-10-08 12:36:24', 'image/jpeg', 2, '2010-10-08 12:36:22', NULL, NULL) -[paperclip] Saving attachments. -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/24/size11/Dragonfly.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/24/size8/Dragonfly.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/24/size5/Dragonfly.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/24/size3/Dragonfly.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/24/original/Dragonfly.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/24/size2/Dragonfly.jpg -Redirected to http://localhost:3000/photos/24 -Completed in 2007ms (DB: 1) | 302 Found [http://localhost/photos] - - -Processing PhotosController#show (for 127.0.0.1 at 2010-10-08 08:36:24) [GET] - Parameters: {"id"=>"24"} - Photo Load (0.2ms) SELECT * FROM "photos" WHERE ("photos"."id" = 24)  -Rendering template within layouts/photos -Rendering photos/show -Completed in 12ms (View: 5, DB: 0) | 200 OK [http://localhost/photos/24] - - -Processing PhotosController#new (for 127.0.0.1 at 2010-10-08 08:36:26) [GET] - Category Load (0.4ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering photos/new -Completed in 17ms (View: 6, DB: 0) | 200 OK [http://localhost/photos/new] - - -Processing PhotosController#create (for 127.0.0.1 at 2010-10-08 08:36:52) [POST] - Parameters: {"photo"=>{"photo"=>#, "category_id"=>"1"}, "commit"=>"Upload", "authenticity_token"=>"MRMA5jN8F+L8Qu/qxudBGU2lL/82P68aMbmoNbKb5zw="} -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-8v8u49-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-8v8u49-0.jpg[0]' -resize "x308" -crop "308x308+163+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-8v8u49-020101008-62042-v51r9z-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-8v8u49-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-8v8u49-0.jpg[0]' -resize "x224" -crop "224x224+119+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-8v8u49-020101008-62042-1ddtvlc-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-8v8u49-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-8v8u49-0.jpg[0]' -resize "x140" -crop "140x140+74+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-8v8u49-020101008-62042-i247cw-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-8v8u49-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-8v8u49-0.jpg[0]' -resize "x84" -crop "84x84+44+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-8v8u49-020101008-62042-dg6x55-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-8v8u49-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-8v8u49-0.jpg[0]' -resize "1024x1024>" '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-8v8u49-020101008-62042-9tsrty-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-8v8u49-020101008-62042-9tsrty-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-8v8u49-020101008-62042-9tsrty-0[0]' -resize "x56" -crop "56x56+29+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-8v8u49-020101008-62042-9tsrty-020101008-62042-5qs1wj-0' 2>/dev/null - Category Load (0.8ms) SELECT * FROM "categories" WHERE ("categories"."id" = 1)  - Photo Create (0.3ms) INSERT INTO "photos" ("photo_file_size", "created_at", "title", "flickr_url", "photo_file_name", "updated_at", "photo_content_type", "category_id", "photo_updated_at", "description", "sort") VALUES(134145, '2010-10-08 12:36:54', NULL, NULL, 'Croagh Patrick no3.jpg', '2010-10-08 12:36:54', 'image/jpeg', 1, '2010-10-08 12:36:52', NULL, NULL) -[paperclip] Saving attachments. -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/25/size11/Croagh Patrick no3.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/25/size8/Croagh Patrick no3.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/25/size5/Croagh Patrick no3.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/25/size3/Croagh Patrick no3.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/25/original/Croagh Patrick no3.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/25/size2/Croagh Patrick no3.jpg -Redirected to http://localhost:3000/photos/25 -Completed in 2442ms (DB: 1) | 302 Found [http://localhost/photos] - - -Processing PhotosController#show (for 127.0.0.1 at 2010-10-08 08:36:54) [GET] - Parameters: {"id"=>"25"} - Photo Load (0.3ms) SELECT * FROM "photos" WHERE ("photos"."id" = 25)  -Rendering template within layouts/photos -Rendering photos/show -Completed in 10ms (View: 4, DB: 0) | 200 OK [http://localhost/photos/25] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 08:36:56) [GET] - Photo Load (0.8ms) SELECT * FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 18ms (View: 12, DB: 1) | 200 OK [http://localhost/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 08:54:26) [GET] - Photo Load (0.9ms) SELECT * FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 44ms (View: 38, DB: 1) | 200 OK [http://localhost/photos] - - -Processing PhotosController#new (for 127.0.0.1 at 2010-10-08 08:54:29) [GET] - Category Load (0.5ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering photos/new -Completed in 85ms (View: 71, DB: 1) | 200 OK [http://localhost/photos/new] - - -Processing PhotosController#create (for 127.0.0.1 at 2010-10-08 08:55:11) [POST] - Parameters: {"photo"=>{"photo"=>#, "category_id"=>"1"}, "commit"=>"Upload", "authenticity_token"=>"MRMA5jN8F+L8Qu/qxudBGU2lL/82P68aMbmoNbKb5zw="} -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-1nitd17-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-1nitd17-0.jpg[0]' -resize "308x" -crop "308x308+0+76" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-1nitd17-020101008-62042-1iqwvow-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-1nitd17-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-1nitd17-0.jpg[0]' -resize "224x" -crop "224x224+0+55" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-1nitd17-020101008-62042-1dephlu-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-1nitd17-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-1nitd17-0.jpg[0]' -resize "140x" -crop "140x140+0+34" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-1nitd17-020101008-62042-1v48aj3-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-1nitd17-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-1nitd17-0.jpg[0]' -resize "84x" -crop "84x84+0+20" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-1nitd17-020101008-62042-6h7o5-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-1nitd17-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-1nitd17-0.jpg[0]' -resize "1024x1024>" '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-1nitd17-020101008-62042-qxkr36-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-1nitd17-020101008-62042-qxkr36-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-1nitd17-020101008-62042-qxkr36-0[0]' -resize "56x" -crop "56x56+0+13" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-62042-1nitd17-020101008-62042-qxkr36-020101008-62042-elfnsm-0' 2>/dev/null - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = 1)  - Photo Create (0.3ms) INSERT INTO "photos" ("photo_file_size", "created_at", "title", "flickr_url", "photo_file_name", "updated_at", "photo_content_type", "category_id", "photo_updated_at", "description", "sort") VALUES(241628, '2010-10-08 12:55:13', 'A Title', NULL, 'namitha1.jpg', '2010-10-08 12:55:13', 'image/jpeg', 1, '2010-10-08 12:55:11', NULL, NULL) -[paperclip] Saving attachments. -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/26/size11/namitha1.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/26/size8/namitha1.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/26/size5/namitha1.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/26/size3/namitha1.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/26/original/namitha1.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/26/size2/namitha1.jpg -Redirected to http://localhost:3000/photos/26 -Completed in 1884ms (DB: 1) | 302 Found [http://localhost/photos] - - -Processing PhotosController#show (for 127.0.0.1 at 2010-10-08 08:55:13) [GET] - Parameters: {"id"=>"26"} - Photo Load (0.2ms) SELECT * FROM "photos" WHERE ("photos"."id" = 26)  -Rendering template within layouts/photos -Rendering photos/show -Completed in 54ms (View: 49, DB: 0) | 200 OK [http://localhost/photos/26] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 08:55:17) [GET] - Photo Load (1.2ms) SELECT * FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 21ms (View: 13, DB: 1) | 200 OK [http://localhost/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 08:56:15) [GET] - Photo Load (0.8ms) SELECT * FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 175ms (View: 168, DB: 1) | 200 OK [http://localhost/photos] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-08 09:01:02) [GET] - Category Load (1.1ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 36ms (View: 24, DB: 1) | 200 OK [http://localhost/categories] - - -Processing PhotosController#new (for 127.0.0.1 at 2010-10-08 10:15:58) [GET] - Category Load (0.5ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering photos/new -Completed in 128ms (View: 111, DB: 1) | 200 OK [http://localhost/photos/new] - - -Processing PhotosController#create (for 127.0.0.1 at 2010-10-08 10:16:15) [POST] - Parameters: {"photo"=>{"photo"=>#, "category_id"=>"4"}, "commit"=>"Upload", "authenticity_token"=>"MRMA5jN8F+L8Qu/qxudBGU2lL/82P68aMbmoNbKb5zw="} - -NameError (uninitialized constant Photo::EXIFR): - app/models/photo.rb:17:in `get_exif' - app/controllers/photos_controller.rb:12:in `new' - app/controllers/photos_controller.rb:12:in `create' - -Rendered rescues/_trace (32.8ms) -Rendered rescues/_request_and_response (0.5ms) -Rendering rescues/layout (internal_server_error) - - -Processing PhotosController#create (for 127.0.0.1 at 2010-10-08 10:16:37) [POST] - Parameters: {"photo"=>{"photo"=>#, "category_id"=>"4"}, "commit"=>"Upload", "authenticity_token"=>"MRMA5jN8F+L8Qu/qxudBGU2lL/82P68aMbmoNbKb5zw="} - -MissingSourceFile (no such file to load -- exifr): - app/models/photo.rb:1 - app/controllers/photos_controller.rb:12:in `create' - -Rendered rescues/_trace (31.8ms) -Rendered rescues/_request_and_response (0.5ms) -Rendering rescues/layout (internal_server_error) - - -Processing PhotosController#create (for 127.0.0.1 at 2010-10-08 10:18:27) [POST] - Parameters: {"photo"=>{"photo"=>#, "category_id"=>"4"}, "commit"=>"Upload", "authenticity_token"=>"MRMA5jN8F+L8Qu/qxudBGU2lL/82P68aMbmoNbKb5zw="} - -NameError (undefined local variable or method `attachment' for #): - app/models/photo.rb:19:in `get_exif' - app/controllers/photos_controller.rb:12:in `new' - app/controllers/photos_controller.rb:12:in `create' - -Rendered rescues/_trace (29.8ms) -Rendered rescues/_request_and_response (1.1ms) -Rendering rescues/layout (internal_server_error) - - -Processing PhotosController#create (for 127.0.0.1 at 2010-10-08 10:18:51) [POST] - Parameters: {"photo"=>{"photo"=>#, "category_id"=>"4"}, "commit"=>"Upload", "authenticity_token"=>"MRMA5jN8F+L8Qu/qxudBGU2lL/82P68aMbmoNbKb5zw="} - -NoMethodError (undefined method `title' for #): - exifr (1.0.3) lib/jpeg.rb:56:in `method_missing' - app/models/photo.rb:20:in `get_exif' - app/controllers/photos_controller.rb:12:in `new' - app/controllers/photos_controller.rb:12:in `create' - -Rendered rescues/_trace (77.5ms) -Rendered rescues/_request_and_response (0.4ms) -Rendering rescues/layout (internal_server_error) - - -Processing PhotosController#create (for 127.0.0.1 at 2010-10-08 10:19:07) [POST] - Parameters: {"photo"=>{"photo"=>#, "category_id"=>"4"}, "commit"=>"Upload", "authenticity_token"=>"MRMA5jN8F+L8Qu/qxudBGU2lL/82P68aMbmoNbKb5zw="} - -NoMethodError (undefined method `Title' for #): - exifr (1.0.3) lib/jpeg.rb:56:in `method_missing' - app/models/photo.rb:20:in `get_exif' - app/controllers/photos_controller.rb:12:in `new' - app/controllers/photos_controller.rb:12:in `create' - -Rendered rescues/_trace (91.8ms) -Rendered rescues/_request_and_response (0.4ms) -Rendering rescues/layout (internal_server_error) - - -Processing PhotosController#create (for 127.0.0.1 at 2010-10-08 10:25:07) [POST] - Parameters: {"photo"=>{"photo"=>#, "category_id"=>"4"}, "commit"=>"Upload", "authenticity_token"=>"MRMA5jN8F+L8Qu/qxudBGU2lL/82P68aMbmoNbKb5zw="} - -NoMethodError (undefined method `image_title' for #): - exifr (1.0.3) lib/jpeg.rb:56:in `method_missing' - app/models/photo.rb:20:in `get_exif' - app/controllers/photos_controller.rb:12:in `new' - app/controllers/photos_controller.rb:12:in `create' - -Rendered rescues/_trace (100.4ms) -Rendered rescues/_request_and_response (1.2ms) -Rendering rescues/layout (internal_server_error) - - -Processing PhotosController#create (for 127.0.0.1 at 2010-10-08 10:55:35) [POST] - Parameters: {"photo"=>{"photo"=>#, "category_id"=>"4"}, "commit"=>"Upload", "authenticity_token"=>"MRMA5jN8F+L8Qu/qxudBGU2lL/82P68aMbmoNbKb5zw="} - -NoMethodError (undefined method `image_title' for #): - exifr (1.0.3) lib/jpeg.rb:56:in `method_missing' - app/models/photo.rb:20:in `get_exif' - app/controllers/photos_controller.rb:12:in `new' - app/controllers/photos_controller.rb:12:in `create' - -Rendered rescues/_trace (921.4ms) -Rendered rescues/_request_and_response (0.7ms) -Rendering rescues/layout (internal_server_error) - - -Processing PhotosController#create (for 127.0.0.1 at 2010-10-08 10:55:45) [POST] - Parameters: {"photo"=>{"photo"=>#, "category_id"=>"4"}, "commit"=>"Upload", "authenticity_token"=>"MRMA5jN8F+L8Qu/qxudBGU2lL/82P68aMbmoNbKb5zw="} -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-75171-wlz87h-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-75171-wlz87h-0.jpg[0]' -resize "x224" -crop "224x224+56+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-75171-wlz87h-020101008-75171-1a2wkim-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-75171-wlz87h-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-75171-wlz87h-0.jpg[0]' -resize "x140" -crop "140x140+35+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-75171-wlz87h-020101008-75171-1tlfnak-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-75171-wlz87h-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-75171-wlz87h-0.jpg[0]' -resize "x84" -crop "84x84+21+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-75171-wlz87h-020101008-75171-15c999c-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-75171-wlz87h-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-75171-wlz87h-0.jpg[0]' -resize "x56" -crop "56x56+14+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-75171-wlz87h-020101008-75171-gwsbld-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-75171-wlz87h-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-75171-wlz87h-0.jpg[0]' -resize "1024x1024>" '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-75171-wlz87h-020101008-75171-1899ffx-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-75171-wlz87h-020101008-75171-1899ffx-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-75171-wlz87h-020101008-75171-1899ffx-0[0]' -resize "x308" -crop "308x308+76+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-75171-wlz87h-020101008-75171-1899ffx-020101008-75171-d9lnxj-0' 2>/dev/null - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = 4)  - Photo Create (0.4ms) INSERT INTO "photos" ("photo_file_size", "created_at", "title", "flickr_url", "photo_file_name", "updated_at", "photo_content_type", "category_id", "photo_updated_at", "description", "sort") VALUES(238370, '2010-10-08 14:55:49', NULL, NULL, 'Famine Monument at Murrisk.jpg', '2010-10-08 14:55:49', 'image/jpeg', 4, '2010-10-08 14:55:45', 'Detail of the ship monument at the base of Croagh Patrick, Co. Mayo.', NULL) -[paperclip] Saving attachments. -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/27/size8/Famine Monument at Murrisk.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/27/size5/Famine Monument at Murrisk.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/27/size3/Famine Monument at Murrisk.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/27/size2/Famine Monument at Murrisk.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/27/original/Famine Monument at Murrisk.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/27/size11/Famine Monument at Murrisk.jpg -Redirected to http://localhost:3000/photos/27 -Completed in 4605ms (DB: 1) | 302 Found [http://localhost/photos] - - -Processing PhotosController#show (for 127.0.0.1 at 2010-10-08 10:55:49) [GET] - Parameters: {"id"=>"27"} - Photo Load (0.2ms) SELECT * FROM "photos" WHERE ("photos"."id" = 27)  -Rendering template within layouts/photos -Rendering photos/show -Completed in 210ms (View: 204, DB: 0) | 200 OK [http://localhost/photos/27] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 10:55:53) [GET] - Photo Load (1.1ms) SELECT * FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 64ms (View: 55, DB: 1) | 200 OK [http://localhost/photos/] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-08 11:00:15) [GET] - Category Load (0.7ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 66ms (View: 40, DB: 1) | 200 OK [http://localhost/categories] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-08 11:00:57) [GET] - Category Load (0.6ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 30ms (View: 25, DB: 1) | 200 OK [http://localhost/categories] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-08 11:01:48) [GET] - Category Load (1.1ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 12ms (View: 5, DB: 1) | 200 OK [http://localhost/categories] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-08 11:02:06) [GET] - Category Load (0.7ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 57ms (View: 4, DB: 1) | 200 OK [http://localhost/categories] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-08 11:02:17) [GET] - Category Load (0.6ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 8ms (View: 4, DB: 1) | 200 OK [http://localhost/categories] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-08 11:03:10) [GET] - Category Load (0.6ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 10ms (View: 6, DB: 1) | 200 OK [http://localhost/categories] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-08 11:09:53) [GET] - Category Load (0.7ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 28ms (View: 23, DB: 1) | 200 OK [http://localhost/categories] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-08 11:10:13) [GET] - Category Load (0.6ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 11ms (View: 6, DB: 1) | 200 OK [http://localhost/categories] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-08 11:10:47) [GET] - Category Load (0.6ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 10ms (View: 6, DB: 1) | 200 OK [http://localhost/categories] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-08 11:11:19) [GET] - Category Load (0.6ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 11ms (View: 6, DB: 1) | 200 OK [http://localhost/categories] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-08 11:11:33) [GET] - Category Load (0.7ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 12ms (View: 7, DB: 1) | 200 OK [http://localhost/categories] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-08 11:12:15) [GET] - Category Load (0.7ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 23ms (View: 3, DB: 1) | 200 OK [http://localhost/categories] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-08 11:12:53) [GET] - Category Load (0.7ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 62ms (View: 4, DB: 1) | 200 OK [http://localhost/categories] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-08 11:12:54) [GET] - Category Load (0.9ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 10ms (View: 4, DB: 1) | 200 OK [http://localhost/categories] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-08 11:13:34) [GET] - Category Load (0.6ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 9ms (View: 4, DB: 1) | 200 OK [http://localhost/categories] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-08 11:14:27) [GET] - Category Load (0.8ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 8ms (View: 3, DB: 1) | 200 OK [http://localhost/categories] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-08 11:15:00) [GET] - Category Load (0.6ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 29ms (View: 25, DB: 1) | 200 OK [http://localhost/categories] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-08 11:15:38) [GET] - Category Load (0.6ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 62ms (View: 6, DB: 1) | 200 OK [http://localhost/categories] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-08 11:16:13) [GET] - Category Load (0.6ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 11ms (View: 7, DB: 1) | 200 OK [http://localhost/categories] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-08 11:16:30) [GET] - Category Load (0.7ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 13ms (View: 7, DB: 1) | 200 OK [http://localhost/categories] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-08 11:17:26) [GET] - Category Load (0.7ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 19ms (View: 7, DB: 1) | 200 OK [http://localhost/categories] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-08 11:17:50) [GET] - Category Load (0.7ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 8ms (View: 4, DB: 1) | 200 OK [http://localhost/categories] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-08 11:18:10) [GET] - Category Load (0.6ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 8ms (View: 3, DB: 1) | 200 OK [http://localhost/categories] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-08 11:18:38) [GET] - Category Load (0.6ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 8ms (View: 4, DB: 1) | 200 OK [http://localhost/categories] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-08 11:18:53) [GET] - Category Load (0.6ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 9ms (View: 4, DB: 1) | 200 OK [http://localhost/categories] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-08 11:19:44) [GET] - Category Load (0.6ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 11ms (View: 7, DB: 1) | 200 OK [http://localhost/categories] - - -Processing CategoriesController#new (for 127.0.0.1 at 2010-10-08 11:25:52) [GET] -Rendering template within layouts/photos -Rendering categories/new -Completed in 99ms (View: 93, DB: 0) | 200 OK [http://localhost/categories/new] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-08 11:40:22) [GET] - Category Load (0.6ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 12ms (View: 7, DB: 1) | 200 OK [http://localhost/categories] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-08 11:40:59) [GET] - Category Load (0.6ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 9ms (View: 4, DB: 1) | 200 OK [http://localhost/categories] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-08 11:41:02) [GET] - Category Load (0.6ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 9ms (View: 4, DB: 1) | 200 OK [http://localhost/categories] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-08 11:41:12) [GET] - Category Load (0.6ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 9ms (View: 4, DB: 1) | 200 OK [http://localhost/categories] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-08 11:41:44) [GET] - Category Load (0.6ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 9ms (View: 4, DB: 1) | 200 OK [http://localhost/categories] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-08 11:42:04) [GET] - Category Load (0.6ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 8ms (View: 4, DB: 1) | 200 OK [http://localhost/categories] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-08 11:42:19) [GET] - Category Load (0.7ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 9ms (View: 4, DB: 1) | 200 OK [http://localhost/categories] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-08 11:43:38) [GET] - Category Load (0.6ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -ERROR: compiling _run_erb_app47views47categories47index46html46erb RAISED compile error -/Users/danbee/Sites/rails/photos/app/views/categories/index.html.erb:6: syntax error, unexpected tIDENTIFIER, expecting kDO or '{' or '(' -...t(( link_tag '

'+h category.name.downcase+'

', catego... - ^ -/Users/danbee/Sites/rails/photos/app/views/categories/index.html.erb:6: syntax error, unexpected ',', expecting ')' -...ategory.name.downcase+'', category ).to_s); @output_buf... - ^ -Function body: def _run_erb_app47views47categories47index46html46erb(local_assigns) - old_output_buffer = output_buffer;;@output_buffer = ''; __in_erb_template=true ; @output_buffer.concat "
\n\n" - -; @categories.each do |category| ; @output_buffer.concat "\n
\n\t\t
\n\t " -; @output_buffer.concat(( link_tag '

'+h category.name.downcase+'

', category ).to_s); @output_buffer.concat "\n\t\t
\n
\n" - - -; end ; @output_buffer.concat "\n\n
\n
\n\n
\n" - - - - - -; @output_buffer - ensure - self.output_buffer = old_output_buffer - end -Backtrace: /Users/danbee/Sites/rails/photos/app/views/categories/index.html.erb:18:in `compile!' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_view/renderable.rb:61:in `compile' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_view/renderable.rb:28:in `render' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_view/template.rb:205:in `render_template' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_view/base.rb:265:in `render' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_view/base.rb:348:in `_render_with_layout' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_view/base.rb:262:in `render' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/base.rb:1250:in `render_for_file' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/base.rb:942:in `render_without_benchmark' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/benchmarking.rb:51:in `render' -/Library/Ruby/Gems/1.8/gems/activesupport-2.3.8/lib/active_support/core_ext/benchmark.rb:17:in `ms' -/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/benchmark.rb:308:in `realtime' -/Library/Ruby/Gems/1.8/gems/activesupport-2.3.8/lib/active_support/core_ext/benchmark.rb:17:in `ms' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/benchmarking.rb:51:in `render' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/mime_responds.rb:135:in `send' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/mime_responds.rb:135:in `custom' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/mime_responds.rb:179:in `call' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/mime_responds.rb:179:in `respond' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/mime_responds.rb:173:in `each' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/mime_responds.rb:173:in `respond' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/mime_responds.rb:107:in `respond_to' -/Users/danbee/Sites/rails/photos/app/controllers/categories_controller.rb:8:in `index' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/base.rb:1331:in `send' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/base.rb:1331:in `perform_action_without_filters' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/filters.rb:617:in `call_filters' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/filters.rb:610:in `perform_action_without_benchmark' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue' -/Library/Ruby/Gems/1.8/gems/activesupport-2.3.8/lib/active_support/core_ext/benchmark.rb:17:in `ms' -/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/benchmark.rb:308:in `realtime' -/Library/Ruby/Gems/1.8/gems/activesupport-2.3.8/lib/active_support/core_ext/benchmark.rb:17:in `ms' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/rescue.rb:160:in `perform_action_without_flash' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/flash.rb:151:in `perform_action' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/base.rb:532:in `send' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/base.rb:532:in `process_without_filters' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/filters.rb:606:in `process' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/base.rb:391:in `process' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/base.rb:386:in `call' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/routing/route_set.rb:438:in `call' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/dispatcher.rb:87:in `dispatch' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/dispatcher.rb:121:in `_call' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/dispatcher.rb:130:in `build_middleware_stack' -/Library/Ruby/Gems/1.8/gems/activerecord-2.3.8/lib/active_record/query_cache.rb:29:in `call' -/Library/Ruby/Gems/1.8/gems/activerecord-2.3.8/lib/active_record/query_cache.rb:29:in `call' -/Library/Ruby/Gems/1.8/gems/activerecord-2.3.8/lib/active_record/connection_adapters/abstract/query_cache.rb:34:in `cache' -/Library/Ruby/Gems/1.8/gems/activerecord-2.3.8/lib/active_record/query_cache.rb:9:in `cache' -/Library/Ruby/Gems/1.8/gems/activerecord-2.3.8/lib/active_record/query_cache.rb:28:in `call' -/Library/Ruby/Gems/1.8/gems/activerecord-2.3.8/lib/active_record/connection_adapters/abstract/connection_pool.rb:361:in `call' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/string_coercion.rb:25:in `call' -/Library/Ruby/Gems/1.8/gems/rack-1.1.0/lib/rack/head.rb:9:in `call' -/Library/Ruby/Gems/1.8/gems/rack-1.1.0/lib/rack/methodoverride.rb:24:in `call' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/params_parser.rb:15:in `call' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/session/cookie_store.rb:99:in `call' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/failsafe.rb:26:in `call' -/Library/Ruby/Gems/1.8/gems/rack-1.1.0/lib/rack/lock.rb:11:in `call' -/Library/Ruby/Gems/1.8/gems/rack-1.1.0/lib/rack/lock.rb:11:in `synchronize' -/Library/Ruby/Gems/1.8/gems/rack-1.1.0/lib/rack/lock.rb:11:in `call' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/dispatcher.rb:114:in `call' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/reloader.rb:34:in `run' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/dispatcher.rb:108:in `call' -/Library/Ruby/Gems/1.8/gems/rails-2.3.8/lib/rails/rack/static.rb:31:in `call' -/Library/Ruby/Gems/1.8/gems/rack-1.1.0/lib/rack/urlmap.rb:47:in `call' -/Library/Ruby/Gems/1.8/gems/rack-1.1.0/lib/rack/urlmap.rb:41:in `each' -/Library/Ruby/Gems/1.8/gems/rack-1.1.0/lib/rack/urlmap.rb:41:in `call' -/Library/Ruby/Gems/1.8/gems/rails-2.3.8/lib/rails/rack/log_tailer.rb:17:in `call' -/Library/Ruby/Gems/1.8/gems/rack-1.1.0/lib/rack/content_length.rb:13:in `call' -/Library/Ruby/Gems/1.8/gems/rack-1.1.0/lib/rack/chunked.rb:15:in `call' -/Library/Ruby/Gems/1.8/gems/rack-1.1.0/lib/rack/handler/mongrel.rb:67:in `process' -/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:159:in `process_client' -/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in `each' -/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in `process_client' -/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `run' -/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `initialize' -/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `new' -/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `run' -/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `initialize' -/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `new' -/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `run' -/Library/Ruby/Gems/1.8/gems/rack-1.1.0/lib/rack/handler/mongrel.rb:38:in `run' -/Library/Ruby/Gems/1.8/gems/rails-2.3.8/lib/commands/server.rb:111 -/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require' -/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require' -script/server:3 - -ActionView::TemplateError (compile error -/Users/danbee/Sites/rails/photos/app/views/categories/index.html.erb:6: syntax error, unexpected tIDENTIFIER, expecting kDO or '{' or '(' -...t(( link_tag '

'+h category.name.downcase+'

', catego... - ^ -/Users/danbee/Sites/rails/photos/app/views/categories/index.html.erb:6: syntax error, unexpected ',', expecting ')' -...ategory.name.downcase+'', category ).to_s); @output_buf... - ^) on line #6 of app/views/categories/index.html.erb: -3: <% @categories.each do |category| %> -4:
-5:
-6: <%= link_tag '

'+h category.name.downcase+'

', category %> -7:
-8:
-9: <% end %> - - app/views/categories/index.html.erb:18:in `compile!' - app/controllers/categories_controller.rb:8:in `index' - -Rendered rescues/_trace (81.3ms) -Rendered rescues/_request_and_response (0.2ms) -Rendering rescues/layout (internal_server_error) - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-08 11:43:50) [GET] - Category Load (0.7ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index - -ActionView::TemplateError (undefined method `link_tag' for #) on line #6 of app/views/categories/index.html.erb: -3: <% @categories.each do |category| %> -4:
-5:
-6: <%= link_tag '

'+h(category.name.downcase)+'

', category %> -7:
-8:
-9: <% end %> - - app/views/categories/index.html.erb:6 - app/views/categories/index.html.erb:3:in `each' - app/views/categories/index.html.erb:3 - app/controllers/categories_controller.rb:8:in `index' - -Rendered rescues/_trace (27.8ms) -Rendered rescues/_request_and_response (0.2ms) -Rendering rescues/layout (internal_server_error) - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-08 11:43:56) [GET] - Category Load (0.6ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 69ms (View: 65, DB: 1) | 200 OK [http://localhost/categories] - - -Processing CategoriesController#show (for 127.0.0.1 at 2010-10-08 11:43:59) [GET] - Parameters: {"id"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = 1)  -Rendering template within layouts/photos -Rendering categories/show -Completed in 27ms (View: 21, DB: 0) | 200 OK [http://localhost/categories/1] - - -Processing CategoriesController#show (for 127.0.0.1 at 2010-10-08 11:44:04) [GET] - Parameters: {"id"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = 1)  -Rendering template within layouts/photos -Rendering categories/show -Completed in 9ms (View: 3, DB: 0) | 200 OK [http://localhost/categories/1] - - -Processing CategoriesController#show (for 127.0.0.1 at 2010-10-08 11:44:07) [GET] - Parameters: {"id"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = 1)  -Rendering template within layouts/photos -Rendering categories/show -Completed in 8ms (View: 3, DB: 0) | 200 OK [http://localhost/categories/1] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-08 11:44:39) [GET] - Category Load (0.6ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 10ms (View: 6, DB: 1) | 200 OK [http://localhost/categories] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-08 11:44:50) [GET] - Category Load (0.6ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 71ms (View: 56, DB: 1) | 200 OK [http://localhost/categories] - - -Processing CategoriesController#show (for 127.0.0.1 at 2010-10-08 11:45:01) [GET] - Parameters: {"id"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = 1)  -Rendering template within layouts/photos -Rendering categories/show -Completed in 8ms (View: 3, DB: 0) | 200 OK [http://localhost/categories/1] - - -Processing CategoriesController#show (for 127.0.0.1 at 2010-10-08 11:45:12) [GET] - Parameters: {"id"=>"1"} - Category Load (0.3ms) SELECT * FROM "categories" WHERE ("categories"."id" = 1)  -Rendering template within layouts/photos -Rendering categories/show -Completed in 9ms (View: 3, DB: 0) | 200 OK [http://localhost/categories/1] - - -Processing CategoriesController#1 (for 127.0.0.1 at 2010-10-08 11:45:15) [GET] - Parameters: {"id"=>"photos"} - -ActionController::UnknownAction (No action responded to 1. Actions: create, destroy, edit, index, new, show, and update): - - -Rendering rescues/layout (not_found) - - -Processing CategoriesController#show (for 127.0.0.1 at 2010-10-08 11:46:58) [GET] - Parameters: {"id"=>"2"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = 2)  -Rendering template within layouts/photos -Rendering categories/show -Completed in 8ms (View: 3, DB: 0) | 200 OK [http://localhost/categories/2] - - -Processing CategoriesController#show (for 127.0.0.1 at 2010-10-08 11:53:40) [GET] - Parameters: {"id"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = 1)  -Rendering template within layouts/photos -Rendering categories/show -Completed in 8ms (View: 3, DB: 0) | 200 OK [http://localhost/categories/1] - - -Processing CategoriesController#show (for 127.0.0.1 at 2010-10-08 11:53:42) [GET] - Parameters: {"id"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = 1)  -Rendering template within layouts/photos -Rendering categories/show -Completed in 8ms (View: 3, DB: 0) | 200 OK [http://localhost/categories/1] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-08 11:54:41) [GET] - Category Load (0.6ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 10ms (View: 5, DB: 1) | 200 OK [http://localhost/categories] - - -Processing ApplicationController#index (for 127.0.0.1 at 2010-10-08 11:54:44) [GET] - -ActionController::RoutingError (No route matches "/categories1/photos" with {:method=>:get}): - - -Rendering rescues/layout (not_found) - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 11:54:46) [GET] - Parameters: {"category_id"=>"1"} - Photo Load (0.9ms) SELECT * FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 20ms (View: 12, DB: 1) | 200 OK [http://localhost/categories/1/photos] - - -Processing PhotosController#new (for 127.0.0.1 at 2010-10-08 11:54:59) [GET] - Parameters: {"category_id"=>"1"} - Category Load (0.4ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering photos/new -Completed in 25ms (View: 15, DB: 0) | 200 OK [http://localhost/categories/1/photos/new] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 11:55:09) [GET] - Parameters: {"category_id"=>"2"} - Photo Load (0.9ms) SELECT * FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 19ms (View: 12, DB: 1) | 200 OK [http://localhost/categories/2/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 11:55:13) [GET] - Parameters: {"category_id"=>"1"} - Photo Load (0.9ms) SELECT * FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 17ms (View: 10, DB: 1) | 200 OK [http://localhost/categories/1/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 11:55:25) [GET] - Parameters: {"category_id"=>"1"} - Photo Load (1.0ms) SELECT * FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 19ms (View: 11, DB: 1) | 200 OK [http://localhost/categories/1/photos] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-08 11:55:30) [GET] - Category Load (0.6ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 12ms (View: 8, DB: 1) | 200 OK [http://localhost/categories/] - - -Processing CategoriesController#show (for 127.0.0.1 at 2010-10-08 11:55:32) [GET] - Parameters: {"id"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = 1)  -Rendering template within layouts/photos -Rendering categories/show -Completed in 10ms (View: 4, DB: 0) | 200 OK [http://localhost/categories/1] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-08 11:55:52) [GET] - Category Load (0.6ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index - -ActionView::TemplateError (undefined local variable or method `category_photos' for #) on line #6 of app/views/categories/index.html.erb: -3: <% @categories.each do |category| %> -4:
-5:
-6: <%= link_to '

'+h(category.name.downcase)+'

', category_photos %> -7:
-8:
-9: <% end %> - - app/views/categories/index.html.erb:6 - app/views/categories/index.html.erb:3:in `each' - app/views/categories/index.html.erb:3 - app/controllers/categories_controller.rb:8:in `index' - -Rendered rescues/_trace (108.1ms) -Rendered rescues/_request_and_response (0.2ms) -Rendering rescues/layout (internal_server_error) - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-08 11:55:57) [GET] - Category Load (0.6ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index - -ActionView::TemplateError (category_photos_url failed to generate from {:action=>"index", :controller=>"photos"} - you may have ambiguous routes, or you may need to supply additional parameters for this route. content_url has the following required parameters: ["categories", :category_id, "photos"] - are they all satisfied?) on line #6 of app/views/categories/index.html.erb: -3: <% @categories.each do |category| %> -4:
-5:
-6: <%= link_to '

'+h(category.name.downcase)+'

', category_photos_url %> -7:
-8:
-9: <% end %> - - (eval):21:in `category_photos_url' - app/views/categories/index.html.erb:6 - app/views/categories/index.html.erb:3:in `each' - app/views/categories/index.html.erb:3 - app/controllers/categories_controller.rb:8:in `index' - -Rendered rescues/_trace (32.3ms) -Rendered rescues/_request_and_response (0.2ms) -Rendering rescues/layout (internal_server_error) - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-08 11:56:09) [GET] - Category Load (0.6ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 11ms (View: 7, DB: 1) | 200 OK [http://localhost/categories/] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-08 11:56:10) [GET] - Category Load (0.9ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 12ms (View: 7, DB: 1) | 200 OK [http://localhost/categories/] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-08 11:56:16) [GET] - Category Load (0.6ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index - Photo Load (0.4ms) SELECT * FROM "photos" WHERE ("photos".category_id = 1)  - -ActionView::TemplateError (undefined method `photo_photo_path' for #) on line #6 of app/views/categories/index.html.erb: -3: <% @categories.each do |category| %> -4:
-5:
-6: <%= link_to '

'+h(category.name.downcase)+'

', category.photos %> -7:
-8:
-9: <% end %> - - app/views/categories/index.html.erb:6 - app/views/categories/index.html.erb:3:in `each' - app/views/categories/index.html.erb:3 - app/controllers/categories_controller.rb:8:in `index' - -Rendered rescues/_trace (83.3ms) -Rendered rescues/_request_and_response (0.2ms) -Rendering rescues/layout (internal_server_error) - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-08 11:56:30) [GET] - Category Load (0.8ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index - -ActionView::TemplateError (category_photos_url failed to generate from {:action=>"index", :controller=>"photos"} - you may have ambiguous routes, or you may need to supply additional parameters for this route. content_url has the following required parameters: ["categories", :category_id, "photos"] - are they all satisfied?) on line #6 of app/views/categories/index.html.erb: -3: <% @categories.each do |category| %> -4:
-5:
-6: <%= link_to '

'+h(category.name.downcase)+'

', category_photos_path %> -7:
-8:
-9: <% end %> - - (eval):21:in `category_photos_path' - app/views/categories/index.html.erb:6 - app/views/categories/index.html.erb:3:in `each' - app/views/categories/index.html.erb:3 - app/controllers/categories_controller.rb:8:in `index' - -Rendered rescues/_trace (35.1ms) -Rendered rescues/_request_and_response (0.4ms) -Rendering rescues/layout (internal_server_error) - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-08 11:56:59) [GET] - Category Load (0.8ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index - -ActionView::TemplateError (category_photos_url failed to generate from {:action=>"index", :controller=>"photos"} - you may have ambiguous routes, or you may need to supply additional parameters for this route. content_url has the following required parameters: ["categories", :category_id, "photos"] - are they all satisfied?) on line #6 of app/views/categories/index.html.erb: -3: <% @categories.each do |category| %> -4:
-5:
-6: <%= link_to '

'+h(category.name.downcase)+'

', category_photos_path, category %> -7:
-8:
-9: <% end %> - - (eval):21:in `category_photos_path' - app/views/categories/index.html.erb:6 - app/views/categories/index.html.erb:3:in `each' - app/views/categories/index.html.erb:3 - app/controllers/categories_controller.rb:8:in `index' - -Rendered rescues/_trace (30.6ms) -Rendered rescues/_request_and_response (0.3ms) -Rendering rescues/layout (internal_server_error) - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-08 11:57:10) [GET] - Category Load (0.6ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -ERROR: compiling _run_erb_app47views47categories47index46html46erb RAISED compile error -/Users/danbee/Sites/rails/photos/app/views/categories/index.html.erb:6: syntax error, unexpected '=', expecting ')' -...ry_photos_path, :category_id = category ).to_s); @output_buf... - ^ -Function body: def _run_erb_app47views47categories47index46html46erb(local_assigns) - old_output_buffer = output_buffer;;@output_buffer = ''; __in_erb_template=true ; @output_buffer.concat "
\n\n" - -; @categories.each do |category| ; @output_buffer.concat "\n
\n\t\t
\n\t " -; @output_buffer.concat(( link_to '

'+h(category.name.downcase)+'

', category_photos_path, :category_id = category ).to_s); @output_buffer.concat "\n\t\t
\n
\n" - - -; end ; @output_buffer.concat "\n\n
\n
\n\n
\n" - - - - - -; @output_buffer - ensure - self.output_buffer = old_output_buffer - end -Backtrace: /Users/danbee/Sites/rails/photos/app/views/categories/index.html.erb:18:in `compile!' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_view/renderable.rb:61:in `compile' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_view/renderable.rb:28:in `render' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_view/template.rb:205:in `render_template' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_view/base.rb:265:in `render' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_view/base.rb:348:in `_render_with_layout' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_view/base.rb:262:in `render' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/base.rb:1250:in `render_for_file' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/base.rb:942:in `render_without_benchmark' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/benchmarking.rb:51:in `render' -/Library/Ruby/Gems/1.8/gems/activesupport-2.3.8/lib/active_support/core_ext/benchmark.rb:17:in `ms' -/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/benchmark.rb:308:in `realtime' -/Library/Ruby/Gems/1.8/gems/activesupport-2.3.8/lib/active_support/core_ext/benchmark.rb:17:in `ms' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/benchmarking.rb:51:in `render' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/mime_responds.rb:135:in `send' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/mime_responds.rb:135:in `custom' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/mime_responds.rb:179:in `call' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/mime_responds.rb:179:in `respond' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/mime_responds.rb:173:in `each' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/mime_responds.rb:173:in `respond' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/mime_responds.rb:107:in `respond_to' -/Users/danbee/Sites/rails/photos/app/controllers/categories_controller.rb:8:in `index' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/base.rb:1331:in `send' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/base.rb:1331:in `perform_action_without_filters' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/filters.rb:617:in `call_filters' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/filters.rb:610:in `perform_action_without_benchmark' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue' -/Library/Ruby/Gems/1.8/gems/activesupport-2.3.8/lib/active_support/core_ext/benchmark.rb:17:in `ms' -/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/benchmark.rb:308:in `realtime' -/Library/Ruby/Gems/1.8/gems/activesupport-2.3.8/lib/active_support/core_ext/benchmark.rb:17:in `ms' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/rescue.rb:160:in `perform_action_without_flash' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/flash.rb:151:in `perform_action' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/base.rb:532:in `send' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/base.rb:532:in `process_without_filters' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/filters.rb:606:in `process' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/base.rb:391:in `process' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/base.rb:386:in `call' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/routing/route_set.rb:438:in `call' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/dispatcher.rb:87:in `dispatch' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/dispatcher.rb:121:in `_call' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/dispatcher.rb:130:in `build_middleware_stack' -/Library/Ruby/Gems/1.8/gems/activerecord-2.3.8/lib/active_record/query_cache.rb:29:in `call' -/Library/Ruby/Gems/1.8/gems/activerecord-2.3.8/lib/active_record/query_cache.rb:29:in `call' -/Library/Ruby/Gems/1.8/gems/activerecord-2.3.8/lib/active_record/connection_adapters/abstract/query_cache.rb:34:in `cache' -/Library/Ruby/Gems/1.8/gems/activerecord-2.3.8/lib/active_record/query_cache.rb:9:in `cache' -/Library/Ruby/Gems/1.8/gems/activerecord-2.3.8/lib/active_record/query_cache.rb:28:in `call' -/Library/Ruby/Gems/1.8/gems/activerecord-2.3.8/lib/active_record/connection_adapters/abstract/connection_pool.rb:361:in `call' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/string_coercion.rb:25:in `call' -/Library/Ruby/Gems/1.8/gems/rack-1.1.0/lib/rack/head.rb:9:in `call' -/Library/Ruby/Gems/1.8/gems/rack-1.1.0/lib/rack/methodoverride.rb:24:in `call' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/params_parser.rb:15:in `call' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/session/cookie_store.rb:99:in `call' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/failsafe.rb:26:in `call' -/Library/Ruby/Gems/1.8/gems/rack-1.1.0/lib/rack/lock.rb:11:in `call' -/Library/Ruby/Gems/1.8/gems/rack-1.1.0/lib/rack/lock.rb:11:in `synchronize' -/Library/Ruby/Gems/1.8/gems/rack-1.1.0/lib/rack/lock.rb:11:in `call' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/dispatcher.rb:114:in `call' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/reloader.rb:34:in `run' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/dispatcher.rb:108:in `call' -/Library/Ruby/Gems/1.8/gems/rails-2.3.8/lib/rails/rack/static.rb:31:in `call' -/Library/Ruby/Gems/1.8/gems/rack-1.1.0/lib/rack/urlmap.rb:47:in `call' -/Library/Ruby/Gems/1.8/gems/rack-1.1.0/lib/rack/urlmap.rb:41:in `each' -/Library/Ruby/Gems/1.8/gems/rack-1.1.0/lib/rack/urlmap.rb:41:in `call' -/Library/Ruby/Gems/1.8/gems/rails-2.3.8/lib/rails/rack/log_tailer.rb:17:in `call' -/Library/Ruby/Gems/1.8/gems/rack-1.1.0/lib/rack/content_length.rb:13:in `call' -/Library/Ruby/Gems/1.8/gems/rack-1.1.0/lib/rack/chunked.rb:15:in `call' -/Library/Ruby/Gems/1.8/gems/rack-1.1.0/lib/rack/handler/mongrel.rb:67:in `process' -/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:159:in `process_client' -/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in `each' -/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in `process_client' -/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `run' -/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `initialize' -/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `new' -/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `run' -/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `initialize' -/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `new' -/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `run' -/Library/Ruby/Gems/1.8/gems/rack-1.1.0/lib/rack/handler/mongrel.rb:38:in `run' -/Library/Ruby/Gems/1.8/gems/rails-2.3.8/lib/commands/server.rb:111 -/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require' -/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require' -script/server:3 - -ActionView::TemplateError (compile error -/Users/danbee/Sites/rails/photos/app/views/categories/index.html.erb:6: syntax error, unexpected '=', expecting ')' -...ry_photos_path, :category_id = category ).to_s); @output_buf... - ^) on line #6 of app/views/categories/index.html.erb: -3: <% @categories.each do |category| %> -4:
-5:
-6: <%= link_to '

'+h(category.name.downcase)+'

', category_photos_path, :category_id = category %> -7:
-8:
-9: <% end %> - - app/views/categories/index.html.erb:18:in `compile!' - app/controllers/categories_controller.rb:8:in `index' - -Rendered rescues/_trace (88.3ms) -Rendered rescues/_request_and_response (0.3ms) -Rendering rescues/layout (internal_server_error) - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-08 11:57:16) [GET] - Category Load (0.7ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index - -ActionView::TemplateError (category_photos_url failed to generate from {:action=>"index", :controller=>"photos"} - you may have ambiguous routes, or you may need to supply additional parameters for this route. content_url has the following required parameters: ["categories", :category_id, "photos"] - are they all satisfied?) on line #6 of app/views/categories/index.html.erb: -3: <% @categories.each do |category| %> -4:
-5:
-6: <%= link_to '

'+h(category.name.downcase)+'

', category_photos_path, :category_id => category %> -7:
-8:
-9: <% end %> - - (eval):21:in `category_photos_path' - app/views/categories/index.html.erb:6 - app/views/categories/index.html.erb:3:in `each' - app/views/categories/index.html.erb:3 - app/controllers/categories_controller.rb:8:in `index' - -Rendered rescues/_trace (29.8ms) -Rendered rescues/_request_and_response (0.3ms) -Rendering rescues/layout (internal_server_error) - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-08 11:58:09) [GET] - Category Load (0.7ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 71ms (View: 67, DB: 1) | 200 OK [http://localhost/categories/] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 11:58:15) [GET] - Parameters: {"category_id"=>"1"} - Photo Load (1.1ms) SELECT * FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 19ms (View: 11, DB: 1) | 200 OK [http://localhost/categories/1/photos] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-08 12:10:02) [GET] - Category Load (0.7ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 11ms (View: 6, DB: 1) | 200 OK [http://localhost/categories] - - -Processing CategoriesController#show (for 127.0.0.1 at 2010-10-08 12:10:36) [GET] - Parameters: {"id"=>"1"} - Category Load (0.3ms) SELECT * FROM "categories" WHERE ("categories"."id" = 1)  -Rendering template within layouts/photos -Rendering categories/show -Completed in 12ms (View: 4, DB: 0) | 200 OK [http://localhost/categories/1] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 12:10:39) [GET] - Parameters: {"category_id"=>"1"} - Photo Load (1.0ms) SELECT * FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 72ms (View: 63, DB: 1) | 200 OK [http://localhost/categories/1/photos] - - -Processing CategoriesController#1 (for 127.0.0.1 at 2010-10-08 12:14:36) [GET] - Parameters: {"id"=>"photos"} - -ActionController::UnknownAction (No action responded to 1. Actions: create, destroy, edit, index, new, show, and update): - - -Rendering rescues/layout (not_found) - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 12:15:40) [GET] - Parameters: {"category_id"=>"1"} - Photo Load (0.9ms) SELECT * FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 39ms (View: 33, DB: 1) | 200 OK [http://localhost/categories/1/photos] - - -Processing ApplicationController#index (for 127.0.0.1 at 2010-10-08 12:19:30) [GET] - Parameters: {"category_id"=>"1"} - -SyntaxError (/Users/danbee/Sites/rails/photos/app/controllers/photos_controller.rb:8: odd number list for Hash -...conditions => { :category_id = params[:category_id] }) - ^ -/Users/danbee/Sites/rails/photos/app/controllers/photos_controller.rb:8: syntax error, unexpected '=', expecting '}' -...conditions => { :category_id = params[:category_id] }) - ^ -/Users/danbee/Sites/rails/photos/app/controllers/photos_controller.rb:8: syntax error, unexpected '}', expecting kEND -...ry_id = params[:category_id] }) - ^ -/Users/danbee/Sites/rails/photos/app/controllers/photos_controller.rb:24: syntax error, unexpected $end, expecting kEND): - - -Rendered rescues/_trace (18.6ms) -Rendered rescues/_request_and_response (0.3ms) -Rendering rescues/layout (internal_server_error) - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 12:19:35) [GET] - Parameters: {"category_id"=>"1"} - Photo Load (21.1ms) SELECT * FROM "photos" WHERE ("photos"."category_id" = '1')  -Rendering template within layouts/photos -Rendering photos/index -Completed in 69ms (View: 42, DB: 21) | 200 OK [http://localhost/categories/1/photos] - - -Processing CategoriesController#show (for 127.0.0.1 at 2010-10-08 12:19:41) [GET] - Parameters: {"id"=>"2"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = 2)  -Rendering template within layouts/photos -Rendering categories/show -Completed in 72ms (View: 10, DB: 0) | 200 OK [http://localhost/categories/2] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 12:19:43) [GET] - Parameters: {"category_id"=>"2"} - Photo Load (1.0ms) SELECT * FROM "photos" WHERE ("photos"."category_id" = '2')  -Rendering template within layouts/photos -Rendering photos/index -Completed in 90ms (View: 82, DB: 1) | 200 OK [http://localhost/categories/2/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 12:19:50) [GET] - Photo Load (0.4ms) SELECT * FROM "photos" WHERE ("photos"."category_id" IS NULL)  -Rendering template within layouts/photos -Rendering photos/index -Completed in 7ms (View: 2, DB: 0) | 200 OK [http://localhost/photos] - - -Processing CategoriesController#show (for 127.0.0.1 at 2010-10-08 12:19:58) [GET] - Parameters: {"id"=>"5"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = 5)  -Rendering template within layouts/photos -Rendering categories/show -Completed in 8ms (View: 3, DB: 0) | 200 OK [http://localhost/categories/5] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 12:20:01) [GET] - Parameters: {"category_id"=>"5"} - Photo Load (0.4ms) SELECT * FROM "photos" WHERE ("photos"."category_id" = '5')  -Rendering template within layouts/photos -Rendering photos/index -Completed in 9ms (View: 3, DB: 0) | 200 OK [http://localhost/categories/5/photos] - - -Processing CategoriesController#show (for 127.0.0.1 at 2010-10-08 12:20:03) [GET] - Parameters: {"id"=>"4"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = 4)  -Rendering template within layouts/photos -Rendering categories/show -Completed in 8ms (View: 3, DB: 0) | 200 OK [http://localhost/categories/4] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 12:20:06) [GET] - Parameters: {"category_id"=>"4"} - Photo Load (0.6ms) SELECT * FROM "photos" WHERE ("photos"."category_id" = '4')  -Rendering template within layouts/photos -Rendering photos/index -Completed in 63ms (View: 6, DB: 1) | 200 OK [http://localhost/categories/4/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 12:22:33) [GET] - Parameters: {"category_id"=>"5"} - Photo Load (0.4ms) SELECT * FROM "photos" WHERE ("photos"."category_id" = '5')  -Rendering template within layouts/photos -Rendering photos/index -Completed in 9ms (View: 2, DB: 0) | 200 OK [http://localhost/categories/5/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 12:22:39) [GET] - Parameters: {"category_id"=>"3"} - Photo Load (0.5ms) SELECT * FROM "photos" WHERE ("photos"."category_id" = '3')  -Rendering template within layouts/photos -Rendering photos/index -Completed in 13ms (View: 7, DB: 1) | 200 OK [http://localhost/categories/3/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 12:23:30) [GET] - Parameters: {"category_id"=>"3"} - Photo Load (0.6ms) SELECT * FROM "photos" WHERE ("photos"."category_id" = '3')  -Rendering template within layouts/photos -Rendering photos/index -Completed in 12ms (View: 6, DB: 1) | 200 OK [http://localhost/categories/3/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 12:23:33) [GET] - Photo Load (1.5ms) SELECT * FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 69ms (View: 61, DB: 1) | 200 OK [http://localhost/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 12:24:04) [GET] - Parameters: {"category_id"=>"1"} - Category Load (0.1ms) SELECT * FROM "categories" WHERE ("categories"."id" = '--- :category_id -') LIMIT 1 - Photo Load (0.4ms) SELECT * FROM "photos" WHERE ("photos"."category_id" = '1')  -Rendering template within layouts/photos -Rendering photos/index -Completed in 18ms (View: 7, DB: 1) | 200 OK [http://localhost/categories/1/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 12:24:47) [GET] - Parameters: {"category_id"=>"1"} - Category Load (0.1ms) SELECT * FROM "categories" WHERE ("categories"."id" = '--- :category_id -') LIMIT 1 - Photo Load (0.3ms) SELECT * FROM "photos" WHERE ("photos"."category_id" = '1')  -Rendering template within layouts/photos -Rendering photos/index -Completed in 19ms (View: 10, DB: 0) | 200 OK [http://localhost/categories/1/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 12:24:49) [GET] - Parameters: {"category_id"=>"1"} - Category Load (0.1ms) SELECT * FROM "categories" WHERE ("categories"."id" = '--- :category_id -') LIMIT 1 - Photo Load (0.3ms) SELECT * FROM "photos" WHERE ("photos"."category_id" = '1')  -Rendering template within layouts/photos -Rendering photos/index -Completed in 14ms (View: 6, DB: 0) | 200 OK [http://localhost/categories/1/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 12:25:23) [GET] - Parameters: {"category_id"=>"1"} - Category Load (0.1ms) SELECT * FROM "categories" WHERE ("categories"."id" = '--- :category_id -') LIMIT 1 - Photo Load (0.4ms) SELECT * FROM "photos" WHERE ("photos"."category_id" = '1')  -Rendering template within layouts/photos -Rendering photos/index - -ActionView::TemplateError (You have a nil object when you didn't expect it! -You might have expected an instance of Array. -The error occurred while evaluating nil.empty?) on line #1 of app/views/photos/index.html.erb: -1: <% if !@category.empty? %> -2:
-3:
-4: <% end %> - - app/views/photos/index.html.erb:1 - -Rendered rescues/_trace (28.1ms) -Rendered rescues/_request_and_response (0.3ms) -Rendering rescues/layout (internal_server_error) - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 12:25:36) [GET] - Parameters: {"category_id"=>"1"} - Category Load (0.1ms) SELECT * FROM "categories" WHERE ("categories"."id" = '--- :category_id -') LIMIT 1 - Photo Load (0.3ms) SELECT * FROM "photos" WHERE ("photos"."category_id" = '1')  -Rendering template within layouts/photos -Rendering photos/index -Completed in 17ms (View: 9, DB: 0) | 200 OK [http://localhost/categories/1/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 12:31:13) [GET] - Parameters: {"category_id"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '--- :category_id -') LIMIT 1 - Photo Load (0.4ms) SELECT * FROM "photos" WHERE ("photos"."category_id" = '1')  -Rendering template within layouts/photos -Rendering photos/index -Completed in 74ms (View: 8, DB: 1) | 200 OK [http://localhost/categories/1/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 12:31:37) [GET] - Parameters: {"category_id"=>"1"} - Category Load (0.1ms) SELECT * FROM "categories" WHERE ("categories"."id" = '--- :category_id -') LIMIT 1 - Photo Load (0.4ms) SELECT * FROM "photos" WHERE ("photos"."category_id" = '1')  -Rendering template within layouts/photos -Rendering photos/index - -ActionView::TemplateError (undefined method `name' for nil:NilClass) on line #1 of app/views/photos/index.html.erb: -1: <% if @category.name %> -2:
-3:
-4: <% end %> - - app/views/photos/index.html.erb:1 - -Rendered rescues/_trace (25.4ms) -Rendered rescues/_request_and_response (0.3ms) -Rendering rescues/layout (internal_server_error) - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 12:32:31) [GET] - Parameters: {"category_id"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (0.4ms) SELECT * FROM "photos" WHERE ("photos"."category_id" = '1')  -Rendering template within layouts/photos -Rendering photos/index -Completed in 74ms (View: 7, DB: 1) | 200 OK [http://localhost/categories/1/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 12:32:39) [GET] - Parameters: {"category_id"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (0.3ms) SELECT * FROM "photos" WHERE ("photos"."category_id" = '1')  -Rendering template within layouts/photos -Rendering photos/index -Completed in 19ms (View: 9, DB: 1) | 200 OK [http://localhost/categories/1/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 12:34:09) [GET] - Parameters: {"category_id"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (0.4ms) SELECT * FROM "photos" WHERE ("photos"."category_id" = '1')  -Rendering template within layouts/photos -Rendering photos/index -Completed in 17ms (View: 8, DB: 1) | 200 OK [http://localhost/categories/1/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 12:34:25) [GET] - Parameters: {"category_id"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (0.3ms) SELECT * FROM "photos" WHERE ("photos"."category_id" = '1')  -Rendering template within layouts/photos -Rendering photos/index -Completed in 17ms (View: 8, DB: 0) | 200 OK [http://localhost/categories/1/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 12:34:31) [GET] - Parameters: {"category_id"=>"1"} - Category Load (0.3ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (0.4ms) SELECT * FROM "photos" WHERE ("photos"."category_id" = '1')  -Rendering template within layouts/photos -Rendering photos/index -Completed in 20ms (View: 6, DB: 1) | 200 OK [http://localhost/categories/1/photos] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-08 12:35:13) [GET] - Category Load (0.9ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 16ms (View: 9, DB: 1) | 200 OK [http://localhost/categories] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-08 12:35:23) [GET] - Category Load (0.6ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 9ms (View: 5, DB: 1) | 200 OK [http://localhost/categories] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-08 12:35:42) [GET] - Category Load (0.7ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 60ms (View: 54, DB: 1) | 200 OK [http://localhost/categories] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-08 12:36:57) [GET] - Category Load (0.7ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 10ms (View: 5, DB: 1) | 200 OK [http://localhost/categories] - - -Processing CategoriesController#show (for 127.0.0.1 at 2010-10-08 12:36:58) [GET] - Parameters: {"id"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = 1)  -Rendering template within layouts/photos -Rendering categories/show -Completed in 9ms (View: 3, DB: 0) | 200 OK [http://localhost/categories/1] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 12:37:01) [GET] - Parameters: {"category_id"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (0.5ms) SELECT * FROM "photos" WHERE ("photos"."category_id" = '1')  -Rendering template within layouts/photos -Rendering photos/index - -ActionView::TemplateError (wrong number of arguments (0 for 1)) on line #8 of app/views/photos/index.html.erb: -5: -6: <% @photos.each do |photo| %> -7: -8:
<%= link_to image_tag(), photo.photo.url, :rel => 'photo', :class => 'fancy' %>
-9: -10: <% end %> - - app/views/photos/index.html.erb:8:in `image_tag' - app/views/photos/index.html.erb:8 - app/views/photos/index.html.erb:6:in `each' - app/views/photos/index.html.erb:6 - -Rendered rescues/_trace (81.5ms) -Rendered rescues/_request_and_response (0.3ms) -Rendering rescues/layout (internal_server_error) - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 12:37:19) [GET] - Parameters: {"category_id"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (0.4ms) SELECT * FROM "photos" WHERE ("photos"."category_id" = '1')  -Rendering template within layouts/photos -Rendering photos/index -Completed in 21ms (View: 11, DB: 1) | 200 OK [http://localhost/categories/1/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 12:37:44) [GET] - Parameters: {"category_id"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (0.5ms) SELECT * FROM "photos" WHERE ("photos"."category_id" = '1')  -Rendering template within layouts/photos -Rendering photos/index -Completed in 18ms (View: 8, DB: 1) | 200 OK [http://localhost/categories/1/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 12:38:15) [GET] - Parameters: {"category_id"=>"1"} - Category Load (0.3ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (0.4ms) SELECT * FROM "photos" WHERE ("photos"."category_id" = '1')  -Rendering template within layouts/photos -Rendering photos/index -Completed in 15ms (View: 5, DB: 1) | 200 OK [http://localhost/categories/1/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 12:38:29) [GET] - Parameters: {"category_id"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (0.3ms) SELECT * FROM "photos" WHERE ("photos"."category_id" = '1')  -Rendering template within layouts/photos -Rendering photos/index -Completed in 14ms (View: 6, DB: 0) | 200 OK [http://localhost/categories/1/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 12:39:06) [GET] - Parameters: {"category_id"=>"1"} - Category Load (0.3ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (0.4ms) SELECT * FROM "photos" WHERE ("photos"."category_id" = '1')  -Rendering template within layouts/photos -Rendering photos/index -Completed in 19ms (View: 10, DB: 1) | 200 OK [http://localhost/categories/1/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 12:39:18) [GET] - Parameters: {"category_id"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (0.4ms) SELECT * FROM "photos" WHERE ("photos"."category_id" = '1')  -Rendering template within layouts/photos -Rendering photos/index -Completed in 18ms (View: 9, DB: 1) | 200 OK [http://localhost/categories/1/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 12:39:29) [GET] - Parameters: {"category_id"=>"1"} - Category Load (0.3ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (0.3ms) SELECT * FROM "photos" WHERE ("photos"."category_id" = '1')  -Rendering template within layouts/photos -Rendering photos/index -Completed in 72ms (View: 9, DB: 1) | 200 OK [http://localhost/categories/1/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 12:40:36) [GET] - Parameters: {"category_id"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (0.4ms) SELECT * FROM "photos" WHERE ("photos"."category_id" = '1')  -Rendering template within layouts/photos -Rendering photos/index -Completed in 19ms (View: 9, DB: 1) | 200 OK [http://localhost/categories/1/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 12:40:49) [GET] - Parameters: {"category_id"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (0.6ms) SELECT * FROM "photos" WHERE ("photos"."category_id" = '1')  -Rendering template within layouts/photos -Rendering photos/index -Completed in 20ms (View: 9, DB: 1) | 200 OK [http://localhost/categories/1/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 12:40:50) [GET] - Parameters: {"category_id"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (0.5ms) SELECT * FROM "photos" WHERE ("photos"."category_id" = '1')  -Rendering template within layouts/photos -Rendering photos/index -Completed in 18ms (View: 7, DB: 1) | 200 OK [http://localhost/categories/1/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 12:41:06) [GET] - Parameters: {"category_id"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (0.8ms) SELECT * FROM "photos" WHERE ("photos"."category_id" = '1')  -Rendering template within layouts/photos -Rendering photos/index -Completed in 19ms (View: 9, DB: 1) | 200 OK [http://localhost/categories/1/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 12:41:27) [GET] - Parameters: {"category_id"=>"1"} - Category Load (0.3ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (0.4ms) SELECT * FROM "photos" WHERE ("photos"."category_id" = '1')  -Rendering template within layouts/photos -Rendering photos/index -Completed in 19ms (View: 9, DB: 1) | 200 OK [http://localhost/categories/1/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 12:41:37) [GET] - Parameters: {"category_id"=>"1"} - Category Load (0.3ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (0.3ms) SELECT * FROM "photos" WHERE ("photos"."category_id" = '1')  -Rendering template within layouts/photos -Rendering photos/index -Completed in 19ms (View: 8, DB: 1) | 200 OK [http://localhost/categories/1/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 12:41:50) [GET] - Parameters: {"category_id"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (0.6ms) SELECT * FROM "photos" WHERE ("photos"."category_id" = '1')  -Rendering template within layouts/photos -Rendering photos/index -Completed in 70ms (View: 9, DB: 1) | 200 OK [http://localhost/categories/1/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 12:42:07) [GET] - Parameters: {"category_id"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (0.4ms) SELECT * FROM "photos" WHERE ("photos"."category_id" = '1')  -Rendering template within layouts/photos -Rendering photos/index -Completed in 15ms (View: 6, DB: 1) | 200 OK [http://localhost/categories/1/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 12:42:31) [GET] - Parameters: {"category_id"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (0.4ms) SELECT * FROM "photos" WHERE ("photos"."category_id" = '1')  -Rendering template within layouts/photos -Rendering photos/index -Completed in 21ms (View: 10, DB: 1) | 200 OK [http://localhost/categories/1/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 12:43:27) [GET] - Parameters: {"category_id"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (0.4ms) SELECT * FROM "photos" WHERE ("photos"."category_id" = '1')  -Rendering template within layouts/photos -Rendering photos/index -Completed in 20ms (View: 10, DB: 1) | 200 OK [http://localhost/categories/1/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 12:43:46) [GET] - Parameters: {"category_id"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (0.3ms) SELECT * FROM "photos" WHERE ("photos"."category_id" = '1')  -Rendering template within layouts/photos -Rendering photos/index -Completed in 16ms (View: 6, DB: 1) | 200 OK [http://localhost/categories/1/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 12:44:01) [GET] - Parameters: {"category_id"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (0.3ms) SELECT * FROM "photos" WHERE ("photos"."category_id" = '1')  -Rendering template within layouts/photos -Rendering photos/index -Completed in 14ms (View: 5, DB: 1) | 200 OK [http://localhost/categories/1/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 12:44:13) [GET] - Parameters: {"category_id"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (0.5ms) SELECT * FROM "photos" WHERE ("photos"."category_id" = '1')  -Rendering template within layouts/photos -Rendering photos/index -Completed in 68ms (View: 6, DB: 1) | 200 OK [http://localhost/categories/1/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 12:44:41) [GET] - Parameters: {"category_id"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (0.4ms) SELECT * FROM "photos" WHERE ("photos"."category_id" = '1')  -Rendering template within layouts/photos -Rendering photos/index -Completed in 18ms (View: 9, DB: 1) | 200 OK [http://localhost/categories/1/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 12:44:55) [GET] - Parameters: {"category_id"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (0.3ms) SELECT * FROM "photos" WHERE ("photos"."category_id" = '1')  -Rendering template within layouts/photos -Rendering photos/index -Completed in 18ms (View: 9, DB: 1) | 200 OK [http://localhost/categories/1/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 12:45:40) [GET] - Parameters: {"category_id"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (0.5ms) SELECT * FROM "photos" WHERE ("photos"."category_id" = '1')  -Rendering template within layouts/photos -Rendering photos/index - -ActionView::TemplateError (undefined local variable or method `category' for #) on line #3 of app/views/photos/index.html.erb: -1: <% if @category %> -2:
-3:

<%=h category.name.downcase %>

-4:
-5: <% end %> -6: - - app/views/photos/index.html.erb:3 - -Rendered rescues/_trace (28.4ms) -Rendered rescues/_request_and_response (0.2ms) -Rendering rescues/layout (internal_server_error) - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 12:45:46) [GET] - Parameters: {"category_id"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (0.4ms) SELECT * FROM "photos" WHERE ("photos"."category_id" = '1')  -Rendering template within layouts/photos -Rendering photos/index -Completed in 19ms (View: 9, DB: 1) | 200 OK [http://localhost/categories/1/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 12:46:02) [GET] - Parameters: {"category_id"=>"2"} - Category Load (0.3ms) SELECT * FROM "categories" WHERE ("categories"."id" = '2') LIMIT 1 - Photo Load (0.5ms) SELECT * FROM "photos" WHERE ("photos"."category_id" = '2')  -Rendering template within layouts/photos -Rendering photos/index -Completed in 20ms (View: 7, DB: 1) | 200 OK [http://localhost/categories/2/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 12:46:05) [GET] - Parameters: {"category_id"=>"3"} - Category Load (0.4ms) SELECT * FROM "categories" WHERE ("categories"."id" = '3') LIMIT 1 - Photo Load (0.4ms) SELECT * FROM "photos" WHERE ("photos"."category_id" = '3')  -Rendering template within layouts/photos -Rendering photos/index -Completed in 18ms (View: 6, DB: 1) | 200 OK [http://localhost/categories/3/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 12:46:08) [GET] - Parameters: {"category_id"=>"4"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '4') LIMIT 1 - Photo Load (0.4ms) SELECT * FROM "photos" WHERE ("photos"."category_id" = '4')  -Rendering template within layouts/photos -Rendering photos/index -Completed in 20ms (View: 8, DB: 1) | 200 OK [http://localhost/categories/4/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 12:46:10) [GET] - Parameters: {"category_id"=>"5"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '5') LIMIT 1 - Photo Load (0.2ms) SELECT * FROM "photos" WHERE ("photos"."category_id" = '5')  -Rendering template within layouts/photos -Rendering photos/index -Completed in 13ms (View: 3, DB: 0) | 200 OK [http://localhost/categories/5/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 12:46:12) [GET] - Parameters: {"category_id"=>"6"} - Category Load (0.1ms) SELECT * FROM "categories" WHERE ("categories"."id" = '6') LIMIT 1 - Photo Load (0.2ms) SELECT * FROM "photos" WHERE ("photos"."category_id" = '6')  -Rendering template within layouts/photos -Rendering photos/index -Completed in 12ms (View: 2, DB: 0) | 200 OK [http://localhost/categories/6/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 12:46:15) [GET] - Parameters: {"category_id"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (0.4ms) SELECT * FROM "photos" WHERE ("photos"."category_id" = '1')  -Rendering template within layouts/photos -Rendering photos/index -Completed in 18ms (View: 7, DB: 1) | 200 OK [http://localhost/categories/1/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 12:46:20) [GET] - Photo Load (1.1ms) SELECT * FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 18ms (View: 9, DB: 1) | 200 OK [http://localhost/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 12:46:25) [GET] - Parameters: {"category_id"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (0.3ms) SELECT * FROM "photos" WHERE ("photos"."category_id" = '1')  -Rendering template within layouts/photos -Rendering photos/index -Completed in 18ms (View: 7, DB: 1) | 200 OK [http://localhost/categories/1/photos] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-08 12:46:38) [GET] - Category Load (0.6ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 9ms (View: 5, DB: 1) | 200 OK [http://localhost/categories/] - - -Processing CategoriesController#show (for 127.0.0.1 at 2010-10-08 12:46:40) [GET] - Parameters: {"id"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = 1)  -Rendering template within layouts/photos -Rendering categories/show -Completed in 9ms (View: 3, DB: 0) | 200 OK [http://localhost/categories/1] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-08 12:46:42) [GET] - Category Load (0.6ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 9ms (View: 5, DB: 1) | 200 OK [http://localhost/categories] - - -Processing CategoriesController#show (for 127.0.0.1 at 2010-10-08 12:46:43) [GET] - Parameters: {"id"=>"1"} - Category Load (0.3ms) SELECT * FROM "categories" WHERE ("categories"."id" = 1)  -Rendering template within layouts/photos -Rendering categories/show -Completed in 12ms (View: 5, DB: 0) | 200 OK [http://localhost/categories/1] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-08 12:46:44) [GET] - Category Load (0.6ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 9ms (View: 5, DB: 1) | 200 OK [http://localhost/categories] - - -Processing CategoriesController#show (for 127.0.0.1 at 2010-10-08 12:46:45) [GET] - Parameters: {"id"=>"2"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = 2)  -Rendering template within layouts/photos -Rendering categories/show -Completed in 61ms (View: 3, DB: 0) | 200 OK [http://localhost/categories/2] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-08 12:46:46) [GET] - Category Load (0.6ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 10ms (View: 5, DB: 1) | 200 OK [http://localhost/categories] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-08 12:47:47) [GET] - Category Load (0.6ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 9ms (View: 5, DB: 1) | 200 OK [http://localhost/categories] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-08 12:48:10) [GET] - Category Load (0.6ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index - -ActionView::TemplateError (undefined local variable or method `category_photos' for #) on line #6 of app/views/categories/index.html.erb: -3: <% @categories.each do |category| %> -4:
-5:
-6: <%= link_to '

'+h(category.name.downcase)+'

', category_photos %> -7:
-8:
-9: <% end %> - - app/views/categories/index.html.erb:6 - app/views/categories/index.html.erb:3:in `each' - app/views/categories/index.html.erb:3 - app/controllers/categories_controller.rb:8:in `index' - -Rendered rescues/_trace (27.4ms) -Rendered rescues/_request_and_response (0.2ms) -Rendering rescues/layout (internal_server_error) - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-08 12:48:15) [GET] - Category Load (0.6ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index - -ActionView::TemplateError (category_photos_url failed to generate from {:action=>"index", :controller=>"photos"} - you may have ambiguous routes, or you may need to supply additional parameters for this route. content_url has the following required parameters: ["category", :category_id, "comments"] - are they all satisfied?) on line #6 of app/views/categories/index.html.erb: -3: <% @categories.each do |category| %> -4:
-5:
-6: <%= link_to '

'+h(category.name.downcase)+'

', category_photos_url %> -7:
-8:
-9: <% end %> - - (eval):21:in `category_photos_url' - app/views/categories/index.html.erb:6 - app/views/categories/index.html.erb:3:in `each' - app/views/categories/index.html.erb:3 - app/controllers/categories_controller.rb:8:in `index' - -Rendered rescues/_trace (88.4ms) -Rendered rescues/_request_and_response (0.2ms) -Rendering rescues/layout (internal_server_error) - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-08 12:48:41) [GET] - Category Load (0.6ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index - -ActionView::TemplateError (category_photos_url failed to generate from {:action=>"index", :controller=>"photos"} - you may have ambiguous routes, or you may need to supply additional parameters for this route. content_url has the following required parameters: ["category", :category_id, "photos"] - are they all satisfied?) on line #6 of app/views/categories/index.html.erb: -3: <% @categories.each do |category| %> -4:
-5:
-6: <%= link_to '

'+h(category.name.downcase)+'

', category_photos_url %> -7:
-8:
-9: <% end %> - - (eval):21:in `category_photos_url' - app/views/categories/index.html.erb:6 - app/views/categories/index.html.erb:3:in `each' - app/views/categories/index.html.erb:3 - app/controllers/categories_controller.rb:8:in `index' - -Rendered rescues/_trace (92.1ms) -Rendered rescues/_request_and_response (0.3ms) -Rendering rescues/layout (internal_server_error) - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-08 12:48:56) [GET] - Category Load (0.6ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index - -ActionView::TemplateError (category_photos_url failed to generate from {:action=>"index", :controller=>"photos"} - you may have ambiguous routes, or you may need to supply additional parameters for this route. content_url has the following required parameters: ["category", :category_id, "photos"] - are they all satisfied?) on line #6 of app/views/categories/index.html.erb: -3: <% @categories.each do |category| %> -4:
-5:
-6: <%= link_to '

'+h(category.name.downcase)+'

', category_photos_url, category %> -7:
-8:
-9: <% end %> - - (eval):21:in `category_photos_url' - app/views/categories/index.html.erb:6 - app/views/categories/index.html.erb:3:in `each' - app/views/categories/index.html.erb:3 - app/controllers/categories_controller.rb:8:in `index' - -Rendered rescues/_trace (30.9ms) -Rendered rescues/_request_and_response (0.3ms) -Rendering rescues/layout (internal_server_error) - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-08 12:49:09) [GET] - Category Load (0.8ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index - -ActionView::TemplateError (category_photos_url failed to generate from {:action=>"index", :controller=>"photos"} - you may have ambiguous routes, or you may need to supply additional parameters for this route. content_url has the following required parameters: ["category", :category_id, "photos"] - are they all satisfied?) on line #6 of app/views/categories/index.html.erb: -3: <% @categories.each do |category| %> -4:
-5:
-6: <%= link_to '

'+h(category.name.downcase)+'

', category_photos_url, :category_id => category.id %> -7:
-8:
-9: <% end %> - - (eval):21:in `category_photos_url' - app/views/categories/index.html.erb:6 - app/views/categories/index.html.erb:3:in `each' - app/views/categories/index.html.erb:3 - app/controllers/categories_controller.rb:8:in `index' - -Rendered rescues/_trace (31.2ms) -Rendered rescues/_request_and_response (0.3ms) -Rendering rescues/layout (internal_server_error) - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-08 12:49:30) [GET] - Category Load (0.7ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index - -ActionView::TemplateError (category_photos_url failed to generate from {:action=>"index", :controller=>"photos"} - you may have ambiguous routes, or you may need to supply additional parameters for this route. content_url has the following required parameters: ["category", :id, "photos"] - are they all satisfied?) on line #6 of app/views/categories/index.html.erb: -3: <% @categories.each do |category| %> -4:
-5:
-6: <%= link_to '

'+h(category.name.downcase)+'

', category_photos_url, :category_id => category.id %> -7:
-8:
-9: <% end %> - - (eval):21:in `category_photos_url' - app/views/categories/index.html.erb:6 - app/views/categories/index.html.erb:3:in `each' - app/views/categories/index.html.erb:3 - app/controllers/categories_controller.rb:8:in `index' - -Rendered rescues/_trace (30.2ms) -Rendered rescues/_request_and_response (0.3ms) -Rendering rescues/layout (internal_server_error) - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-08 12:49:58) [GET] - Category Load (0.6ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index - -ActionView::TemplateError (category_photos_url failed to generate from {:action=>"index", :controller=>"photos"} - you may have ambiguous routes, or you may need to supply additional parameters for this route. content_url has the following required parameters: ["categories", :category_id, "photos"] - are they all satisfied?) on line #6 of app/views/categories/index.html.erb: -3: <% @categories.each do |category| %> -4:
-5:
-6: <%= link_to '

'+h(category.name.downcase)+'

', category_photos_url, :category_id => category.id %> -7:
-8:
-9: <% end %> - - (eval):21:in `category_photos_url' - app/views/categories/index.html.erb:6 - app/views/categories/index.html.erb:3:in `each' - app/views/categories/index.html.erb:3 - app/controllers/categories_controller.rb:8:in `index' - -Rendered rescues/_trace (89.3ms) -Rendered rescues/_request_and_response (0.3ms) -Rendering rescues/layout (internal_server_error) - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-08 12:50:09) [GET] - Category Load (0.6ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 12ms (View: 8, DB: 1) | 200 OK [http://localhost/categories] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-08 12:59:29) [GET] - Category Load (0.6ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index - -ActionView::TemplateError (undefined local variable or method `category_photos' for #) on line #6 of app/views/categories/index.html.erb: -3: <% @categories.each do |category| %> -4:
-5:
-6: <%= link_to '

'+h(category.name.downcase)+'

', category_photos %> -7:
-8:
-9: <% end %> - - app/views/categories/index.html.erb:6 - app/views/categories/index.html.erb:3:in `each' - app/views/categories/index.html.erb:3 - app/controllers/categories_controller.rb:8:in `index' - -Rendered rescues/_trace (87.7ms) -Rendered rescues/_request_and_response (0.3ms) -Rendering rescues/layout (internal_server_error) - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-08 12:59:36) [GET] - Category Load (0.6ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index - -ActionView::TemplateError (category_photos_url failed to generate from {:action=>"index", :controller=>"photos"} - you may have ambiguous routes, or you may need to supply additional parameters for this route. content_url has the following required parameters: ["categories", :category_id, "photos"] - are they all satisfied?) on line #6 of app/views/categories/index.html.erb: -3: <% @categories.each do |category| %> -4:
-5:
-6: <%= link_to '

'+h(category.name.downcase)+'

', category_photos_path %> -7:
-8:
-9: <% end %> - - (eval):21:in `category_photos_path' - app/views/categories/index.html.erb:6 - app/views/categories/index.html.erb:3:in `each' - app/views/categories/index.html.erb:3 - app/controllers/categories_controller.rb:8:in `index' - -Rendered rescues/_trace (89.2ms) -Rendered rescues/_request_and_response (0.3ms) -Rendering rescues/layout (internal_server_error) - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-08 13:00:01) [GET] - Category Load (0.7ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index - -ActionView::TemplateError (category_photos_url failed to generate from {:action=>"index", :controller=>"photos"} - you may have ambiguous routes, or you may need to supply additional parameters for this route. content_url has the following required parameters: ["categories", :category_id, "photos"] - are they all satisfied?) on line #6 of app/views/categories/index.html.erb: -3: <% @categories.each do |category| %> -4:
-5:
-6: <%= link_to '

'+h(category.name.downcase)+'

', category_photos_path, { :category_id => category.id } %> -7:
-8:
-9: <% end %> - - (eval):21:in `category_photos_path' - app/views/categories/index.html.erb:6 - app/views/categories/index.html.erb:3:in `each' - app/views/categories/index.html.erb:3 - app/controllers/categories_controller.rb:8:in `index' - -Rendered rescues/_trace (30.1ms) -Rendered rescues/_request_and_response (0.2ms) -Rendering rescues/layout (internal_server_error) - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-08 13:00:13) [GET] - Category Load (0.6ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 76ms (View: 71, DB: 1) | 200 OK [http://localhost/categories] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-08 13:01:38) [GET] - Category Load (21.8ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index - -ActionView::TemplateError (category_photos_url failed to generate from {:action=>"index", :controller=>"photos"} - you may have ambiguous routes, or you may need to supply additional parameters for this route. content_url has the following required parameters: ["categories", :category_id, "photos"] - are they all satisfied?) on line #6 of app/views/categories/index.html.erb: -3: <% @categories.each do |category| %> -4:
-5:
-6: <%= link_to '

'+h(category.name.downcase)+'

', category_photos_path %> -7:
-8:
-9: <% end %> - - (eval):21:in `category_photos_path' - app/views/categories/index.html.erb:6 - app/views/categories/index.html.erb:3:in `each' - app/views/categories/index.html.erb:3 - app/controllers/categories_controller.rb:8:in `index' - -Rendered rescues/_trace (43.6ms) -Rendered rescues/_request_and_response (0.4ms) -Rendering rescues/layout (internal_server_error) - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-08 13:02:03) [GET] - Category Load (1.0ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 30ms (View: 6, DB: 1) | 200 OK [http://localhost/categories] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 13:02:05) [GET] - Parameters: {"category_id"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (14.1ms) SELECT * FROM "photos" WHERE ("photos"."category_id" = '1')  -Rendering template within layouts/photos -Rendering photos/index -Completed in 42ms (View: 9, DB: 14) | 200 OK [http://localhost/categories/1/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 13:02:06) [GET] - Parameters: {"category_id"=>"2"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '2') LIMIT 1 - Photo Load (0.3ms) SELECT * FROM "photos" WHERE ("photos"."category_id" = '2')  -Rendering template within layouts/photos -Rendering photos/index -Completed in 15ms (View: 6, DB: 1) | 200 OK [http://localhost/categories/2/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 13:02:08) [GET] - Parameters: {"category_id"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (0.3ms) SELECT * FROM "photos" WHERE ("photos"."category_id" = '1')  -Rendering template within layouts/photos -Rendering photos/index -Completed in 16ms (View: 6, DB: 1) | 200 OK [http://localhost/categories/1/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 13:02:10) [GET] - Parameters: {"category_id"=>"5"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '5') LIMIT 1 - Photo Load (0.2ms) SELECT * FROM "photos" WHERE ("photos"."category_id" = '5')  -Rendering template within layouts/photos -Rendering photos/index -Completed in 12ms (View: 3, DB: 0) | 200 OK [http://localhost/categories/5/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 13:02:13) [GET] - Parameters: {"category_id"=>"4"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '4') LIMIT 1 - Photo Load (0.3ms) SELECT * FROM "photos" WHERE ("photos"."category_id" = '4')  -Rendering template within layouts/photos -Rendering photos/index -Completed in 14ms (View: 6, DB: 1) | 200 OK [http://localhost/categories/4/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 13:02:15) [GET] - Parameters: {"category_id"=>"5"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '5') LIMIT 1 - Photo Load (0.1ms) SELECT * FROM "photos" WHERE ("photos"."category_id" = '5')  -Rendering template within layouts/photos -Rendering photos/index -Completed in 11ms (View: 3, DB: 0) | 200 OK [http://localhost/categories/5/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 13:02:23) [GET] - Parameters: {"category_id"=>"5"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '5') LIMIT 1 - Photo Load (0.1ms) SELECT * FROM "photos" WHERE ("photos"."category_id" = '5')  -Rendering template within layouts/photos -Rendering photos/index -Completed in 11ms (View: 3, DB: 0) | 200 OK [http://localhost/categories/5/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 13:02:26) [GET] - Parameters: {"category_id"=>"4"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '4') LIMIT 1 - Photo Load (0.4ms) SELECT * FROM "photos" WHERE ("photos"."category_id" = '4')  -Rendering template within layouts/photos -Rendering photos/index -Completed in 17ms (View: 7, DB: 1) | 200 OK [http://localhost/categories/4/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 13:02:27) [GET] - Parameters: {"category_id"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (0.3ms) SELECT * FROM "photos" WHERE ("photos"."category_id" = '1')  -Rendering template within layouts/photos -Rendering photos/index -Completed in 15ms (View: 6, DB: 1) | 200 OK [http://localhost/categories/1/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 13:02:29) [GET] - Parameters: {"category_id"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (0.3ms) SELECT * FROM "photos" WHERE ("photos"."category_id" = '1')  -Rendering template within layouts/photos -Rendering photos/index -Completed in 14ms (View: 6, DB: 0) | 200 OK [http://localhost/categories/1/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 13:04:11) [GET] - Parameters: {"category_id"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (0.4ms) SELECT * FROM "photos" WHERE ("photos"."category_id" = '1')  -Rendering template within layouts/photos -Rendering photos/index -Completed in 18ms (View: 7, DB: 1) | 200 OK [http://localhost/categories/1/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 13:04:25) [GET] - Parameters: {"category_id"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (0.4ms) SELECT * FROM "photos" WHERE ("photos"."category_id" = '1')  -Rendering template within layouts/photos -Rendering photos/index -Completed in 16ms (View: 7, DB: 1) | 200 OK [http://localhost/categories/1/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 13:04:28) [GET] - Parameters: {"category_id"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (0.4ms) SELECT * FROM "photos" WHERE ("photos"."category_id" = '1')  -Rendering template within layouts/photos -Rendering photos/index -Completed in 16ms (View: 7, DB: 1) | 200 OK [http://localhost/categories/1/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 13:06:13) [GET] - Parameters: {"category_id"=>"3"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '3') LIMIT 1 - Photo Load (0.2ms) SELECT * FROM "photos" WHERE ("photos"."category_id" = '3')  -Rendering template within layouts/photos -Rendering photos/index -Completed in 14ms (View: 6, DB: 0) | 200 OK [http://localhost/categories/3/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 13:06:14) [GET] - Parameters: {"category_id"=>"2"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '2') LIMIT 1 - Photo Load (0.3ms) SELECT * FROM "photos" WHERE ("photos"."category_id" = '2')  -Rendering template within layouts/photos -Rendering photos/index -Completed in 15ms (View: 6, DB: 0) | 200 OK [http://localhost/categories/2/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 13:06:16) [GET] - Parameters: {"category_id"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (0.3ms) SELECT * FROM "photos" WHERE ("photos"."category_id" = '1')  -Rendering template within layouts/photos -Rendering photos/index -Completed in 67ms (View: 58, DB: 1) | 200 OK [http://localhost/categories/1/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 13:06:18) [GET] - Parameters: {"category_id"=>"4"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '4') LIMIT 1 - Photo Load (0.4ms) SELECT * FROM "photos" WHERE ("photos"."category_id" = '4')  -Rendering template within layouts/photos -Rendering photos/index -Completed in 17ms (View: 7, DB: 1) | 200 OK [http://localhost/categories/4/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 13:06:51) [GET] - Parameters: {"category_id"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (0.3ms) SELECT * FROM "photos" WHERE ("photos"."category_id" = '1')  -Rendering template within layouts/photos -Rendering photos/index -Completed in 15ms (View: 6, DB: 0) | 200 OK [http://localhost/categories/1/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 13:06:55) [GET] - Parameters: {"category_id"=>"5"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '5') LIMIT 1 - Photo Load (0.1ms) SELECT * FROM "photos" WHERE ("photos"."category_id" = '5')  -Rendering template within layouts/photos -Rendering photos/index -Completed in 11ms (View: 3, DB: 0) | 200 OK [http://localhost/categories/5/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 13:06:59) [GET] - Parameters: {"category_id"=>"3"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '3') LIMIT 1 - Photo Load (0.5ms) SELECT * FROM "photos" WHERE ("photos"."category_id" = '3')  -Rendering template within layouts/photos -Rendering photos/index -Completed in 67ms (View: 6, DB: 1) | 200 OK [http://localhost/categories/3/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 13:07:57) [GET] - Parameters: {"category_id"=>"4"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '4') LIMIT 1 - Photo Load (0.3ms) SELECT * FROM "photos" WHERE ("photos"."category_id" = '4')  -Rendering template within layouts/photos -Rendering photos/index -Completed in 15ms (View: 6, DB: 0) | 200 OK [http://localhost/categories/4/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 13:07:58) [GET] - Parameters: {"category_id"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (0.3ms) SELECT * FROM "photos" WHERE ("photos"."category_id" = '1')  -Rendering template within layouts/photos -Rendering photos/index -Completed in 15ms (View: 7, DB: 1) | 200 OK [http://localhost/categories/1/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 13:08:06) [GET] - Parameters: {"category_id"=>"4"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '4') LIMIT 1 - Photo Load (0.3ms) SELECT * FROM "photos" WHERE ("photos"."category_id" = '4')  -Rendering template within layouts/photos -Rendering photos/index -Completed in 15ms (View: 6, DB: 1) | 200 OK [http://localhost/categories/4/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 13:08:14) [GET] - Parameters: {"category_id"=>"3"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '3') LIMIT 1 - Photo Load (0.3ms) SELECT * FROM "photos" WHERE ("photos"."category_id" = '3')  -Rendering template within layouts/photos -Rendering photos/index -Completed in 14ms (View: 5, DB: 0) | 200 OK [http://localhost/categories/3/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 13:08:21) [GET] - Parameters: {"category_id"=>"2"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '2') LIMIT 1 - Photo Load (0.3ms) SELECT * FROM "photos" WHERE ("photos"."category_id" = '2')  -Rendering template within layouts/photos -Rendering photos/index -Completed in 15ms (View: 6, DB: 0) | 200 OK [http://localhost/categories/2/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 13:08:22) [GET] - Parameters: {"category_id"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (0.3ms) SELECT * FROM "photos" WHERE ("photos"."category_id" = '1')  -Rendering template within layouts/photos -Rendering photos/index -Completed in 15ms (View: 7, DB: 1) | 200 OK [http://localhost/categories/1/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 13:13:08) [GET] - Parameters: {"category_id"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (0.4ms) SELECT * FROM "photos" WHERE ("photos"."category_id" = '1')  -Rendering template within layouts/photos -Rendering photos/index -Completed in 15ms (View: 7, DB: 1) | 200 OK [http://localhost/categories/1/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 13:19:37) [GET] - Parameters: {"category_id"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (0.3ms) SELECT * FROM "photos" WHERE ("photos"."category_id" = '1')  -Rendering template within layouts/photos -Rendering photos/index -Completed in 16ms (View: 6, DB: 0) | 200 OK [http://localhost/categories/1/photos] - - -Processing ApplicationController#index (for 127.0.0.1 at 2010-10-08 13:19:37) [GET] - Parameters: {"1286541306"=>nil} - -ActionController::RoutingError (No route matches "/system/photos/20/size5/Croagh%20Patrick%20no1.jpg" with {:method=>:get}): - - -Rendering rescues/layout (not_found) - - -Processing ApplicationController#index (for 127.0.0.1 at 2010-10-08 13:19:37) [GET] - Parameters: {"1286541412"=>nil} - -ActionController::RoutingError (No route matches "/system/photos/25/size5/Croagh%20Patrick%20no3.jpg" with {:method=>:get}): - - -Rendering rescues/layout (not_found) - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 13:19:54) [GET] - Parameters: {"category_id"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (0.4ms) SELECT * FROM "photos" WHERE ("photos"."category_id" = '1')  -Rendering template within layouts/photos -Rendering photos/index -Completed in 15ms (View: 6, DB: 1) | 200 OK [http://localhost/categories/1/photos] - - -Processing ApplicationController#index (for 127.0.0.1 at 2010-10-08 13:19:54) [GET] - Parameters: {"1286541306"=>nil} - -ActionController::RoutingError (No route matches "/system/photos/20/size5/Croagh%20Patrick%20no1.jpg" with {:method=>:get}): - - -Rendering rescues/layout (not_found) - - -Processing ApplicationController#index (for 127.0.0.1 at 2010-10-08 13:19:54) [GET] - Parameters: {"1286541412"=>nil} - -ActionController::RoutingError (No route matches "/system/photos/25/size5/Croagh%20Patrick%20no3.jpg" with {:method=>:get}): - - -Rendering rescues/layout (not_found) - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 13:20:18) [GET] - Parameters: {"category_id"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (0.3ms) SELECT * FROM "photos" WHERE ("photos"."category_id" = '1')  -Rendering template within layouts/photos -Rendering photos/index -Completed in 15ms (View: 6, DB: 0) | 200 OK [http://localhost/categories/1/photos] - - -Processing ApplicationController#index (for 127.0.0.1 at 2010-10-08 13:20:18) [GET] - Parameters: {"1286541306"=>nil} - -ActionController::RoutingError (No route matches "/system/photos/20/size5/Croagh%20Patrick%20no1.jpg" with {:method=>:get}): - - -Rendering rescues/layout (not_found) - - -Processing ApplicationController#index (for 127.0.0.1 at 2010-10-08 13:20:18) [GET] - Parameters: {"1286541412"=>nil} - -ActionController::RoutingError (No route matches "/system/photos/25/size5/Croagh%20Patrick%20no3.jpg" with {:method=>:get}): - - -Rendering rescues/layout (not_found) - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 13:22:22) [GET] - Parameters: {"category_id"=>"1"} - Category Load (0.3ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (0.2ms) SELECT * FROM "photos" WHERE ("photos"."category_id" = '1')  -Rendering template within layouts/photos -Rendering photos/index -Completed in 12ms (View: 3, DB: 0) | 200 OK [http://localhost/categories/1/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 13:22:23) [GET] - Parameters: {"category_id"=>"4"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '4') LIMIT 1 - Photo Load (0.1ms) SELECT * FROM "photos" WHERE ("photos"."category_id" = '4')  -Rendering template within layouts/photos -Rendering photos/index -Completed in 11ms (View: 3, DB: 0) | 200 OK [http://localhost/categories/4/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 13:22:25) [GET] - Parameters: {"category_id"=>"5"} - Category Load (0.3ms) SELECT * FROM "categories" WHERE ("categories"."id" = '5') LIMIT 1 - Photo Load (0.2ms) SELECT * FROM "photos" WHERE ("photos"."category_id" = '5')  -Rendering template within layouts/photos -Rendering photos/index -Completed in 65ms (View: 3, DB: 0) | 200 OK [http://localhost/categories/5/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 13:22:26) [GET] - Parameters: {"category_id"=>"2"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '2') LIMIT 1 - Photo Load (0.1ms) SELECT * FROM "photos" WHERE ("photos"."category_id" = '2')  -Rendering template within layouts/photos -Rendering photos/index -Completed in 11ms (View: 3, DB: 0) | 200 OK [http://localhost/categories/2/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 13:22:30) [GET] - Parameters: {"category_id"=>"3"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '3') LIMIT 1 - Photo Load (0.1ms) SELECT * FROM "photos" WHERE ("photos"."category_id" = '3')  -Rendering template within layouts/photos -Rendering photos/index -Completed in 11ms (View: 3, DB: 0) | 200 OK [http://localhost/categories/3/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 13:22:33) [GET] - Parameters: {"category_id"=>"5"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '5') LIMIT 1 - Photo Load (0.1ms) SELECT * FROM "photos" WHERE ("photos"."category_id" = '5')  -Rendering template within layouts/photos -Rendering photos/index -Completed in 11ms (View: 3, DB: 0) | 200 OK [http://localhost/categories/5/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 13:22:34) [GET] - Parameters: {"category_id"=>"2"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '2') LIMIT 1 - Photo Load (0.1ms) SELECT * FROM "photos" WHERE ("photos"."category_id" = '2')  -Rendering template within layouts/photos -Rendering photos/index -Completed in 11ms (View: 3, DB: 0) | 200 OK [http://localhost/categories/2/photos] - SQL (0.4ms)  SELECT name - FROM sqlite_master - WHERE type = 'table' AND NOT name = 'sqlite_sequence' - - SQL (0.2ms) SELECT version FROM schema_migrations -Migrating to CreateCategories (20101006095323) -Migrating to CreatePhotos (20101006095457) -Migrating to AddPhotoToCategory (20101008101157) -Migrating to AddDetailsToPhoto (20101008103053) -Migrating to AddColourToCategory (20101008105348) -Migrating to AddSortOrders (20101008122736) -Migrating to MoveToManyToMany (20101008172319) - SQL (0.1ms) select sqlite_version(*) - SQL (0.8ms) CREATE TEMPORARY TABLE "altered_photos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "category_id" integer, "flickr_url" varchar(255), "photo_file_name" varchar(255), "photo_content_type" varchar(255), "photo_file_size" integer, "photo_updated_at" datetime, "created_at" datetime, "updated_at" datetime, "title" varchar(255), "description" text, "sort" integer)  - SQL (0.1ms) PRAGMA index_list("photos") - SQL (0.4ms) DROP TABLE "photos" - SQL (0.2ms) CREATE TABLE "photos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "flickr_url" varchar(255), "photo_file_name" varchar(255), "photo_content_type" varchar(255), "photo_file_size" integer, "photo_updated_at" datetime, "created_at" datetime, "updated_at" datetime, "title" varchar(255), "description" text, "sort" integer)  - SQL (0.0ms) PRAGMA index_list("altered_photos") - SQL (0.5ms) DROP TABLE "altered_photos" - SQL (0.2ms) CREATE TABLE "categories_photos" ("category_id" integer, "photo_id" integer)  - SQL (0.2ms) INSERT INTO schema_migrations (version) VALUES ('20101008172319') - SQL (0.4ms)  SELECT name - FROM sqlite_master - WHERE type = 'table' AND NOT name = 'sqlite_sequence' - - SQL (0.4ms) SELECT version FROM schema_migrations - SQL (0.2ms)  SELECT name - FROM sqlite_master - WHERE type = 'table' AND NOT name = 'sqlite_sequence' - - SQL (0.0ms) PRAGMA index_list("categories") - SQL (0.0ms) PRAGMA index_list("categories_photos") - SQL (0.0ms) PRAGMA index_list("photos") - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-08 13:30:06) [GET] - Category Load (1.0ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 30ms (View: 4, DB: 1) | 200 OK [http://localhost/categories] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 13:30:07) [GET] - Parameters: {"category_id"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (0.0ms) SQLite3::SQLException: no such column: photos.category_id: SELECT * FROM "photos" WHERE ("photos"."category_id" = '1')  - -ActiveRecord::StatementInvalid (SQLite3::SQLException: no such column: photos.category_id: SELECT * FROM "photos" WHERE ("photos"."category_id" = '1') ): - app/controllers/photos_controller.rb:10:in `index' - -Rendered rescues/_trace (25.0ms) -Rendered rescues/_request_and_response (0.3ms) -Rendering rescues/layout (internal_server_error) - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-08 13:30:39) [GET] - Category Load (0.6ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index - -ActionView::TemplateError (undefined method `category_photos_path' for #) on line #6 of app/views/categories/index.html.erb: -3: <% @categories.each do |category| %> -4:
-5:
-6: <%= link_to '

'+h(category.name.downcase)+'

', category_photos_path(category) %> -7:
-8:
-9: <% end %> - - app/views/categories/index.html.erb:6 - app/views/categories/index.html.erb:3:in `each' - app/views/categories/index.html.erb:3 - app/controllers/categories_controller.rb:8:in `index' - -Rendered rescues/_trace (27.0ms) -Rendered rescues/_request_and_response (0.2ms) -Rendering rescues/layout (internal_server_error) - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-08 13:30:55) [GET] - Category Load (0.9ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 12ms (View: 5, DB: 1) | 200 OK [http://localhost/categories] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 13:37:05) [GET] - Parameters: {"category_id"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (0.0ms) SQLite3::SQLException: no such column: photos.category_id: SELECT * FROM "photos" WHERE ("photos"."category_id" = '1')  - -ActiveRecord::StatementInvalid (SQLite3::SQLException: no such column: photos.category_id: SELECT * FROM "photos" WHERE ("photos"."category_id" = '1') ): - app/controllers/photos_controller.rb:10:in `index' - -Rendered rescues/_trace (23.7ms) -Rendered rescues/_request_and_response (0.3ms) -Rendering rescues/layout (internal_server_error) - - -Processing CategoriesController#new (for 127.0.0.1 at 2010-10-08 13:37:28) [GET] -Rendering template within layouts/photos -Rendering categories/new -Completed in 59ms (View: 52, DB: 0) | 200 OK [http://localhost/categories/new] - - -Processing PhotosController#new (for 127.0.0.1 at 2010-10-08 13:37:37) [GET] - Parameters: {"category_id"=>"1"} - Category Load (0.4ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering photos/new - -ActionView::TemplateError (undefined method `category_id' for #) on line #11 of app/views/photos/new.html.erb: -8:

-9:

-10: <%= f.label :category %> -11: <%= f.select :category_id, @categories %> -12:

-13:

-14: <%= submit_tag 'Upload' %> - - app/views/photos/new.html.erb:11 - app/views/photos/new.html.erb:3 - -Rendered rescues/_trace (27.3ms) -Rendered rescues/_request_and_response (0.3ms) -Rendering rescues/layout (internal_server_error) - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 13:43:44) [GET] - Parameters: {"category_id"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (0.0ms) SQLite3::SQLException: no such column: photos.category_id: SELECT * FROM "photos" WHERE ("photos"."category_id" = '1')  - -ActiveRecord::StatementInvalid (SQLite3::SQLException: no such column: photos.category_id: SELECT * FROM "photos" WHERE ("photos"."category_id" = '1') ): - app/controllers/photos_controller.rb:10:in `index' - -Rendered rescues/_trace (26.3ms) -Rendered rescues/_request_and_response (0.3ms) -Rendering rescues/layout (internal_server_error) - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 13:44:17) [GET] - Parameters: {"category_id"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - SQL (0.2ms)  SELECT name - FROM sqlite_master - WHERE type = 'table' AND NOT name = 'sqlite_sequence' - - -NoMethodError (undefined method `photos' for #): - app/controllers/photos_controller.rb:10:in `index' - -Rendered rescues/_trace (22.1ms) -Rendered rescues/_request_and_response (0.3ms) -Rendering rescues/layout (internal_server_error) - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 13:44:23) [GET] - Parameters: {"category_id"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - SQL (0.3ms)  SELECT name - FROM sqlite_master - WHERE type = 'table' AND NOT name = 'sqlite_sequence' - - -NoMethodError (undefined method `Photos' for #): - app/controllers/photos_controller.rb:10:in `index' - -Rendered rescues/_trace (21.4ms) -Rendered rescues/_request_and_response (0.5ms) -Rendering rescues/layout (internal_server_error) - - -Processing PhotosController#new (for 127.0.0.1 at 2010-10-08 13:45:07) [GET] - Category Load (0.5ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering photos/new - -ActionView::TemplateError (undefined method `category_id' for #) on line #11 of app/views/photos/new.html.erb: -8:

-9:

-10: <%= f.label :category %> -11: <%= f.select :category_id, @categories %> -12:

-13:

-14: <%= submit_tag 'Upload' %> - - app/views/photos/new.html.erb:11 - app/views/photos/new.html.erb:3 - -Rendered rescues/_trace (28.8ms) -Rendered rescues/_request_and_response (0.3ms) -Rendering rescues/layout (internal_server_error) - - -Processing PhotosController#new (for 127.0.0.1 at 2010-10-08 13:45:21) [GET] - Category Load (0.3ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering photos/new -Completed in 17ms (View: 7, DB: 0) | 200 OK [http://localhost/photos/new] - - -Processing PhotosController#create (for 127.0.0.1 at 2010-10-08 13:45:30) [POST] - Parameters: {"photo"=>{"photo"=>#}, "commit"=>"Upload", "authenticity_token"=>"MRMA5jN8F+L8Qu/qxudBGU2lL/82P68aMbmoNbKb5zw="} -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-75171-h4ufqz-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-75171-h4ufqz-0.jpg[0]' -resize "x224" -crop "224x224+64+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-75171-h4ufqz-020101008-75171-4yfw10-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-75171-h4ufqz-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-75171-h4ufqz-0.jpg[0]' -resize "x140" -crop "140x140+40+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-75171-h4ufqz-020101008-75171-l494ib-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-75171-h4ufqz-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-75171-h4ufqz-0.jpg[0]' -resize "x84" -crop "84x84+24+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-75171-h4ufqz-020101008-75171-12wfkj4-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-75171-h4ufqz-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-75171-h4ufqz-0.jpg[0]' -resize "x56" -crop "56x56+16+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-75171-h4ufqz-020101008-75171-znukmm-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-75171-h4ufqz-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-75171-h4ufqz-0.jpg[0]' -resize "1024x1024>" '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-75171-h4ufqz-020101008-75171-voxm2b-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-75171-h4ufqz-020101008-75171-voxm2b-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-75171-h4ufqz-020101008-75171-voxm2b-0[0]' -resize "x308" -crop "308x308+88+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-75171-h4ufqz-020101008-75171-voxm2b-020101008-75171-1tusyfy-0' 2>/dev/null - Photo Create (0.7ms) INSERT INTO "photos" ("photo_file_size", "created_at", "title", "flickr_url", "photo_file_name", "updated_at", "photo_content_type", "photo_updated_at", "description", "sort") VALUES(113067, '2010-10-08 17:45:34', NULL, NULL, 'Buttercup.jpg', '2010-10-08 17:45:34', 'image/jpeg', '2010-10-08 17:45:30', NULL, NULL) -[paperclip] Saving attachments. -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/1/size8/Buttercup.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/1/size5/Buttercup.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/1/size3/Buttercup.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/1/size2/Buttercup.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/1/original/Buttercup.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/1/size11/Buttercup.jpg -Redirected to http://localhost:3000/photos/1 -Completed in 4110ms (DB: 1) | 302 Found [http://localhost/photos] - - -Processing PhotosController#show (for 127.0.0.1 at 2010-10-08 13:45:34) [GET] - Parameters: {"id"=>"1"} - Photo Load (0.4ms) SELECT * FROM "photos" WHERE ("photos"."id" = 1)  -Rendering template within layouts/photos -Rendering photos/show -Completed in 25ms (View: 13, DB: 0) | 200 OK [http://localhost/photos/1] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 13:45:36) [GET] - Photo Load (0.5ms) SELECT * FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 15ms (View: 7, DB: 1) | 200 OK [http://localhost/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 13:46:57) [GET] - Photo Load (0.6ms) SELECT * FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 12ms (View: 5, DB: 1) | 200 OK [http://localhost/photos] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-08 13:47:00) [GET] - Category Load (0.8ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 11ms (View: 5, DB: 1) | 200 OK [http://localhost/categories] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 13:47:00) [GET] - Parameters: {"category_id"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 -Rendering template within layouts/photos -Rendering photos/index - Photo Load (0.2ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )  -Completed in 12ms (View: 4, DB: 0) | 200 OK [http://localhost/categories/1/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 13:47:03) [GET] - Parameters: {"category_id"=>"2"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '2') LIMIT 1 -Rendering template within layouts/photos -Rendering photos/index - Photo Load (0.2ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 2 )  -Completed in 13ms (View: 4, DB: 0) | 200 OK [http://localhost/categories/2/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 13:47:28) [GET] - Parameters: {"category_id"=>"2"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '2') LIMIT 1 -Rendering template within layouts/photos -Rendering photos/index - Photo Load (0.2ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 2 )  -Completed in 13ms (View: 4, DB: 0) | 200 OK [http://localhost/categories/2/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 13:48:03) [GET] - Parameters: {"category_id"=>"2"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '2') LIMIT 1 -Rendering template within layouts/photos -Rendering photos/index - Photo Load (0.3ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 2 )  -Completed in 16ms (View: 7, DB: 1) | 200 OK [http://localhost/categories/2/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 13:48:16) [GET] - Parameters: {"category_id"=>"1"} - Category Load (0.3ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 -Rendering template within layouts/photos -Rendering photos/index - Photo Load (0.2ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )  -Completed in 12ms (View: 4, DB: 0) | 200 OK [http://localhost/categories/1/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 13:48:16) [GET] - Parameters: {"category_id"=>"2"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '2') LIMIT 1 -Rendering template within layouts/photos -Rendering photos/index - Photo Load (0.3ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 2 )  -Completed in 16ms (View: 7, DB: 1) | 200 OK [http://localhost/categories/2/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 13:48:18) [GET] - Parameters: {"category_id"=>"4"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '4') LIMIT 1 -Rendering template within layouts/photos -Rendering photos/index - Photo Load (0.2ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 4 )  -Completed in 14ms (View: 4, DB: 0) | 200 OK [http://localhost/categories/4/photos] - - -Processing ApplicationController#index (for 127.0.0.1 at 2010-10-08 13:49:03) [GET] - -ActionController::RoutingError (No route matches "/admin" with {:method=>:get}): - - -Rendering rescues/layout (not_found) - - -Processing ApplicationController#index (for 127.0.0.1 at 2010-10-08 13:49:04) [GET] - -ActionController::RoutingError (No route matches "/admin" with {:method=>:get}): - - -Rendering rescues/layout (not_found) - SQL (0.5ms)  SELECT name - FROM sqlite_master - WHERE type = 'table' AND NOT name = 'sqlite_sequence' - - SQL (0.2ms) SELECT version FROM schema_migrations -Migrating to CreateCategories (20101006095323) -Migrating to CreatePhotos (20101006095457) -Migrating to AddPhotoToCategory (20101008101157) -Migrating to AddDetailsToPhoto (20101008103053) -Migrating to AddColourToCategory (20101008105348) -Migrating to AddSortOrders (20101008122736) -Migrating to MoveToManyToMany (20101008172319) -Migrating to CreateTypusUsers (20101008175640) - SQL (0.1ms) select sqlite_version(*) - SQL (0.5ms) CREATE TABLE "typus_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar(255) DEFAULT '' NOT NULL, "last_name" varchar(255) DEFAULT '' NOT NULL, "role" varchar(255) NOT NULL, "email" varchar(255) NOT NULL, "status" boolean DEFAULT 'f', "token" varchar(255) NOT NULL, "salt" varchar(255) NOT NULL, "crypted_password" varchar(255) NOT NULL, "preferences" varchar(255), "created_at" datetime, "updated_at" datetime)  - SQL (0.1ms) INSERT INTO schema_migrations (version) VALUES ('20101008175640') - SQL (0.6ms)  SELECT name - FROM sqlite_master - WHERE type = 'table' AND NOT name = 'sqlite_sequence' - - SQL (0.5ms) SELECT version FROM schema_migrations - SQL (0.2ms)  SELECT name - FROM sqlite_master - WHERE type = 'table' AND NOT name = 'sqlite_sequence' - - SQL (0.0ms) PRAGMA index_list("categories") - SQL (0.0ms) PRAGMA index_list("categories_photos") - SQL (0.1ms) PRAGMA index_list("photos") - SQL (0.1ms) PRAGMA index_list("typus_users") - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-08 13:57:01) [GET] - Category Load (1.1ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 53ms (View: 41, DB: 1) | 200 OK [http://localhost/categories] - - -Processing TypusController#dashboard (for 127.0.0.1 at 2010-10-08 13:57:02) [GET] - Parameters: {"action"=>"dashboard", "controller"=>"typus"} -Redirected to http://localhost:3000/admin/sign_in -Filter chain halted as [:require_login] rendered_or_redirected. -Completed in 9ms (DB: 0) | 302 Found [http://localhost/admin] - - -Processing TypusController#sign_in (for 127.0.0.1 at 2010-10-08 13:57:03) [GET] - Parameters: {"action"=>"sign_in", "controller"=>"typus"} - SQL (0.7ms) SELECT count(*) AS count_all FROM "typus_users"  -Redirected to http://localhost:3000/admin/sign_up -Completed in 6ms (DB: 1) | 302 Found [http://localhost/admin/sign_in] - - -Processing TypusController#sign_up (for 127.0.0.1 at 2010-10-08 13:57:03) [GET] - Parameters: {"action"=>"sign_up", "controller"=>"typus"} - SQL (0.5ms) SELECT count(*) AS count_all FROM "typus_users"  -Rendering template within layouts/typus -Rendering typus/sign_up -Rendered admin/helpers/_flash_message (0.7ms) -Rendered admin/shared/_footer (0.8ms) -Completed in 39ms (View: 22, DB: 1) | 200 OK [http://localhost/admin/sign_up] - - -Processing TypusController#sign_up (for 127.0.0.1 at 2010-10-08 13:57:08) [POST] - Parameters: {"typus_user"=>{"email"=>"danbee@gmail.com"}, "commit"=>"Sign up", "action"=>"sign_up", "authenticity_token"=>"MRMA5jN8F+L8Qu/qxudBGU2lL/82P68aMbmoNbKb5zw=", "controller"=>"typus"} - SQL (0.4ms) SELECT count(*) AS count_all FROM "typus_users"  - TypusUser Load (0.1ms) SELECT "typus_users".id FROM "typus_users" WHERE ("typus_users"."email" = 'danbee@gmail.com') LIMIT 1 - TypusUser Create (0.6ms) INSERT INTO "typus_users" ("salt", "created_at", "crypted_password", "token", "updated_at", "role", "preferences", "last_name", "status", "first_name", "email") VALUES('1008738aece694bfc08606cc2e63c5589f7d7d88', '2010-10-08 17:57:08', '1291b8154b8fc809c2660c8418913cd8d87f9aa0', '279d9ad7af3b', '2010-10-08 17:57:08', 'admin', '--- -:locale: en -', '', 't', '', 'danbee@gmail.com') -Redirected to http://localhost:3000/admin -Completed in 69ms (DB: 1) | 302 Found [http://localhost/admin/sign_up] - - -Processing TypusController#dashboard (for 127.0.0.1 at 2010-10-08 13:57:08) [GET] - Parameters: {"action"=>"dashboard", "controller"=>"typus"} - TypusUser Load (0.5ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  -Rendering template within layouts/admin -Rendering typus/dashboard -Rendered admin/dashboard/_sidebar (1.0ms) -Rendered admin/helpers/_applications (4.2ms) -Rendered admin/helpers/_header (1.0ms) -Rendered admin/helpers/_login_info (1.0ms) -Rendered admin/helpers/_flash_message (0.1ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 140ms (View: 135, DB: 1) | 200 OK [http://localhost/admin] - - -Processing Admin::PhotosController#index (for 127.0.0.1 at 2010-10-08 13:57:16) [GET] - Parameters: {"action"=>"index", "controller"=>"admin/photos"} - TypusUser Load (0.5ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - SQL (0.3ms) SELECT count(*) AS count_all FROM "photos"  -Rendering template within layouts/admin -Rendering admin/resources/index -Rendered admin/helpers/_list (0.7ms) -Rendered admin/helpers/_search (1.2ms) - Photo Load (0.5ms) SELECT "photos".* FROM "photos" ORDER BY photos.id ASC LIMIT 15 OFFSET 0 -Rendered admin/helpers/_table_header (0.5ms) -Rendered admin/helpers/_header (0.2ms) -Rendered admin/helpers/_login_info (0.5ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 143ms (View: 119, DB: 1) | 200 OK [http://localhost/admin/photos] - - -Processing Admin::PhotosController#edit (for 127.0.0.1 at 2010-10-08 13:57:19) [GET] - Parameters: {"action"=>"edit", "id"=>"1", "controller"=>"admin/photos"} - TypusUser Load (0.7ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - Photo Load (0.3ms) SELECT * FROM "photos" WHERE ("photos"."id" = 1)  -Rendering template within layouts/admin -Rendering admin/resources/edit -Rendered admin/helpers/_list (0.1ms) -Rendered admin/helpers/_search (0.6ms) -Rendered admin/templates/_string (2.8ms) -Rendered admin/templates/_string (0.9ms) -Rendered admin/templates/_string (0.8ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/templates/_datetime (5.2ms) -Rendered admin/templates/_string (1.1ms) -Rendered admin/templates/_text (1.2ms) -Rendered admin/templates/_string (0.7ms) -Rendered admin/resources/_form (27.3ms) - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories"  - Category Load (0.4ms) SELECT * FROM "categories"  - Category Load (0.2ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 1 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 1)  - SQL (0.4ms) SELECT count(*) AS count_all FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 1 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 1)  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 1 ) ORDER BY categories.id ASC LIMIT 15 OFFSET 0 -Rendered admin/helpers/_table_header (0.1ms) -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.4ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 149ms (View: 125, DB: 2) | 200 OK [http://localhost/admin/photos/edit/1] - - -Processing Admin::TypusUsersController#index (for 127.0.0.1 at 2010-10-08 13:57:31) [GET] - Parameters: {"action"=>"index", "controller"=>"admin/typus_users"} - TypusUser Load (0.5ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - SQL (0.2ms) SELECT count(*) AS count_all FROM "typus_users"  -Rendering template within layouts/admin -Rendering admin/resources/index -Rendered admin/helpers/_list (0.1ms) -Rendered admin/helpers/_search (0.5ms) -Rendered admin/helpers/_list (0.1ms) -Rendered admin/helpers/_list (0.1ms) - TypusUser Load (0.3ms) SELECT "typus_users".* FROM "typus_users" ORDER BY typus_users.id ASC LIMIT 15 OFFSET 0 -Rendered admin/helpers/_table_header (0.1ms) -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.3ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 33ms (View: 19, DB: 1) | 200 OK [http://localhost/admin/typus_users] - - -Processing Admin::TypusUsersController#edit (for 127.0.0.1 at 2010-10-08 13:57:32) [GET] - Parameters: {"action"=>"edit", "id"=>"1", "controller"=>"admin/typus_users"} - TypusUser Load (0.7ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - CACHE (0.0ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  -Rendering template within layouts/admin -Rendering admin/resources/edit -Rendered admin/helpers/_list (0.1ms) -Rendered admin/helpers/_search (0.6ms) -Rendered admin/templates/_string (0.7ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/templates/_selector (0.9ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/templates/_password (0.9ms) -Rendered admin/templates/_password (0.4ms) -Rendered admin/templates/_selector (0.5ms) -Rendered admin/resources/_form (13.6ms) -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.3ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 106ms (View: 88, DB: 1) | 200 OK [http://localhost/admin/typus_users/edit/1] - - -Processing Admin::TypusUsersController#update (for 127.0.0.1 at 2010-10-08 13:57:46) [PUT] - Parameters: {"typus_user"=>{"password_confirmation"=>"[FILTERED]", "language"=>"en", "role"=>"admin", "last_name"=>"Barber", "password"=>"[FILTERED]", "email"=>"danbee@gmail.com", "first_name"=>"Dan"}, "commit"=>"Save Typus user", "action"=>"update", "_method"=>"put", "authenticity_token"=>"MRMA5jN8F+L8Qu/qxudBGU2lL/82P68aMbmoNbKb5zw=", "id"=>"1", "controller"=>"admin/typus_users"} - TypusUser Load (0.5ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - CACHE (0.0ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - TypusUser Load (0.1ms) SELECT "typus_users".id FROM "typus_users" WHERE ("typus_users"."email" = 'danbee@gmail.com' AND "typus_users".id <> 1) LIMIT 1 - TypusUser Update (0.3ms) UPDATE "typus_users" SET "updated_at" = '2010-10-08 17:57:46', "last_name" = 'Barber', "first_name" = 'Dan', "preferences" = '--- -:locale: en -', "crypted_password" = 'dc1b7dd577a5504bed755ca0526026210e605239' WHERE "id" = 1 - TypusUser Load (0.3ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  -Redirected to http://localhost:3000/admin/typus_users/edit/1 -Completed in 21ms (DB: 1) | 302 Found [http://localhost/admin/typus_users/update/1] - - -Processing Admin::TypusUsersController#edit (for 127.0.0.1 at 2010-10-08 13:57:46) [GET] - Parameters: {"action"=>"edit", "id"=>"1", "controller"=>"admin/typus_users"} - TypusUser Load (0.5ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - CACHE (0.0ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  -Rendering template within layouts/admin -Rendering admin/resources/edit -Rendered admin/helpers/_list (0.1ms) -Rendered admin/helpers/_search (0.5ms) -Rendered admin/templates/_string (0.8ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/templates/_selector (0.3ms) -Rendered admin/templates/_string (0.7ms) -Rendered admin/templates/_password (0.4ms) -Rendered admin/templates/_password (0.5ms) -Rendered admin/templates/_selector (0.5ms) -Rendered admin/resources/_form (7.8ms) -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.3ms) -Rendered admin/helpers/_flash_message (0.1ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 102ms (View: 84, DB: 1) | 200 OK [http://localhost/admin/typus_users/edit/1] - - -Processing TypusController#dashboard (for 127.0.0.1 at 2010-10-08 13:57:51) [GET] - Parameters: {"action"=>"dashboard", "controller"=>"typus"} - TypusUser Load (0.5ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  -Rendering template within layouts/admin -Rendering typus/dashboard -Rendered admin/dashboard/_sidebar (0.2ms) -Rendered admin/helpers/_applications (2.0ms) -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.3ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 25ms (View: 21, DB: 0) | 200 OK [http://localhost/admin] - - -Processing Admin::PhotosController#index (for 127.0.0.1 at 2010-10-08 13:57:52) [GET] - Parameters: {"action"=>"index", "controller"=>"admin/photos"} - TypusUser Load (0.5ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos"  -Rendering template within layouts/admin -Rendering admin/resources/index -Rendered admin/helpers/_list (0.1ms) -Rendered admin/helpers/_search (0.4ms) - Photo Load (0.3ms) SELECT "photos".* FROM "photos" ORDER BY photos.id ASC LIMIT 15 OFFSET 0 -Rendered admin/helpers/_table_header (0.1ms) -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.3ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 96ms (View: 17, DB: 1) | 200 OK [http://localhost/admin/photos] - - -Processing Admin::PhotosController#new (for 127.0.0.1 at 2010-10-08 13:57:54) [GET] - Parameters: {"action"=>"new", "controller"=>"admin/photos"} - TypusUser Load (0.5ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  -Rendering template within layouts/admin -Rendering admin/resources/new -Rendered admin/helpers/_list (0.1ms) -Rendered admin/templates/_string (1.7ms) -Rendered admin/templates/_string (0.7ms) -Rendered admin/templates/_string (0.8ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/templates/_datetime (3.6ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/templates/_text (0.4ms) -Rendered admin/templates/_string (0.5ms) -Rendered admin/resources/_form (13.9ms) -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.4ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 45ms (View: 27, DB: 1) | 200 OK [http://localhost/admin/photos/new] - - -Processing Admin::PhotosController#edit (for 127.0.0.1 at 2010-10-08 13:58:24) [GET] - Parameters: {"action"=>"edit", "id"=>"1", "controller"=>"admin/photos"} - TypusUser Load (0.5ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - Photo Load (0.3ms) SELECT * FROM "photos" WHERE ("photos"."id" = 1)  -Rendering template within layouts/admin -Rendering admin/resources/edit -Rendered admin/helpers/_list (0.1ms) -Rendered admin/helpers/_search (0.7ms) -Rendered admin/templates/_string (2.3ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/templates/_datetime (3.9ms) -Rendered admin/templates/_string (1.0ms) -Rendered admin/templates/_text (0.5ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/resources/_form (16.3ms) - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories"  - Category Load (0.4ms) SELECT * FROM "categories"  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 1 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 1)  - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 1 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 1)  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 1 ) ORDER BY categories.id ASC LIMIT 15 OFFSET 0 -Rendered admin/helpers/_table_header (0.1ms) -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.5ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 63ms (View: 42, DB: 2) | 200 OK [http://localhost/admin/photos/edit/1] - - -Processing PhotosController#new (for 127.0.0.1 at 2010-10-08 13:58:38) [GET] - Category Load (0.4ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering photos/new -Completed in 81ms (View: 70, DB: 0) | 200 OK [http://localhost/photos/new] - - -Processing PhotosController#create (for 127.0.0.1 at 2010-10-08 13:58:52) [POST] - Parameters: {"photo"=>{"photo"=>#}, "commit"=>"Upload", "authenticity_token"=>"MRMA5jN8F+L8Qu/qxudBGU2lL/82P68aMbmoNbKb5zw="} -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-1ioh8wk-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-1ioh8wk-0.jpg[0]' -resize "x224" -crop "224x224+43+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-1ioh8wk-020101008-80675-kfbepk-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-1ioh8wk-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-1ioh8wk-0.jpg[0]' -resize "x140" -crop "140x140+27+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-1ioh8wk-020101008-80675-q4c2n2-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-1ioh8wk-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-1ioh8wk-0.jpg[0]' -resize "1024x1024>" '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-1ioh8wk-020101008-80675-1dcmbyz-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-1ioh8wk-020101008-80675-1dcmbyz-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-1ioh8wk-020101008-80675-1dcmbyz-0[0]' -resize "x84" -crop "84x84+16+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-1ioh8wk-020101008-80675-1dcmbyz-020101008-80675-rfuwpp-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-1ioh8wk-020101008-80675-1dcmbyz-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-1ioh8wk-020101008-80675-1dcmbyz-0[0]' -resize "x56" -crop "56x56+10+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-1ioh8wk-020101008-80675-1dcmbyz-020101008-80675-b76t7q-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-1ioh8wk-020101008-80675-1dcmbyz-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-1ioh8wk-020101008-80675-1dcmbyz-0[0]' -resize "x308" -crop "308x308+60+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-1ioh8wk-020101008-80675-1dcmbyz-020101008-80675-ljnryt-0' 2>/dev/null - Photo Create (1.5ms) INSERT INTO "photos" ("photo_file_size", "created_at", "title", "flickr_url", "photo_file_name", "updated_at", "photo_content_type", "photo_updated_at", "description", "sort") VALUES(362111, '2010-10-08 17:58:55', NULL, NULL, 'Bell Tower.jpg', '2010-10-08 17:58:55', 'image/jpeg', '2010-10-08 17:58:52', 'Church of Ireland bell tower, Tourmakeady, Co. Mayo.', NULL) -[paperclip] Saving attachments. -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/2/size8/Bell Tower.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/2/size5/Bell Tower.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/2/size3/Bell Tower.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/2/original/Bell Tower.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/2/size2/Bell Tower.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/2/size11/Bell Tower.jpg -Redirected to http://localhost:3000/photos/2 -Completed in 3018ms (DB: 1) | 302 Found [http://localhost/photos] - - -Processing PhotosController#show (for 127.0.0.1 at 2010-10-08 13:58:55) [GET] - Parameters: {"id"=>"2"} - Photo Load (0.2ms) SELECT * FROM "photos" WHERE ("photos"."id" = 2)  -Rendering template within layouts/photos -Rendering photos/show -Completed in 23ms (View: 14, DB: 0) | 200 OK [http://localhost/photos/2] - - -Processing TypusController#dashboard (for 127.0.0.1 at 2010-10-08 13:58:57) [GET] - Parameters: {"action"=>"dashboard", "controller"=>"typus"} - TypusUser Load (0.5ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  -Rendering template within layouts/admin -Rendering typus/dashboard -Rendered admin/dashboard/_sidebar (0.2ms) -Rendered admin/helpers/_applications (2.2ms) -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.4ms) -Rendered admin/helpers/_flash_message (0.1ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 31ms (View: 25, DB: 1) | 200 OK [http://localhost/admin] - - -Processing Admin::PhotosController#index (for 127.0.0.1 at 2010-10-08 13:58:58) [GET] - Parameters: {"action"=>"index", "controller"=>"admin/photos"} - TypusUser Load (0.5ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos"  -Rendering template within layouts/admin -Rendering admin/resources/index -Rendered admin/helpers/_list (0.1ms) -Rendered admin/helpers/_search (0.4ms) - Photo Load (0.4ms) SELECT "photos".* FROM "photos" ORDER BY photos.id ASC LIMIT 15 OFFSET 0 -Rendered admin/helpers/_table_header (0.1ms) -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.3ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 41ms (View: 20, DB: 1) | 200 OK [http://localhost/admin/photos] - - -Processing Admin::PhotosController#edit (for 127.0.0.1 at 2010-10-08 13:59:02) [GET] - Parameters: {"action"=>"edit", "id"=>"2", "controller"=>"admin/photos"} - TypusUser Load (0.5ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - Photo Load (0.2ms) SELECT * FROM "photos" WHERE ("photos"."id" = 2)  -Rendering template within layouts/admin -Rendering admin/resources/edit -Rendered admin/helpers/_list (0.1ms) -Rendered admin/helpers/_search (0.5ms) -Rendered admin/templates/_string (1.8ms) -Rendered admin/templates/_string (0.7ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/templates/_datetime (3.5ms) -Rendered admin/templates/_string (0.7ms) -Rendered admin/templates/_text (0.4ms) -Rendered admin/templates/_string (55.4ms) -Rendered admin/resources/_form (68.1ms) - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories"  - Category Load (0.6ms) SELECT * FROM "categories"  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 2 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 2)  - SQL (0.4ms) SELECT count(*) AS count_all FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 2 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 2)  - Category Load (0.2ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 2 ) ORDER BY categories.id ASC LIMIT 15 OFFSET 0 -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.4ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 115ms (View: 92, DB: 2) | 200 OK [http://localhost/admin/photos/edit/2] - - -Processing Admin::PhotosController#relate (for 127.0.0.1 at 2010-10-08 13:59:05) [POST] - Parameters: {"commit"=>"Add", "related"=>{"model"=>"Category", "relation"=>"categories", "id"=>"3"}, "action"=>"relate", "authenticity_token"=>"MRMA5jN8F+L8Qu/qxudBGU2lL/82P68aMbmoNbKb5zw=", "id"=>"2", "controller"=>"admin/photos"} - TypusUser Load (0.5ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - Photo Load (0.3ms) SELECT * FROM "photos" WHERE ("photos"."id" = 2)  - Category Load (0.3ms) SELECT * FROM "categories" WHERE ("categories"."id" = 3)  - SQL (0.3ms) INSERT INTO "categories_photos" ("category_id", "photo_id") VALUES (3, 2) -Redirected to http://localhost:3000/admin/photos/edit/2 -Completed in 57ms (DB: 1) | 302 Found [http://localhost/admin/photos/relate/2] - - -Processing Admin::PhotosController#edit (for 127.0.0.1 at 2010-10-08 13:59:05) [GET] - Parameters: {"action"=>"edit", "id"=>"2", "controller"=>"admin/photos"} - TypusUser Load (0.5ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - Photo Load (0.3ms) SELECT * FROM "photos" WHERE ("photos"."id" = 2)  -Rendering template within layouts/admin -Rendering admin/resources/edit -Rendered admin/helpers/_list (0.1ms) -Rendered admin/helpers/_search (0.5ms) -Rendered admin/templates/_string (2.0ms) -Rendered admin/templates/_string (62.2ms) -Rendered admin/templates/_string (0.7ms) -Rendered admin/templates/_string (0.7ms) -Rendered admin/templates/_datetime (3.9ms) -Rendered admin/templates/_string (0.7ms) -Rendered admin/templates/_text (0.4ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/resources/_form (76.9ms) - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories"  - Category Load (0.4ms) SELECT * FROM "categories"  - Category Load (0.2ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 2 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 2)  - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 2 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 2)  - Category Load (0.2ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 2 ) ORDER BY categories.id ASC LIMIT 15 OFFSET 0 -Rendered admin/helpers/_table_header (0.1ms) -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.5ms) -Rendered admin/helpers/_flash_message (0.1ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 125ms (View: 102, DB: 2) | 200 OK [http://localhost/admin/photos/edit/2] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-08 13:59:11) [GET] - Category Load (0.6ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 10ms (View: 4, DB: 1) | 200 OK [http://localhost/categories] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 13:59:14) [GET] - Parameters: {"category_id"=>"3"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '3') LIMIT 1 -Rendering template within layouts/photos -Rendering photos/index - Photo Load (0.3ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 3 )  -Completed in 21ms (View: 10, DB: 0) | 200 OK [http://localhost/categories/3/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 13:59:39) [GET] - Parameters: {"category_id"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 -Rendering template within layouts/photos -Rendering photos/index - Photo Load (0.2ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )  -Completed in 68ms (View: 4, DB: 0) | 200 OK [http://localhost/categories/1/photos] - - -Processing TypusController#dashboard (for 127.0.0.1 at 2010-10-08 13:59:44) [GET] - Parameters: {"action"=>"dashboard", "controller"=>"typus"} - TypusUser Load (1.0ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  -Rendering template within layouts/admin -Rendering typus/dashboard -Rendered admin/dashboard/_sidebar (0.2ms) -Rendered admin/helpers/_applications (2.1ms) -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.4ms) -Rendered admin/shared/_footer (0.3ms) -Completed in 30ms (View: 23, DB: 1) | 200 OK [http://localhost/admin] - - -Processing PhotosController#show (for 127.0.0.1 at 2010-10-08 14:00:33) [GET] - Parameters: {"id"=>"net"} - Photo Load (0.1ms) SELECT * FROM "photos" WHERE ("photos"."id" = 0)  - -ActiveRecord::RecordNotFound (Couldn't find Photo with ID=net): - app/controllers/photos_controller.rb:27:in `show' - -Rendered rescues/_trace (80.1ms) -Rendered rescues/_request_and_response (0.9ms) -Rendering rescues/layout (not_found) - - -Processing PhotosController#new (for 127.0.0.1 at 2010-10-08 14:00:39) [GET] - Category Load (0.4ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering photos/new -Completed in 25ms (View: 13, DB: 0) | 200 OK [http://localhost/photos/new] - - -Processing PhotosController#create (for 127.0.0.1 at 2010-10-08 14:00:58) [POST] - Parameters: {"photo"=>{"photo"=>#}, "commit"=>"Upload", "authenticity_token"=>"MRMA5jN8F+L8Qu/qxudBGU2lL/82P68aMbmoNbKb5zw="} -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-ctuqdx-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-ctuqdx-0.jpg[0]' -resize "x224" -crop "224x224+73+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-ctuqdx-020101008-80675-wnv00y-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-ctuqdx-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-ctuqdx-0.jpg[0]' -resize "x140" -crop "140x140+45+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-ctuqdx-020101008-80675-l8ema4-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-ctuqdx-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-ctuqdx-0.jpg[0]' -resize "1024x1024>" '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-ctuqdx-020101008-80675-gwigzu-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-ctuqdx-020101008-80675-gwigzu-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-ctuqdx-020101008-80675-gwigzu-0[0]' -resize "x84" -crop "84x84+27+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-ctuqdx-020101008-80675-gwigzu-020101008-80675-fwyl31-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-ctuqdx-020101008-80675-gwigzu-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-ctuqdx-020101008-80675-gwigzu-0[0]' -resize "x56" -crop "56x56+18+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-ctuqdx-020101008-80675-gwigzu-020101008-80675-xim15h-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-ctuqdx-020101008-80675-gwigzu-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-ctuqdx-020101008-80675-gwigzu-0[0]' -resize "x308" -crop "308x308+100+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-ctuqdx-020101008-80675-gwigzu-020101008-80675-4w1xn4-0' 2>/dev/null - Photo Create (0.5ms) INSERT INTO "photos" ("photo_file_size", "created_at", "title", "flickr_url", "photo_file_name", "updated_at", "photo_content_type", "photo_updated_at", "description", "sort") VALUES(212862, '2010-10-08 18:01:00', NULL, NULL, 'Cross.jpg', '2010-10-08 18:01:00', 'image/jpeg', '2010-10-08 18:00:58', 'The Famine Memorial at Lough Doolough. - -"How can men feel themselves honoured by the humiliation of their fellow beings?"', NULL) -[paperclip] Saving attachments. -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/3/size8/Cross.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/3/size5/Cross.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/3/size3/Cross.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/3/original/Cross.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/3/size2/Cross.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/3/size11/Cross.jpg -Redirected to http://localhost:3000/photos/3 -Completed in 1947ms (DB: 1) | 302 Found [http://localhost/photos] - - -Processing PhotosController#show (for 127.0.0.1 at 2010-10-08 14:01:00) [GET] - Parameters: {"id"=>"3"} - Photo Load (0.5ms) SELECT * FROM "photos" WHERE ("photos"."id" = 3)  -Rendering template within layouts/photos -Rendering photos/show -Completed in 19ms (View: 8, DB: 1) | 200 OK [http://localhost/photos/3] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-08 14:01:06) [GET] - Category Load (1.0ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 16ms (View: 7, DB: 1) | 200 OK [http://localhost/categories] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 14:01:08) [GET] - Parameters: {"category_id"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 -Rendering template within layouts/photos -Rendering photos/index - Photo Load (0.2ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )  -Completed in 14ms (View: 4, DB: 0) | 200 OK [http://localhost/categories/1/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 14:01:09) [GET] - Parameters: {"category_id"=>"4"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '4') LIMIT 1 -Rendering template within layouts/photos -Rendering photos/index - Photo Load (0.2ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 4 )  -Completed in 13ms (View: 4, DB: 0) | 200 OK [http://localhost/categories/4/photos] - - -Processing TypusController#dashboard (for 127.0.0.1 at 2010-10-08 14:01:12) [GET] - Parameters: {"action"=>"dashboard", "controller"=>"typus"} - TypusUser Load (0.5ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  -Rendering template within layouts/admin -Rendering typus/dashboard -Rendered admin/dashboard/_sidebar (0.3ms) -Rendered admin/helpers/_applications (2.2ms) -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.5ms) -Rendered admin/helpers/_flash_message (0.1ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 33ms (View: 27, DB: 1) | 200 OK [http://localhost/admin] - - -Processing Admin::CategoriesController#index (for 127.0.0.1 at 2010-10-08 14:01:15) [GET] - Parameters: {"action"=>"index", "controller"=>"admin/categories"} - TypusUser Load (0.5ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories"  -Rendering template within layouts/admin -Rendering admin/resources/index -Rendered admin/helpers/_list (0.1ms) -Rendered admin/helpers/_search (0.5ms) - Category Load (0.6ms) SELECT "categories".* FROM "categories" ORDER BY categories.id ASC LIMIT 15 OFFSET 0 -Rendered admin/helpers/_table_header (0.1ms) -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.4ms) -Rendered admin/shared/_footer (0.4ms) -Completed in 101ms (View: 81, DB: 1) | 200 OK [http://localhost/admin/categories] - - -Processing Admin::PhotosController#index (for 127.0.0.1 at 2010-10-08 14:01:18) [GET] - Parameters: {"action"=>"index", "controller"=>"admin/photos"} - TypusUser Load (0.5ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos"  -Rendering template within layouts/admin -Rendering admin/resources/index -Rendered admin/helpers/_list (0.1ms) -Rendered admin/helpers/_search (0.5ms) - Photo Load (0.4ms) SELECT "photos".* FROM "photos" ORDER BY photos.id ASC LIMIT 15 OFFSET 0 -Rendered admin/helpers/_table_header (0.1ms) -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.3ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 42ms (View: 22, DB: 1) | 200 OK [http://localhost/admin/photos] - - -Processing Admin::PhotosController#edit (for 127.0.0.1 at 2010-10-08 14:01:20) [GET] - Parameters: {"action"=>"edit", "id"=>"3", "controller"=>"admin/photos"} - TypusUser Load (0.5ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - Photo Load (0.3ms) SELECT * FROM "photos" WHERE ("photos"."id" = 3)  -Rendering template within layouts/admin -Rendering admin/resources/edit -Rendered admin/helpers/_list (0.1ms) -Rendered admin/helpers/_search (0.5ms) -Rendered admin/templates/_string (2.0ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/templates/_string (0.7ms) -Rendered admin/templates/_datetime (3.4ms) -Rendered admin/templates/_string (0.5ms) -Rendered admin/templates/_text (0.7ms) -Rendered admin/templates/_string (0.7ms) -Rendered admin/resources/_form (13.6ms) - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories"  - Category Load (0.3ms) SELECT * FROM "categories"  - Category Load (0.1ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 3 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 3)  - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 3 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 3)  - Category Load (0.1ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 3 ) ORDER BY categories.id ASC LIMIT 15 OFFSET 0 -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.3ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 110ms (View: 33, DB: 2) | 200 OK [http://localhost/admin/photos/edit/3] - - -Processing Admin::PhotosController#relate (for 127.0.0.1 at 2010-10-08 14:01:27) [POST] - Parameters: {"commit"=>"Add", "related"=>{"model"=>"Category", "relation"=>"categories", "id"=>"4"}, "action"=>"relate", "authenticity_token"=>"MRMA5jN8F+L8Qu/qxudBGU2lL/82P68aMbmoNbKb5zw=", "id"=>"3", "controller"=>"admin/photos"} - TypusUser Load (0.5ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - Photo Load (0.2ms) SELECT * FROM "photos" WHERE ("photos"."id" = 3)  - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = 4)  - SQL (0.3ms) INSERT INTO "categories_photos" ("category_id", "photo_id") VALUES (4, 3) -Redirected to http://localhost:3000/admin/photos/edit/3 -Completed in 28ms (DB: 1) | 302 Found [http://localhost/admin/photos/relate/3] - - -Processing Admin::PhotosController#edit (for 127.0.0.1 at 2010-10-08 14:01:27) [GET] - Parameters: {"action"=>"edit", "id"=>"3", "controller"=>"admin/photos"} - TypusUser Load (0.5ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - Photo Load (0.3ms) SELECT * FROM "photos" WHERE ("photos"."id" = 3)  -Rendering template within layouts/admin -Rendering admin/resources/edit -Rendered admin/helpers/_list (0.1ms) -Rendered admin/helpers/_search (0.5ms) -Rendered admin/templates/_string (2.0ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/templates/_string (0.8ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/templates/_datetime (3.8ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/templates/_text (0.4ms) -Rendered admin/templates/_string (0.5ms) -Rendered admin/resources/_form (13.8ms) - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories"  - Category Load (0.4ms) SELECT * FROM "categories"  - Category Load (0.2ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 3 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 3)  - SQL (0.3ms) SELECT count(*) AS count_all FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 3 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 3)  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 3 ) ORDER BY categories.id ASC LIMIT 15 OFFSET 0 -Rendered admin/helpers/_table_header (0.1ms) -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.3ms) -Rendered admin/helpers/_flash_message (0.1ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 61ms (View: 37, DB: 2) | 200 OK [http://localhost/admin/photos/edit/3] - - -Processing Admin::PhotosController#relate (for 127.0.0.1 at 2010-10-08 14:01:30) [POST] - Parameters: {"commit"=>"Add", "related"=>{"model"=>"Category", "relation"=>"categories", "id"=>"1"}, "action"=>"relate", "authenticity_token"=>"MRMA5jN8F+L8Qu/qxudBGU2lL/82P68aMbmoNbKb5zw=", "id"=>"3", "controller"=>"admin/photos"} - TypusUser Load (0.5ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - Photo Load (0.3ms) SELECT * FROM "photos" WHERE ("photos"."id" = 3)  - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = 1)  - SQL (0.3ms) INSERT INTO "categories_photos" ("category_id", "photo_id") VALUES (1, 3) -Redirected to http://localhost:3000/admin/photos/edit/3 -Completed in 26ms (DB: 1) | 302 Found [http://localhost/admin/photos/relate/3] - - -Processing Admin::PhotosController#edit (for 127.0.0.1 at 2010-10-08 14:01:30) [GET] - Parameters: {"action"=>"edit", "id"=>"3", "controller"=>"admin/photos"} - TypusUser Load (0.5ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - Photo Load (0.4ms) SELECT * FROM "photos" WHERE ("photos"."id" = 3)  -Rendering template within layouts/admin -Rendering admin/resources/edit -Rendered admin/helpers/_list (0.1ms) -Rendered admin/helpers/_search (0.4ms) -Rendered admin/templates/_string (1.9ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/templates/_string (0.7ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/templates/_datetime (3.6ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/templates/_text (0.4ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/resources/_form (13.3ms) - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories"  - Category Load (0.3ms) SELECT * FROM "categories"  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 3 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 3)  - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 3 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 3)  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 3 ) ORDER BY categories.id ASC LIMIT 15 OFFSET 0 -Rendered admin/helpers/_table_header (0.1ms) -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.3ms) -Rendered admin/helpers/_flash_message (0.1ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 58ms (View: 36, DB: 2) | 200 OK [http://localhost/admin/photos/edit/3] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-08 14:01:35) [GET] - Category Load (0.7ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 11ms (View: 4, DB: 1) | 200 OK [http://localhost/categories] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 14:01:36) [GET] - Parameters: {"category_id"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 -Rendering template within layouts/photos -Rendering photos/index - Photo Load (0.3ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )  -Completed in 15ms (View: 6, DB: 0) | 200 OK [http://localhost/categories/1/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 14:01:40) [GET] - Parameters: {"category_id"=>"4"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '4') LIMIT 1 -Rendering template within layouts/photos -Rendering photos/index - Photo Load (0.3ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 4 )  -Completed in 15ms (View: 6, DB: 0) | 200 OK [http://localhost/categories/4/photos] - - -Processing TypusController#dashboard (for 127.0.0.1 at 2010-10-08 14:01:58) [GET] - Parameters: {"action"=>"dashboard", "controller"=>"typus"} - TypusUser Load (0.7ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  -Rendering template within layouts/admin -Rendering typus/dashboard -Rendered admin/dashboard/_sidebar (0.2ms) -Rendered admin/helpers/_applications (2.1ms) -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.3ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 31ms (View: 24, DB: 1) | 200 OK [http://localhost/admin] - - -Processing Admin::PhotosController#index (for 127.0.0.1 at 2010-10-08 14:02:00) [GET] - Parameters: {"action"=>"index", "controller"=>"admin/photos"} - TypusUser Load (0.5ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos"  -Rendering template within layouts/admin -Rendering admin/resources/index -Rendered admin/helpers/_list (0.1ms) -Rendered admin/helpers/_search (0.4ms) - Photo Load (0.4ms) SELECT "photos".* FROM "photos" ORDER BY photos.id ASC LIMIT 15 OFFSET 0 -Rendered admin/helpers/_table_header (0.1ms) -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.3ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 40ms (View: 20, DB: 1) | 200 OK [http://localhost/admin/photos] - - -Processing Admin::PhotosController#index (for 127.0.0.1 at 2010-10-08 14:03:16) [GET] - Parameters: {"action"=>"index", "controller"=>"admin/photos"} - TypusUser Load (0.5ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos"  -Rendering template within layouts/admin -Rendering admin/resources/index -Rendered admin/helpers/_list (0.1ms) -Rendered admin/helpers/_search (0.4ms) - Photo Load (0.4ms) SELECT "photos".* FROM "photos" ORDER BY photos.id ASC LIMIT 15 OFFSET 0 -Rendered admin/helpers/_table_header (0.2ms) -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.3ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 97ms (View: 78, DB: 1) | 200 OK [http://localhost/admin/photos] - - -Processing Admin::PhotosController#new (for 127.0.0.1 at 2010-10-08 14:03:18) [GET] - Parameters: {"action"=>"new", "controller"=>"admin/photos"} - TypusUser Load (0.6ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  -Rendering template within layouts/admin -Rendering admin/resources/new -Rendered admin/helpers/_list (0.1ms) -Rendered admin/templates/_file (2.2ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/templates/_string (0.5ms) -Rendered admin/templates/_text (0.4ms) -Rendered admin/templates/_string (0.5ms) -Rendered admin/resources/_form (10.0ms) -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.3ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 38ms (View: 19, DB: 1) | 200 OK [http://localhost/admin/photos/new] - - -Processing Admin::PhotosController#create (for 127.0.0.1 at 2010-10-08 14:03:42) [POST] - Parameters: {"photo"=>{"photo"=>#, "title"=>"Emerald Panarama", "flickr_url"=>"", "sort"=>"", "description"=>""}, "commit"=>"Create Photo", "action"=>"create", "authenticity_token"=>"MRMA5jN8F+L8Qu/qxudBGU2lL/82P68aMbmoNbKb5zw=", "controller"=>"admin/photos"} - TypusUser Load (0.7ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-1h5yz7n-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-1h5yz7n-0.jpg[0]' -resize "x224" -crop "224x224+125+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-1h5yz7n-020101008-80675-wdd4hg-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-1h5yz7n-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-1h5yz7n-0.jpg[0]' -resize "x140" -crop "140x140+78+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-1h5yz7n-020101008-80675-1y78s0v-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-1h5yz7n-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-1h5yz7n-0.jpg[0]' -resize "1024x1024>" '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-1h5yz7n-020101008-80675-1fc374j-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-1h5yz7n-020101008-80675-1fc374j-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-1h5yz7n-020101008-80675-1fc374j-0[0]' -resize "x84" -crop "84x84+46+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-1h5yz7n-020101008-80675-1fc374j-020101008-80675-1hwxu0w-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-1h5yz7n-020101008-80675-1fc374j-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-1h5yz7n-020101008-80675-1fc374j-0[0]' -resize "x56" -crop "56x56+31+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-1h5yz7n-020101008-80675-1fc374j-020101008-80675-2lzo4h-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-1h5yz7n-020101008-80675-1fc374j-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-1h5yz7n-020101008-80675-1fc374j-0[0]' -resize "x308" -crop "308x308+171+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-1h5yz7n-020101008-80675-1fc374j-020101008-80675-o1k2i3-0' 2>/dev/null - Photo Create (0.5ms) INSERT INTO "photos" ("photo_file_size", "created_at", "title", "flickr_url", "photo_file_name", "updated_at", "photo_content_type", "photo_updated_at", "description", "sort") VALUES(321666, '2010-10-08 18:03:46', 'Emerald Panarama', '', 'Emerald Panarama.jpg', '2010-10-08 18:03:46', 'image/jpeg', '2010-10-08 18:03:42', '', NULL) -[paperclip] Saving attachments. -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/4/size8/Emerald Panarama.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/4/size5/Emerald Panarama.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/4/size3/Emerald Panarama.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/4/original/Emerald Panarama.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/4/size2/Emerald Panarama.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/4/size11/Emerald Panarama.jpg -Redirected to http://localhost:3000/admin/photos/edit/4 -Completed in 4841ms (DB: 1) | 302 Found [http://localhost/admin/photos/create] - - -Processing Admin::PhotosController#edit (for 127.0.0.1 at 2010-10-08 14:03:47) [GET] - Parameters: {"action"=>"edit", "id"=>"4", "controller"=>"admin/photos"} - TypusUser Load (0.5ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - Photo Load (0.4ms) SELECT * FROM "photos" WHERE ("photos"."id" = 4)  -Rendering template within layouts/admin -Rendering admin/resources/edit -Rendered admin/helpers/_list (0.1ms) -Rendered admin/helpers/_search (0.9ms) -Rendered admin/helpers/_preview (1.0ms) -Rendered admin/templates/_file (10.2ms) -Rendered admin/templates/_string (0.8ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/templates/_text (0.5ms) -Rendered admin/templates/_string (0.5ms) -Rendered admin/resources/_form (17.4ms) - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories"  - Category Load (0.3ms) SELECT * FROM "categories"  - Category Load (0.1ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 4 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 4)  - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 4 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 4)  - Category Load (0.1ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 4 ) ORDER BY categories.id ASC LIMIT 15 OFFSET 0 -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.7ms) -Rendered admin/helpers/_flash_message (0.1ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 68ms (View: 41, DB: 2) | 200 OK [http://localhost/admin/photos/edit/4] - - -Processing Admin::PhotosController#show (for 127.0.0.1 at 2010-10-08 14:03:49) [GET] - Parameters: {"action"=>"show", "id"=>"4", "controller"=>"admin/photos"} - TypusUser Load (0.5ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - Photo Load (0.3ms) SELECT * FROM "photos" WHERE ("photos"."id" = 4)  -Rendering template within layouts/admin -Rendering admin/resources/show -Rendered admin/helpers/_list (0.1ms) -Rendered admin/helpers/_search (0.5ms) - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories"  - Category Load (0.5ms) SELECT * FROM "categories"  - Category Load (0.1ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 4 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 4)  - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 4 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 4)  - Category Load (0.1ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 4 ) ORDER BY categories.id ASC LIMIT 15 OFFSET 0 -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.3ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 107ms (View: 25, DB: 2) | 200 OK [http://localhost/admin/photos/show/4] - - -Processing Admin::PhotosController#relate (for 127.0.0.1 at 2010-10-08 14:03:56) [POST] - Parameters: {"commit"=>"Add", "related"=>{"model"=>"Category", "relation"=>"categories", "id"=>"1"}, "action"=>"relate", "authenticity_token"=>"MRMA5jN8F+L8Qu/qxudBGU2lL/82P68aMbmoNbKb5zw=", "id"=>"4", "controller"=>"admin/photos"} - TypusUser Load (0.5ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - Photo Load (0.3ms) SELECT * FROM "photos" WHERE ("photos"."id" = 4)  - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = 1)  - SQL (0.2ms) INSERT INTO "categories_photos" ("category_id", "photo_id") VALUES (1, 4) -Redirected to http://localhost:3000/admin/photos/show/4 -Completed in 29ms (DB: 1) | 302 Found [http://localhost/admin/photos/relate/4] - - -Processing Admin::PhotosController#show (for 127.0.0.1 at 2010-10-08 14:03:56) [GET] - Parameters: {"action"=>"show", "id"=>"4", "controller"=>"admin/photos"} - TypusUser Load (0.5ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - Photo Load (0.2ms) SELECT * FROM "photos" WHERE ("photos"."id" = 4)  -Rendering template within layouts/admin -Rendering admin/resources/show -Rendered admin/helpers/_list (0.1ms) -Rendered admin/helpers/_search (0.6ms) - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories"  - Category Load (0.4ms) SELECT * FROM "categories"  - Category Load (0.2ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 4 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 4)  - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 4 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 4)  - Category Load (0.2ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 4 ) ORDER BY categories.id ASC LIMIT 15 OFFSET 0 -Rendered admin/helpers/_table_header (0.1ms) -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.3ms) -Rendered admin/helpers/_flash_message (0.1ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 108ms (View: 23, DB: 2) | 200 OK [http://localhost/admin/photos/show/4] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-08 14:04:01) [GET] - Category Load (0.8ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 11ms (View: 5, DB: 1) | 200 OK [http://localhost/categories] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 14:04:02) [GET] - Parameters: {"category_id"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 -Rendering template within layouts/photos -Rendering photos/index - Photo Load (0.4ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )  -Completed in 99ms (View: 89, DB: 1) | 200 OK [http://localhost/categories/1/photos] - - -Processing TypusController#dashboard (for 127.0.0.1 at 2010-10-08 14:04:08) [GET] - Parameters: {"action"=>"dashboard", "controller"=>"typus"} - TypusUser Load (0.5ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  -Rendering template within layouts/admin -Rendering typus/dashboard -Rendered admin/dashboard/_sidebar (0.2ms) -Rendered admin/helpers/_applications (2.1ms) -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.3ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 26ms (View: 21, DB: 0) | 200 OK [http://localhost/admin] - - -Processing Admin::PhotosController#index (for 127.0.0.1 at 2010-10-08 14:04:09) [GET] - Parameters: {"action"=>"index", "controller"=>"admin/photos"} - TypusUser Load (0.5ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos"  -Rendering template within layouts/admin -Rendering admin/resources/index -Rendered admin/helpers/_list (0.1ms) -Rendered admin/helpers/_search (0.4ms) - Photo Load (0.5ms) SELECT "photos".* FROM "photos" ORDER BY photos.id ASC LIMIT 15 OFFSET 0 -Rendered admin/helpers/_table_header (0.1ms) -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.3ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 42ms (View: 22, DB: 1) | 200 OK [http://localhost/admin/photos] - - -Processing Admin::PhotosController#edit (for 127.0.0.1 at 2010-10-08 14:04:14) [GET] - Parameters: {"action"=>"edit", "id"=>"3", "controller"=>"admin/photos"} - TypusUser Load (0.5ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - Photo Load (0.3ms) SELECT * FROM "photos" WHERE ("photos"."id" = 3)  -Rendering template within layouts/admin -Rendering admin/resources/edit -Rendered admin/helpers/_list (0.1ms) -Rendered admin/helpers/_search (0.4ms) -Rendered admin/helpers/_preview (0.2ms) -Rendered admin/templates/_file (4.2ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/templates/_text (0.4ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/resources/_form (9.8ms) - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories"  - Category Load (0.3ms) SELECT * FROM "categories"  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 3 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 3)  - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 3 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 3)  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 3 ) ORDER BY categories.id ASC LIMIT 15 OFFSET 0 -Rendered admin/helpers/_table_header (0.1ms) -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.3ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 53ms (View: 32, DB: 2) | 200 OK [http://localhost/admin/photos/edit/3] - - -Processing Admin::PhotosController#update (for 127.0.0.1 at 2010-10-08 14:04:19) [PUT] - Parameters: {"photo"=>{"title"=>"Cross", "flickr_url"=>"", "sort"=>"", "description"=>"How can men feel themselves honoured by the humiliation of their fellow beings?"}, "commit"=>"Save Photo", "action"=>"update", "_method"=>"put", "authenticity_token"=>"MRMA5jN8F+L8Qu/qxudBGU2lL/82P68aMbmoNbKb5zw=", "id"=>"3", "controller"=>"admin/photos"} - TypusUser Load (0.6ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - Photo Load (0.3ms) SELECT * FROM "photos" WHERE ("photos"."id" = 3)  - Photo Update (0.3ms) UPDATE "photos" SET "updated_at" = '2010-10-08 18:04:19', "title" = 'Cross', "flickr_url" = '', "description" = 'How can men feel themselves honoured by the humiliation of their fellow beings?' WHERE "id" = 3 -[paperclip] Saving attachments. -Redirected to http://localhost:3000/admin/photos/edit/3 -Completed in 24ms (DB: 1) | 302 Found [http://localhost/admin/photos/update/3] - - -Processing Admin::PhotosController#edit (for 127.0.0.1 at 2010-10-08 14:04:19) [GET] - Parameters: {"action"=>"edit", "id"=>"3", "controller"=>"admin/photos"} - TypusUser Load (0.7ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - Photo Load (0.3ms) SELECT * FROM "photos" WHERE ("photos"."id" = 3)  -Rendering template within layouts/admin -Rendering admin/resources/edit -Rendered admin/helpers/_list (0.1ms) -Rendered admin/helpers/_search (0.8ms) -Rendered admin/helpers/_preview (0.2ms) -Rendered admin/templates/_file (4.3ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/templates/_text (0.4ms) -Rendered admin/templates/_string (0.5ms) -Rendered admin/resources/_form (10.1ms) - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories"  - Category Load (0.4ms) SELECT * FROM "categories"  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 3 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 3)  - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 3 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 3)  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 3 ) ORDER BY categories.id ASC LIMIT 15 OFFSET 0 -Rendered admin/helpers/_table_header (0.1ms) -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.3ms) -Rendered admin/helpers/_flash_message (0.1ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 58ms (View: 35, DB: 2) | 200 OK [http://localhost/admin/photos/edit/3] - - -Processing Admin::PhotosController#index (for 127.0.0.1 at 2010-10-08 14:04:23) [GET] - Parameters: {"action"=>"index", "controller"=>"admin/photos"} - TypusUser Load (0.5ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos"  -Rendering template within layouts/admin -Rendering admin/resources/index -Rendered admin/helpers/_list (0.1ms) -Rendered admin/helpers/_search (0.5ms) - Photo Load (0.5ms) SELECT "photos".* FROM "photos" ORDER BY photos.id ASC LIMIT 15 OFFSET 0 -Rendered admin/helpers/_table_header (0.1ms) -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.3ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 97ms (View: 21, DB: 1) | 200 OK [http://localhost/admin/photos] - - -Processing Admin::PhotosController#edit (for 127.0.0.1 at 2010-10-08 14:04:26) [GET] - Parameters: {"action"=>"edit", "id"=>"2", "controller"=>"admin/photos"} - TypusUser Load (0.5ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - Photo Load (0.3ms) SELECT * FROM "photos" WHERE ("photos"."id" = 2)  -Rendering template within layouts/admin -Rendering admin/resources/edit -Rendered admin/helpers/_list (0.1ms) -Rendered admin/helpers/_search (0.4ms) -Rendered admin/helpers/_preview (0.2ms) -Rendered admin/templates/_file (4.7ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/templates/_string (0.5ms) -Rendered admin/templates/_text (0.4ms) -Rendered admin/templates/_string (0.5ms) -Rendered admin/resources/_form (10.1ms) - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories"  - Category Load (0.4ms) SELECT * FROM "categories"  - Category Load (0.2ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 2 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 2)  - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 2 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 2)  - Category Load (0.2ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 2 ) ORDER BY categories.id ASC LIMIT 15 OFFSET 0 -Rendered admin/helpers/_table_header (0.1ms) -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.3ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 54ms (View: 31, DB: 2) | 200 OK [http://localhost/admin/photos/edit/2] - - -Processing Admin::PhotosController#update (for 127.0.0.1 at 2010-10-08 14:04:30) [PUT] - Parameters: {"photo"=>{"title"=>"Bell Tower", "flickr_url"=>"", "sort"=>"", "description"=>"Church of Ireland bell tower, Tourmakeady, Co. Mayo."}, "commit"=>"Save Photo", "action"=>"update", "_method"=>"put", "authenticity_token"=>"MRMA5jN8F+L8Qu/qxudBGU2lL/82P68aMbmoNbKb5zw=", "id"=>"2", "controller"=>"admin/photos"} - TypusUser Load (0.5ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - Photo Load (0.3ms) SELECT * FROM "photos" WHERE ("photos"."id" = 2)  - Photo Update (0.3ms) UPDATE "photos" SET "updated_at" = '2010-10-08 18:04:30', "title" = 'Bell Tower', "flickr_url" = '' WHERE "id" = 2 -[paperclip] Saving attachments. -Redirected to http://localhost:3000/admin/photos/edit/2 -Completed in 25ms (DB: 1) | 302 Found [http://localhost/admin/photos/update/2] - - -Processing Admin::PhotosController#edit (for 127.0.0.1 at 2010-10-08 14:04:30) [GET] - Parameters: {"action"=>"edit", "id"=>"2", "controller"=>"admin/photos"} - TypusUser Load (0.5ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - Photo Load (0.3ms) SELECT * FROM "photos" WHERE ("photos"."id" = 2)  -Rendering template within layouts/admin -Rendering admin/resources/edit -Rendered admin/helpers/_list (0.1ms) -Rendered admin/helpers/_search (0.9ms) -Rendered admin/helpers/_preview (0.2ms) -Rendered admin/templates/_file (5.2ms) -Rendered admin/templates/_string (0.7ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/templates/_text (0.4ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/resources/_form (11.9ms) - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories"  - Category Load (0.3ms) SELECT * FROM "categories"  - Category Load (0.2ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 2 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 2)  - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 2 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 2)  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 2 ) ORDER BY categories.id ASC LIMIT 15 OFFSET 0 -Rendered admin/helpers/_table_header (0.1ms) -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.4ms) -Rendered admin/helpers/_flash_message (0.1ms) -Rendered admin/shared/_footer (0.3ms) -Completed in 123ms (View: 97, DB: 2) | 200 OK [http://localhost/admin/photos/edit/2] - - -Processing Admin::PhotosController#index (for 127.0.0.1 at 2010-10-08 14:04:32) [GET] - Parameters: {"action"=>"index", "controller"=>"admin/photos"} - TypusUser Load (0.5ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos"  -Rendering template within layouts/admin -Rendering admin/resources/index -Rendered admin/helpers/_list (0.1ms) -Rendered admin/helpers/_search (0.5ms) - Photo Load (0.4ms) SELECT "photos".* FROM "photos" ORDER BY photos.id ASC LIMIT 15 OFFSET 0 -Rendered admin/helpers/_table_header (0.1ms) -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.4ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 42ms (View: 22, DB: 1) | 200 OK [http://localhost/admin/photos] - - -Processing Admin::PhotosController#edit (for 127.0.0.1 at 2010-10-08 14:04:34) [GET] - Parameters: {"action"=>"edit", "id"=>"1", "controller"=>"admin/photos"} - TypusUser Load (0.5ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - Photo Load (0.2ms) SELECT * FROM "photos" WHERE ("photos"."id" = 1)  -Rendering template within layouts/admin -Rendering admin/resources/edit -Rendered admin/helpers/_list (0.1ms) -Rendered admin/helpers/_search (0.5ms) -Rendered admin/helpers/_preview (0.2ms) -Rendered admin/templates/_file (4.5ms) -Rendered admin/templates/_string (0.7ms) -Rendered admin/templates/_string (0.5ms) -Rendered admin/templates/_text (0.4ms) -Rendered admin/templates/_string (0.5ms) -Rendered admin/resources/_form (10.2ms) - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories"  - Category Load (0.5ms) SELECT * FROM "categories"  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 1 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 1)  - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 1 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 1)  - Category Load (0.2ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 1 ) ORDER BY categories.id ASC LIMIT 15 OFFSET 0 -Rendered admin/helpers/_table_header (0.1ms) -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.6ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 114ms (View: 93, DB: 2) | 200 OK [http://localhost/admin/photos/edit/1] - - -Processing Admin::PhotosController#update (for 127.0.0.1 at 2010-10-08 14:04:38) [PUT] - Parameters: {"photo"=>{"title"=>"Buttercup", "flickr_url"=>"", "sort"=>"", "description"=>""}, "commit"=>"Save Photo", "action"=>"update", "_method"=>"put", "authenticity_token"=>"MRMA5jN8F+L8Qu/qxudBGU2lL/82P68aMbmoNbKb5zw=", "id"=>"1", "controller"=>"admin/photos"} - TypusUser Load (0.5ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - Photo Load (0.4ms) SELECT * FROM "photos" WHERE ("photos"."id" = 1)  - Photo Update (0.4ms) UPDATE "photos" SET "updated_at" = '2010-10-08 18:04:38', "title" = 'Buttercup', "flickr_url" = '', "description" = '' WHERE "id" = 1 -[paperclip] Saving attachments. -Redirected to http://localhost:3000/admin/photos/edit/1 -Completed in 31ms (DB: 1) | 302 Found [http://localhost/admin/photos/update/1] - - -Processing Admin::PhotosController#edit (for 127.0.0.1 at 2010-10-08 14:04:38) [GET] - Parameters: {"action"=>"edit", "id"=>"1", "controller"=>"admin/photos"} - TypusUser Load (0.6ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - Photo Load (0.5ms) SELECT * FROM "photos" WHERE ("photos"."id" = 1)  -Rendering template within layouts/admin -Rendering admin/resources/edit -Rendered admin/helpers/_list (0.1ms) -Rendered admin/helpers/_search (0.6ms) -Rendered admin/helpers/_preview (0.2ms) -Rendered admin/templates/_file (4.9ms) -Rendered admin/templates/_string (0.7ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/templates/_text (0.4ms) -Rendered admin/templates/_string (0.7ms) -Rendered admin/resources/_form (12.0ms) - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories"  - Category Load (0.6ms) SELECT * FROM "categories"  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 1 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 1)  - SQL (0.3ms) SELECT count(*) AS count_all FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 1 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 1)  - Category Load (0.4ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 1 ) ORDER BY categories.id ASC LIMIT 15 OFFSET 0 -Rendered admin/helpers/_table_header (0.2ms) -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.5ms) -Rendered admin/helpers/_flash_message (0.1ms) -Rendered admin/shared/_footer (0.3ms) -Completed in 131ms (View: 43, DB: 3) | 200 OK [http://localhost/admin/photos/edit/1] - - -Processing TypusController#dashboard (for 127.0.0.1 at 2010-10-08 14:04:41) [GET] - Parameters: {"action"=>"dashboard", "controller"=>"typus"} - TypusUser Load (0.5ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  -Rendering template within layouts/admin -Rendering typus/dashboard -Rendered admin/dashboard/_sidebar (0.2ms) -Rendered admin/helpers/_applications (2.2ms) -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.3ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 25ms (View: 20, DB: 1) | 200 OK [http://localhost/admin] - - -Processing Admin::PhotosController#index (for 127.0.0.1 at 2010-10-08 14:04:43) [GET] - Parameters: {"action"=>"index", "controller"=>"admin/photos"} - TypusUser Load (0.5ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos"  -Rendering template within layouts/admin -Rendering admin/resources/index -Rendered admin/helpers/_list (0.1ms) -Rendered admin/helpers/_search (0.4ms) - Photo Load (0.5ms) SELECT "photos".* FROM "photos" ORDER BY photos.id ASC LIMIT 15 OFFSET 0 -Rendered admin/helpers/_table_header (0.1ms) -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.3ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 105ms (View: 24, DB: 1) | 200 OK [http://localhost/admin/photos] - - -Processing Admin::PhotosController#index (for 127.0.0.1 at 2010-10-08 14:04:59) [GET] - Parameters: {"action"=>"index", "controller"=>"admin/photos"} - TypusUser Load (0.5ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos"  -Rendering template within layouts/admin -Rendering admin/resources/index -Rendered admin/helpers/_list (0.1ms) -Rendered admin/helpers/_search (0.4ms) - Photo Load (0.5ms) SELECT "photos".* FROM "photos" ORDER BY photos.id ASC LIMIT 15 OFFSET 0 -Rendered admin/helpers/_table_header (0.1ms) -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.3ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 43ms (View: 22, DB: 1) | 200 OK [http://localhost/admin/photos] - - -Processing TypusController#dashboard (for 127.0.0.1 at 2010-10-08 14:05:00) [GET] - Parameters: {"action"=>"dashboard", "controller"=>"typus"} - TypusUser Load (0.5ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  -Rendering template within layouts/admin -Rendering typus/dashboard -Rendered admin/dashboard/_sidebar (0.2ms) -Rendered admin/helpers/_applications (2.0ms) -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.3ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 26ms (View: 21, DB: 1) | 200 OK [http://localhost/admin] - - -Processing Admin::PhotosController#index (for 127.0.0.1 at 2010-10-08 14:05:12) [GET] - Parameters: {"action"=>"index", "controller"=>"admin/photos"} - TypusUser Load (0.5ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos"  -Rendering template within layouts/admin -Rendering admin/resources/index -Rendered admin/helpers/_list (0.1ms) -Rendered admin/helpers/_search (0.4ms) - Photo Load (0.5ms) SELECT "photos".* FROM "photos" ORDER BY photos.id ASC LIMIT 15 OFFSET 0 -Rendered admin/helpers/_table_header (0.1ms) -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.3ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 43ms (View: 23, DB: 1) | 200 OK [http://localhost/admin/photos] - - -Processing Admin::CategoriesController#index (for 127.0.0.1 at 2010-10-08 14:06:32) [GET] - Parameters: {"action"=>"index", "controller"=>"admin/categories"} - TypusUser Load (0.5ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories"  -Rendering template within layouts/admin -Rendering admin/resources/index -Rendered admin/helpers/_list (0.1ms) -Rendered admin/helpers/_search (0.5ms) - Category Load (0.4ms) SELECT "categories".* FROM "categories" ORDER BY categories.id ASC LIMIT 15 OFFSET 0 -Rendered admin/helpers/_table_header (0.1ms) -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.3ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 39ms (View: 21, DB: 1) | 200 OK [http://localhost/admin/categories] - - -Processing Admin::CategoriesController#new (for 127.0.0.1 at 2010-10-08 14:06:35) [GET] - Parameters: {"action"=>"new", "controller"=>"admin/categories"} - TypusUser Load (0.6ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  -Rendering template within layouts/admin -Rendering admin/resources/new -Rendered admin/helpers/_list (0.1ms) -Rendered admin/templates/_string (1.7ms) -Rendered admin/templates/_text (0.7ms) -Rendered admin/templates/_string (1.1ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/templates/_string (1.1ms) -Rendered admin/resources/_form (68.5ms) -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.6ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 104ms (View: 82, DB: 1) | 200 OK [http://localhost/admin/categories/new] - - -Processing Admin::CategoriesController#create (for 127.0.0.1 at 2010-10-08 14:06:55) [POST] - Parameters: {"category"=>{"name"=>"Abstract", "sort"=>"", "base_colour"=>"#00bf7e", "photo_id"=>"", "description"=>""}, "commit"=>"Create Category", "action"=>"create", "authenticity_token"=>"MRMA5jN8F+L8Qu/qxudBGU2lL/82P68aMbmoNbKb5zw=", "controller"=>"admin/categories"} - TypusUser Load (0.5ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - Category Create (0.4ms) INSERT INTO "categories" ("name", "created_at", "updated_at", "description", "photo_id", "base_colour", "sort") VALUES('Abstract', '2010-10-08 18:06:55', '2010-10-08 18:06:55', '', NULL, '#00bf7e', NULL) -Redirected to http://localhost:3000/admin/categories/edit/6 -Completed in 21ms (DB: 1) | 302 Found [http://localhost/admin/categories/create] - - -Processing Admin::CategoriesController#edit (for 127.0.0.1 at 2010-10-08 14:06:55) [GET] - Parameters: {"action"=>"edit", "id"=>"6", "controller"=>"admin/categories"} - TypusUser Load (0.5ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - Category Load (0.3ms) SELECT * FROM "categories" WHERE ("categories"."id" = 6)  -Rendering template within layouts/admin -Rendering admin/resources/edit -Rendered admin/helpers/_list (0.1ms) -Rendered admin/helpers/_search (0.8ms) -Rendered admin/templates/_string (1.6ms) -Rendered admin/templates/_text (0.7ms) -Rendered admin/templates/_string (0.9ms) -Rendered admin/templates/_string (0.8ms) -Rendered admin/templates/_string (0.5ms) -Rendered admin/resources/_form (9.6ms) - SQL (0.3ms) SELECT count(*) AS count_all FROM "photos"  - Photo Load (0.7ms) SELECT * FROM "photos"  - Photo Load (0.2ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 6 )  - CACHE (0.0ms) SELECT * FROM "categories" WHERE ("categories"."id" = 6)  - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 6 )  - CACHE (0.0ms) SELECT * FROM "categories" WHERE ("categories"."id" = 6)  - Photo Load (0.1ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 6 ) ORDER BY photos.id ASC LIMIT 15 OFFSET 0 -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.4ms) -Rendered admin/helpers/_flash_message (0.1ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 118ms (View: 93, DB: 2) | 200 OK [http://localhost/admin/categories/edit/6] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-08 14:07:01) [GET] - Category Load (1.3ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 11ms (View: 5, DB: 1) | 200 OK [http://localhost/categories] - - -Processing Admin::CategoriesController#update (for 127.0.0.1 at 2010-10-08 14:07:21) [PUT] - Parameters: {"category"=>{"name"=>"Abstract", "sort"=>"", "base_colour"=>"#00bfab", "photo_id"=>"", "description"=>""}, "commit"=>"Save Category", "action"=>"update", "_method"=>"put", "authenticity_token"=>"MRMA5jN8F+L8Qu/qxudBGU2lL/82P68aMbmoNbKb5zw=", "id"=>"6", "controller"=>"admin/categories"} - TypusUser Load (0.6ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = 6)  - Category Update (0.3ms) UPDATE "categories" SET "updated_at" = '2010-10-08 18:07:21', "base_colour" = '#00bfab' WHERE "id" = 6 -Redirected to http://localhost:3000/admin/categories/edit/6 -Completed in 22ms (DB: 1) | 302 Found [http://localhost/admin/categories/update/6] - - -Processing Admin::CategoriesController#edit (for 127.0.0.1 at 2010-10-08 14:07:21) [GET] - Parameters: {"action"=>"edit", "id"=>"6", "controller"=>"admin/categories"} - TypusUser Load (0.7ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = 6)  -Rendering template within layouts/admin -Rendering admin/resources/edit -Rendered admin/helpers/_list (0.1ms) -Rendered admin/helpers/_search (0.8ms) -Rendered admin/templates/_string (1.9ms) -Rendered admin/templates/_text (0.5ms) -Rendered admin/templates/_string (0.7ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/templates/_string (0.5ms) -Rendered admin/resources/_form (8.0ms) - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos"  - Photo Load (0.5ms) SELECT * FROM "photos"  - Photo Load (0.1ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 6 )  - CACHE (0.0ms) SELECT * FROM "categories" WHERE ("categories"."id" = 6)  - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 6 )  - CACHE (0.0ms) SELECT * FROM "categories" WHERE ("categories"."id" = 6)  - Photo Load (0.1ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 6 ) ORDER BY photos.id ASC LIMIT 15 OFFSET 0 -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.5ms) -Rendered admin/helpers/_flash_message (0.1ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 119ms (View: 33, DB: 2) | 200 OK [http://localhost/admin/categories/edit/6] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-08 14:07:22) [GET] - Category Load (0.7ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 9ms (View: 4, DB: 1) | 200 OK [http://localhost/categories] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-08 14:07:42) [GET] - Category Load (0.7ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 12ms (View: 7, DB: 1) | 200 OK [http://localhost/categories] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 14:07:44) [GET] - Parameters: {"category_id"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 -Rendering template within layouts/photos -Rendering photos/index - Photo Load (0.4ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )  -Completed in 72ms (View: 62, DB: 1) | 200 OK [http://localhost/categories/1/photos] - - -Processing TypusController#dashboard (for 127.0.0.1 at 2010-10-08 14:07:49) [GET] - Parameters: {"action"=>"dashboard", "controller"=>"typus"} - TypusUser Load (0.5ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  -Rendering template within layouts/admin -Rendering typus/dashboard -Rendered admin/dashboard/_sidebar (0.2ms) -Rendered admin/helpers/_applications (2.1ms) -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.3ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 26ms (View: 21, DB: 1) | 200 OK [http://localhost/admin] - - -Processing Admin::PhotosController#index (for 127.0.0.1 at 2010-10-08 14:07:50) [GET] - Parameters: {"action"=>"index", "controller"=>"admin/photos"} - TypusUser Load (0.5ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos"  -Rendering template within layouts/admin -Rendering admin/resources/index -Rendered admin/helpers/_list (0.1ms) -Rendered admin/helpers/_search (0.5ms) - Photo Load (0.5ms) SELECT "photos".* FROM "photos" ORDER BY photos.id ASC LIMIT 15 OFFSET 0 -Rendered admin/helpers/_table_header (0.1ms) -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.3ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 100ms (View: 80, DB: 1) | 200 OK [http://localhost/admin/photos] - - -Processing Admin::PhotosController#edit (for 127.0.0.1 at 2010-10-08 14:07:52) [GET] - Parameters: {"action"=>"edit", "id"=>"1", "controller"=>"admin/photos"} - TypusUser Load (0.5ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - Photo Load (0.2ms) SELECT * FROM "photos" WHERE ("photos"."id" = 1)  -Rendering template within layouts/admin -Rendering admin/resources/edit -Rendered admin/helpers/_list (0.1ms) -Rendered admin/helpers/_search (0.4ms) -Rendered admin/helpers/_preview (0.2ms) -Rendered admin/templates/_file (4.0ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/templates/_text (0.4ms) -Rendered admin/templates/_string (0.5ms) -Rendered admin/resources/_form (9.2ms) - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories"  - Category Load (0.4ms) SELECT * FROM "categories"  - Category Load (0.2ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 1 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 1)  - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 1 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 1)  - Category Load (0.2ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 1 ) ORDER BY categories.id ASC LIMIT 15 OFFSET 0 -Rendered admin/helpers/_table_header (0.1ms) -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.3ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 52ms (View: 31, DB: 2) | 200 OK [http://localhost/admin/photos/edit/1] - - -Processing Admin::PhotosController#new (for 127.0.0.1 at 2010-10-08 14:08:07) [GET] - Parameters: {"action"=>"new", "controller"=>"admin/photos"} - TypusUser Load (0.5ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  -Rendering template within layouts/admin -Rendering admin/resources/new -Rendered admin/helpers/_list (0.1ms) -Rendered admin/templates/_file (1.7ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/templates/_string (0.5ms) -Rendered admin/templates/_text (0.4ms) -Rendered admin/templates/_string (1.0ms) -Rendered admin/resources/_form (7.8ms) -Rendered admin/helpers/_header (0.2ms) -Rendered admin/helpers/_login_info (0.4ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 94ms (View: 19, DB: 1) | 200 OK [http://localhost/admin/photos/new] - - -Processing Admin::PhotosController#create (for 127.0.0.1 at 2010-10-08 14:08:17) [POST] - Parameters: {"photo"=>{"photo"=>#, "title"=>"Rust", "flickr_url"=>"", "sort"=>"", "description"=>""}, "commit"=>"Create Photo", "action"=>"create", "authenticity_token"=>"MRMA5jN8F+L8Qu/qxudBGU2lL/82P68aMbmoNbKb5zw=", "controller"=>"admin/photos"} - TypusUser Load (0.6ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-o06o6q-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-o06o6q-0.jpg[0]' -resize "x224" -crop "224x224+71+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-o06o6q-020101008-80675-1fmr351-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-o06o6q-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-o06o6q-0.jpg[0]' -resize "x140" -crop "140x140+44+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-o06o6q-020101008-80675-ayc2x-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-o06o6q-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-o06o6q-0.jpg[0]' -resize "1024x1024>" '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-o06o6q-020101008-80675-1fe9r11-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-o06o6q-020101008-80675-1fe9r11-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-o06o6q-020101008-80675-1fe9r11-0[0]' -resize "x84" -crop "84x84+26+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-o06o6q-020101008-80675-1fe9r11-020101008-80675-1odozu7-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-o06o6q-020101008-80675-1fe9r11-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-o06o6q-020101008-80675-1fe9r11-0[0]' -resize "x56" -crop "56x56+17+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-o06o6q-020101008-80675-1fe9r11-020101008-80675-12b47hw-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-o06o6q-020101008-80675-1fe9r11-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-o06o6q-020101008-80675-1fe9r11-0[0]' -resize "x308" -crop "308x308+97+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-o06o6q-020101008-80675-1fe9r11-020101008-80675-1fez4lu-0' 2>/dev/null - Photo Create (0.5ms) INSERT INTO "photos" ("photo_file_size", "created_at", "title", "flickr_url", "photo_file_name", "updated_at", "photo_content_type", "photo_updated_at", "description", "sort") VALUES(754653, '2010-10-08 18:08:19', 'Rust', '', '_.jpg', '2010-10-08 18:08:19', 'image/jpeg', '2010-10-08 18:08:17', '', NULL) -[paperclip] Saving attachments. -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/5/size8/_.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/5/size5/_.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/5/size3/_.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/5/original/_.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/5/size2/_.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/5/size11/_.jpg -Redirected to http://localhost:3000/admin/photos/edit/5 -Completed in 2345ms (DB: 1) | 302 Found [http://localhost/admin/photos/create] - - -Processing Admin::PhotosController#edit (for 127.0.0.1 at 2010-10-08 14:08:19) [GET] - Parameters: {"action"=>"edit", "id"=>"5", "controller"=>"admin/photos"} - TypusUser Load (0.8ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - Photo Load (0.3ms) SELECT * FROM "photos" WHERE ("photos"."id" = 5)  -Rendering template within layouts/admin -Rendering admin/resources/edit -Rendered admin/helpers/_list (0.1ms) -Rendered admin/helpers/_search (0.6ms) -Rendered admin/helpers/_preview (0.2ms) -Rendered admin/templates/_file (6.5ms) -Rendered admin/templates/_string (0.7ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/templates/_text (0.4ms) -Rendered admin/templates/_string (164.7ms) -Rendered admin/resources/_form (176.7ms) - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories"  - Category Load (0.4ms) SELECT * FROM "categories"  - Category Load (0.1ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 5 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 5)  - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 5 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 5)  - Category Load (0.2ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 5 ) ORDER BY categories.id ASC LIMIT 15 OFFSET 0 -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.3ms) -Rendered admin/helpers/_flash_message (0.1ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 229ms (View: 199, DB: 2) | 200 OK [http://localhost/admin/photos/edit/5] - - -Processing Admin::PhotosController#index (for 127.0.0.1 at 2010-10-08 14:08:22) [GET] - Parameters: {"action"=>"index", "controller"=>"admin/photos"} - TypusUser Load (0.6ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos"  -Rendering template within layouts/admin -Rendering admin/resources/index -Rendered admin/helpers/_list (0.1ms) -Rendered admin/helpers/_search (0.5ms) - Photo Load (0.7ms) SELECT "photos".* FROM "photos" ORDER BY photos.id ASC LIMIT 15 OFFSET 0 -Rendered admin/helpers/_table_header (0.1ms) -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.3ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 47ms (View: 24, DB: 1) | 200 OK [http://localhost/admin/photos] - - -Processing Admin::PhotosController#edit (for 127.0.0.1 at 2010-10-08 14:08:26) [GET] - Parameters: {"action"=>"edit", "id"=>"5", "controller"=>"admin/photos"} - TypusUser Load (0.6ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - Photo Load (0.2ms) SELECT * FROM "photos" WHERE ("photos"."id" = 5)  -Rendering template within layouts/admin -Rendering admin/resources/edit -Rendered admin/helpers/_list (0.1ms) -Rendered admin/helpers/_search (0.6ms) -Rendered admin/helpers/_preview (0.2ms) -Rendered admin/templates/_file (4.0ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/templates/_string (0.5ms) -Rendered admin/templates/_text (0.4ms) -Rendered admin/templates/_string (0.5ms) -Rendered admin/resources/_form (9.2ms) - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories"  - Category Load (0.4ms) SELECT * FROM "categories"  - Category Load (0.1ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 5 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 5)  - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 5 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 5)  - Category Load (0.1ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 5 ) ORDER BY categories.id ASC LIMIT 15 OFFSET 0 -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.3ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 110ms (View: 29, DB: 2) | 200 OK [http://localhost/admin/photos/edit/5] - - -Processing Admin::PhotosController#new (for 127.0.0.1 at 2010-10-08 14:08:29) [GET] - Parameters: {"action"=>"new", "controller"=>"admin/photos"} - TypusUser Load (0.5ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  -Rendering template within layouts/admin -Rendering admin/resources/new -Rendered admin/helpers/_list (0.1ms) -Rendered admin/templates/_file (1.6ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/templates/_text (0.6ms) -Rendered admin/templates/_string (0.5ms) -Rendered admin/resources/_form (7.1ms) -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.3ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 35ms (View: 16, DB: 1) | 200 OK [http://localhost/admin/photos/new] - - -Processing Admin::PhotosController#edit (for 127.0.0.1 at 2010-10-08 14:08:32) [GET] - Parameters: {"action"=>"edit", "id"=>"5", "controller"=>"admin/photos"} - TypusUser Load (0.5ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - Photo Load (0.2ms) SELECT * FROM "photos" WHERE ("photos"."id" = 5)  -Rendering template within layouts/admin -Rendering admin/resources/edit -Rendered admin/helpers/_list (0.1ms) -Rendered admin/helpers/_search (0.5ms) -Rendered admin/helpers/_preview (0.2ms) -Rendered admin/templates/_file (5.4ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/templates/_text (0.4ms) -Rendered admin/templates/_string (0.5ms) -Rendered admin/resources/_form (10.8ms) - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories"  - Category Load (0.4ms) SELECT * FROM "categories"  - Category Load (0.1ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 5 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 5)  - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 5 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 5)  - Category Load (0.1ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 5 ) ORDER BY categories.id ASC LIMIT 15 OFFSET 0 -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.3ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 52ms (View: 32, DB: 2) | 200 OK [http://localhost/admin/photos/edit/5] - - -Processing Admin::PhotosController#relate (for 127.0.0.1 at 2010-10-08 14:08:35) [POST] - Parameters: {"commit"=>"Add", "related"=>{"model"=>"Category", "relation"=>"categories", "id"=>"6"}, "action"=>"relate", "authenticity_token"=>"MRMA5jN8F+L8Qu/qxudBGU2lL/82P68aMbmoNbKb5zw=", "id"=>"5", "controller"=>"admin/photos"} - TypusUser Load (0.5ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - Photo Load (0.2ms) SELECT * FROM "photos" WHERE ("photos"."id" = 5)  - Category Load (0.3ms) SELECT * FROM "categories" WHERE ("categories"."id" = 6)  - SQL (0.3ms) INSERT INTO "categories_photos" ("category_id", "photo_id") VALUES (6, 5) -Redirected to http://localhost:3000/admin/photos/edit/5 -Completed in 82ms (DB: 1) | 302 Found [http://localhost/admin/photos/relate/5] - - -Processing Admin::PhotosController#edit (for 127.0.0.1 at 2010-10-08 14:08:35) [GET] - Parameters: {"action"=>"edit", "id"=>"5", "controller"=>"admin/photos"} - TypusUser Load (0.5ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - Photo Load (0.4ms) SELECT * FROM "photos" WHERE ("photos"."id" = 5)  -Rendering template within layouts/admin -Rendering admin/resources/edit -Rendered admin/helpers/_list (0.1ms) -Rendered admin/helpers/_search (0.8ms) -Rendered admin/helpers/_preview (0.2ms) -Rendered admin/templates/_file (4.5ms) -Rendered admin/templates/_string (0.8ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/templates/_text (0.4ms) -Rendered admin/templates/_string (0.5ms) -Rendered admin/resources/_form (11.4ms) - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories"  - Category Load (0.7ms) SELECT * FROM "categories"  - Category Load (0.2ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 5 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 5)  - SQL (0.3ms) SELECT count(*) AS count_all FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 5 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 5)  - Category Load (0.4ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 5 ) ORDER BY categories.id ASC LIMIT 15 OFFSET 0 -Rendered admin/helpers/_table_header (0.1ms) -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.3ms) -Rendered admin/helpers/_flash_message (0.1ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 62ms (View: 36, DB: 3) | 200 OK [http://localhost/admin/photos/edit/5] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-08 14:08:42) [GET] - Category Load (0.8ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 10ms (View: 4, DB: 1) | 200 OK [http://localhost/categories] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 14:08:42) [GET] - Parameters: {"category_id"=>"6"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '6') LIMIT 1 -Rendering template within layouts/photos -Rendering photos/index - Photo Load (0.3ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 6 )  -Completed in 17ms (View: 6, DB: 0) | 200 OK [http://localhost/categories/6/photos] - - -Processing Admin::PhotosController#new (for 127.0.0.1 at 2010-10-08 14:08:50) [GET] - Parameters: {"action"=>"new", "controller"=>"admin/photos"} - TypusUser Load (0.5ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  -Rendering template within layouts/admin -Rendering admin/resources/new -Rendered admin/helpers/_list (0.1ms) -Rendered admin/templates/_file (1.6ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/templates/_string (0.5ms) -Rendered admin/templates/_text (0.4ms) -Rendered admin/templates/_string (0.5ms) -Rendered admin/resources/_form (6.8ms) -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.3ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 35ms (View: 16, DB: 1) | 200 OK [http://localhost/admin/photos/new] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 14:08:55) [GET] - Photo Load (0.8ms) SELECT * FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 71ms (View: 8, DB: 1) | 200 OK [http://localhost/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 14:09:05) [GET] - Photo Load (1.2ms) SELECT * FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 18ms (View: 8, DB: 1) | 200 OK [http://localhost/photos] - - -Processing Admin::PhotosController#create (for 127.0.0.1 at 2010-10-08 14:09:35) [POST] - Parameters: {"photo"=>{"photo"=>#, "title"=>"Boathouse", "flickr_url"=>"", "sort"=>"", "description"=>""}, "commit"=>"Create Photo", "action"=>"create", "authenticity_token"=>"MRMA5jN8F+L8Qu/qxudBGU2lL/82P68aMbmoNbKb5zw=", "controller"=>"admin/photos"} - TypusUser Load (0.5ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-j8cjn9-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-j8cjn9-0.jpg[0]' -resize "x224" -crop "224x224+107+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-j8cjn9-020101008-80675-20zj26-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-j8cjn9-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-j8cjn9-0.jpg[0]' -resize "x140" -crop "140x140+67+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-j8cjn9-020101008-80675-1hr4lxu-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-j8cjn9-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-j8cjn9-0.jpg[0]' -resize "1024x1024>" '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-j8cjn9-020101008-80675-lcnri9-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-j8cjn9-020101008-80675-lcnri9-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-j8cjn9-020101008-80675-lcnri9-0[0]' -resize "x84" -crop "84x84+40+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-j8cjn9-020101008-80675-lcnri9-020101008-80675-155kg67-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-j8cjn9-020101008-80675-lcnri9-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-j8cjn9-020101008-80675-lcnri9-0[0]' -resize "x56" -crop "56x56+26+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-j8cjn9-020101008-80675-lcnri9-020101008-80675-k9u5ho-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-j8cjn9-020101008-80675-lcnri9-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-j8cjn9-020101008-80675-lcnri9-0[0]' -resize "x308" -crop "308x308+148+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-j8cjn9-020101008-80675-lcnri9-020101008-80675-drmnto-0' 2>/dev/null - Photo Create (0.5ms) INSERT INTO "photos" ("photo_file_size", "created_at", "title", "flickr_url", "photo_file_name", "updated_at", "photo_content_type", "photo_updated_at", "description", "sort") VALUES(176111, '2010-10-08 18:09:37', 'Boathouse', '', 'Boathouse.jpg', '2010-10-08 18:09:37', 'image/jpeg', '2010-10-08 18:09:35', '', NULL) -[paperclip] Saving attachments. -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/6/size8/Boathouse.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/6/size5/Boathouse.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/6/size3/Boathouse.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/6/original/Boathouse.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/6/size2/Boathouse.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/6/size11/Boathouse.jpg -Redirected to http://localhost:3000/admin/photos/edit/6 -Completed in 1731ms (DB: 1) | 302 Found [http://localhost/admin/photos/create] - - -Processing Admin::PhotosController#edit (for 127.0.0.1 at 2010-10-08 14:09:37) [GET] - Parameters: {"action"=>"edit", "id"=>"6", "controller"=>"admin/photos"} - TypusUser Load (0.6ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - Photo Load (0.3ms) SELECT * FROM "photos" WHERE ("photos"."id" = 6)  -Rendering template within layouts/admin -Rendering admin/resources/edit -Rendered admin/helpers/_list (0.1ms) -Rendered admin/helpers/_search (0.8ms) -Rendered admin/helpers/_preview (0.2ms) -Rendered admin/templates/_file (4.7ms) -Rendered admin/templates/_string (81.4ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/templates/_text (0.4ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/resources/_form (91.8ms) - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories"  - Category Load (0.4ms) SELECT * FROM "categories"  - Category Load (0.1ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 6 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 6)  - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 6 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 6)  - Category Load (0.1ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 6 ) ORDER BY categories.id ASC LIMIT 15 OFFSET 0 -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.3ms) -Rendered admin/helpers/_flash_message (0.1ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 139ms (View: 113, DB: 2) | 200 OK [http://localhost/admin/photos/edit/6] - - -Processing Admin::PhotosController#relate (for 127.0.0.1 at 2010-10-08 14:09:43) [POST] - Parameters: {"commit"=>"Add", "related"=>{"model"=>"Category", "relation"=>"categories", "id"=>"4"}, "action"=>"relate", "authenticity_token"=>"MRMA5jN8F+L8Qu/qxudBGU2lL/82P68aMbmoNbKb5zw=", "id"=>"6", "controller"=>"admin/photos"} - TypusUser Load (0.5ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - Photo Load (0.2ms) SELECT * FROM "photos" WHERE ("photos"."id" = 6)  - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = 4)  - SQL (0.3ms) INSERT INTO "categories_photos" ("category_id", "photo_id") VALUES (4, 6) -Redirected to http://localhost:3000/admin/photos/edit/6 -Completed in 28ms (DB: 1) | 302 Found [http://localhost/admin/photos/relate/6] - - -Processing Admin::PhotosController#edit (for 127.0.0.1 at 2010-10-08 14:09:43) [GET] - Parameters: {"action"=>"edit", "id"=>"6", "controller"=>"admin/photos"} - TypusUser Load (0.5ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - Photo Load (0.3ms) SELECT * FROM "photos" WHERE ("photos"."id" = 6)  -Rendering template within layouts/admin -Rendering admin/resources/edit -Rendered admin/helpers/_list (0.1ms) -Rendered admin/helpers/_search (0.6ms) -Rendered admin/helpers/_preview (0.2ms) -Rendered admin/templates/_file (67.6ms) -Rendered admin/templates/_string (0.8ms) -Rendered admin/templates/_string (0.8ms) -Rendered admin/templates/_text (0.6ms) -Rendered admin/templates/_string (0.8ms) -Rendered admin/resources/_form (74.4ms) - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories"  - Category Load (0.4ms) SELECT * FROM "categories"  - Category Load (0.2ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 6 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 6)  - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 6 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 6)  - Category Load (0.2ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 6 ) ORDER BY categories.id ASC LIMIT 15 OFFSET 0 -Rendered admin/helpers/_table_header (0.1ms) -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.3ms) -Rendered admin/helpers/_flash_message (0.1ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 123ms (View: 97, DB: 2) | 200 OK [http://localhost/admin/photos/edit/6] - - -Processing Admin::PhotosController#relate (for 127.0.0.1 at 2010-10-08 14:09:46) [POST] - Parameters: {"commit"=>"Add", "related"=>{"model"=>"Category", "relation"=>"categories", "id"=>"1"}, "action"=>"relate", "authenticity_token"=>"MRMA5jN8F+L8Qu/qxudBGU2lL/82P68aMbmoNbKb5zw=", "id"=>"6", "controller"=>"admin/photos"} - TypusUser Load (0.5ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - Photo Load (0.3ms) SELECT * FROM "photos" WHERE ("photos"."id" = 6)  - Category Load (0.3ms) SELECT * FROM "categories" WHERE ("categories"."id" = 1)  - SQL (0.3ms) INSERT INTO "categories_photos" ("category_id", "photo_id") VALUES (1, 6) -Redirected to http://localhost:3000/admin/photos/edit/6 -Completed in 28ms (DB: 1) | 302 Found [http://localhost/admin/photos/relate/6] - - -Processing Admin::PhotosController#edit (for 127.0.0.1 at 2010-10-08 14:09:46) [GET] - Parameters: {"action"=>"edit", "id"=>"6", "controller"=>"admin/photos"} - TypusUser Load (0.6ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - Photo Load (0.3ms) SELECT * FROM "photos" WHERE ("photos"."id" = 6)  -Rendering template within layouts/admin -Rendering admin/resources/edit -Rendered admin/helpers/_list (0.1ms) -Rendered admin/helpers/_search (0.5ms) -Rendered admin/helpers/_preview (0.2ms) -Rendered admin/templates/_file (5.3ms) -Rendered admin/templates/_string (0.7ms) -Rendered admin/templates/_string (0.7ms) -Rendered admin/templates/_text (0.5ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/resources/_form (11.3ms) - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories"  - Category Load (0.4ms) SELECT * FROM "categories"  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 6 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 6)  - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 6 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 6)  - Category Load (0.4ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 6 ) ORDER BY categories.id ASC LIMIT 15 OFFSET 0 -Rendered admin/helpers/_table_header (0.1ms) -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.3ms) -Rendered admin/helpers/_flash_message (0.1ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 125ms (View: 35, DB: 2) | 200 OK [http://localhost/admin/photos/edit/6] - - -Processing Admin::PhotosController#new (for 127.0.0.1 at 2010-10-08 14:09:49) [GET] - Parameters: {"action"=>"new", "controller"=>"admin/photos"} - TypusUser Load (0.6ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  -Rendering template within layouts/admin -Rendering admin/resources/new -Rendered admin/helpers/_list (0.1ms) -Rendered admin/templates/_file (1.7ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/templates/_string (0.5ms) -Rendered admin/templates/_text (0.4ms) -Rendered admin/templates/_string (0.5ms) -Rendered admin/resources/_form (7.1ms) -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.4ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 38ms (View: 17, DB: 1) | 200 OK [http://localhost/admin/photos/new] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 14:09:55) [GET] - Photo Load (0.8ms) SELECT * FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 17ms (View: 9, DB: 1) | 200 OK [http://localhost/photos] - - -Processing Admin::PhotosController#create (for 127.0.0.1 at 2010-10-08 14:10:07) [POST] - Parameters: {"photo"=>{"photo"=>#, "title"=>"Bubble #2", "flickr_url"=>"", "sort"=>"", "description"=>""}, "commit"=>"Create Photo", "action"=>"create", "authenticity_token"=>"MRMA5jN8F+L8Qu/qxudBGU2lL/82P68aMbmoNbKb5zw=", "controller"=>"admin/photos"} - TypusUser Load (0.9ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-fytyfd-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-fytyfd-0.jpg[0]' -resize "x224" -crop "224x224+114+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-fytyfd-020101008-80675-5zi50z-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-fytyfd-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-fytyfd-0.jpg[0]' -resize "x140" -crop "140x140+71+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-fytyfd-020101008-80675-18n2dws-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-fytyfd-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-fytyfd-0.jpg[0]' -resize "1024x1024>" '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-fytyfd-020101008-80675-lc8z4b-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-fytyfd-020101008-80675-lc8z4b-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-fytyfd-020101008-80675-lc8z4b-0[0]' -resize "x84" -crop "84x84+42+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-fytyfd-020101008-80675-lc8z4b-020101008-80675-1aje0tp-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-fytyfd-020101008-80675-lc8z4b-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-fytyfd-020101008-80675-lc8z4b-0[0]' -resize "x56" -crop "56x56+28+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-fytyfd-020101008-80675-lc8z4b-020101008-80675-dqwo7w-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-fytyfd-020101008-80675-lc8z4b-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-fytyfd-020101008-80675-lc8z4b-0[0]' -resize "x308" -crop "308x308+157+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-fytyfd-020101008-80675-lc8z4b-020101008-80675-8tip8y-0' 2>/dev/null - Photo Create (0.5ms) INSERT INTO "photos" ("photo_file_size", "created_at", "title", "flickr_url", "photo_file_name", "updated_at", "photo_content_type", "photo_updated_at", "description", "sort") VALUES(380686, '2010-10-08 18:10:09', 'Bubble #2', '', 'Bubble no2.jpg', '2010-10-08 18:10:09', 'image/jpeg', '2010-10-08 18:10:07', '', NULL) -[paperclip] Saving attachments. -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/7/size8/Bubble no2.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/7/size5/Bubble no2.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/7/size3/Bubble no2.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/7/original/Bubble no2.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/7/size2/Bubble no2.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/7/size11/Bubble no2.jpg -Redirected to http://localhost:3000/admin/photos/edit/7 -Completed in 2076ms (DB: 1) | 302 Found [http://localhost/admin/photos/create] - - -Processing Admin::PhotosController#edit (for 127.0.0.1 at 2010-10-08 14:10:09) [GET] - Parameters: {"action"=>"edit", "id"=>"7", "controller"=>"admin/photos"} - TypusUser Load (0.7ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - Photo Load (0.3ms) SELECT * FROM "photos" WHERE ("photos"."id" = 7)  -Rendering template within layouts/admin -Rendering admin/resources/edit -Rendered admin/helpers/_list (0.1ms) -Rendered admin/helpers/_search (0.6ms) -Rendered admin/helpers/_preview (0.2ms) -Rendered admin/templates/_file (84.1ms) -Rendered admin/templates/_string (0.7ms) -Rendered admin/templates/_string (0.5ms) -Rendered admin/templates/_text (0.4ms) -Rendered admin/templates/_string (0.7ms) -Rendered admin/resources/_form (90.4ms) - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories"  - Category Load (0.4ms) SELECT * FROM "categories"  - Category Load (0.1ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 7 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 7)  - SQL (0.3ms) SELECT count(*) AS count_all FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 7 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 7)  - Category Load (0.5ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 7 ) ORDER BY categories.id ASC LIMIT 15 OFFSET 0 -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.3ms) -Rendered admin/helpers/_flash_message (0.1ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 140ms (View: 112, DB: 3) | 200 OK [http://localhost/admin/photos/edit/7] - - -Processing TypusController#dashboard (for 127.0.0.1 at 2010-10-08 14:10:14) [GET] - Parameters: {"action"=>"dashboard", "controller"=>"typus"} - TypusUser Load (0.5ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  -Rendering template within layouts/admin -Rendering typus/dashboard -Rendered admin/dashboard/_sidebar (0.2ms) -Rendered admin/helpers/_applications (2.2ms) -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.3ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 27ms (View: 22, DB: 1) | 200 OK [http://localhost/admin] - - -Processing Admin::PhotosController#index (for 127.0.0.1 at 2010-10-08 14:10:15) [GET] - Parameters: {"action"=>"index", "controller"=>"admin/photos"} - TypusUser Load (0.5ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos"  -Rendering template within layouts/admin -Rendering admin/resources/index -Rendered admin/helpers/_list (0.1ms) -Rendered admin/helpers/_search (0.5ms) - Photo Load (0.7ms) SELECT "photos".* FROM "photos" ORDER BY photos.id ASC LIMIT 15 OFFSET 0 -Rendered admin/helpers/_table_header (0.1ms) -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.3ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 108ms (View: 86, DB: 1) | 200 OK [http://localhost/admin/photos] - - -Processing Admin::PhotosController#edit (for 127.0.0.1 at 2010-10-08 14:10:18) [GET] - Parameters: {"action"=>"edit", "id"=>"7", "controller"=>"admin/photos"} - TypusUser Load (0.5ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - Photo Load (0.4ms) SELECT * FROM "photos" WHERE ("photos"."id" = 7)  -Rendering template within layouts/admin -Rendering admin/resources/edit -Rendered admin/helpers/_list (0.2ms) -Rendered admin/helpers/_search (0.8ms) -Rendered admin/helpers/_preview (0.2ms) -Rendered admin/templates/_file (4.2ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/templates/_string (0.5ms) -Rendered admin/templates/_text (0.6ms) -Rendered admin/templates/_string (0.9ms) -Rendered admin/resources/_form (10.4ms) - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories"  - Category Load (0.4ms) SELECT * FROM "categories"  - Category Load (0.1ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 7 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 7)  - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 7 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 7)  - Category Load (0.1ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 7 ) ORDER BY categories.id ASC LIMIT 15 OFFSET 0 -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.3ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 53ms (View: 31, DB: 2) | 200 OK [http://localhost/admin/photos/edit/7] - - -Processing Admin::PhotosController#relate (for 127.0.0.1 at 2010-10-08 14:10:25) [POST] - Parameters: {"commit"=>"Add", "related"=>{"model"=>"Category", "relation"=>"categories", "id"=>"6"}, "action"=>"relate", "authenticity_token"=>"MRMA5jN8F+L8Qu/qxudBGU2lL/82P68aMbmoNbKb5zw=", "id"=>"7", "controller"=>"admin/photos"} - TypusUser Load (0.5ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - Photo Load (0.4ms) SELECT * FROM "photos" WHERE ("photos"."id" = 7)  - Category Load (0.3ms) SELECT * FROM "categories" WHERE ("categories"."id" = 6)  - SQL (0.3ms) INSERT INTO "categories_photos" ("category_id", "photo_id") VALUES (6, 7) -Redirected to http://localhost:3000/admin/photos/edit/7 -Completed in 29ms (DB: 1) | 302 Found [http://localhost/admin/photos/relate/7] - - -Processing Admin::PhotosController#edit (for 127.0.0.1 at 2010-10-08 14:10:25) [GET] - Parameters: {"action"=>"edit", "id"=>"7", "controller"=>"admin/photos"} - TypusUser Load (0.7ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - Photo Load (0.3ms) SELECT * FROM "photos" WHERE ("photos"."id" = 7)  -Rendering template within layouts/admin -Rendering admin/resources/edit -Rendered admin/helpers/_list (0.1ms) -Rendered admin/helpers/_search (0.6ms) -Rendered admin/helpers/_preview (0.2ms) -Rendered admin/templates/_file (4.7ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/templates/_string (0.8ms) -Rendered admin/templates/_text (0.4ms) -Rendered admin/templates/_string (0.5ms) -Rendered admin/resources/_form (10.2ms) - SQL (0.5ms) SELECT count(*) AS count_all FROM "categories"  - Category Load (0.9ms) SELECT * FROM "categories"  - Category Load (0.6ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 7 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 7)  - SQL (0.3ms) SELECT count(*) AS count_all FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 7 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 7)  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 7 ) ORDER BY categories.id ASC LIMIT 15 OFFSET 0 -Rendered admin/helpers/_table_header (0.1ms) -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.6ms) -Rendered admin/helpers/_flash_message (0.1ms) -Rendered admin/shared/_footer (0.3ms) -Completed in 69ms (View: 41, DB: 4) | 200 OK [http://localhost/admin/photos/edit/7] - - -Processing Admin::PhotosController#relate (for 127.0.0.1 at 2010-10-08 14:10:28) [POST] - Parameters: {"commit"=>"Add", "related"=>{"model"=>"Category", "relation"=>"categories", "id"=>"2"}, "action"=>"relate", "authenticity_token"=>"MRMA5jN8F+L8Qu/qxudBGU2lL/82P68aMbmoNbKb5zw=", "id"=>"7", "controller"=>"admin/photos"} - TypusUser Load (0.6ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - Photo Load (0.2ms) SELECT * FROM "photos" WHERE ("photos"."id" = 7)  - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = 2)  - SQL (0.2ms) INSERT INTO "categories_photos" ("category_id", "photo_id") VALUES (2, 7) -Redirected to http://localhost:3000/admin/photos/edit/7 -Completed in 27ms (DB: 1) | 302 Found [http://localhost/admin/photos/relate/7] - - -Processing Admin::PhotosController#edit (for 127.0.0.1 at 2010-10-08 14:10:28) [GET] - Parameters: {"action"=>"edit", "id"=>"7", "controller"=>"admin/photos"} - TypusUser Load (0.7ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - Photo Load (0.3ms) SELECT * FROM "photos" WHERE ("photos"."id" = 7)  -Rendering template within layouts/admin -Rendering admin/resources/edit -Rendered admin/helpers/_list (0.1ms) -Rendered admin/helpers/_search (0.6ms) -Rendered admin/helpers/_preview (0.2ms) -Rendered admin/templates/_file (4.4ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/templates/_text (0.4ms) -Rendered admin/templates/_string (0.5ms) -Rendered admin/resources/_form (9.8ms) - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories"  - Category Load (0.4ms) SELECT * FROM "categories"  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 7 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 7)  - SQL (0.1ms) SELECT count(*) AS count_all FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 7 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 7)  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 7 ) ORDER BY categories.id ASC LIMIT 15 OFFSET 0 -Rendered admin/helpers/_table_header (0.1ms) -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.6ms) -Rendered admin/helpers/_flash_message (0.1ms) -Rendered admin/shared/_footer (0.3ms) -Completed in 119ms (View: 91, DB: 2) | 200 OK [http://localhost/admin/photos/edit/7] - - -Processing Admin::PhotosController#new (for 127.0.0.1 at 2010-10-08 14:10:29) [GET] - Parameters: {"action"=>"new", "controller"=>"admin/photos"} - TypusUser Load (0.5ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  -Rendering template within layouts/admin -Rendering admin/resources/new -Rendered admin/helpers/_list (0.1ms) -Rendered admin/templates/_file (1.9ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/templates/_string (0.5ms) -Rendered admin/templates/_text (0.4ms) -Rendered admin/templates/_string (0.5ms) -Rendered admin/resources/_form (7.3ms) -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.3ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 35ms (View: 17, DB: 1) | 200 OK [http://localhost/admin/photos/new] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 14:10:34) [GET] - Photo Load (1.0ms) SELECT * FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 15ms (View: 8, DB: 1) | 200 OK [http://localhost/photos] - - -Processing Admin::PhotosController#create (for 127.0.0.1 at 2010-10-08 14:11:56) [POST] - Parameters: {"photo"=>{"photo"=>#, "title"=>"Cadover Horses", "flickr_url"=>"", "sort"=>"", "description"=>""}, "commit"=>"Create Photo", "action"=>"create", "authenticity_token"=>"MRMA5jN8F+L8Qu/qxudBGU2lL/82P68aMbmoNbKb5zw=", "controller"=>"admin/photos"} - TypusUser Load (0.8ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-9kdwls-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-9kdwls-0.jpg[0]' -resize "x224" -crop "224x224+56+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-9kdwls-020101008-80675-36m2w4-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-9kdwls-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-9kdwls-0.jpg[0]' -resize "x140" -crop "140x140+35+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-9kdwls-020101008-80675-1314bwy-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-9kdwls-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-9kdwls-0.jpg[0]' -resize "1024x1024>" '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-9kdwls-020101008-80675-ssw9om-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-9kdwls-020101008-80675-ssw9om-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-9kdwls-020101008-80675-ssw9om-0[0]' -resize "x84" -crop "84x84+20+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-9kdwls-020101008-80675-ssw9om-020101008-80675-1npc5o3-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-9kdwls-020101008-80675-ssw9om-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-9kdwls-020101008-80675-ssw9om-0[0]' -resize "x56" -crop "56x56+13+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-9kdwls-020101008-80675-ssw9om-020101008-80675-yzue8b-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-9kdwls-020101008-80675-ssw9om-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-9kdwls-020101008-80675-ssw9om-0[0]' -resize "x308" -crop "308x308+76+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-9kdwls-020101008-80675-ssw9om-020101008-80675-1swg3bg-0' 2>/dev/null - Photo Create (0.4ms) INSERT INTO "photos" ("photo_file_size", "created_at", "title", "flickr_url", "photo_file_name", "updated_at", "photo_content_type", "photo_updated_at", "description", "sort") VALUES(206182, '2010-10-08 18:11:58', 'Cadover Horses', '', 'Cadover Horses.jpg', '2010-10-08 18:11:58', 'image/jpeg', '2010-10-08 18:11:56', '', NULL) -[paperclip] Saving attachments. -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/8/size8/Cadover Horses.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/8/size5/Cadover Horses.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/8/size3/Cadover Horses.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/8/original/Cadover Horses.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/8/size2/Cadover Horses.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/8/size11/Cadover Horses.jpg -Redirected to http://localhost:3000/admin/photos/edit/8 -Completed in 2215ms (DB: 1) | 302 Found [http://localhost/admin/photos/create] - - -Processing Admin::PhotosController#edit (for 127.0.0.1 at 2010-10-08 14:11:59) [GET] - Parameters: {"action"=>"edit", "id"=>"8", "controller"=>"admin/photos"} - TypusUser Load (0.7ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - Photo Load (0.3ms) SELECT * FROM "photos" WHERE ("photos"."id" = 8)  -Rendering template within layouts/admin -Rendering admin/resources/edit -Rendered admin/helpers/_list (0.1ms) -Rendered admin/helpers/_search (0.7ms) -Rendered admin/helpers/_preview (0.2ms) -Rendered admin/templates/_file (7.1ms) -Rendered admin/templates/_string (0.9ms) -Rendered admin/templates/_string (0.7ms) -Rendered admin/templates/_text (0.5ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/resources/_form (13.8ms) - SQL (0.3ms) SELECT count(*) AS count_all FROM "categories"  - Category Load (0.4ms) SELECT * FROM "categories"  - Category Load (0.1ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 8 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 8)  - SQL (0.1ms) SELECT count(*) AS count_all FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 8 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 8)  - Category Load (0.1ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 8 ) ORDER BY categories.id ASC LIMIT 15 OFFSET 0 -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.3ms) -Rendered admin/helpers/_flash_message (0.1ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 156ms (View: 130, DB: 2) | 200 OK [http://localhost/admin/photos/edit/8] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 14:13:14) [GET] - Photo Load (1.3ms) SELECT * FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 20ms (View: 11, DB: 1) | 200 OK [http://localhost/photos] - - -Processing PhotosController#new (for 127.0.0.1 at 2010-10-08 14:13:23) [GET] - Category Load (0.6ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering photos/new -Completed in 25ms (View: 11, DB: 1) | 200 OK [http://localhost/photos/new] - - -Processing PhotosController#create (for 127.0.0.1 at 2010-10-08 14:13:37) [POST] - Parameters: {"photo"=>{"photo"=>#}, "commit"=>"Upload", "authenticity_token"=>"MRMA5jN8F+L8Qu/qxudBGU2lL/82P68aMbmoNbKb5zw="} -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-z7h9as-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-z7h9as-0.jpg[0]' -resize "x224" -crop "224x224+125+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-z7h9as-020101008-80675-cxco3e-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-z7h9as-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-z7h9as-0.jpg[0]' -resize "x140" -crop "140x140+78+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-z7h9as-020101008-80675-1tr27aw-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-z7h9as-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-z7h9as-0.jpg[0]' -resize "1024x1024>" '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-z7h9as-020101008-80675-gwrgh4-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-z7h9as-020101008-80675-gwrgh4-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-z7h9as-020101008-80675-gwrgh4-0[0]' -resize "x84" -crop "84x84+46+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-z7h9as-020101008-80675-gwrgh4-020101008-80675-1rlwfv5-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-z7h9as-020101008-80675-gwrgh4-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-z7h9as-020101008-80675-gwrgh4-0[0]' -resize "x56" -crop "56x56+31+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-z7h9as-020101008-80675-gwrgh4-020101008-80675-szsol5-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-z7h9as-020101008-80675-gwrgh4-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-z7h9as-020101008-80675-gwrgh4-0[0]' -resize "x308" -crop "308x308+171+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-z7h9as-020101008-80675-gwrgh4-020101008-80675-1e86nhv-0' 2>/dev/null - Photo Create (1.0ms) INSERT INTO "photos" ("photo_file_size", "created_at", "title", "flickr_url", "photo_file_name", "updated_at", "photo_content_type", "photo_updated_at", "description", "sort") VALUES(321666, '2010-10-08 18:13:43', NULL, NULL, 'Emerald Panarama.jpg', '2010-10-08 18:13:43', 'image/jpeg', '2010-10-08 18:13:38', 'Four shots stiched together to make a single wide 20 megapixel image.', NULL) -[paperclip] Saving attachments. -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/9/size8/Emerald Panarama.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/9/size5/Emerald Panarama.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/9/size3/Emerald Panarama.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/9/original/Emerald Panarama.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/9/size2/Emerald Panarama.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/9/size11/Emerald Panarama.jpg -Redirected to http://localhost:3000/photos/9 -Completed in 5471ms (DB: 1) | 302 Found [http://localhost/photos] - - -Processing Admin::PhotosController#index (for 127.0.0.1 at 2010-10-08 14:13:43) [GET] - Parameters: {"action"=>"index", "controller"=>"admin/photos"} - TypusUser Load (0.5ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos"  -Rendering template within layouts/admin -Rendering admin/resources/index -Rendered admin/helpers/_list (0.1ms) -Rendered admin/helpers/_search (0.5ms) - Photo Load (0.9ms) SELECT "photos".* FROM "photos" ORDER BY photos.id ASC LIMIT 15 OFFSET 0 -Rendered admin/helpers/_table_header (0.1ms) -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.5ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 66ms (View: 45, DB: 2) | 200 OK [http://localhost/admin/photos] - - -Processing PhotosController#show (for 127.0.0.1 at 2010-10-08 14:13:43) [GET] - Parameters: {"id"=>"9"} - Photo Load (0.4ms) SELECT * FROM "photos" WHERE ("photos"."id" = 9)  -Rendering template within layouts/photos -Rendering photos/show -Completed in 19ms (View: 7, DB: 0) | 200 OK [http://localhost/photos/9] - - -Processing Admin::PhotosController#edit (for 127.0.0.1 at 2010-10-08 14:13:46) [GET] - Parameters: {"action"=>"edit", "id"=>"9", "controller"=>"admin/photos"} - TypusUser Load (0.6ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - Photo Load (0.3ms) SELECT * FROM "photos" WHERE ("photos"."id" = 9)  -Rendering template within layouts/admin -Rendering admin/resources/edit -Rendered admin/helpers/_list (0.1ms) -Rendered admin/helpers/_search (0.5ms) -Rendered admin/helpers/_preview (0.2ms) -Rendered admin/templates/_file (4.7ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/templates/_text (0.4ms) -Rendered admin/templates/_string (0.5ms) -Rendered admin/resources/_form (10.4ms) - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories"  - Category Load (0.4ms) SELECT * FROM "categories"  - Category Load (0.1ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 9 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 9)  - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 9 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 9)  - Category Load (0.2ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 9 ) ORDER BY categories.id ASC LIMIT 15 OFFSET 0 -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.4ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 52ms (View: 30, DB: 2) | 200 OK [http://localhost/admin/photos/edit/9] - - -Processing Admin::PhotosController#index (for 127.0.0.1 at 2010-10-08 14:13:55) [GET] - Parameters: {"action"=>"index", "controller"=>"admin/photos"} - TypusUser Load (0.5ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos"  -Rendering template within layouts/admin -Rendering admin/resources/index -Rendered admin/helpers/_list (0.1ms) -Rendered admin/helpers/_search (0.5ms) - Photo Load (1.0ms) SELECT "photos".* FROM "photos" ORDER BY photos.id ASC LIMIT 15 OFFSET 0 -Rendered admin/helpers/_table_header (0.1ms) -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.4ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 109ms (View: 87, DB: 2) | 200 OK [http://localhost/admin/photos] - - -Processing Admin::PhotosController#destroy (for 127.0.0.1 at 2010-10-08 14:14:01) [GET] - Parameters: {"action"=>"destroy", "id"=>"9", "controller"=>"admin/photos"} - TypusUser Load (0.5ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - Photo Load (0.2ms) SELECT * FROM "photos" WHERE ("photos"."id" = 9)  -[paperclip] Deleting attachments. -[paperclip] deleting /Users/danbee/Sites/rails/photos/public/system/photos/9/original/Emerald Panarama.jpg -[paperclip] deleting /Users/danbee/Sites/rails/photos/public/system/photos/9/size8/Emerald Panarama.jpg -[paperclip] deleting /Users/danbee/Sites/rails/photos/public/system/photos/9/size5/Emerald Panarama.jpg -[paperclip] deleting /Users/danbee/Sites/rails/photos/public/system/photos/9/size3/Emerald Panarama.jpg -[paperclip] deleting /Users/danbee/Sites/rails/photos/public/system/photos/9/size2/Emerald Panarama.jpg -[paperclip] deleting /Users/danbee/Sites/rails/photos/public/system/photos/9/size11/Emerald Panarama.jpg - Category Load (0.2ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 9 )  - Photo Destroy (0.3ms) DELETE FROM "photos" WHERE "id" = 9 -Redirected to http://localhost:3000/admin/photos -Completed in 92ms (DB: 1) | 302 Found [http://localhost/admin/photos/destroy/9] - - -Processing Admin::PhotosController#index (for 127.0.0.1 at 2010-10-08 14:14:01) [GET] - Parameters: {"action"=>"index", "controller"=>"admin/photos"} - TypusUser Load (0.6ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - SQL (0.3ms) SELECT count(*) AS count_all FROM "photos"  -Rendering template within layouts/admin -Rendering admin/resources/index -Rendered admin/helpers/_list (0.1ms) -Rendered admin/helpers/_search (0.5ms) - Photo Load (0.7ms) SELECT "photos".* FROM "photos" ORDER BY photos.id ASC LIMIT 15 OFFSET 0 -Rendered admin/helpers/_table_header (0.1ms) -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.3ms) -Rendered admin/helpers/_flash_message (0.1ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 110ms (View: 29, DB: 2) | 200 OK [http://localhost/admin/photos] - - -Processing Admin::PhotosController#index (for 127.0.0.1 at 2010-10-08 14:14:17) [GET] - Parameters: {"action"=>"index", "controller"=>"admin/photos"} - TypusUser Load (0.5ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos"  -Rendering template within layouts/admin -Rendering admin/resources/index -Rendered admin/helpers/_list (0.1ms) -Rendered admin/helpers/_search (0.5ms) - Photo Load (0.7ms) SELECT "photos".* FROM "photos" ORDER BY photos.id ASC LIMIT 15 OFFSET 0 -Rendered admin/helpers/_table_header (0.1ms) -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.3ms) -Rendered admin/shared/_footer (0.3ms) -Completed in 50ms (View: 30, DB: 1) | 200 OK [http://localhost/admin/photos] - - -Processing Admin::PhotosController#index (for 127.0.0.1 at 2010-10-08 14:14:38) [GET] - Parameters: {"action"=>"index", "controller"=>"admin/photos"} - TypusUser Load (0.6ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos"  -Rendering template within layouts/admin -Rendering admin/resources/index -Rendered admin/helpers/_list (0.1ms) -Rendered admin/helpers/_search (0.4ms) - Photo Load (0.7ms) SELECT "photos".* FROM "photos" ORDER BY photos.id ASC LIMIT 15 OFFSET 0 -Rendered admin/helpers/_table_header (0.1ms) - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 1 )  - Category Load (0.4ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 2 )  - Category Load (0.5ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 3 )  - Category Load (0.4ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 4 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 5 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 6 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 7 )  - Category Load (0.1ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 8 )  -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.4ms) -Rendered admin/shared/_footer (0.4ms) -Completed in 61ms (View: 38, DB: 4) | 200 OK [http://localhost/admin/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 14:15:01) [GET] - Photo Load (0.9ms) SELECT * FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 16ms (View: 9, DB: 1) | 200 OK [http://localhost/photos] - - -Processing Admin::PhotosController#edit (for 127.0.0.1 at 2010-10-08 14:15:11) [GET] - Parameters: {"action"=>"edit", "id"=>"3", "controller"=>"admin/photos"} - TypusUser Load (0.5ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - Photo Load (0.4ms) SELECT * FROM "photos" WHERE ("photos"."id" = 3)  -Rendering template within layouts/admin -Rendering admin/resources/edit -Rendered admin/helpers/_list (0.1ms) -Rendered admin/helpers/_search (0.4ms) -Rendered admin/helpers/_preview (0.1ms) -Rendered admin/templates/_file (4.1ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/templates/_string (0.5ms) -Rendered admin/templates/_text (0.5ms) -Rendered admin/templates/_string (0.5ms) -Rendered admin/resources/_form (9.3ms) - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories"  - Category Load (0.4ms) SELECT * FROM "categories"  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 3 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 3)  - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 3 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 3)  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 3 ) ORDER BY categories.id ASC LIMIT 15 OFFSET 0 -Rendered admin/helpers/_table_header (0.1ms) -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.4ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 56ms (View: 34, DB: 2) | 200 OK [http://localhost/admin/photos/edit/3] - - -Processing Admin::PhotosController#new (for 127.0.0.1 at 2010-10-08 14:15:58) [GET] - Parameters: {"action"=>"new", "controller"=>"admin/photos"} - TypusUser Load (0.5ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  -Rendering template within layouts/admin -Rendering admin/resources/new -Rendered admin/helpers/_list (0.1ms) -Rendered admin/templates/_file (1.7ms) -Rendered admin/templates/_string (0.8ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/templates/_text (0.6ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/resources/_form (8.2ms) -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.3ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 93ms (View: 18, DB: 1) | 200 OK [http://localhost/admin/photos/new] - - -Processing Admin::PhotosController#create (for 127.0.0.1 at 2010-10-08 14:16:09) [POST] - Parameters: {"photo"=>{"photo"=>#, "title"=>"Church of Ireland Gate", "flickr_url"=>"", "sort"=>"", "description"=>""}, "commit"=>"Create Photo", "action"=>"create", "authenticity_token"=>"MRMA5jN8F+L8Qu/qxudBGU2lL/82P68aMbmoNbKb5zw=", "controller"=>"admin/photos"} - TypusUser Load (0.8ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-1wcvl7h-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-1wcvl7h-0.jpg[0]' -resize "224x" -crop "224x224+0+56" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-1wcvl7h-020101008-80675-necn96-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-1wcvl7h-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-1wcvl7h-0.jpg[0]' -resize "140x" -crop "140x140+0+35" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-1wcvl7h-020101008-80675-1ybgtkl-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-1wcvl7h-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-1wcvl7h-0.jpg[0]' -resize "1024x1024>" '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-1wcvl7h-020101008-80675-6cffpt-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-1wcvl7h-020101008-80675-6cffpt-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-1wcvl7h-020101008-80675-6cffpt-0[0]' -resize "84x" -crop "84x84+0+20" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-1wcvl7h-020101008-80675-6cffpt-020101008-80675-agpgrm-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-1wcvl7h-020101008-80675-6cffpt-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-1wcvl7h-020101008-80675-6cffpt-0[0]' -resize "56x" -crop "56x56+0+13" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-1wcvl7h-020101008-80675-6cffpt-020101008-80675-1oy0hw5-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-1wcvl7h-020101008-80675-6cffpt-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-1wcvl7h-020101008-80675-6cffpt-0[0]' -resize "308x" -crop "308x308+0+76" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-1wcvl7h-020101008-80675-6cffpt-020101008-80675-55vx5a-0' 2>/dev/null - Photo Create (1.0ms) INSERT INTO "photos" ("photo_file_size", "created_at", "title", "flickr_url", "photo_file_name", "updated_at", "photo_content_type", "photo_updated_at", "description", "sort") VALUES(329139, '2010-10-08 18:16:12', 'Church of Ireland Gate', '', 'Church of Ireland Gate.jpg', '2010-10-08 18:16:12', 'image/jpeg', '2010-10-08 18:16:09', '', NULL) -[paperclip] Saving attachments. -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/10/size8/Church of Ireland Gate.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/10/size5/Church of Ireland Gate.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/10/size3/Church of Ireland Gate.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/10/original/Church of Ireland Gate.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/10/size2/Church of Ireland Gate.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/10/size11/Church of Ireland Gate.jpg - -NoMethodError (undefined method `photo' for #): - app/models/photo.rb:17:in `get_exif' - vendor/plugins/typus/app/controllers/admin/master_controller.rb:92:in `create' - -Rendered rescues/_trace (40.6ms) -Rendered rescues/_request_and_response (0.5ms) -Rendering rescues/layout (internal_server_error) - - -Processing Admin::PhotosController#create (for 127.0.0.1 at 2010-10-08 14:16:20) [POST] - Parameters: {"photo"=>{"photo"=>#, "title"=>"Church of Ireland Gate", "flickr_url"=>"", "sort"=>"", "description"=>""}, "commit"=>"Create Photo", "action"=>"create", "authenticity_token"=>"MRMA5jN8F+L8Qu/qxudBGU2lL/82P68aMbmoNbKb5zw=", "controller"=>"admin/photos"} - TypusUser Load (0.8ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-1tz5x26-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-1tz5x26-0.jpg[0]' -resize "224x" -crop "224x224+0+56" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-1tz5x26-020101008-80675-e5b4ti-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-1tz5x26-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-1tz5x26-0.jpg[0]' -resize "140x" -crop "140x140+0+35" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-1tz5x26-020101008-80675-1xrrdly-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-1tz5x26-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-1tz5x26-0.jpg[0]' -resize "1024x1024>" '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-1tz5x26-020101008-80675-1atdqef-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-1tz5x26-020101008-80675-1atdqef-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-1tz5x26-020101008-80675-1atdqef-0[0]' -resize "84x" -crop "84x84+0+20" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-1tz5x26-020101008-80675-1atdqef-020101008-80675-wzhqkt-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-1tz5x26-020101008-80675-1atdqef-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-1tz5x26-020101008-80675-1atdqef-0[0]' -resize "56x" -crop "56x56+0+13" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-1tz5x26-020101008-80675-1atdqef-020101008-80675-folsiy-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-1tz5x26-020101008-80675-1atdqef-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-1tz5x26-020101008-80675-1atdqef-0[0]' -resize "308x" -crop "308x308+0+76" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-1tz5x26-020101008-80675-1atdqef-020101008-80675-d5doja-0' 2>/dev/null - Photo Create (0.5ms) INSERT INTO "photos" ("photo_file_size", "created_at", "title", "flickr_url", "photo_file_name", "updated_at", "photo_content_type", "photo_updated_at", "description", "sort") VALUES(329139, '2010-10-08 18:16:23', 'Church of Ireland Gate', '', 'Church of Ireland Gate.jpg', '2010-10-08 18:16:23', 'image/jpeg', '2010-10-08 18:16:20', '', NULL) -[paperclip] Saving attachments. -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/10/size8/Church of Ireland Gate.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/10/size5/Church of Ireland Gate.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/10/size3/Church of Ireland Gate.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/10/original/Church of Ireland Gate.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/10/size2/Church of Ireland Gate.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/10/size11/Church of Ireland Gate.jpg -Redirected to http://localhost:3000/admin/photos/edit/10 -Completed in 2272ms (DB: 1) | 302 Found [http://localhost/admin/photos/create] - - -Processing Admin::PhotosController#edit (for 127.0.0.1 at 2010-10-08 14:16:23) [GET] - Parameters: {"action"=>"edit", "id"=>"10", "controller"=>"admin/photos"} - TypusUser Load (0.5ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - Photo Load (0.2ms) SELECT * FROM "photos" WHERE ("photos"."id" = 10)  -Rendering template within layouts/admin -Rendering admin/resources/edit -Rendered admin/helpers/_list (0.1ms) -Rendered admin/helpers/_search (0.5ms) -Rendered admin/helpers/_preview (0.2ms) -Rendered admin/templates/_file (4.3ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/templates/_text (0.4ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/resources/_form (10.2ms) - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories"  - Category Load (0.4ms) SELECT * FROM "categories"  - Category Load (0.1ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 10 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 10)  - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 10 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 10)  - Category Load (0.1ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 10 ) ORDER BY categories.id ASC LIMIT 15 OFFSET 0 -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.4ms) -Rendered admin/helpers/_flash_message (0.1ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 51ms (View: 29, DB: 2) | 200 OK [http://localhost/admin/photos/edit/10] - - -Processing Admin::PhotosController#new (for 127.0.0.1 at 2010-10-08 14:17:24) [GET] - Parameters: {"action"=>"new", "controller"=>"admin/photos"} - TypusUser Load (0.6ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  -Rendering template within layouts/admin -Rendering admin/resources/new -Rendered admin/helpers/_list (0.1ms) -Rendered admin/templates/_file (1.8ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/templates/_string (0.5ms) -Rendered admin/templates/_text (0.4ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/resources/_form (7.7ms) -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.3ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 131ms (View: 18, DB: 1) | 200 OK [http://localhost/admin/photos/new] - - -Processing Admin::PhotosController#create (for 127.0.0.1 at 2010-10-08 14:17:32) [POST] - Parameters: {"photo"=>{"photo"=>#, "title"=>"Church of Ireland", "flickr_url"=>"", "sort"=>"", "description"=>""}, "commit"=>"Create Photo", "action"=>"create", "authenticity_token"=>"MRMA5jN8F+L8Qu/qxudBGU2lL/82P68aMbmoNbKb5zw=", "controller"=>"admin/photos"} - TypusUser Load (0.8ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-g5xeoq-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-g5xeoq-0.jpg[0]' -resize "224x" -crop "224x224+0+56" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-g5xeoq-020101008-80675-1ohzdpi-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-g5xeoq-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-g5xeoq-0.jpg[0]' -resize "140x" -crop "140x140+0+35" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-g5xeoq-020101008-80675-1kpm1xa-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-g5xeoq-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-g5xeoq-0.jpg[0]' -resize "1024x1024>" '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-g5xeoq-020101008-80675-9tneve-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-g5xeoq-020101008-80675-9tneve-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-g5xeoq-020101008-80675-9tneve-0[0]' -resize "84x" -crop "84x84+0+20" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-g5xeoq-020101008-80675-9tneve-020101008-80675-1nf487t-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-g5xeoq-020101008-80675-9tneve-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-g5xeoq-020101008-80675-9tneve-0[0]' -resize "56x" -crop "56x56+0+13" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-g5xeoq-020101008-80675-9tneve-020101008-80675-1rg5z00-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-g5xeoq-020101008-80675-9tneve-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-g5xeoq-020101008-80675-9tneve-0[0]' -resize "308x" -crop "308x308+0+76" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-g5xeoq-020101008-80675-9tneve-020101008-80675-kei9sg-0' 2>/dev/null - Photo Create (0.6ms) INSERT INTO "photos" ("photo_file_size", "created_at", "title", "flickr_url", "photo_file_name", "updated_at", "photo_content_type", "photo_updated_at", "description", "sort") VALUES(498517, '2010-10-08 18:17:35', 'Church of Ireland', '', 'Church of Ireland.jpg', '2010-10-08 18:17:35', 'image/jpeg', '2010-10-08 18:17:33', '', NULL) -[paperclip] Saving attachments. -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/11/size8/Church of Ireland.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/11/size5/Church of Ireland.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/11/size3/Church of Ireland.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/11/original/Church of Ireland.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/11/size2/Church of Ireland.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/11/size11/Church of Ireland.jpg - -NoMethodError (undefined method `path' for nil:NilClass): - app/models/photo.rb:17:in `get_exif' - vendor/plugins/typus/app/controllers/admin/master_controller.rb:92:in `create' - -Rendered rescues/_trace (171.0ms) -Rendered rescues/_request_and_response (0.4ms) -Rendering rescues/layout (internal_server_error) - - -Processing Admin::PhotosController#create (for 127.0.0.1 at 2010-10-08 14:19:38) [POST] - Parameters: {"photo"=>{"photo"=>#, "title"=>"Church of Ireland", "flickr_url"=>"", "sort"=>"", "description"=>""}, "commit"=>"Create Photo", "action"=>"create", "authenticity_token"=>"MRMA5jN8F+L8Qu/qxudBGU2lL/82P68aMbmoNbKb5zw=", "controller"=>"admin/photos"} - TypusUser Load (0.6ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-o135nr-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-o135nr-0.jpg[0]' -resize "224x" -crop "224x224+0+56" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-o135nr-020101008-80675-wij7rq-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-o135nr-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-o135nr-0.jpg[0]' -resize "140x" -crop "140x140+0+35" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-o135nr-020101008-80675-1swnk4g-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-o135nr-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-o135nr-0.jpg[0]' -resize "1024x1024>" '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-o135nr-020101008-80675-17vty88-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-o135nr-020101008-80675-17vty88-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-o135nr-020101008-80675-17vty88-0[0]' -resize "84x" -crop "84x84+0+20" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-o135nr-020101008-80675-17vty88-020101008-80675-nt9e06-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-o135nr-020101008-80675-17vty88-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-o135nr-020101008-80675-17vty88-0[0]' -resize "56x" -crop "56x56+0+13" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-o135nr-020101008-80675-17vty88-020101008-80675-1iopca8-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-o135nr-020101008-80675-17vty88-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-o135nr-020101008-80675-17vty88-0[0]' -resize "308x" -crop "308x308+0+76" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-o135nr-020101008-80675-17vty88-020101008-80675-s9lmu5-0' 2>/dev/null - Photo Create (0.9ms) INSERT INTO "photos" ("photo_file_size", "created_at", "title", "flickr_url", "photo_file_name", "updated_at", "photo_content_type", "photo_updated_at", "description", "sort") VALUES(498517, '2010-10-08 18:19:40', 'Church of Ireland', '', 'Church of Ireland.jpg', '2010-10-08 18:19:40', 'image/jpeg', '2010-10-08 18:19:38', '', NULL) -[paperclip] Saving attachments. -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/11/size8/Church of Ireland.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/11/size5/Church of Ireland.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/11/size3/Church of Ireland.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/11/original/Church of Ireland.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/11/size2/Church of Ireland.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/11/size11/Church of Ireland.jpg -Redirected to http://localhost:3000/admin/photos/edit/11 -Completed in 2370ms (DB: 1) | 302 Found [http://localhost/admin/photos/create] - - -Processing Admin::PhotosController#edit (for 127.0.0.1 at 2010-10-08 14:19:40) [GET] - Parameters: {"action"=>"edit", "id"=>"11", "controller"=>"admin/photos"} - TypusUser Load (0.7ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - Photo Load (0.3ms) SELECT * FROM "photos" WHERE ("photos"."id" = 11)  -Rendering template within layouts/admin -Rendering admin/resources/edit -Rendered admin/helpers/_list (0.1ms) -Rendered admin/helpers/_search (0.5ms) -Rendered admin/helpers/_preview (0.2ms) -Rendered admin/templates/_file (5.0ms) -Rendered admin/templates/_string (0.7ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/templates/_text (0.4ms) -Rendered admin/templates/_string (0.7ms) -Rendered admin/resources/_form (11.0ms) - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories"  - Category Load (0.4ms) SELECT * FROM "categories"  - Category Load (0.2ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 11 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 11)  - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 11 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 11)  - Category Load (0.2ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 11 ) ORDER BY categories.id ASC LIMIT 15 OFFSET 0 -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.3ms) -Rendered admin/helpers/_flash_message (0.1ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 58ms (View: 31, DB: 2) | 200 OK [http://localhost/admin/photos/edit/11] - - -Processing Admin::PhotosController#index (for 127.0.0.1 at 2010-10-08 14:20:01) [GET] - Parameters: {"action"=>"index", "controller"=>"admin/photos"} - TypusUser Load (0.5ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos"  -Rendering template within layouts/admin -Rendering admin/resources/index -Rendered admin/helpers/_list (0.1ms) -Rendered admin/helpers/_search (0.4ms) - Photo Load (0.9ms) SELECT "photos".* FROM "photos" ORDER BY photos.id ASC LIMIT 15 OFFSET 0 -Rendered admin/helpers/_table_header (0.1ms) - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 1 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 2 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 3 )  - Category Load (0.2ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 4 )  - Category Load (0.2ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 5 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 6 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 7 )  - Category Load (0.1ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 8 )  - Category Load (0.1ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 10 )  - Category Load (0.1ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 11 )  -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.4ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 121ms (View: 98, DB: 4) | 200 OK [http://localhost/admin/photos] - - -Processing Admin::PhotosController#edit (for 127.0.0.1 at 2010-10-08 14:20:04) [GET] - Parameters: {"action"=>"edit", "id"=>"11", "controller"=>"admin/photos"} - TypusUser Load (0.6ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - Photo Load (0.3ms) SELECT * FROM "photos" WHERE ("photos"."id" = 11)  -Rendering template within layouts/admin -Rendering admin/resources/edit -Rendered admin/helpers/_list (0.1ms) -Rendered admin/helpers/_search (0.5ms) -Rendered admin/helpers/_preview (0.2ms) -Rendered admin/templates/_file (4.0ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/templates/_string (0.5ms) -Rendered admin/templates/_text (0.4ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/resources/_form (9.3ms) - SQL (0.1ms) SELECT count(*) AS count_all FROM "categories"  - Category Load (0.5ms) SELECT * FROM "categories"  - Category Load (0.1ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 11 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 11)  - SQL (0.1ms) SELECT count(*) AS count_all FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 11 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 11)  - Category Load (0.1ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 11 ) ORDER BY categories.id ASC LIMIT 15 OFFSET 0 -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.4ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 49ms (View: 28, DB: 2) | 200 OK [http://localhost/admin/photos/edit/11] - - -Processing PhotosController#new (for 127.0.0.1 at 2010-10-08 14:20:11) [GET] - Category Load (0.5ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering photos/new -Completed in 26ms (View: 12, DB: 1) | 200 OK [http://localhost/photos/new] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 14:20:26) [GET] - Photo Load (1.0ms) SELECT * FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 17ms (View: 10, DB: 1) | 200 OK [http://localhost/photos] - - -Processing PhotosController#create (for 127.0.0.1 at 2010-10-08 14:20:48) [POST] - Parameters: {"photo"=>{"photo"=>#}, "commit"=>"Upload", "authenticity_token"=>"MRMA5jN8F+L8Qu/qxudBGU2lL/82P68aMbmoNbKb5zw="} -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-i5blh0-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-i5blh0-0.jpg[0]' -resize "224x" -crop "224x224+0+56" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-i5blh0-020101008-80675-1tlja46-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-i5blh0-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-i5blh0-0.jpg[0]' -resize "140x" -crop "140x140+0+35" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-i5blh0-020101008-80675-lmpodj-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-i5blh0-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-i5blh0-0.jpg[0]' -resize "1024x1024>" '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-i5blh0-020101008-80675-12hqa8i-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-i5blh0-020101008-80675-12hqa8i-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-i5blh0-020101008-80675-12hqa8i-0[0]' -resize "84x" -crop "84x84+0+20" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-i5blh0-020101008-80675-12hqa8i-020101008-80675-dhne88-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-i5blh0-020101008-80675-12hqa8i-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-i5blh0-020101008-80675-12hqa8i-0[0]' -resize "56x" -crop "56x56+0+13" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-i5blh0-020101008-80675-12hqa8i-020101008-80675-4vh02g-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-i5blh0-020101008-80675-12hqa8i-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-i5blh0-020101008-80675-12hqa8i-0[0]' -resize "308x" -crop "308x308+0+76" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-i5blh0-020101008-80675-12hqa8i-020101008-80675-1nofh9e-0' 2>/dev/null - Photo Create (0.4ms) INSERT INTO "photos" ("photo_file_size", "created_at", "title", "flickr_url", "photo_file_name", "updated_at", "photo_content_type", "photo_updated_at", "description", "sort") VALUES(389062, '2010-10-08 18:20:50', NULL, NULL, 'Croagh Patrick no1.jpg', '2010-10-08 18:20:50', 'image/jpeg', '2010-10-08 18:20:48', NULL, NULL) -[paperclip] Saving attachments. -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/12/size8/Croagh Patrick no1.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/12/size5/Croagh Patrick no1.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/12/size3/Croagh Patrick no1.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/12/original/Croagh Patrick no1.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/12/size2/Croagh Patrick no1.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/12/size11/Croagh Patrick no1.jpg -Redirected to http://localhost:3000/photos/12 -Completed in 2282ms (DB: 0) | 302 Found [http://localhost/photos] - - -Processing PhotosController#show (for 127.0.0.1 at 2010-10-08 14:20:50) [GET] - Parameters: {"id"=>"12"} - Photo Load (0.2ms) SELECT * FROM "photos" WHERE ("photos"."id" = 12)  -Rendering template within layouts/photos -Rendering photos/show -Completed in 108ms (View: 5, DB: 0) | 200 OK [http://localhost/photos/12] - - -Processing Admin::PhotosController#index (for 127.0.0.1 at 2010-10-08 14:20:52) [GET] - Parameters: {"action"=>"index", "controller"=>"admin/photos"} - TypusUser Load (0.6ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos"  -Rendering template within layouts/admin -Rendering admin/resources/index -Rendered admin/helpers/_list (0.1ms) -Rendered admin/helpers/_search (0.5ms) - Photo Load (1.3ms) SELECT "photos".* FROM "photos" ORDER BY photos.id ASC LIMIT 15 OFFSET 0 -Rendered admin/helpers/_table_header (0.1ms) - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 1 )  - Category Load (0.5ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 2 )  - Category Load (0.4ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 3 )  - Category Load (0.4ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 4 )  - Category Load (0.4ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 5 )  - Category Load (0.4ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 6 )  - Category Load (0.4ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 7 )  - Category Load (0.2ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 8 )  - Category Load (0.2ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 10 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 11 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 12 )  -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.4ms) -Rendered admin/helpers/_flash_message (0.1ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 80ms (View: 52, DB: 6) | 200 OK [http://localhost/admin/photos] - - -Processing Admin::PhotosController#edit (for 127.0.0.1 at 2010-10-08 14:20:55) [GET] - Parameters: {"action"=>"edit", "id"=>"12", "controller"=>"admin/photos"} - TypusUser Load (0.5ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - Photo Load (0.2ms) SELECT * FROM "photos" WHERE ("photos"."id" = 12)  -Rendering template within layouts/admin -Rendering admin/resources/edit -Rendered admin/helpers/_list (0.1ms) -Rendered admin/helpers/_search (0.4ms) -Rendered admin/helpers/_preview (0.2ms) -Rendered admin/templates/_file (4.2ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/templates/_string (0.5ms) -Rendered admin/templates/_text (0.4ms) -Rendered admin/templates/_string (0.5ms) -Rendered admin/resources/_form (9.3ms) - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories"  - Category Load (0.4ms) SELECT * FROM "categories"  - Category Load (0.1ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 12 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 12)  - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 12 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 12)  - Category Load (0.1ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 12 ) ORDER BY categories.id ASC LIMIT 15 OFFSET 0 -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.3ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 48ms (View: 28, DB: 2) | 200 OK [http://localhost/admin/photos/edit/12] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 14:21:06) [GET] - Photo Load (1.1ms) SELECT * FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 18ms (View: 11, DB: 1) | 200 OK [http://localhost/photos] - - -Processing PhotosController#index (for 192.168.42.102 at 2010-10-08 14:53:36) [GET] - Photo Load (1.3ms) SELECT * FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 23ms (View: 16, DB: 1) | 200 OK [http://junpei/photos] - - -Processing CategoriesController#index (for 192.168.42.102 at 2010-10-08 14:53:58) [GET] - Category Load (0.9ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 60ms (View: 31, DB: 1) | 200 OK [http://junpei/categories] - - -Processing ApplicationController#index (for 192.168.42.102 at 2010-10-08 14:53:59) [GET] - -ActionController::RoutingError (No route matches "/images/sg_grid_sub.png" with {:method=>:get}): - - -Rendering rescues/layout (not_found) - - -Processing PhotosController#index (for 192.168.42.102 at 2010-10-08 14:54:01) [GET] - Parameters: {"category_id"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 -Rendering template within layouts/photos -Rendering photos/index - Photo Load (0.4ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )  -Completed in 18ms (View: 8, DB: 1) | 200 OK [http://junpei/categories/1/photos] - - -Processing ApplicationController#index (for 192.168.42.102 at 2010-10-08 14:54:01) [GET] - -ActionController::RoutingError (No route matches "/images/sg_grid_sub.png" with {:method=>:get}): - - -Rendering rescues/layout (not_found) - - -Processing PhotosController#index (for 192.168.42.102 at 2010-10-08 14:54:05) [GET] - Parameters: {"category_id"=>"2"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '2') LIMIT 1 -Rendering template within layouts/photos -Rendering photos/index - Photo Load (0.4ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 2 )  -Completed in 77ms (View: 8, DB: 1) | 200 OK [http://junpei/categories/2/photos] - - -Processing ApplicationController#index (for 192.168.42.102 at 2010-10-08 14:54:06) [GET] - -ActionController::RoutingError (No route matches "/images/sg_grid_sub.png" with {:method=>:get}): - - -Rendering rescues/layout (not_found) - - -Processing PhotosController#index (for 192.168.42.102 at 2010-10-08 14:54:09) [GET] - Parameters: {"category_id"=>"3"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '3') LIMIT 1 -Rendering template within layouts/photos -Rendering photos/index - Photo Load (0.7ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 3 )  -Completed in 19ms (View: 8, DB: 1) | 200 OK [http://junpei/categories/3/photos] - - -Processing ApplicationController#index (for 192.168.42.102 at 2010-10-08 14:54:09) [GET] - -ActionController::RoutingError (No route matches "/images/sg_grid_sub.png" with {:method=>:get}): - - -Rendering rescues/layout (not_found) - - -Processing PhotosController#index (for 192.168.42.102 at 2010-10-08 14:54:18) [GET] - Parameters: {"category_id"=>"4"} - Category Load (0.3ms) SELECT * FROM "categories" WHERE ("categories"."id" = '4') LIMIT 1 -Rendering template within layouts/photos -Rendering photos/index - Photo Load (0.5ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 4 )  -Completed in 26ms (View: 10, DB: 1) | 200 OK [http://junpei/categories/4/photos] - - -Processing ApplicationController#index (for 192.168.42.102 at 2010-10-08 14:54:18) [GET] - -ActionController::RoutingError (No route matches "/images/sg_grid_sub.png" with {:method=>:get}): - - -Rendering rescues/layout (not_found) - - -Processing PhotosController#index (for 192.168.42.102 at 2010-10-08 14:54:29) [GET] - Parameters: {"category_id"=>"5"} - Category Load (0.4ms) SELECT * FROM "categories" WHERE ("categories"."id" = '5') LIMIT 1 -Rendering template within layouts/photos -Rendering photos/index - Photo Load (0.2ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 5 )  -Completed in 19ms (View: 6, DB: 1) | 200 OK [http://junpei/categories/5/photos] - - -Processing ApplicationController#index (for 192.168.42.102 at 2010-10-08 14:54:30) [GET] - -ActionController::RoutingError (No route matches "/images/sg_grid_sub.png" with {:method=>:get}): - - -Rendering rescues/layout (not_found) - - -Processing PhotosController#index (for 192.168.42.102 at 2010-10-08 14:54:32) [GET] - Parameters: {"category_id"=>"6"} - Category Load (0.4ms) SELECT * FROM "categories" WHERE ("categories"."id" = '6') LIMIT 1 -Rendering template within layouts/photos -Rendering photos/index - Photo Load (0.6ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 6 )  -Completed in 22ms (View: 10, DB: 1) | 200 OK [http://junpei/categories/6/photos] - - -Processing ApplicationController#index (for 192.168.42.102 at 2010-10-08 14:54:33) [GET] - -ActionController::RoutingError (No route matches "/images/sg_grid_sub.png" with {:method=>:get}): - - -Rendering rescues/layout (not_found) - - -Processing PhotosController#index (for 192.168.42.102 at 2010-10-08 14:54:53) [GET] - Parameters: {"category_id"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 -Rendering template within layouts/photos -Rendering photos/index - Photo Load (0.4ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )  -Completed in 17ms (View: 8, DB: 1) | 200 OK [http://junpei/categories/1/photos] - - -Processing ApplicationController#index (for 192.168.42.102 at 2010-10-08 14:54:54) [GET] - -ActionController::RoutingError (No route matches "/images/sg_grid_sub.png" with {:method=>:get}): - - -Rendering rescues/layout (not_found) - - -Processing PhotosController#index (for 192.168.42.102 at 2010-10-08 15:19:23) [GET] - Parameters: {"category_id"=>"4"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '4') LIMIT 1 -Rendering template within layouts/photos -Rendering photos/index - Photo Load (0.4ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 4 )  -Completed in 39ms (View: 9, DB: 1) | 200 OK [http://junpei/categories/4/photos] - - -Processing ApplicationController#index (for 192.168.42.102 at 2010-10-08 15:19:23) [GET] - -ActionController::RoutingError (No route matches "/images/sg_grid_sub.png" with {:method=>:get}): - - -Rendering rescues/layout (not_found) - - -Processing PhotosController#index (for 192.168.42.102 at 2010-10-08 15:19:41) [GET] - Parameters: {"category_id"=>"2"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '2') LIMIT 1 -Rendering template within layouts/photos -Rendering photos/index - Photo Load (0.4ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 2 )  -Completed in 16ms (View: 7, DB: 1) | 200 OK [http://junpei/categories/2/photos] - - -Processing ApplicationController#index (for 192.168.42.102 at 2010-10-08 15:19:41) [GET] - -ActionController::RoutingError (No route matches "/images/sg_grid_sub.png" with {:method=>:get}): - - -Rendering rescues/layout (not_found) - - -Processing PhotosController#index (for 192.168.42.102 at 2010-10-08 15:19:59) [GET] - Parameters: {"category_id"=>"6"} - Category Load (0.3ms) SELECT * FROM "categories" WHERE ("categories"."id" = '6') LIMIT 1 -Rendering template within layouts/photos -Rendering photos/index - Photo Load (0.4ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 6 )  -Completed in 72ms (View: 7, DB: 1) | 200 OK [http://junpei/categories/6/photos] - - -Processing ApplicationController#index (for 192.168.42.102 at 2010-10-08 15:20:00) [GET] - -ActionController::RoutingError (No route matches "/images/sg_grid_sub.png" with {:method=>:get}): - - -Rendering rescues/layout (not_found) - - -Processing PhotosController#index (for 192.168.42.102 at 2010-10-08 15:20:28) [GET] - Parameters: {"category_id"=>"5"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '5') LIMIT 1 -Rendering template within layouts/photos -Rendering photos/index - Photo Load (0.2ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 5 )  -Completed in 13ms (View: 4, DB: 0) | 200 OK [http://junpei/categories/5/photos] - - -Processing ApplicationController#index (for 192.168.42.102 at 2010-10-08 15:20:29) [GET] - -ActionController::RoutingError (No route matches "/images/sg_grid_sub.png" with {:method=>:get}): - - -Rendering rescues/layout (not_found) - - -Processing PhotosController#index (for 192.168.42.102 at 2010-10-08 15:20:32) [GET] - Parameters: {"category_id"=>"2"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '2') LIMIT 1 -Rendering template within layouts/photos -Rendering photos/index - Photo Load (0.4ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 2 )  -Completed in 17ms (View: 7, DB: 1) | 200 OK [http://junpei/categories/2/photos] - - -Processing ApplicationController#index (for 192.168.42.102 at 2010-10-08 15:20:33) [GET] - -ActionController::RoutingError (No route matches "/images/sg_grid_sub.png" with {:method=>:get}): - - -Rendering rescues/layout (not_found) - - -Processing TypusController#dashboard (for 192.168.42.102 at 2010-10-08 15:20:41) [GET] - Parameters: {"action"=>"dashboard", "controller"=>"typus"} -Redirected to http://junpei:3000/admin/sign_in -Filter chain halted as [:require_login] rendered_or_redirected. -Completed in 217ms (DB: 0) | 302 Found [http://junpei/admin] - - -Processing TypusController#sign_in (for 192.168.42.102 at 2010-10-08 15:20:41) [GET] - Parameters: {"action"=>"sign_in", "controller"=>"typus"} - SQL (0.5ms) SELECT count(*) AS count_all FROM "typus_users"  -Rendering template within layouts/typus -Rendering typus/sign_in -Rendered admin/shared/_footer (0.2ms) -Completed in 32ms (View: 28, DB: 1) | 200 OK [http://junpei/admin/sign_in] - - -Processing TypusController#sign_in (for 192.168.42.102 at 2010-10-08 15:21:11) [POST] - Parameters: {"typus_user"=>{"password"=>"[FILTERED]", "email"=>"danbee@gmail.com"}, "commit"=>"Sign in", "action"=>"sign_in", "authenticity_token"=>"PKpPTAedEzahxXzQabewgEm9kPrYc0PbZ/6cvAlIhEQ=", "controller"=>"typus"} - SQL (0.6ms) SELECT count(*) AS count_all FROM "typus_users"  - TypusUser Load (0.2ms) SELECT * FROM "typus_users" WHERE ("typus_users"."status" = 't' AND "typus_users"."email" = 'danbee@gmail.com') LIMIT 1 -Redirected to http://junpei:3000/admin -Completed in 8ms (DB: 1) | 302 Found [http://junpei/admin/sign_in] - - -Processing TypusController#dashboard (for 192.168.42.102 at 2010-10-08 15:21:11) [GET] - Parameters: {"action"=>"dashboard", "controller"=>"typus"} - TypusUser Load (0.6ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  -Rendering template within layouts/admin -Rendering typus/dashboard -Rendered admin/dashboard/_sidebar (0.2ms) -Rendered admin/helpers/_applications (2.1ms) -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.3ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 26ms (View: 21, DB: 1) | 200 OK [http://junpei/admin] - - -Processing Admin::PhotosController#index (for 192.168.42.102 at 2010-10-08 15:21:16) [GET] - Parameters: {"action"=>"index", "controller"=>"admin/photos"} - TypusUser Load (0.5ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos"  -Rendering template within layouts/admin -Rendering admin/resources/index -Rendered admin/helpers/_list (0.1ms) -Rendered admin/helpers/_search (0.6ms) - Photo Load (0.9ms) SELECT "photos".* FROM "photos" ORDER BY photos.id ASC LIMIT 15 OFFSET 0 -Rendered admin/helpers/_table_header (0.1ms) - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 1 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 2 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 3 )  - Category Load (0.2ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 4 )  - Category Load (0.2ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 5 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 6 )  - Category Load (0.4ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 7 )  - Category Load (0.2ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 8 )  - Category Load (0.2ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 10 )  - Category Load (0.2ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 11 )  - Category Load (0.1ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 12 )  -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.4ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 66ms (View: 42, DB: 4) | 200 OK [http://junpei/admin/photos] - - -Processing Admin::PhotosController#edit (for 192.168.42.102 at 2010-10-08 15:21:25) [GET] - Parameters: {"action"=>"edit", "id"=>"1", "controller"=>"admin/photos"} - TypusUser Load (0.5ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - Photo Load (0.3ms) SELECT * FROM "photos" WHERE ("photos"."id" = 1)  -Rendering template within layouts/admin -Rendering admin/resources/edit -Rendered admin/helpers/_list (0.1ms) -Rendered admin/helpers/_search (0.4ms) -Rendered admin/helpers/_preview (0.2ms) -Rendered admin/templates/_file (4.5ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/templates/_text (0.4ms) -Rendered admin/templates/_string (0.5ms) -Rendered admin/resources/_form (10.0ms) - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories"  - Category Load (0.4ms) SELECT * FROM "categories"  - Category Load (0.2ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 1 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 1)  - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 1 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 1)  - Category Load (0.2ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 1 ) ORDER BY categories.id ASC LIMIT 15 OFFSET 0 -Rendered admin/helpers/_table_header (0.1ms) -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.5ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 110ms (View: 32, DB: 2) | 200 OK [http://junpei/admin/photos/edit/1] - - -Processing Admin::PhotosController#relate (for 192.168.42.102 at 2010-10-08 15:21:36) [POST] - Parameters: {"commit"=>"Add", "related"=>{"model"=>"Category", "relation"=>"categories", "id"=>"5"}, "action"=>"relate", "authenticity_token"=>"PKpPTAedEzahxXzQabewgEm9kPrYc0PbZ/6cvAlIhEQ=", "id"=>"1", "controller"=>"admin/photos"} - TypusUser Load (0.5ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - Photo Load (0.4ms) SELECT * FROM "photos" WHERE ("photos"."id" = 1)  - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = 5)  - SQL (0.3ms) INSERT INTO "categories_photos" ("category_id", "photo_id") VALUES (5, 1) -Redirected to http://junpei:3000/admin/photos/edit/1 -Completed in 28ms (DB: 1) | 302 Found [http://junpei/admin/photos/relate/1] - - -Processing Admin::PhotosController#edit (for 192.168.42.102 at 2010-10-08 15:21:36) [GET] - Parameters: {"action"=>"edit", "id"=>"1", "controller"=>"admin/photos"} - TypusUser Load (0.5ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - Photo Load (0.4ms) SELECT * FROM "photos" WHERE ("photos"."id" = 1)  -Rendering template within layouts/admin -Rendering admin/resources/edit -Rendered admin/helpers/_list (0.1ms) -Rendered admin/helpers/_search (0.6ms) -Rendered admin/helpers/_preview (0.3ms) -Rendered admin/templates/_file (5.8ms) -Rendered admin/templates/_string (1.0ms) -Rendered admin/templates/_string (0.7ms) -Rendered admin/templates/_text (0.5ms) -Rendered admin/templates/_string (0.9ms) -Rendered admin/resources/_form (13.3ms) - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories"  - Category Load (0.4ms) SELECT * FROM "categories"  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 1 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 1)  - SQL (0.3ms) SELECT count(*) AS count_all FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 1 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 1)  - Category Load (0.5ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 1 ) ORDER BY categories.id ASC LIMIT 15 OFFSET 0 -Rendered admin/helpers/_table_header (0.1ms) -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.6ms) -Rendered admin/helpers/_flash_message (0.1ms) -Rendered admin/shared/_footer (0.3ms) -Completed in 138ms (View: 45, DB: 3) | 200 OK [http://junpei/admin/photos/edit/1] - - -Processing CategoriesController#index (for 192.168.42.102 at 2010-10-08 15:21:53) [GET] - Category Load (0.7ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 9ms (View: 4, DB: 1) | 200 OK [http://junpei/categories] - - -Processing ApplicationController#index (for 192.168.42.102 at 2010-10-08 15:21:54) [GET] - -ActionController::RoutingError (No route matches "/images/sg_grid_sub.png" with {:method=>:get}): - - -Rendering rescues/layout (not_found) - - -Processing PhotosController#index (for 192.168.42.102 at 2010-10-08 15:21:56) [GET] - Parameters: {"category_id"=>"5"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '5') LIMIT 1 -Rendering template within layouts/photos -Rendering photos/index - Photo Load (0.3ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 5 )  -Completed in 15ms (View: 6, DB: 0) | 200 OK [http://junpei/categories/5/photos] - - -Processing ApplicationController#index (for 192.168.42.102 at 2010-10-08 15:21:56) [GET] - -ActionController::RoutingError (No route matches "/images/sg_grid_sub.png" with {:method=>:get}): - - -Rendering rescues/layout (not_found) - - -Processing Admin::PhotosController#edit (for 127.0.0.1 at 2010-10-08 17:02:30) [GET] - Parameters: {"action"=>"edit", "id"=>"12", "controller"=>"admin/photos"} - TypusUser Load (0.7ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - Photo Load (0.3ms) SELECT * FROM "photos" WHERE ("photos"."id" = 12)  -Rendering template within layouts/admin -Rendering admin/resources/edit -Rendered admin/helpers/_list (0.1ms) -Rendered admin/helpers/_search (0.4ms) -Rendered admin/helpers/_preview (0.2ms) -Rendered admin/templates/_file (4.6ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/templates/_string (0.5ms) -Rendered admin/templates/_text (0.4ms) -Rendered admin/templates/_string (0.5ms) -Rendered admin/resources/_form (9.9ms) - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories"  - Category Load (0.4ms) SELECT * FROM "categories"  - Category Load (0.1ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 12 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 12)  - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 12 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 12)  - Category Load (0.2ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 12 ) ORDER BY categories.id ASC LIMIT 15 OFFSET 0 -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.4ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 165ms (View: 45, DB: 2) | 200 OK [http://localhost/admin/photos/edit/12] - - -Processing Admin::PhotosController#index (for 127.0.0.1 at 2010-10-08 17:02:41) [GET] - Parameters: {"action"=>"index", "controller"=>"admin/photos"} - TypusUser Load (0.5ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos"  -Rendering template within layouts/admin -Rendering admin/resources/index -Rendered admin/helpers/_list (0.2ms) -Rendered admin/helpers/_search (0.5ms) - Photo Load (0.9ms) SELECT "photos".* FROM "photos" ORDER BY photos.id ASC LIMIT 15 OFFSET 0 -Rendered admin/helpers/_table_header (0.1ms) - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 1 )  - Category Load (0.4ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 2 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 3 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 4 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 5 )  - Category Load (0.4ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 6 )  - Category Load (0.4ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 7 )  - Category Load (0.1ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 8 )  - Category Load (0.1ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 10 )  - Category Load (0.1ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 11 )  - Category Load (0.1ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 12 )  -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.8ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 123ms (View: 100, DB: 4) | 200 OK [http://localhost/admin/photos] - - -Processing Admin::PhotosController#edit (for 127.0.0.1 at 2010-10-08 17:02:44) [GET] - Parameters: {"action"=>"edit", "id"=>"12", "controller"=>"admin/photos"} - TypusUser Load (0.6ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - Photo Load (0.2ms) SELECT * FROM "photos" WHERE ("photos"."id" = 12)  -Rendering template within layouts/admin -Rendering admin/resources/edit -Rendered admin/helpers/_list (0.1ms) -Rendered admin/helpers/_search (0.4ms) -Rendered admin/helpers/_preview (0.2ms) -Rendered admin/templates/_file (4.0ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/templates/_string (0.5ms) -Rendered admin/templates/_text (0.5ms) -Rendered admin/templates/_string (0.5ms) -Rendered admin/resources/_form (9.1ms) - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories"  - Category Load (0.4ms) SELECT * FROM "categories"  - Category Load (0.2ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 12 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 12)  - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 12 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 12)  - Category Load (0.1ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 12 ) ORDER BY categories.id ASC LIMIT 15 OFFSET 0 -Rendered admin/helpers/_header (0.2ms) -Rendered admin/helpers/_login_info (0.4ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 109ms (View: 88, DB: 2) | 200 OK [http://localhost/admin/photos/edit/12] - - -Processing Admin::PhotosController#relate (for 127.0.0.1 at 2010-10-08 17:02:56) [POST] - Parameters: {"commit"=>"Add", "related"=>{"model"=>"Category", "relation"=>"categories", "id"=>"1"}, "action"=>"relate", "authenticity_token"=>"MRMA5jN8F+L8Qu/qxudBGU2lL/82P68aMbmoNbKb5zw=", "id"=>"12", "controller"=>"admin/photos"} - TypusUser Load (0.5ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - Photo Load (0.3ms) SELECT * FROM "photos" WHERE ("photos"."id" = 12)  - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = 1)  - SQL (22.9ms) INSERT INTO "categories_photos" ("category_id", "photo_id") VALUES (1, 12) -Redirected to http://localhost:3000/admin/photos/edit/12 -Completed in 49ms (DB: 24) | 302 Found [http://localhost/admin/photos/relate/12] - - -Processing Admin::PhotosController#edit (for 127.0.0.1 at 2010-10-08 17:02:56) [GET] - Parameters: {"action"=>"edit", "id"=>"12", "controller"=>"admin/photos"} - TypusUser Load (0.5ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - Photo Load (0.2ms) SELECT * FROM "photos" WHERE ("photos"."id" = 12)  -Rendering template within layouts/admin -Rendering admin/resources/edit -Rendered admin/helpers/_list (0.1ms) -Rendered admin/helpers/_search (0.4ms) -Rendered admin/helpers/_preview (0.2ms) -Rendered admin/templates/_file (4.0ms) -Rendered admin/templates/_string (0.7ms) -Rendered admin/templates/_string (0.5ms) -Rendered admin/templates/_text (0.4ms) -Rendered admin/templates/_string (0.5ms) -Rendered admin/resources/_form (9.1ms) - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories"  - Category Load (0.6ms) SELECT * FROM "categories"  - Category Load (0.2ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 12 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 12)  - SQL (0.3ms) SELECT count(*) AS count_all FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 12 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 12)  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 12 ) ORDER BY categories.id ASC LIMIT 15 OFFSET 0 -Rendered admin/helpers/_table_header (0.1ms) -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.3ms) -Rendered admin/helpers/_flash_message (0.1ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 113ms (View: 92, DB: 2) | 200 OK [http://localhost/admin/photos/edit/12] - - -Processing Admin::PhotosController#update (for 127.0.0.1 at 2010-10-08 17:02:57) [PUT] - Parameters: {"photo"=>{"title"=>"", "flickr_url"=>"", "sort"=>"", "description"=>""}, "commit"=>"Save Photo", "action"=>"update", "_method"=>"put", "authenticity_token"=>"MRMA5jN8F+L8Qu/qxudBGU2lL/82P68aMbmoNbKb5zw=", "id"=>"12", "controller"=>"admin/photos"} - TypusUser Load (0.6ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - Photo Load (0.2ms) SELECT * FROM "photos" WHERE ("photos"."id" = 12)  - Photo Update (0.4ms) UPDATE "photos" SET "updated_at" = '2010-10-08 21:02:57', "title" = '', "flickr_url" = '', "description" = '' WHERE "id" = 12 -[paperclip] Saving attachments. -Redirected to http://localhost:3000/admin/photos/edit/12 -Completed in 45ms (DB: 1) | 302 Found [http://localhost/admin/photos/update/12] - - -Processing Admin::PhotosController#edit (for 127.0.0.1 at 2010-10-08 17:02:57) [GET] - Parameters: {"action"=>"edit", "id"=>"12", "controller"=>"admin/photos"} - TypusUser Load (0.5ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - Photo Load (0.4ms) SELECT * FROM "photos" WHERE ("photos"."id" = 12)  -Rendering template within layouts/admin -Rendering admin/resources/edit -Rendered admin/helpers/_list (0.1ms) -Rendered admin/helpers/_search (0.6ms) -Rendered admin/helpers/_preview (0.2ms) -Rendered admin/templates/_file (4.3ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/templates/_text (0.5ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/resources/_form (10.1ms) - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories"  - Category Load (0.4ms) SELECT * FROM "categories"  - Category Load (0.2ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 12 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 12)  - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 12 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 12)  - Category Load (0.2ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 12 ) ORDER BY categories.id ASC LIMIT 15 OFFSET 0 -Rendered admin/helpers/_table_header (0.1ms) -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.5ms) -Rendered admin/helpers/_flash_message (0.1ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 119ms (View: 35, DB: 2) | 200 OK [http://localhost/admin/photos/edit/12] - - -Processing Admin::PhotosController#update (for 127.0.0.1 at 2010-10-08 17:03:05) [PUT] - Parameters: {"photo"=>{"title"=>"Croagh Patrick #1", "flickr_url"=>"", "sort"=>"", "description"=>""}, "commit"=>"Save Photo", "action"=>"update", "_method"=>"put", "authenticity_token"=>"MRMA5jN8F+L8Qu/qxudBGU2lL/82P68aMbmoNbKb5zw=", "id"=>"12", "controller"=>"admin/photos"} - TypusUser Load (0.5ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - Photo Load (0.3ms) SELECT * FROM "photos" WHERE ("photos"."id" = 12)  - Photo Update (0.3ms) UPDATE "photos" SET "updated_at" = '2010-10-08 21:03:05', "title" = 'Croagh Patrick #1' WHERE "id" = 12 -[paperclip] Saving attachments. -Redirected to http://localhost:3000/admin/photos/edit/12 -Completed in 30ms (DB: 1) | 302 Found [http://localhost/admin/photos/update/12] - - -Processing Admin::PhotosController#edit (for 127.0.0.1 at 2010-10-08 17:03:05) [GET] - Parameters: {"action"=>"edit", "id"=>"12", "controller"=>"admin/photos"} - TypusUser Load (0.5ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - Photo Load (0.3ms) SELECT * FROM "photos" WHERE ("photos"."id" = 12)  -Rendering template within layouts/admin -Rendering admin/resources/edit -Rendered admin/helpers/_list (0.1ms) -Rendered admin/helpers/_search (0.5ms) -Rendered admin/helpers/_preview (0.2ms) -Rendered admin/templates/_file (4.3ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/templates/_string (0.5ms) -Rendered admin/templates/_text (0.4ms) -Rendered admin/templates/_string (0.5ms) -Rendered admin/resources/_form (9.6ms) - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories"  - Category Load (0.4ms) SELECT * FROM "categories"  - Category Load (0.2ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 12 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 12)  - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 12 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 12)  - Category Load (0.2ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 12 ) ORDER BY categories.id ASC LIMIT 15 OFFSET 0 -Rendered admin/helpers/_table_header (0.1ms) -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.3ms) -Rendered admin/helpers/_flash_message (0.1ms) -Rendered admin/shared/_footer (0.3ms) -Completed in 54ms (View: 32, DB: 2) | 200 OK [http://localhost/admin/photos/edit/12] - - -Processing Admin::PhotosController#index (for 127.0.0.1 at 2010-10-08 17:03:07) [GET] - Parameters: {"action"=>"index", "controller"=>"admin/photos"} - TypusUser Load (0.5ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos"  -Rendering template within layouts/admin -Rendering admin/resources/index -Rendered admin/helpers/_list (0.1ms) -Rendered admin/helpers/_search (0.4ms) - Photo Load (1.0ms) SELECT "photos".* FROM "photos" ORDER BY photos.id ASC LIMIT 15 OFFSET 0 -Rendered admin/helpers/_table_header (0.1ms) - Category Load (0.4ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 1 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 2 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 3 )  - Category Load (0.2ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 4 )  - Category Load (0.2ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 5 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 6 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 7 )  - Category Load (0.2ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 8 )  - Category Load (0.1ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 10 )  - Category Load (0.1ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 11 )  - Category Load (0.2ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 12 )  -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.8ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 122ms (View: 99, DB: 4) | 200 OK [http://localhost/admin/photos] - - -Processing Admin::PhotosController#edit (for 127.0.0.1 at 2010-10-08 17:03:11) [GET] - Parameters: {"action"=>"edit", "id"=>"11", "controller"=>"admin/photos"} - TypusUser Load (0.6ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - Photo Load (0.3ms) SELECT * FROM "photos" WHERE ("photos"."id" = 11)  -Rendering template within layouts/admin -Rendering admin/resources/edit -Rendered admin/helpers/_list (0.1ms) -Rendered admin/helpers/_search (0.5ms) -Rendered admin/helpers/_preview (0.1ms) -Rendered admin/templates/_file (4.1ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/templates/_text (0.4ms) -Rendered admin/templates/_string (0.5ms) -Rendered admin/resources/_form (9.3ms) - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories"  - Category Load (0.4ms) SELECT * FROM "categories"  - Category Load (0.1ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 11 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 11)  - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 11 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 11)  - Category Load (0.1ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 11 ) ORDER BY categories.id ASC LIMIT 15 OFFSET 0 -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.3ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 51ms (View: 27, DB: 2) | 200 OK [http://localhost/admin/photos/edit/11] - - -Processing Admin::PhotosController#relate (for 127.0.0.1 at 2010-10-08 17:03:16) [POST] - Parameters: {"commit"=>"Add", "related"=>{"model"=>"Category", "relation"=>"categories", "id"=>"1"}, "action"=>"relate", "authenticity_token"=>"MRMA5jN8F+L8Qu/qxudBGU2lL/82P68aMbmoNbKb5zw=", "id"=>"11", "controller"=>"admin/photos"} - TypusUser Load (0.6ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - Photo Load (0.2ms) SELECT * FROM "photos" WHERE ("photos"."id" = 11)  - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = 1)  - SQL (0.2ms) INSERT INTO "categories_photos" ("category_id", "photo_id") VALUES (1, 11) -Redirected to http://localhost:3000/admin/photos/edit/11 -Completed in 28ms (DB: 1) | 302 Found [http://localhost/admin/photos/relate/11] - - -Processing Admin::PhotosController#edit (for 127.0.0.1 at 2010-10-08 17:03:16) [GET] - Parameters: {"action"=>"edit", "id"=>"11", "controller"=>"admin/photos"} - TypusUser Load (0.5ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - Photo Load (0.3ms) SELECT * FROM "photos" WHERE ("photos"."id" = 11)  -Rendering template within layouts/admin -Rendering admin/resources/edit -Rendered admin/helpers/_list (0.1ms) -Rendered admin/helpers/_search (0.4ms) -Rendered admin/helpers/_preview (0.2ms) -Rendered admin/templates/_file (5.3ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/templates/_text (0.4ms) -Rendered admin/templates/_string (0.5ms) -Rendered admin/resources/_form (10.7ms) - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories"  - Category Load (0.4ms) SELECT * FROM "categories"  - Category Load (0.2ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 11 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 11)  - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 11 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 11)  - Category Load (0.4ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 11 ) ORDER BY categories.id ASC LIMIT 15 OFFSET 0 -Rendered admin/helpers/_table_header (0.1ms) -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.4ms) -Rendered admin/helpers/_flash_message (0.1ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 110ms (View: 89, DB: 2) | 200 OK [http://localhost/admin/photos/edit/11] - - -Processing Admin::PhotosController#index (for 127.0.0.1 at 2010-10-08 17:03:23) [GET] - Parameters: {"action"=>"index", "controller"=>"admin/photos"} - TypusUser Load (0.6ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - SQL (0.3ms) SELECT count(*) AS count_all FROM "photos"  -Rendering template within layouts/admin -Rendering admin/resources/index -Rendered admin/helpers/_list (0.1ms) -Rendered admin/helpers/_search (0.7ms) - Photo Load (1.8ms) SELECT "photos".* FROM "photos" ORDER BY photos.id ASC LIMIT 15 OFFSET 0 -Rendered admin/helpers/_table_header (0.1ms) - Category Load (0.5ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 1 )  - Category Load (0.4ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 2 )  - Category Load (0.5ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 3 )  - Category Load (0.5ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 4 )  - Category Load (0.2ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 5 )  - Category Load (0.5ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 6 )  - Category Load (0.6ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 7 )  - Category Load (0.2ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 8 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 10 )  - Category Load (0.4ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 11 )  - Category Load (0.5ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 12 )  -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.4ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 95ms (View: 60, DB: 7) | 200 OK [http://localhost/admin/photos] - - -Processing Admin::PhotosController#edit (for 127.0.0.1 at 2010-10-08 17:03:27) [GET] - Parameters: {"action"=>"edit", "id"=>"8", "controller"=>"admin/photos"} - TypusUser Load (0.5ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - Photo Load (0.3ms) SELECT * FROM "photos" WHERE ("photos"."id" = 8)  -Rendering template within layouts/admin -Rendering admin/resources/edit -Rendered admin/helpers/_list (0.1ms) -Rendered admin/helpers/_search (0.5ms) -Rendered admin/helpers/_preview (0.2ms) -Rendered admin/templates/_file (82.6ms) -Rendered admin/templates/_string (0.9ms) -Rendered admin/templates/_string (0.8ms) -Rendered admin/templates/_text (0.6ms) -Rendered admin/templates/_string (0.8ms) -Rendered admin/resources/_form (89.6ms) - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories"  - Category Load (0.6ms) SELECT * FROM "categories"  - Category Load (0.2ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 8 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 8)  - SQL (0.3ms) SELECT count(*) AS count_all FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 8 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 8)  - Category Load (0.2ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 8 ) ORDER BY categories.id ASC LIMIT 15 OFFSET 0 -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.5ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 134ms (View: 112, DB: 2) | 200 OK [http://localhost/admin/photos/edit/8] - - -Processing Admin::PhotosController#relate (for 127.0.0.1 at 2010-10-08 17:03:31) [POST] - Parameters: {"commit"=>"Add", "related"=>{"model"=>"Category", "relation"=>"categories", "id"=>"4"}, "action"=>"relate", "authenticity_token"=>"MRMA5jN8F+L8Qu/qxudBGU2lL/82P68aMbmoNbKb5zw=", "id"=>"8", "controller"=>"admin/photos"} - TypusUser Load (0.5ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - Photo Load (0.3ms) SELECT * FROM "photos" WHERE ("photos"."id" = 8)  - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = 4)  - SQL (0.3ms) INSERT INTO "categories_photos" ("category_id", "photo_id") VALUES (4, 8) -Redirected to http://localhost:3000/admin/photos/edit/8 -Completed in 26ms (DB: 1) | 302 Found [http://localhost/admin/photos/relate/8] - - -Processing Admin::PhotosController#edit (for 127.0.0.1 at 2010-10-08 17:03:31) [GET] - Parameters: {"action"=>"edit", "id"=>"8", "controller"=>"admin/photos"} - TypusUser Load (0.5ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - Photo Load (0.3ms) SELECT * FROM "photos" WHERE ("photos"."id" = 8)  -Rendering template within layouts/admin -Rendering admin/resources/edit -Rendered admin/helpers/_list (0.1ms) -Rendered admin/helpers/_search (0.6ms) -Rendered admin/helpers/_preview (0.2ms) -Rendered admin/templates/_file (4.0ms) -Rendered admin/templates/_string (0.7ms) -Rendered admin/templates/_string (0.5ms) -Rendered admin/templates/_text (0.4ms) -Rendered admin/templates/_string (0.5ms) -Rendered admin/resources/_form (9.2ms) - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories"  - Category Load (0.4ms) SELECT * FROM "categories"  - Category Load (0.4ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 8 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 8)  - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 8 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 8)  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 8 ) ORDER BY categories.id ASC LIMIT 15 OFFSET 0 -Rendered admin/helpers/_table_header (0.1ms) -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.3ms) -Rendered admin/helpers/_flash_message (0.1ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 54ms (View: 33, DB: 2) | 200 OK [http://localhost/admin/photos/edit/8] - - -Processing Admin::PhotosController#relate (for 127.0.0.1 at 2010-10-08 17:03:34) [POST] - Parameters: {"commit"=>"Add", "related"=>{"model"=>"Category", "relation"=>"categories", "id"=>"1"}, "action"=>"relate", "authenticity_token"=>"MRMA5jN8F+L8Qu/qxudBGU2lL/82P68aMbmoNbKb5zw=", "id"=>"8", "controller"=>"admin/photos"} - TypusUser Load (0.6ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - Photo Load (0.2ms) SELECT * FROM "photos" WHERE ("photos"."id" = 8)  - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = 1)  - SQL (0.3ms) INSERT INTO "categories_photos" ("category_id", "photo_id") VALUES (1, 8) -Redirected to http://localhost:3000/admin/photos/edit/8 -Completed in 85ms (DB: 1) | 302 Found [http://localhost/admin/photos/relate/8] - - -Processing Admin::PhotosController#edit (for 127.0.0.1 at 2010-10-08 17:03:34) [GET] - Parameters: {"action"=>"edit", "id"=>"8", "controller"=>"admin/photos"} - TypusUser Load (0.7ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - Photo Load (0.3ms) SELECT * FROM "photos" WHERE ("photos"."id" = 8)  -Rendering template within layouts/admin -Rendering admin/resources/edit -Rendered admin/helpers/_list (0.1ms) -Rendered admin/helpers/_search (0.6ms) -Rendered admin/helpers/_preview (0.2ms) -Rendered admin/templates/_file (4.3ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/templates/_string (0.5ms) -Rendered admin/templates/_text (0.4ms) -Rendered admin/templates/_string (0.5ms) -Rendered admin/resources/_form (9.8ms) - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories"  - Category Load (0.4ms) SELECT * FROM "categories"  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 8 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 8)  - SQL (0.3ms) SELECT count(*) AS count_all FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 8 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 8)  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 8 ) ORDER BY categories.id ASC LIMIT 15 OFFSET 0 -Rendered admin/helpers/_table_header (0.1ms) -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.3ms) -Rendered admin/helpers/_flash_message (0.1ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 57ms (View: 35, DB: 2) | 200 OK [http://localhost/admin/photos/edit/8] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 17:03:37) [GET] - Photo Load (1.0ms) SELECT * FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 61ms (View: 55, DB: 1) | 200 OK [http://localhost/photos] - - -Processing Admin::PhotosController#index (for 127.0.0.1 at 2010-10-08 17:03:41) [GET] - Parameters: {"action"=>"index", "controller"=>"admin/photos"} - TypusUser Load (0.5ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos"  -Rendering template within layouts/admin -Rendering admin/resources/index -Rendered admin/helpers/_list (0.1ms) -Rendered admin/helpers/_search (0.5ms) - Photo Load (0.9ms) SELECT "photos".* FROM "photos" ORDER BY photos.id ASC LIMIT 15 OFFSET 0 -Rendered admin/helpers/_table_header (0.1ms) - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 1 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 2 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 3 )  - Category Load (0.5ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 4 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 5 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 6 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 7 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 8 )  - Category Load (0.1ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 10 )  - Category Load (0.2ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 11 )  - Category Load (0.2ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 12 )  -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.4ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 66ms (View: 41, DB: 5) | 200 OK [http://localhost/admin/photos] - - -Processing Admin::PhotosController#edit (for 127.0.0.1 at 2010-10-08 17:03:46) [GET] - Parameters: {"action"=>"edit", "id"=>"10", "controller"=>"admin/photos"} - TypusUser Load (0.5ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - Photo Load (0.3ms) SELECT * FROM "photos" WHERE ("photos"."id" = 10)  -Rendering template within layouts/admin -Rendering admin/resources/edit -Rendered admin/helpers/_list (0.1ms) -Rendered admin/helpers/_search (0.4ms) -Rendered admin/helpers/_preview (0.2ms) -Rendered admin/templates/_file (4.0ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/templates/_text (0.4ms) -Rendered admin/templates/_string (0.5ms) -Rendered admin/resources/_form (9.1ms) - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories"  - Category Load (0.4ms) SELECT * FROM "categories"  - Category Load (0.1ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 10 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 10)  - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 10 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 10)  - Category Load (0.2ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 10 ) ORDER BY categories.id ASC LIMIT 15 OFFSET 0 -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.4ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 49ms (View: 28, DB: 2) | 200 OK [http://localhost/admin/photos/edit/10] - - -Processing Admin::PhotosController#relate (for 127.0.0.1 at 2010-10-08 17:03:50) [POST] - Parameters: {"commit"=>"Add", "related"=>{"model"=>"Category", "relation"=>"categories", "id"=>"2"}, "action"=>"relate", "authenticity_token"=>"MRMA5jN8F+L8Qu/qxudBGU2lL/82P68aMbmoNbKb5zw=", "id"=>"10", "controller"=>"admin/photos"} - TypusUser Load (0.6ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - Photo Load (0.3ms) SELECT * FROM "photos" WHERE ("photos"."id" = 10)  - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = 2)  - SQL (0.3ms) INSERT INTO "categories_photos" ("category_id", "photo_id") VALUES (2, 10) -Redirected to http://localhost:3000/admin/photos/edit/10 -Completed in 26ms (DB: 1) | 302 Found [http://localhost/admin/photos/relate/10] - - -Processing Admin::PhotosController#edit (for 127.0.0.1 at 2010-10-08 17:03:50) [GET] - Parameters: {"action"=>"edit", "id"=>"10", "controller"=>"admin/photos"} - TypusUser Load (0.5ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - Photo Load (0.3ms) SELECT * FROM "photos" WHERE ("photos"."id" = 10)  -Rendering template within layouts/admin -Rendering admin/resources/edit -Rendered admin/helpers/_list (0.1ms) -Rendered admin/helpers/_search (0.6ms) -Rendered admin/helpers/_preview (0.2ms) -Rendered admin/templates/_file (5.2ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/templates/_text (0.4ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/resources/_form (10.6ms) - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories"  - Category Load (0.4ms) SELECT * FROM "categories"  - Category Load (0.2ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 10 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 10)  - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 10 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 10)  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 10 ) ORDER BY categories.id ASC LIMIT 15 OFFSET 0 -Rendered admin/helpers/_table_header (0.1ms) -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.3ms) -Rendered admin/helpers/_flash_message (0.1ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 54ms (View: 32, DB: 2) | 200 OK [http://localhost/admin/photos/edit/10] - - -Processing Admin::PhotosController#edit (for 127.0.0.1 at 2010-10-08 17:03:52) [GET] - Parameters: {"action"=>"edit", "id"=>"10", "controller"=>"admin/photos"} - TypusUser Load (0.6ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - Photo Load (0.3ms) SELECT * FROM "photos" WHERE ("photos"."id" = 10)  -Rendering template within layouts/admin -Rendering admin/resources/edit -Rendered admin/helpers/_list (0.1ms) -Rendered admin/helpers/_search (0.4ms) -Rendered admin/helpers/_preview (0.2ms) -Rendered admin/templates/_file (4.6ms) -Rendered admin/templates/_string (0.7ms) -Rendered admin/templates/_string (0.7ms) -Rendered admin/templates/_text (0.6ms) -Rendered admin/templates/_string (1.0ms) -Rendered admin/resources/_form (11.7ms) - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories"  - Category Load (0.4ms) SELECT * FROM "categories"  - Category Load (0.2ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 10 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 10)  - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 10 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 10)  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 10 ) ORDER BY categories.id ASC LIMIT 15 OFFSET 0 -Rendered admin/helpers/_table_header (0.1ms) -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.4ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 117ms (View: 91, DB: 2) | 200 OK [http://localhost/admin/photos/edit/10] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-08 17:03:57) [GET] - Category Load (1.2ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 28ms (View: 20, DB: 1) | 200 OK [http://localhost/categories] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 17:03:59) [GET] - Parameters: {"category_id"=>"4"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '4') LIMIT 1 -Rendering template within layouts/photos -Rendering photos/index - Photo Load (0.4ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 4 )  -Completed in 18ms (View: 8, DB: 1) | 200 OK [http://localhost/categories/4/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 17:04:02) [GET] - Parameters: {"category_id"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 -Rendering template within layouts/photos -Rendering photos/index - Photo Load (0.7ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )  -Completed in 76ms (View: 66, DB: 1) | 200 OK [http://localhost/categories/1/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 17:04:40) [GET] - Parameters: {"category_id"=>"4"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '4') LIMIT 1 -Rendering template within layouts/photos -Rendering photos/index - Photo Load (0.6ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 4 )  -Completed in 18ms (View: 8, DB: 1) | 200 OK [http://localhost/categories/4/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 17:04:43) [GET] - Parameters: {"category_id"=>"5"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '5') LIMIT 1 -Rendering template within layouts/photos -Rendering photos/index - Photo Load (0.3ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 5 )  -Completed in 15ms (View: 6, DB: 0) | 200 OK [http://localhost/categories/5/photos] - - -Processing Admin::PhotosController#new (for 127.0.0.1 at 2010-10-08 17:04:49) [GET] - Parameters: {"action"=>"new", "controller"=>"admin/photos"} - TypusUser Load (0.5ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  -Rendering template within layouts/admin -Rendering admin/resources/new -Rendered admin/helpers/_list (0.1ms) -Rendered admin/templates/_file (1.7ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/templates/_string (0.5ms) -Rendered admin/templates/_text (0.4ms) -Rendered admin/templates/_string (0.5ms) -Rendered admin/resources/_form (7.3ms) -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.3ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 96ms (View: 17, DB: 1) | 200 OK [http://localhost/admin/photos/new] - - -Processing Admin::PhotosController#create (for 127.0.0.1 at 2010-10-08 17:05:07) [POST] - Parameters: {"photo"=>{"photo"=>#, "title"=>"Croagh Patrick #2", "flickr_url"=>"", "sort"=>"", "description"=>""}, "commit"=>"Create Photo", "action"=>"create", "authenticity_token"=>"MRMA5jN8F+L8Qu/qxudBGU2lL/82P68aMbmoNbKb5zw=", "controller"=>"admin/photos"} - TypusUser Load (0.6ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-btlhmu-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-btlhmu-0.jpg[0]' -resize "x224" -crop "224x224+103+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-btlhmu-020101008-80675-1iu1e1c-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-btlhmu-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-btlhmu-0.jpg[0]' -resize "x140" -crop "140x140+64+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-btlhmu-020101008-80675-1hendga-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-btlhmu-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-btlhmu-0.jpg[0]' -resize "1024x1024>" '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-btlhmu-020101008-80675-608lmi-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-btlhmu-020101008-80675-608lmi-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-btlhmu-020101008-80675-608lmi-0[0]' -resize "x84" -crop "84x84+38+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-btlhmu-020101008-80675-608lmi-020101008-80675-17e0iqi-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-btlhmu-020101008-80675-608lmi-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-btlhmu-020101008-80675-608lmi-0[0]' -resize "x56" -crop "56x56+25+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-btlhmu-020101008-80675-608lmi-020101008-80675-1f832u2-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-btlhmu-020101008-80675-608lmi-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-btlhmu-020101008-80675-608lmi-0[0]' -resize "x308" -crop "308x308+141+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101008-80675-btlhmu-020101008-80675-608lmi-020101008-80675-1hhwn8x-0' 2>/dev/null - Photo Create (0.4ms) INSERT INTO "photos" ("photo_file_size", "created_at", "title", "flickr_url", "photo_file_name", "updated_at", "photo_content_type", "photo_updated_at", "description", "sort") VALUES(91876, '2010-10-08 21:05:10', 'Croagh Patrick #2', '', 'Croagh Patrick no2.jpg', '2010-10-08 21:05:10', 'image/jpeg', '2010-10-08 21:05:07', '', NULL) -[paperclip] Saving attachments. -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/13/size8/Croagh Patrick no2.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/13/size5/Croagh Patrick no2.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/13/size3/Croagh Patrick no2.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/13/original/Croagh Patrick no2.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/13/size2/Croagh Patrick no2.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/13/size11/Croagh Patrick no2.jpg -Redirected to http://localhost:3000/admin/photos/edit/13 -Completed in 3271ms (DB: 1) | 302 Found [http://localhost/admin/photos/create] - - -Processing Admin::PhotosController#edit (for 127.0.0.1 at 2010-10-08 17:05:10) [GET] - Parameters: {"action"=>"edit", "id"=>"13", "controller"=>"admin/photos"} - TypusUser Load (0.5ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - Photo Load (0.2ms) SELECT * FROM "photos" WHERE ("photos"."id" = 13)  -Rendering template within layouts/admin -Rendering admin/resources/edit -Rendered admin/helpers/_list (0.1ms) -Rendered admin/helpers/_search (0.5ms) -Rendered admin/helpers/_preview (0.2ms) -Rendered admin/templates/_file (6.4ms) -Rendered admin/templates/_string (0.7ms) -Rendered admin/templates/_string (0.9ms) -Rendered admin/templates/_text (0.4ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/resources/_form (12.5ms) - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories"  - Category Load (0.5ms) SELECT * FROM "categories"  - Category Load (0.1ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 13 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 13)  - SQL (0.4ms) SELECT count(*) AS count_all FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 13 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 13)  - Category Load (0.2ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 13 ) ORDER BY categories.id ASC LIMIT 15 OFFSET 0 -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.6ms) -Rendered admin/helpers/_flash_message (0.1ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 204ms (View: 181, DB: 2) | 200 OK [http://localhost/admin/photos/edit/13] - - -Processing Admin::PhotosController#relate (for 127.0.0.1 at 2010-10-08 17:05:17) [POST] - Parameters: {"commit"=>"Add", "related"=>{"model"=>"Category", "relation"=>"categories", "id"=>"4"}, "action"=>"relate", "authenticity_token"=>"MRMA5jN8F+L8Qu/qxudBGU2lL/82P68aMbmoNbKb5zw=", "id"=>"13", "controller"=>"admin/photos"} - TypusUser Load (0.5ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - Photo Load (0.3ms) SELECT * FROM "photos" WHERE ("photos"."id" = 13)  - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = 4)  - SQL (0.3ms) INSERT INTO "categories_photos" ("category_id", "photo_id") VALUES (4, 13) -Redirected to http://localhost:3000/admin/photos/edit/13 -Completed in 26ms (DB: 1) | 302 Found [http://localhost/admin/photos/relate/13] - - -Processing Admin::PhotosController#edit (for 127.0.0.1 at 2010-10-08 17:05:17) [GET] - Parameters: {"action"=>"edit", "id"=>"13", "controller"=>"admin/photos"} - TypusUser Load (0.8ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - Photo Load (0.3ms) SELECT * FROM "photos" WHERE ("photos"."id" = 13)  -Rendering template within layouts/admin -Rendering admin/resources/edit -Rendered admin/helpers/_list (0.1ms) -Rendered admin/helpers/_search (0.4ms) -Rendered admin/helpers/_preview (0.2ms) -Rendered admin/templates/_file (4.9ms) -Rendered admin/templates/_string (0.7ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/templates/_text (0.4ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/resources/_form (10.5ms) - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories"  - Category Load (0.5ms) SELECT * FROM "categories"  - Category Load (0.2ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 13 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 13)  - SQL (0.3ms) SELECT count(*) AS count_all FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 13 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 13)  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 13 ) ORDER BY categories.id ASC LIMIT 15 OFFSET 0 -Rendered admin/helpers/_table_header (0.1ms) -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.3ms) -Rendered admin/helpers/_flash_message (0.1ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 123ms (View: 99, DB: 2) | 200 OK [http://localhost/admin/photos/edit/13] - - -Processing Admin::PhotosController#relate (for 127.0.0.1 at 2010-10-08 17:05:20) [POST] - Parameters: {"commit"=>"Add", "related"=>{"model"=>"Category", "relation"=>"categories", "id"=>"1"}, "action"=>"relate", "authenticity_token"=>"MRMA5jN8F+L8Qu/qxudBGU2lL/82P68aMbmoNbKb5zw=", "id"=>"13", "controller"=>"admin/photos"} - TypusUser Load (0.6ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - Photo Load (0.2ms) SELECT * FROM "photos" WHERE ("photos"."id" = 13)  - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = 1)  - SQL (0.3ms) INSERT INTO "categories_photos" ("category_id", "photo_id") VALUES (1, 13) -Redirected to http://localhost:3000/admin/photos/edit/13 -Completed in 28ms (DB: 1) | 302 Found [http://localhost/admin/photos/relate/13] - - -Processing Admin::PhotosController#edit (for 127.0.0.1 at 2010-10-08 17:05:20) [GET] - Parameters: {"action"=>"edit", "id"=>"13", "controller"=>"admin/photos"} - TypusUser Load (0.5ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - Photo Load (0.3ms) SELECT * FROM "photos" WHERE ("photos"."id" = 13)  -Rendering template within layouts/admin -Rendering admin/resources/edit -Rendered admin/helpers/_list (0.1ms) -Rendered admin/helpers/_search (0.5ms) -Rendered admin/helpers/_preview (0.3ms) -Rendered admin/templates/_file (63.7ms) -Rendered admin/templates/_string (0.7ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/templates/_text (0.5ms) -Rendered admin/templates/_string (0.5ms) -Rendered admin/resources/_form (70.0ms) - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories"  - Category Load (0.4ms) SELECT * FROM "categories"  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 13 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 13)  - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 13 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 13)  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 13 ) ORDER BY categories.id ASC LIMIT 15 OFFSET 0 -Rendered admin/helpers/_table_header (0.1ms) -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.3ms) -Rendered admin/helpers/_flash_message (0.1ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 114ms (View: 93, DB: 2) | 200 OK [http://localhost/admin/photos/edit/13] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 17:05:23) [GET] - Parameters: {"category_id"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 -Rendering template within layouts/photos -Rendering photos/index - Photo Load (0.8ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )  -Completed in 21ms (View: 11, DB: 1) | 200 OK [http://localhost/categories/1/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 17:05:26) [GET] - Parameters: {"category_id"=>"4"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '4') LIMIT 1 -Rendering template within layouts/photos -Rendering photos/index - Photo Load (0.8ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 4 )  -Completed in 22ms (View: 11, DB: 1) | 200 OK [http://localhost/categories/4/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 17:05:29) [GET] - Parameters: {"category_id"=>"2"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '2') LIMIT 1 -Rendering template within layouts/photos -Rendering photos/index - Photo Load (0.5ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 2 )  -Completed in 78ms (View: 8, DB: 1) | 200 OK [http://localhost/categories/2/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 17:05:33) [GET] - Parameters: {"category_id"=>"6"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '6') LIMIT 1 -Rendering template within layouts/photos -Rendering photos/index - Photo Load (0.3ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 6 )  -Completed in 16ms (View: 7, DB: 1) | 200 OK [http://localhost/categories/6/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 17:05:35) [GET] - Parameters: {"category_id"=>"2"} - Category Load (0.3ms) SELECT * FROM "categories" WHERE ("categories"."id" = '2') LIMIT 1 -Rendering template within layouts/photos -Rendering photos/index - Photo Load (0.4ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 2 )  -Completed in 18ms (View: 8, DB: 1) | 200 OK [http://localhost/categories/2/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 17:06:13) [GET] - Parameters: {"category_id"=>"6"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '6') LIMIT 1 -Rendering template within layouts/photos -Rendering photos/index - Photo Load (0.4ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 6 )  -Completed in 71ms (View: 61, DB: 1) | 200 OK [http://localhost/categories/6/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-08 17:06:19) [GET] - Parameters: {"category_id"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 -Rendering template within layouts/photos -Rendering photos/index - Photo Load (0.8ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )  -Completed in 22ms (View: 11, DB: 1) | 200 OK [http://localhost/categories/1/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 03:57:31) [GET] - Parameters: {"category_id"=>"5"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '5') LIMIT 1 -Rendering template within layouts/photos -Rendering photos/index - Photo Load (0.3ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 5 )  -Completed in 29ms (View: 17, DB: 1) | 200 OK [http://localhost/categories/5/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 03:57:32) [GET] - Parameters: {"category_id"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 -Rendering template within layouts/photos -Rendering photos/index - Photo Load (0.7ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )  -Completed in 20ms (View: 11, DB: 1) | 200 OK [http://localhost/categories/1/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 04:39:02) [GET] - Parameters: {"category_id"=>"5"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '5') LIMIT 1 -Rendering template within layouts/photos -Rendering photos/index - Photo Load (0.4ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 5 )  -Completed in 51ms (View: 42, DB: 1) | 200 OK [http://localhost/categories/5/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 04:41:24) [GET] - Parameters: {"category_id"=>"6"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '6') LIMIT 1 -Rendering template within layouts/photos -Rendering photos/index - Photo Load (0.4ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 6 )  -Completed in 17ms (View: 8, DB: 1) | 200 OK [http://localhost/categories/6/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 04:41:27) [GET] - Parameters: {"category_id"=>"2"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '2') LIMIT 1 -Rendering template within layouts/photos -Rendering photos/index - Photo Load (0.5ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 2 )  -Completed in 20ms (View: 8, DB: 1) | 200 OK [http://localhost/categories/2/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 04:41:29) [GET] - Parameters: {"category_id"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 -Rendering template within layouts/photos -Rendering photos/index - Photo Load (0.7ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )  -Completed in 21ms (View: 11, DB: 1) | 200 OK [http://localhost/categories/1/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 04:41:33) [GET] - Parameters: {"category_id"=>"2"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '2') LIMIT 1 -Rendering template within layouts/photos -Rendering photos/index - Photo Load (0.5ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 2 )  -Completed in 18ms (View: 8, DB: 1) | 200 OK [http://localhost/categories/2/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 04:41:46) [GET] - Parameters: {"category_id"=>"5"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '5') LIMIT 1 -Rendering template within layouts/photos -Rendering photos/index - Photo Load (0.4ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 5 )  -Completed in 17ms (View: 7, DB: 1) | 200 OK [http://localhost/categories/5/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 04:42:02) [GET] - Parameters: {"category_id"=>"2"} - Category Load (0.3ms) SELECT * FROM "categories" WHERE ("categories"."id" = '2') LIMIT 1 -Rendering template within layouts/photos -Rendering photos/index - Photo Load (0.5ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 2 )  -Completed in 20ms (View: 10, DB: 1) | 200 OK [http://localhost/categories/2/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 04:42:19) [GET] - Parameters: {"category_id"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 -Rendering template within layouts/photos -Rendering photos/index - Photo Load (0.7ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )  -Completed in 20ms (View: 10, DB: 1) | 200 OK [http://localhost/categories/1/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 04:43:02) [GET] - Parameters: {"category_id"=>"3"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '3') LIMIT 1 -Rendering template within layouts/photos -Rendering photos/index - Photo Load (0.3ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 3 )  -Completed in 17ms (View: 7, DB: 1) | 200 OK [http://localhost/categories/3/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 04:46:56) [GET] - Photo Load (1.1ms) SELECT * FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 67ms (View: 60, DB: 1) | 200 OK [http://localhost/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 04:47:01) [GET] - Photo Load (1.3ms) SELECT * FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 19ms (View: 12, DB: 1) | 200 OK [http://localhost/photos] - - -Processing PhotosController#index (for 192.168.42.18 at 2010-10-09 04:49:22) [GET] - Photo Load (1.2ms) SELECT * FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 19ms (View: 12, DB: 1) | 200 OK [http://junpei/photos] - - -Processing ApplicationController#index (for 192.168.42.18 at 2010-10-09 04:49:22) [GET] - -ActionController::RoutingError (No route matches "/images/sg_grid_sub.png" with {:method=>:get}): - - -Rendering rescues/layout (not_found) - - -Processing CategoriesController#index (for 192.168.42.18 at 2010-10-09 04:49:32) [GET] - Category Load (0.8ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 30ms (View: 25, DB: 1) | 200 OK [http://junpei/categories] - - -Processing PhotosController#index (for 192.168.42.18 at 2010-10-09 04:49:39) [GET] - Parameters: {"category_id"=>"4"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '4') LIMIT 1 -Rendering template within layouts/photos -Rendering photos/index - Photo Load (0.5ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 4 )  -Completed in 17ms (View: 8, DB: 1) | 200 OK [http://junpei/categories/4/photos] - - -Processing PhotosController#index (for 192.168.42.18 at 2010-10-09 04:49:54) [GET] - Parameters: {"category_id"=>"6"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '6') LIMIT 1 -Rendering template within layouts/photos -Rendering photos/index - Photo Load (0.4ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 6 )  -Completed in 18ms (View: 8, DB: 1) | 200 OK [http://junpei/categories/6/photos] - - -Processing PhotosController#index (for 192.168.42.18 at 2010-10-09 04:50:13) [GET] - Parameters: {"category_id"=>"6"} - Category Load (0.4ms) SELECT * FROM "categories" WHERE ("categories"."id" = '6') LIMIT 1 -Rendering template within layouts/photos -Rendering photos/index - Photo Load (0.4ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 6 )  -Completed in 70ms (View: 8, DB: 1) | 200 OK [http://junpei/categories/6/photos] - - -Processing ApplicationController#index (for 192.168.42.18 at 2010-10-09 04:50:18) [GET] - -ActionController::RoutingError (No route matches "/images/sg_grid_sub.png" with {:method=>:get}): - - -Rendering rescues/layout (not_found) - - -Processing CategoriesController#index (for 192.168.42.18 at 2010-10-09 04:50:20) [GET] - Category Load (0.7ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 9ms (View: 4, DB: 1) | 200 OK [http://junpei/categories] - - -Processing PhotosController#index (for 192.168.42.18 at 2010-10-09 04:50:44) [GET] - Parameters: {"category_id"=>"4"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '4') LIMIT 1 -Rendering template within layouts/photos -Rendering photos/index - Photo Load (0.5ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 4 )  -Completed in 17ms (View: 8, DB: 1) | 200 OK [http://junpei/categories/4/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 05:08:12) [GET] - Photo Load (1.1ms) SELECT * FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 100ms (View: 38, DB: 1) | 200 OK [http://localhost/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 05:09:38) [GET] - Photo Load (1.2ms) SELECT * FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 24ms (View: 16, DB: 1) | 200 OK [http://localhost/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 05:10:32) [GET] - Photo Load (1.2ms) SELECT * FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index - -ActionView::TemplateError (nil can't be coerced into Fixnum) on line #7 of app/views/photos/index.html.erb: -4:

-5: <% @num_blank = 13 - @num_photos %> -6: <% else %> -7: <% @num_blank = 14 - @num_photos %> -8: <% end %> -9: -10: <% @photos.each do |photo| %> - - app/views/photos/index.html.erb:7 - -Rendered rescues/_trace (25.4ms) -Rendered rescues/_request_and_response (0.3ms) -Rendering rescues/layout (internal_server_error) - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 05:11:14) [GET] - Photo Load (1.2ms) SELECT * FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 21ms (View: 13, DB: 1) | 200 OK [http://localhost/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 05:11:20) [GET] - Parameters: {"category_id"=>"3"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '3') LIMIT 1 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 3 )  -Rendering template within layouts/photos -Rendering photos/index - Photo Load (0.3ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 3 )  -Completed in 77ms (View: 66, DB: 1) | 200 OK [http://localhost/categories/3/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 05:11:23) [GET] - Parameters: {"category_id"=>"4"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '4') LIMIT 1 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 4 )  -Rendering template within layouts/photos -Rendering photos/index - Photo Load (0.5ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 4 )  -Completed in 19ms (View: 7, DB: 1) | 200 OK [http://localhost/categories/4/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 05:11:26) [GET] - Parameters: {"category_id"=>"5"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '5') LIMIT 1 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 5 )  -Rendering template within layouts/photos -Rendering photos/index - Photo Load (0.2ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 5 )  -Completed in 16ms (View: 5, DB: 1) | 200 OK [http://localhost/categories/5/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 05:11:59) [GET] - Photo Load (1.1ms) SELECT * FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 21ms (View: 14, DB: 1) | 200 OK [http://localhost/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 05:12:01) [GET] - Parameters: {"category_id"=>"1"} - Category Load (0.3ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - SQL (0.3ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )  -Rendering template within layouts/photos -Rendering photos/index - Photo Load (1.0ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )  -Completed in 26ms (View: 11, DB: 2) | 200 OK [http://localhost/categories/1/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 05:12:23) [GET] - Parameters: {"category_id"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )  -Rendering template within layouts/photos -Rendering photos/index - Photo Load (0.7ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )  -Completed in 25ms (View: 13, DB: 1) | 200 OK [http://localhost/categories/1/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 05:12:24) [GET] - Photo Load (1.2ms) SELECT * FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 18ms (View: 12, DB: 1) | 200 OK [http://localhost/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 05:13:39) [GET] - Parameters: {"category_id"=>"1"} - Category Load (0.3ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )  -Rendering template within layouts/photos -Rendering photos/index - Photo Load (0.8ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )  - -ActionView::TemplateError (undefined local variable or method `categories' for #) on line #5 of app/views/photos/index.html.erb: -2: -3: <% if @category %> -4:
-5: <%= link_to '

'+h(@category.name.downcase)+'

', categories %> -6:
-7: <% @num_blank = 11 - @num_photos %> -8: <% else %> - - app/views/photos/index.html.erb:5 - -Rendered rescues/_trace (26.1ms) -Rendered rescues/_request_and_response (0.3ms) -Rendering rescues/layout (internal_server_error) - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 05:13:45) [GET] - Parameters: {"category_id"=>"1"} - Category Load (0.3ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )  -Rendering template within layouts/photos -Rendering photos/index - Photo Load (0.7ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )  -Completed in 81ms (View: 12, DB: 1) | 200 OK [http://localhost/categories/1/photos] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 05:13:47) [GET] - Category Load (0.7ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 92ms (View: 13, DB: 1) | 200 OK [http://localhost/categories] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 05:13:48) [GET] - Parameters: {"category_id"=>"2"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '2') LIMIT 1 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 2 )  -Rendering template within layouts/photos -Rendering photos/index - Photo Load (0.4ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 2 )  -Completed in 18ms (View: 7, DB: 1) | 200 OK [http://localhost/categories/2/photos] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 05:13:51) [GET] - Category Load (0.8ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 12ms (View: 6, DB: 1) | 200 OK [http://localhost/categories] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 05:13:52) [GET] - Parameters: {"category_id"=>"4"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '4') LIMIT 1 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 4 )  -Rendering template within layouts/photos -Rendering photos/index - Photo Load (0.5ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 4 )  -Completed in 19ms (View: 8, DB: 1) | 200 OK [http://localhost/categories/4/photos] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 05:13:53) [GET] - Category Load (0.7ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 9ms (View: 4, DB: 1) | 200 OK [http://localhost/categories] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 05:13:54) [GET] - Parameters: {"category_id"=>"5"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '5') LIMIT 1 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 5 )  -Rendering template within layouts/photos -Rendering photos/index - Photo Load (0.3ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 5 )  -Completed in 16ms (View: 6, DB: 1) | 200 OK [http://localhost/categories/5/photos] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 05:13:55) [GET] - Category Load (0.7ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 9ms (View: 4, DB: 1) | 200 OK [http://localhost/categories] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 05:13:57) [GET] - Parameters: {"category_id"=>"6"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '6') LIMIT 1 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 6 )  -Rendering template within layouts/photos -Rendering photos/index - Photo Load (0.3ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 6 )  -Completed in 19ms (View: 6, DB: 1) | 200 OK [http://localhost/categories/6/photos] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 05:13:58) [GET] - Category Load (0.7ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 9ms (View: 4, DB: 1) | 200 OK [http://localhost/categories] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 05:13:59) [GET] - Parameters: {"category_id"=>"3"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '3') LIMIT 1 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 3 )  -Rendering template within layouts/photos -Rendering photos/index - Photo Load (0.3ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 3 )  -Completed in 16ms (View: 5, DB: 1) | 200 OK [http://localhost/categories/3/photos] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 05:14:00) [GET] - Category Load (0.8ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 9ms (View: 4, DB: 1) | 200 OK [http://localhost/categories] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 05:14:01) [GET] - Parameters: {"category_id"=>"2"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '2') LIMIT 1 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 2 )  -Rendering template within layouts/photos -Rendering photos/index - Photo Load (0.4ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 2 )  -Completed in 72ms (View: 7, DB: 1) | 200 OK [http://localhost/categories/2/photos] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 05:14:08) [GET] - Category Load (1.1ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 10ms (View: 4, DB: 1) | 200 OK [http://localhost/categories] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 05:14:12) [GET] - Parameters: {"category_id"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )  -Rendering template within layouts/photos -Rendering photos/index - Photo Load (0.7ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )  -Completed in 21ms (View: 10, DB: 1) | 200 OK [http://localhost/categories/1/photos] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 05:14:22) [GET] - Category Load (0.7ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 9ms (View: 4, DB: 1) | 200 OK [http://localhost/categories] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 05:14:25) [GET] - Parameters: {"category_id"=>"5"} - Category Load (0.3ms) SELECT * FROM "categories" WHERE ("categories"."id" = '5') LIMIT 1 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 5 )  -Rendering template within layouts/photos -Rendering photos/index - Photo Load (0.3ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 5 )  -Completed in 71ms (View: 6, DB: 1) | 200 OK [http://localhost/categories/5/photos] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 05:14:30) [GET] - Category Load (0.7ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 9ms (View: 4, DB: 1) | 200 OK [http://localhost/categories] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 05:28:43) [GET] - Parameters: {"category_id"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )  -Rendering template within layouts/photos -Rendering photos/index - Photo Load (0.7ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )  -Completed in 84ms (View: 43, DB: 1) | 200 OK [http://localhost/categories/1/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 05:29:07) [GET] - Parameters: {"category_id"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )  -Rendering template within layouts/photos -Rendering photos/index - Photo Load (0.7ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )  -Completed in 21ms (View: 10, DB: 1) | 200 OK [http://localhost/categories/1/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 05:29:35) [GET] - Parameters: {"category_id"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )  -Rendering template within layouts/photos -Rendering photos/index - Photo Load (0.7ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )  -Completed in 20ms (View: 10, DB: 1) | 200 OK [http://localhost/categories/1/photos] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 05:29:40) [GET] - Category Load (0.7ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 47ms (View: 42, DB: 1) | 200 OK [http://localhost/categories] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 05:29:41) [GET] - Parameters: {"category_id"=>"4"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '4') LIMIT 1 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 4 )  -Rendering template within layouts/photos -Rendering photos/index - Photo Load (0.6ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 4 )  -Completed in 20ms (View: 8, DB: 1) | 200 OK [http://localhost/categories/4/photos] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 05:29:43) [GET] - Category Load (0.7ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 9ms (View: 4, DB: 1) | 200 OK [http://localhost/categories] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 05:29:44) [GET] - Parameters: {"category_id"=>"5"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '5') LIMIT 1 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 5 )  -Rendering template within layouts/photos -Rendering photos/index - Photo Load (0.2ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 5 )  -Completed in 17ms (View: 6, DB: 1) | 200 OK [http://localhost/categories/5/photos] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 05:29:47) [GET] - Category Load (0.7ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 10ms (View: 4, DB: 1) | 200 OK [http://localhost/categories] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 05:30:10) [GET] - Category Load (0.7ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 9ms (View: 4, DB: 1) | 200 OK [http://localhost/categories] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 05:30:11) [GET] - Parameters: {"category_id"=>"5"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '5') LIMIT 1 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 5 )  -Rendering template within layouts/photos -Rendering photos/index - Photo Load (0.5ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 5 )  -Completed in 70ms (View: 59, DB: 1) | 200 OK [http://localhost/categories/5/photos] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 05:30:13) [GET] - Category Load (0.7ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 9ms (View: 4, DB: 1) | 200 OK [http://localhost/categories] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 05:30:14) [GET] - Parameters: {"category_id"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )  -Rendering template within layouts/photos -Rendering photos/index - Photo Load (0.7ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )  -Completed in 21ms (View: 10, DB: 1) | 200 OK [http://localhost/categories/1/photos] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 05:30:15) [GET] - Category Load (0.7ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 10ms (View: 5, DB: 1) | 200 OK [http://localhost/categories] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 05:30:16) [GET] - Parameters: {"category_id"=>"6"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '6') LIMIT 1 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 6 )  -Rendering template within layouts/photos -Rendering photos/index - Photo Load (0.3ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 6 )  -Completed in 17ms (View: 6, DB: 1) | 200 OK [http://localhost/categories/6/photos] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 05:30:16) [GET] - Category Load (0.7ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 9ms (View: 4, DB: 1) | 200 OK [http://localhost/categories] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 05:30:17) [GET] - Parameters: {"category_id"=>"5"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '5') LIMIT 1 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 5 )  -Rendering template within layouts/photos -Rendering photos/index - Photo Load (0.3ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 5 )  -Completed in 17ms (View: 6, DB: 1) | 200 OK [http://localhost/categories/5/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 05:30:51) [GET] - Parameters: {"category_id"=>"5"} - Category Load (0.4ms) SELECT * FROM "categories" WHERE ("categories"."id" = '5') LIMIT 1 - SQL (0.3ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 5 )  -Rendering template within layouts/photos -Rendering photos/index - Photo Load (0.3ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 5 )  -Completed in 22ms (View: 7, DB: 1) | 200 OK [http://localhost/categories/5/photos] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 05:30:52) [GET] - Category Load (0.7ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 9ms (View: 4, DB: 1) | 200 OK [http://localhost/categories] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 05:31:11) [GET] - Category Load (0.7ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 9ms (View: 4, DB: 1) | 200 OK [http://localhost/categories] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 05:31:20) [GET] - Category Load (0.7ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 9ms (View: 4, DB: 1) | 200 OK [http://localhost/categories] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 05:31:21) [GET] - Parameters: {"category_id"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )  -Rendering template within layouts/photos -Rendering photos/index - Photo Load (0.7ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )  -Completed in 20ms (View: 9, DB: 1) | 200 OK [http://localhost/categories/1/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 05:31:22) [GET] - Parameters: {"category_id"=>"5"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '5') LIMIT 1 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 5 )  -Rendering template within layouts/photos -Rendering photos/index - Photo Load (0.4ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 5 )  -Completed in 71ms (View: 60, DB: 1) | 200 OK [http://localhost/categories/5/photos] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 05:31:23) [GET] - Category Load (0.8ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 10ms (View: 4, DB: 1) | 200 OK [http://localhost/categories] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 05:31:24) [GET] - Parameters: {"category_id"=>"6"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '6') LIMIT 1 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 6 )  -Rendering template within layouts/photos -Rendering photos/index - Photo Load (0.3ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 6 )  -Completed in 17ms (View: 6, DB: 1) | 200 OK [http://localhost/categories/6/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 05:31:25) [GET] - Parameters: {"category_id"=>"3"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '3') LIMIT 1 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 3 )  -Rendering template within layouts/photos -Rendering photos/index - Photo Load (0.3ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 3 )  -Completed in 17ms (View: 6, DB: 1) | 200 OK [http://localhost/categories/3/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 05:31:27) [GET] - Parameters: {"category_id"=>"4"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '4') LIMIT 1 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 4 )  -Rendering template within layouts/photos -Rendering photos/index - Photo Load (0.9ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 4 )  -Completed in 77ms (View: 66, DB: 1) | 200 OK [http://localhost/categories/4/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 05:31:29) [GET] - Parameters: {"category_id"=>"5"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '5') LIMIT 1 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 5 )  -Rendering template within layouts/photos -Rendering photos/index - Photo Load (0.3ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 5 )  -Completed in 17ms (View: 6, DB: 1) | 200 OK [http://localhost/categories/5/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 05:31:37) [GET] - Parameters: {"category_id"=>"5"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '5') LIMIT 1 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 5 )  -Rendering template within layouts/photos -Rendering photos/index - Photo Load (0.2ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 5 )  -Completed in 17ms (View: 6, DB: 1) | 200 OK [http://localhost/categories/5/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 05:31:48) [GET] - Parameters: {"category_id"=>"5"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '5') LIMIT 1 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 5 )  -Rendering template within layouts/photos -Rendering photos/index - Photo Load (0.3ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 5 )  -Completed in 17ms (View: 6, DB: 1) | 200 OK [http://localhost/categories/5/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 05:31:54) [GET] - Parameters: {"category_id"=>"5"} - Category Load (0.3ms) SELECT * FROM "categories" WHERE ("categories"."id" = '5') LIMIT 1 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 5 )  -Rendering template within layouts/photos -Rendering photos/index - Photo Load (0.3ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 5 )  -Completed in 18ms (View: 6, DB: 1) | 200 OK [http://localhost/categories/5/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 05:32:00) [GET] - Parameters: {"category_id"=>"5"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '5') LIMIT 1 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 5 )  -Rendering template within layouts/photos -Rendering photos/index - Photo Load (0.3ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 5 )  -Completed in 16ms (View: 6, DB: 1) | 200 OK [http://localhost/categories/5/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 05:32:06) [GET] - Parameters: {"category_id"=>"5"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '5') LIMIT 1 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 5 )  -Rendering template within layouts/photos -Rendering photos/index - Photo Load (0.3ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 5 )  -Completed in 18ms (View: 6, DB: 1) | 200 OK [http://localhost/categories/5/photos] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 05:32:07) [GET] - Category Load (0.7ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 9ms (View: 4, DB: 1) | 200 OK [http://localhost/categories] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 05:32:08) [GET] - Parameters: {"category_id"=>"5"} - Category Load (0.3ms) SELECT * FROM "categories" WHERE ("categories"."id" = '5') LIMIT 1 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 5 )  -Rendering template within layouts/photos -Rendering photos/index - Photo Load (0.3ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 5 )  -Completed in 18ms (View: 6, DB: 1) | 200 OK [http://localhost/categories/5/photos] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 05:32:11) [GET] - Category Load (0.7ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 9ms (View: 4, DB: 1) | 200 OK [http://localhost/categories] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 05:32:16) [GET] - Category Load (0.7ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 9ms (View: 4, DB: 1) | 200 OK [http://localhost/categories] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 05:32:20) [GET] - Category Load (0.8ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 8ms (View: 4, DB: 1) | 200 OK [http://localhost/categories] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 05:32:21) [GET] - Parameters: {"category_id"=>"5"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '5') LIMIT 1 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 5 )  -Rendering template within layouts/photos -Rendering photos/index - Photo Load (0.3ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 5 )  -Completed in 71ms (View: 6, DB: 1) | 200 OK [http://localhost/categories/5/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 05:32:25) [GET] - Parameters: {"category_id"=>"5"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '5') LIMIT 1 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 5 )  -Rendering template within layouts/photos -Rendering photos/index - Photo Load (0.3ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 5 )  -Completed in 18ms (View: 6, DB: 1) | 200 OK [http://localhost/categories/5/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 05:32:28) [GET] - Parameters: {"category_id"=>"5"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '5') LIMIT 1 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 5 )  -Rendering template within layouts/photos -Rendering photos/index - Photo Load (0.2ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 5 )  -Completed in 17ms (View: 6, DB: 1) | 200 OK [http://localhost/categories/5/photos] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 05:32:32) [GET] - Category Load (1.1ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 10ms (View: 5, DB: 1) | 200 OK [http://localhost/categories] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 05:32:33) [GET] - Parameters: {"category_id"=>"5"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '5') LIMIT 1 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 5 )  -Rendering template within layouts/photos -Rendering photos/index - Photo Load (0.3ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 5 )  -Completed in 73ms (View: 6, DB: 1) | 200 OK [http://localhost/categories/5/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 05:32:51) [GET] - Parameters: {"category_id"=>"5"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '5') LIMIT 1 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 5 )  -Rendering template within layouts/photos -Rendering photos/index - Photo Load (0.3ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 5 )  -Completed in 21ms (View: 9, DB: 1) | 200 OK [http://localhost/categories/5/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 05:32:55) [GET] - Parameters: {"category_id"=>"5"} - Category Load (0.3ms) SELECT * FROM "categories" WHERE ("categories"."id" = '5') LIMIT 1 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 5 )  -Rendering template within layouts/photos -Rendering photos/index - Photo Load (0.3ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 5 )  -Completed in 20ms (View: 9, DB: 1) | 200 OK [http://localhost/categories/5/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 05:33:00) [GET] - Parameters: {"category_id"=>"5"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '5') LIMIT 1 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 5 )  -Rendering template within layouts/photos -Rendering photos/index - Photo Load (0.3ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 5 )  -Completed in 74ms (View: 9, DB: 1) | 200 OK [http://localhost/categories/5/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 05:36:07) [GET] - Photo Load (1.2ms) SELECT * FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 19ms (View: 12, DB: 1) | 200 OK [http://localhost/photos] - - -Processing Admin::PhotosController#new (for 127.0.0.1 at 2010-10-09 05:38:22) [GET] - Parameters: {"action"=>"new", "controller"=>"admin/photos"} - TypusUser Load (0.3ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  -Rendering template within layouts/admin -Rendering admin/resources/new -Rendered admin/helpers/_list (12.9ms) -Rendered admin/templates/_file (3.3ms) -Rendered admin/templates/_string (1.9ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/templates/_text (1.4ms) -Rendered admin/templates/_string (0.7ms) -Rendered admin/resources/_form (24.3ms) -Rendered admin/helpers/_header (0.9ms) -Rendered admin/helpers/_login_info (1.0ms) -Rendered admin/shared/_footer (1.1ms) -Completed in 267ms (View: 177, DB: 0) | 200 OK [http://localhost/admin/photos/new] - - -Processing Admin::PhotosController#create (for 127.0.0.1 at 2010-10-09 05:38:41) [POST] - Parameters: {"photo"=>{"photo"=>#, "title"=>"Croagh Patrick #3", "flickr_url"=>"", "sort"=>"", "description"=>""}, "commit"=>"Create Photo", "action"=>"create", "authenticity_token"=>"MRMA5jN8F+L8Qu/qxudBGU2lL/82P68aMbmoNbKb5zw=", "controller"=>"admin/photos"} - TypusUser Load (0.7ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-86937-4yl3u1-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-86937-4yl3u1-0.jpg[0]' -resize "x224" -crop "224x224+119+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-86937-4yl3u1-020101009-86937-wkyb2n-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-86937-4yl3u1-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-86937-4yl3u1-0.jpg[0]' -resize "x140" -crop "140x140+74+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-86937-4yl3u1-020101009-86937-1jxt6nw-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-86937-4yl3u1-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-86937-4yl3u1-0.jpg[0]' -resize "x84" -crop "84x84+44+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-86937-4yl3u1-020101009-86937-1vqeyjw-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-86937-4yl3u1-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-86937-4yl3u1-0.jpg[0]' -resize "1024x1024>" '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-86937-4yl3u1-020101009-86937-1clkrci-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-86937-4yl3u1-020101009-86937-1clkrci-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-86937-4yl3u1-020101009-86937-1clkrci-0[0]' -resize "x56" -crop "56x56+29+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-86937-4yl3u1-020101009-86937-1clkrci-020101009-86937-abfbuf-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-86937-4yl3u1-020101009-86937-1clkrci-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-86937-4yl3u1-020101009-86937-1clkrci-0[0]' -resize "x308" -crop "308x308+163+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-86937-4yl3u1-020101009-86937-1clkrci-020101009-86937-g7lhaj-0' 2>/dev/null - Photo Create (0.6ms) INSERT INTO "photos" ("photo_file_size", "created_at", "title", "flickr_url", "photo_file_name", "updated_at", "photo_content_type", "photo_updated_at", "description", "sort") VALUES(134145, '2010-10-09 09:38:45', 'Croagh Patrick #3', '', 'Croagh Patrick no3.jpg', '2010-10-09 09:38:45', 'image/jpeg', '2010-10-09 09:38:41', '', NULL) -[paperclip] Saving attachments. -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/14/size8/Croagh Patrick no3.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/14/size5/Croagh Patrick no3.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/14/size3/Croagh Patrick no3.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/14/size2/Croagh Patrick no3.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/14/original/Croagh Patrick no3.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/14/size11/Croagh Patrick no3.jpg - Photo Update (0.2ms) UPDATE "photos" SET "updated_at" = '2010-10-09 09:39:48', "created_at" = '2010-10-09 09:38:45', "photo_file_name" = 'Croagh Patrick no3.jpg', "title" = 'Croagh Patrick #3', "photo_file_size" = 134145, "photo_updated_at" = '2010-10-09 09:38:41', "flickr_url" = '', "description" = '', "photo_content_type" = 'image/jpeg' WHERE "id" = 14 -[paperclip] Saving attachments. - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 05:40:54) [GET] - Photo Load (1.7ms) SELECT * FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 86ms (View: 51, DB: 2) | 200 OK [http://localhost/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 05:40:58) [GET] - Photo Load (1.5ms) SELECT * FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 22ms (View: 14, DB: 2) | 200 OK [http://localhost/photos] - - -Processing Admin::PhotosController#create (for 127.0.0.1 at 2010-10-09 05:41:18) [POST] - Parameters: {"photo"=>{"photo"=>#, "title"=>"Croagh Patrick #3", "flickr_url"=>"", "sort"=>"", "description"=>""}, "commit"=>"Create Photo", "action"=>"create", "authenticity_token"=>"MRMA5jN8F+L8Qu/qxudBGU2lL/82P68aMbmoNbKb5zw=", "controller"=>"admin/photos"} - TypusUser Load (0.3ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87024-1pu5k99-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87024-1pu5k99-0.jpg[0]' -resize "x308" -crop "308x308+163+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87024-1pu5k99-020101009-87024-u0wc3e-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87024-1pu5k99-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87024-1pu5k99-0.jpg[0]' -resize "x224" -crop "224x224+119+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87024-1pu5k99-020101009-87024-1bnvv6l-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87024-1pu5k99-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87024-1pu5k99-0.jpg[0]' -resize "x140" -crop "140x140+74+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87024-1pu5k99-020101009-87024-x5qypy-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87024-1pu5k99-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87024-1pu5k99-0.jpg[0]' -resize "1024x1024>" '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87024-1pu5k99-020101009-87024-1wm4bdf-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87024-1pu5k99-020101009-87024-1wm4bdf-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87024-1pu5k99-020101009-87024-1wm4bdf-0[0]' -resize "x84" -crop "84x84+44+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87024-1pu5k99-020101009-87024-1wm4bdf-020101009-87024-1fbd1eh-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87024-1pu5k99-020101009-87024-1wm4bdf-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87024-1pu5k99-020101009-87024-1wm4bdf-0[0]' -resize "x56" -crop "56x56+29+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87024-1pu5k99-020101009-87024-1wm4bdf-020101009-87024-mzen1p-0' 2>/dev/null - Photo Create (0.5ms) INSERT INTO "photos" ("photo_file_size", "created_at", "title", "flickr_url", "photo_file_name", "updated_at", "photo_content_type", "photo_updated_at", "description", "sort") VALUES(134145, '2010-10-09 09:41:20', 'Croagh Patrick #3', '', 'Croagh Patrick no3.jpg', '2010-10-09 09:41:20', 'image/jpeg', '2010-10-09 09:41:18', '', NULL) -[paperclip] Saving attachments. -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/14/size11/Croagh Patrick no3.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/14/size8/Croagh Patrick no3.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/14/size5/Croagh Patrick no3.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/14/original/Croagh Patrick no3.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/14/size3/Croagh Patrick no3.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/14/size2/Croagh Patrick no3.jpg - - -Processing TypusController#dashboard (for 127.0.0.1 at 2010-10-09 05:41:48) [GET] - Parameters: {"action"=>"dashboard", "controller"=>"typus"} - TypusUser Load (0.4ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  -Rendering template within layouts/admin -Rendering typus/dashboard -Rendered admin/dashboard/_sidebar (0.6ms) -Rendered admin/helpers/_applications (5.2ms) -Rendered admin/helpers/_header (0.7ms) -Rendered admin/helpers/_login_info (0.8ms) -Rendered admin/shared/_footer (0.6ms) -Completed in 94ms (View: 82, DB: 0) | 200 OK [http://localhost/admin] - - -Processing Admin::PhotosController#index (for 127.0.0.1 at 2010-10-09 05:41:52) [GET] - Parameters: {"action"=>"index", "controller"=>"admin/photos"} - TypusUser Load (0.6ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - SQL (0.3ms) SELECT count(*) AS count_all FROM "photos"  -Rendering template within layouts/admin -Rendering admin/resources/index -Rendered admin/helpers/_list (0.6ms) -Rendered admin/helpers/_search (1.8ms) - Photo Load (1.2ms) SELECT "photos".* FROM "photos" ORDER BY photos.id ASC LIMIT 15 OFFSET 0 -Rendered admin/helpers/_table_header (0.9ms) - Category Load (0.4ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 1 )  - Category Load (0.4ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 2 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 3 )  - Category Load (0.2ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 4 )  - Category Load (0.2ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 5 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 6 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 7 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 8 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 10 )  - Category Load (0.2ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 11 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 12 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 13 )  -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.4ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 116ms (View: 86, DB: 6) | 200 OK [http://localhost/admin/photos] - - -Processing Admin::PhotosController#new (for 127.0.0.1 at 2010-10-09 05:41:55) [GET] - Parameters: {"action"=>"new", "controller"=>"admin/photos"} - TypusUser Load (0.5ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  -Rendering template within layouts/admin -Rendering admin/resources/new -Rendered admin/helpers/_list (0.1ms) -Rendered admin/templates/_file (2.7ms) -Rendered admin/templates/_string (1.4ms) -Rendered admin/templates/_string (0.8ms) -Rendered admin/templates/_text (1.1ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/resources/_form (21.5ms) -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.4ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 61ms (View: 38, DB: 1) | 200 OK [http://localhost/admin/photos/new] - - -Processing Admin::PhotosController#create (for 127.0.0.1 at 2010-10-09 05:42:03) [POST] - Parameters: {"photo"=>{"photo"=>#, "title"=>"Croagh Patrick #3", "flickr_url"=>"", "sort"=>"", "description"=>""}, "commit"=>"Create Photo", "action"=>"create", "authenticity_token"=>"MRMA5jN8F+L8Qu/qxudBGU2lL/82P68aMbmoNbKb5zw=", "controller"=>"admin/photos"} - TypusUser Load (0.6ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87063-147zia2-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87063-147zia2-0.jpg[0]' -resize "x84" -crop "84x84+44+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87063-147zia2-020101009-87063-w0oxlg-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87063-147zia2-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87063-147zia2-0.jpg[0]' -resize "x56" -crop "56x56+29+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87063-147zia2-020101009-87063-1s49olp-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87063-147zia2-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87063-147zia2-0.jpg[0]' -resize "x308" -crop "308x308+163+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87063-147zia2-020101009-87063-1ce9ra2-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87063-147zia2-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87063-147zia2-0.jpg[0]' -resize "1024x1024>" '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87063-147zia2-020101009-87063-1d6mcyb-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87063-147zia2-020101009-87063-1d6mcyb-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87063-147zia2-020101009-87063-1d6mcyb-0[0]' -resize "x224" -crop "224x224+119+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87063-147zia2-020101009-87063-1d6mcyb-020101009-87063-1nahg8r-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87063-147zia2-020101009-87063-1d6mcyb-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87063-147zia2-020101009-87063-1d6mcyb-0[0]' -resize "x140" -crop "140x140+74+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87063-147zia2-020101009-87063-1d6mcyb-020101009-87063-1k7a439-0' 2>/dev/null - Photo Create (0.8ms) INSERT INTO "photos" ("photo_file_size", "created_at", "title", "flickr_url", "photo_file_name", "updated_at", "photo_content_type", "photo_updated_at", "description", "sort") VALUES(134145, '2010-10-09 09:42:05', 'Croagh Patrick #3', '', 'Croagh Patrick no3.jpg', '2010-10-09 09:42:05', 'image/jpeg', '2010-10-09 09:42:03', '', NULL) -[paperclip] Saving attachments. -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/14/size3/Croagh Patrick no3.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/14/size2/Croagh Patrick no3.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/14/size11/Croagh Patrick no3.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/14/size8/Croagh Patrick no3.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/14/original/Croagh Patrick no3.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/14/size5/Croagh Patrick no3.jpg -Redirected to http://localhost:3000/admin/photos/edit/14 -Completed in 50227ms (DB: 1) | 302 Found [http://localhost/admin/photos/create] - - -Processing Admin::PhotosController#edit (for 127.0.0.1 at 2010-10-09 05:42:53) [GET] - Parameters: {"action"=>"edit", "id"=>"14", "controller"=>"admin/photos"} - TypusUser Load (0.7ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - Photo Load (0.3ms) SELECT * FROM "photos" WHERE ("photos"."id" = 14)  -Rendering template within layouts/admin -Rendering admin/resources/edit -Rendered admin/helpers/_list (0.2ms) -Rendered admin/helpers/_search (0.9ms) -Rendered admin/helpers/_preview (1.2ms) -Rendered admin/templates/_file (9.6ms) -Rendered admin/templates/_string (0.8ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/templates/_text (0.6ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/resources/_form (17.0ms) - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories"  - Category Load (0.5ms) SELECT * FROM "categories"  - Category Load (0.1ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 14 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 14)  - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 14 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 14)  - Category Load (0.1ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 14 ) ORDER BY categories.id ASC LIMIT 15 OFFSET 0 -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.4ms) -Rendered admin/helpers/_flash_message (8.7ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 95ms (View: 68, DB: 2) | 200 OK [http://localhost/admin/photos/edit/14] - - -Processing Admin::PhotosController#new (for 127.0.0.1 at 2010-10-09 05:42:57) [GET] - Parameters: {"action"=>"new", "controller"=>"admin/photos"} - TypusUser Load (0.6ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  -Rendering template within layouts/admin -Rendering admin/resources/new -Rendered admin/helpers/_list (0.1ms) -Rendered admin/templates/_file (2.0ms) -Rendered admin/templates/_string (0.7ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/templates/_text (0.5ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/resources/_form (8.5ms) -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.4ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 102ms (View: 20, DB: 1) | 200 OK [http://localhost/admin/photos/new] - - -Processing Admin::PhotosController#create (for 127.0.0.1 at 2010-10-09 05:43:08) [POST] - Parameters: {"photo"=>{"photo"=>#, "title"=>"Croagh Patrick Sunset", "flickr_url"=>"", "sort"=>"", "description"=>""}, "commit"=>"Create Photo", "action"=>"create", "authenticity_token"=>"MRMA5jN8F+L8Qu/qxudBGU2lL/82P68aMbmoNbKb5zw=", "controller"=>"admin/photos"} - TypusUser Load (0.6ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87063-ik19lc-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87063-ik19lc-0.jpg[0]' -resize "x84" -crop "84x84+40+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87063-ik19lc-020101009-87063-1rxs712-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87063-ik19lc-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87063-ik19lc-0.jpg[0]' -resize "x56" -crop "56x56+26+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87063-ik19lc-020101009-87063-1lhd3y7-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87063-ik19lc-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87063-ik19lc-0.jpg[0]' -resize "x308" -crop "308x308+147+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87063-ik19lc-020101009-87063-3bwju4-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87063-ik19lc-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87063-ik19lc-0.jpg[0]' -resize "1024x1024>" '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87063-ik19lc-020101009-87063-1qyasq6-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87063-ik19lc-020101009-87063-1qyasq6-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87063-ik19lc-020101009-87063-1qyasq6-0[0]' -resize "x224" -crop "224x224+107+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87063-ik19lc-020101009-87063-1qyasq6-020101009-87063-vtv045-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87063-ik19lc-020101009-87063-1qyasq6-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87063-ik19lc-020101009-87063-1qyasq6-0[0]' -resize "x140" -crop "140x140+67+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87063-ik19lc-020101009-87063-1qyasq6-020101009-87063-7ebtfa-0' 2>/dev/null - Photo Create (0.5ms) INSERT INTO "photos" ("photo_file_size", "created_at", "title", "flickr_url", "photo_file_name", "updated_at", "photo_content_type", "photo_updated_at", "description", "sort") VALUES(133140, '2010-10-09 09:43:10', 'Croagh Patrick Sunset', '', 'Croagh Patrick Sunset.jpg', '2010-10-09 09:43:10', 'image/jpeg', '2010-10-09 09:43:08', '', NULL) -[paperclip] Saving attachments. -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/15/size3/Croagh Patrick Sunset.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/15/size2/Croagh Patrick Sunset.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/15/size11/Croagh Patrick Sunset.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/15/size8/Croagh Patrick Sunset.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/15/original/Croagh Patrick Sunset.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/15/size5/Croagh Patrick Sunset.jpg - Photo Update (0.3ms) UPDATE "photos" SET "updated_at" = '2010-10-09 09:43:10', "created_at" = '2010-10-09 09:43:10', "photo_file_name" = 'Croagh Patrick Sunset.jpg', "title" = 'Croagh Patrick Sunset', "photo_file_size" = 133140, "photo_updated_at" = '2010-10-09 09:43:08', "flickr_url" = '', "description" = 'The west of Ireland is so photogenic!', "photo_content_type" = 'image/jpeg' WHERE "id" = 15 -[paperclip] Saving attachments. - Photo Update (0.2ms) UPDATE "photos" SET "updated_at" = '2010-10-09 09:43:10', "created_at" = '2010-10-09 09:43:10', "photo_file_name" = 'Croagh Patrick Sunset.jpg', "title" = 'Croagh Patrick Sunset', "photo_file_size" = 133140, "photo_updated_at" = '2010-10-09 09:43:08', "flickr_url" = '', "description" = 'The west of Ireland is so photogenic!', "photo_content_type" = 'image/jpeg' WHERE "id" = 15 -[paperclip] Saving attachments. - Photo Update (0.2ms) UPDATE "photos" SET "updated_at" = '2010-10-09 09:43:10', "created_at" = '2010-10-09 09:43:10', "photo_file_name" = 'Croagh Patrick Sunset.jpg', "title" = 'Croagh Patrick Sunset', "photo_file_size" = 133140, "photo_updated_at" = '2010-10-09 09:43:08', "flickr_url" = '', "description" = 'The west of Ireland is so photogenic!', "photo_content_type" = 'image/jpeg' WHERE "id" = 15 -[paperclip] Saving attachments. - Photo Update (0.2ms) UPDATE "photos" SET "updated_at" = '2010-10-09 09:43:10', "created_at" = '2010-10-09 09:43:10', "photo_file_name" = 'Croagh Patrick Sunset.jpg', "title" = 'Croagh Patrick Sunset', "photo_file_size" = 133140, "photo_updated_at" = '2010-10-09 09:43:08', "flickr_url" = '', "description" = 'The west of Ireland is so photogenic!', "photo_content_type" = 'image/jpeg' WHERE "id" = 15 -[paperclip] Saving attachments. - Photo Update (0.2ms) UPDATE "photos" SET "updated_at" = '2010-10-09 09:43:10', "created_at" = '2010-10-09 09:43:10', "photo_file_name" = 'Croagh Patrick Sunset.jpg', "title" = 'Croagh Patrick Sunset', "photo_file_size" = 133140, "photo_updated_at" = '2010-10-09 09:43:08', "flickr_url" = '', "description" = 'The west of Ireland is so photogenic!', "photo_content_type" = 'image/jpeg' WHERE "id" = 15 -[paperclip] Saving attachments. - Photo Update (0.2ms) UPDATE "photos" SET "updated_at" = '2010-10-09 09:43:10', "created_at" = '2010-10-09 09:43:10', "photo_file_name" = 'Croagh Patrick Sunset.jpg', "title" = 'Croagh Patrick Sunset', "photo_file_size" = 133140, "photo_updated_at" = '2010-10-09 09:43:08', "flickr_url" = '', "description" = 'The west of Ireland is so photogenic!', "photo_content_type" = 'image/jpeg' WHERE "id" = 15 -[paperclip] Saving attachments. - Photo Update (0.2ms) UPDATE "photos" SET "updated_at" = '2010-10-09 09:43:10', "created_at" = '2010-10-09 09:43:10', "photo_file_name" = 'Croagh Patrick Sunset.jpg', "title" = 'Croagh Patrick Sunset', "photo_file_size" = 133140, "photo_updated_at" = '2010-10-09 09:43:08', "flickr_url" = '', "description" = 'The west of Ireland is so photogenic!', "photo_content_type" = 'image/jpeg' WHERE "id" = 15 -[paperclip] Saving attachments. - Photo Update (0.2ms) UPDATE "photos" SET "updated_at" = '2010-10-09 09:43:10', "created_at" = '2010-10-09 09:43:10', "photo_file_name" = 'Croagh Patrick Sunset.jpg', "title" = 'Croagh Patrick Sunset', "photo_file_size" = 133140, "photo_updated_at" = '2010-10-09 09:43:08', "flickr_url" = '', "description" = 'The west of Ireland is so photogenic!', "photo_content_type" = 'image/jpeg' WHERE "id" = 15 -[paperclip] Saving attachments. - Photo Update (0.2ms) UPDATE "photos" SET "updated_at" = '2010-10-09 09:43:10', "created_at" = '2010-10-09 09:43:10', "photo_file_name" = 'Croagh Patrick Sunset.jpg', "title" = 'Croagh Patrick Sunset', "photo_file_size" = 133140, "photo_updated_at" = '2010-10-09 09:43:08', "flickr_url" = '', "description" = 'The west of Ireland is so photogenic!', "photo_content_type" = 'image/jpeg' WHERE "id" = 15 -[paperclip] Saving attachments. - Photo Update (0.2ms) UPDATE "photos" SET "updated_at" = '2010-10-09 09:43:10', "created_at" = '2010-10-09 09:43:10', "photo_file_name" = 'Croagh Patrick Sunset.jpg', "title" = 'Croagh Patrick Sunset', "photo_file_size" = 133140, "photo_updated_at" = '2010-10-09 09:43:08', "flickr_url" = '', "description" = 'The west of Ireland is so photogenic!', "photo_content_type" = 'image/jpeg' WHERE "id" = 15 -[paperclip] Saving attachments. - Photo Update (0.2ms) UPDATE "photos" SET "updated_at" = '2010-10-09 09:43:10', "created_at" = '2010-10-09 09:43:10', "photo_file_name" = 'Croagh Patrick Sunset.jpg', "title" = 'Croagh Patrick Sunset', "photo_file_size" = 133140, "photo_updated_at" = '2010-10-09 09:43:08', "flickr_url" = '', "description" = 'The west of Ireland is so photogenic!', "photo_content_type" = 'image/jpeg' WHERE "id" = 15 -[paperclip] Saving attachments. - Photo Update (0.2ms) UPDATE "photos" SET "updated_at" = '2010-10-09 09:43:10', "created_at" = '2010-10-09 09:43:10', "photo_file_name" = 'Croagh Patrick Sunset.jpg', "title" = 'Croagh Patrick Sunset', "photo_file_size" = 133140, "photo_updated_at" = '2010-10-09 09:43:08', "flickr_url" = '', "description" = 'The west of Ireland is so photogenic!', "photo_content_type" = 'image/jpeg' WHERE "id" = 15 -[paperclip] Saving attachments. - Photo Update (0.2ms) UPDATE "photos" SET "updated_at" = '2010-10-09 09:43:10', "created_at" = '2010-10-09 09:43:10', "photo_file_name" = 'Croagh Patrick Sunset.jpg', "title" = 'Croagh Patrick Sunset', "photo_file_size" = 133140, "photo_updated_at" = '2010-10-09 09:43:08', "flickr_url" = '', "description" = 'The west of Ireland is so photogenic!', "photo_content_type" = 'image/jpeg' WHERE "id" = 15 -[paperclip] Saving attachments. - Photo Update (0.2ms) UPDATE "photos" SET "updated_at" = '2010-10-09 09:43:11', "created_at" = '2010-10-09 09:43:10', "photo_file_name" = 'Croagh Patrick Sunset.jpg', "title" = 'Croagh Patrick Sunset', "photo_file_size" = 133140, "photo_updated_at" = '2010-10-09 09:43:08', "flickr_url" = '', "description" = 'The west of Ireland is so photogenic!', "photo_content_type" = 'image/jpeg' WHERE "id" = 15 -[paperclip] Saving attachments. - Photo Update (0.2ms) UPDATE "photos" SET "updated_at" = '2010-10-09 09:43:11', "created_at" = '2010-10-09 09:43:10', "photo_file_name" = 'Croagh Patrick Sunset.jpg', "title" = 'Croagh Patrick Sunset', "photo_file_size" = 133140, "photo_updated_at" = '2010-10-09 09:43:08', "flickr_url" = '', "description" = 'The west of Ireland is so photogenic!', "photo_content_type" = 'image/jpeg' WHERE "id" = 15 -[paperclip] Saving attachments. - Photo Update (0.2ms) UPDATE "photos" SET "updated_at" = '2010-10-09 09:43:11', "created_at" = '2010-10-09 09:43:10', "photo_file_name" = 'Croagh Patrick Sunset.jpg', "title" = 'Croagh Patrick Sunset', "photo_file_size" = 133140, "photo_updated_at" = '2010-10-09 09:43:08', "flickr_url" = '', "description" = 'The west of Ireland is so photogenic!', "photo_content_type" = 'image/jpeg' WHERE "id" = 15 -[paperclip] Saving attachments. - Photo Update (0.2ms) UPDATE "photos" SET "updated_at" = '2010-10-09 09:43:11', "created_at" = '2010-10-09 09:43:10', "photo_file_name" = 'Croagh Patrick Sunset.jpg', "title" = 'Croagh Patrick Sunset', "photo_file_size" = 133140, "photo_updated_at" = '2010-10-09 09:43:08', "flickr_url" = '', "description" = 'The west of Ireland is so photogenic!', "photo_content_type" = 'image/jpeg' WHERE "id" = 15 -[paperclip] Saving attachments. - Photo Update (0.2ms) UPDATE "photos" SET "updated_at" = '2010-10-09 09:43:11', "created_at" = '2010-10-09 09:43:10', "photo_file_name" = 'Croagh Patrick Sunset.jpg', "title" = 'Croagh Patrick Sunset', "photo_file_size" = 133140, "photo_updated_at" = '2010-10-09 09:43:08', "flickr_url" = '', "description" = 'The west of Ireland is so photogenic!', "photo_content_type" = 'image/jpeg' WHERE "id" = 15 -[paperclip] Saving attachments. - Photo Update (0.2ms) UPDATE "photos" SET "updated_at" = '2010-10-09 09:43:11', "created_at" = '2010-10-09 09:43:10', "photo_file_name" = 'Croagh Patrick Sunset.jpg', "title" = 'Croagh Patrick Sunset', "photo_file_size" = 133140, "photo_updated_at" = '2010-10-09 09:43:08', "flickr_url" = '', "description" = 'The west of Ireland is so photogenic!', "photo_content_type" = 'image/jpeg' WHERE "id" = 15 -[paperclip] Saving attachments. - Photo Update (0.2ms) UPDATE "photos" SET "updated_at" = '2010-10-09 09:43:12', "created_at" = '2010-10-09 09:43:10', "photo_file_name" = 'Croagh Patrick Sunset.jpg', "title" = 'Croagh Patrick Sunset', "photo_file_size" = 133140, "photo_updated_at" = '2010-10-09 09:43:08', "flickr_url" = '', "description" = 'The west of Ireland is so photogenic!', "photo_content_type" = 'image/jpeg' WHERE "id" = 15 -[paperclip] Saving attachments. - Photo Update (0.2ms) UPDATE "photos" SET "updated_at" = '2010-10-09 09:43:12', "created_at" = '2010-10-09 09:43:10', "photo_file_name" = 'Croagh Patrick Sunset.jpg', "title" = 'Croagh Patrick Sunset', "photo_file_size" = 133140, "photo_updated_at" = '2010-10-09 09:43:08', "flickr_url" = '', "description" = 'The west of Ireland is so photogenic!', "photo_content_type" = 'image/jpeg' WHERE "id" = 15 -[paperclip] Saving attachments. - Photo Update (0.2ms) UPDATE "photos" SET "updated_at" = '2010-10-09 09:43:12', "created_at" = '2010-10-09 09:43:10', "photo_file_name" = 'Croagh Patrick Sunset.jpg', "title" = 'Croagh Patrick Sunset', "photo_file_size" = 133140, "photo_updated_at" = '2010-10-09 09:43:08', "flickr_url" = '', "description" = 'The west of Ireland is so photogenic!', "photo_content_type" = 'image/jpeg' WHERE "id" = 15 -[paperclip] Saving attachments. - Photo Update (0.2ms) UPDATE "photos" SET "updated_at" = '2010-10-09 09:43:12', "created_at" = '2010-10-09 09:43:10', "photo_file_name" = 'Croagh Patrick Sunset.jpg', "title" = 'Croagh Patrick Sunset', "photo_file_size" = 133140, "photo_updated_at" = '2010-10-09 09:43:08', "flickr_url" = '', "description" = 'The west of Ireland is so photogenic!', "photo_content_type" = 'image/jpeg' WHERE "id" = 15 -[paperclip] Saving attachments. - Photo Update (0.2ms) UPDATE "photos" SET "updated_at" = '2010-10-09 09:43:13', "created_at" = '2010-10-09 09:43:10', "photo_file_name" = 'Croagh Patrick Sunset.jpg', "title" = 'Croagh Patrick Sunset', "photo_file_size" = 133140, "photo_updated_at" = '2010-10-09 09:43:08', "flickr_url" = '', "description" = 'The west of Ireland is so photogenic!', "photo_content_type" = 'image/jpeg' WHERE "id" = 15 -[paperclip] Saving attachments. - Photo Update (0.2ms) UPDATE "photos" SET "updated_at" = '2010-10-09 09:43:13', "created_at" = '2010-10-09 09:43:10', "photo_file_name" = 'Croagh Patrick Sunset.jpg', "title" = 'Croagh Patrick Sunset', "photo_file_size" = 133140, "photo_updated_at" = '2010-10-09 09:43:08', "flickr_url" = '', "description" = 'The west of Ireland is so photogenic!', "photo_content_type" = 'image/jpeg' WHERE "id" = 15 -[paperclip] Saving attachments. - Photo Update (0.2ms) UPDATE "photos" SET "updated_at" = '2010-10-09 09:43:13', "created_at" = '2010-10-09 09:43:10', "photo_file_name" = 'Croagh Patrick Sunset.jpg', "title" = 'Croagh Patrick Sunset', "photo_file_size" = 133140, "photo_updated_at" = '2010-10-09 09:43:08', "flickr_url" = '', "description" = 'The west of Ireland is so photogenic!', "photo_content_type" = 'image/jpeg' WHERE "id" = 15 -[paperclip] Saving attachments. - Photo Update (0.2ms) UPDATE "photos" SET "updated_at" = '2010-10-09 09:43:13', "created_at" = '2010-10-09 09:43:10', "photo_file_name" = 'Croagh Patrick Sunset.jpg', "title" = 'Croagh Patrick Sunset', "photo_file_size" = 133140, "photo_updated_at" = '2010-10-09 09:43:08', "flickr_url" = '', "description" = 'The west of Ireland is so photogenic!', "photo_content_type" = 'image/jpeg' WHERE "id" = 15 -[paperclip] Saving attachments. - Photo Update (0.2ms) UPDATE "photos" SET "updated_at" = '2010-10-09 09:43:14', "created_at" = '2010-10-09 09:43:10', "photo_file_name" = 'Croagh Patrick Sunset.jpg', "title" = 'Croagh Patrick Sunset', "photo_file_size" = 133140, "photo_updated_at" = '2010-10-09 09:43:08', "flickr_url" = '', "description" = 'The west of Ireland is so photogenic!', "photo_content_type" = 'image/jpeg' WHERE "id" = 15 -[paperclip] Saving attachments. - Photo Update (0.2ms) UPDATE "photos" SET "updated_at" = '2010-10-09 09:43:14', "created_at" = '2010-10-09 09:43:10', "photo_file_name" = 'Croagh Patrick Sunset.jpg', "title" = 'Croagh Patrick Sunset', "photo_file_size" = 133140, "photo_updated_at" = '2010-10-09 09:43:08', "flickr_url" = '', "description" = 'The west of Ireland is so photogenic!', "photo_content_type" = 'image/jpeg' WHERE "id" = 15 -[paperclip] Saving attachments. - Photo Update (0.3ms) UPDATE "photos" SET "updated_at" = '2010-10-09 09:43:15', "created_at" = '2010-10-09 09:43:10', "photo_file_name" = 'Croagh Patrick Sunset.jpg', "title" = 'Croagh Patrick Sunset', "photo_file_size" = 133140, "photo_updated_at" = '2010-10-09 09:43:08', "flickr_url" = '', "description" = 'The west of Ireland is so photogenic!', "photo_content_type" = 'image/jpeg' WHERE "id" = 15 -[paperclip] Saving attachments. - Photo Update (0.2ms) UPDATE "photos" SET "updated_at" = '2010-10-09 09:43:15', "created_at" = '2010-10-09 09:43:10', "photo_file_name" = 'Croagh Patrick Sunset.jpg', "title" = 'Croagh Patrick Sunset', "photo_file_size" = 133140, "photo_updated_at" = '2010-10-09 09:43:08', "flickr_url" = '', "description" = 'The west of Ireland is so photogenic!', "photo_content_type" = 'image/jpeg' WHERE "id" = 15 -[paperclip] Saving attachments. - Photo Update (0.2ms) UPDATE "photos" SET "updated_at" = '2010-10-09 09:43:15', "created_at" = '2010-10-09 09:43:10', "photo_file_name" = 'Croagh Patrick Sunset.jpg', "title" = 'Croagh Patrick Sunset', "photo_file_size" = 133140, "photo_updated_at" = '2010-10-09 09:43:08', "flickr_url" = '', "description" = 'The west of Ireland is so photogenic!', "photo_content_type" = 'image/jpeg' WHERE "id" = 15 -[paperclip] Saving attachments. - Photo Update (0.2ms) UPDATE "photos" SET "updated_at" = '2010-10-09 09:43:16', "created_at" = '2010-10-09 09:43:10', "photo_file_name" = 'Croagh Patrick Sunset.jpg', "title" = 'Croagh Patrick Sunset', "photo_file_size" = 133140, "photo_updated_at" = '2010-10-09 09:43:08', "flickr_url" = '', "description" = 'The west of Ireland is so photogenic!', "photo_content_type" = 'image/jpeg' WHERE "id" = 15 -[paperclip] Saving attachments. - Photo Update (0.2ms) UPDATE "photos" SET "updated_at" = '2010-10-09 09:43:17', "created_at" = '2010-10-09 09:43:10', "photo_file_name" = 'Croagh Patrick Sunset.jpg', "title" = 'Croagh Patrick Sunset', "photo_file_size" = 133140, "photo_updated_at" = '2010-10-09 09:43:08', "flickr_url" = '', "description" = 'The west of Ireland is so photogenic!', "photo_content_type" = 'image/jpeg' WHERE "id" = 15 -[paperclip] Saving attachments. - Photo Update (0.2ms) UPDATE "photos" SET "updated_at" = '2010-10-09 09:43:17', "created_at" = '2010-10-09 09:43:10', "photo_file_name" = 'Croagh Patrick Sunset.jpg', "title" = 'Croagh Patrick Sunset', "photo_file_size" = 133140, "photo_updated_at" = '2010-10-09 09:43:08', "flickr_url" = '', "description" = 'The west of Ireland is so photogenic!', "photo_content_type" = 'image/jpeg' WHERE "id" = 15 -[paperclip] Saving attachments. - Photo Update (0.2ms) UPDATE "photos" SET "updated_at" = '2010-10-09 09:43:18', "created_at" = '2010-10-09 09:43:10', "photo_file_name" = 'Croagh Patrick Sunset.jpg', "title" = 'Croagh Patrick Sunset', "photo_file_size" = 133140, "photo_updated_at" = '2010-10-09 09:43:08', "flickr_url" = '', "description" = 'The west of Ireland is so photogenic!', "photo_content_type" = 'image/jpeg' WHERE "id" = 15 -[paperclip] Saving attachments. - Photo Update (0.2ms) UPDATE "photos" SET "updated_at" = '2010-10-09 09:43:18', "created_at" = '2010-10-09 09:43:10', "photo_file_name" = 'Croagh Patrick Sunset.jpg', "title" = 'Croagh Patrick Sunset', "photo_file_size" = 133140, "photo_updated_at" = '2010-10-09 09:43:08', "flickr_url" = '', "description" = 'The west of Ireland is so photogenic!', "photo_content_type" = 'image/jpeg' WHERE "id" = 15 -[paperclip] Saving attachments. - Photo Update (0.2ms) UPDATE "photos" SET "updated_at" = '2010-10-09 09:43:19', "created_at" = '2010-10-09 09:43:10', "photo_file_name" = 'Croagh Patrick Sunset.jpg', "title" = 'Croagh Patrick Sunset', "photo_file_size" = 133140, "photo_updated_at" = '2010-10-09 09:43:08', "flickr_url" = '', "description" = 'The west of Ireland is so photogenic!', "photo_content_type" = 'image/jpeg' WHERE "id" = 15 -[paperclip] Saving attachments. - Photo Update (0.2ms) UPDATE "photos" SET "updated_at" = '2010-10-09 09:43:19', "created_at" = '2010-10-09 09:43:10', "photo_file_name" = 'Croagh Patrick Sunset.jpg', "title" = 'Croagh Patrick Sunset', "photo_file_size" = 133140, "photo_updated_at" = '2010-10-09 09:43:08', "flickr_url" = '', "description" = 'The west of Ireland is so photogenic!', "photo_content_type" = 'image/jpeg' WHERE "id" = 15 -[paperclip] Saving attachments. - Photo Update (0.2ms) UPDATE "photos" SET "updated_at" = '2010-10-09 09:43:20', "created_at" = '2010-10-09 09:43:10', "photo_file_name" = 'Croagh Patrick Sunset.jpg', "title" = 'Croagh Patrick Sunset', "photo_file_size" = 133140, "photo_updated_at" = '2010-10-09 09:43:08', "flickr_url" = '', "description" = 'The west of Ireland is so photogenic!', "photo_content_type" = 'image/jpeg' WHERE "id" = 15 -[paperclip] Saving attachments. - Photo Update (0.2ms) UPDATE "photos" SET "updated_at" = '2010-10-09 09:43:21', "created_at" = '2010-10-09 09:43:10', "photo_file_name" = 'Croagh Patrick Sunset.jpg', "title" = 'Croagh Patrick Sunset', "photo_file_size" = 133140, "photo_updated_at" = '2010-10-09 09:43:08', "flickr_url" = '', "description" = 'The west of Ireland is so photogenic!', "photo_content_type" = 'image/jpeg' WHERE "id" = 15 -[paperclip] Saving attachments. - Photo Update (0.2ms) UPDATE "photos" SET "updated_at" = '2010-10-09 09:43:22', "created_at" = '2010-10-09 09:43:10', "photo_file_name" = 'Croagh Patrick Sunset.jpg', "title" = 'Croagh Patrick Sunset', "photo_file_size" = 133140, "photo_updated_at" = '2010-10-09 09:43:08', "flickr_url" = '', "description" = 'The west of Ireland is so photogenic!', "photo_content_type" = 'image/jpeg' WHERE "id" = 15 -[paperclip] Saving attachments. - Photo Update (0.2ms) UPDATE "photos" SET "updated_at" = '2010-10-09 09:43:22', "created_at" = '2010-10-09 09:43:10', "photo_file_name" = 'Croagh Patrick Sunset.jpg', "title" = 'Croagh Patrick Sunset', "photo_file_size" = 133140, "photo_updated_at" = '2010-10-09 09:43:08', "flickr_url" = '', "description" = 'The west of Ireland is so photogenic!', "photo_content_type" = 'image/jpeg' WHERE "id" = 15 -[paperclip] Saving attachments. - Photo Update (0.2ms) UPDATE "photos" SET "updated_at" = '2010-10-09 09:43:23', "created_at" = '2010-10-09 09:43:10', "photo_file_name" = 'Croagh Patrick Sunset.jpg', "title" = 'Croagh Patrick Sunset', "photo_file_size" = 133140, "photo_updated_at" = '2010-10-09 09:43:08', "flickr_url" = '', "description" = 'The west of Ireland is so photogenic!', "photo_content_type" = 'image/jpeg' WHERE "id" = 15 -[paperclip] Saving attachments. - Photo Update (0.2ms) UPDATE "photos" SET "updated_at" = '2010-10-09 09:43:24', "created_at" = '2010-10-09 09:43:10', "photo_file_name" = 'Croagh Patrick Sunset.jpg', "title" = 'Croagh Patrick Sunset', "photo_file_size" = 133140, "photo_updated_at" = '2010-10-09 09:43:08', "flickr_url" = '', "description" = 'The west of Ireland is so photogenic!', "photo_content_type" = 'image/jpeg' WHERE "id" = 15 -[paperclip] Saving attachments. - Photo Update (0.2ms) UPDATE "photos" SET "updated_at" = '2010-10-09 09:43:25', "created_at" = '2010-10-09 09:43:10', "photo_file_name" = 'Croagh Patrick Sunset.jpg', "title" = 'Croagh Patrick Sunset', "photo_file_size" = 133140, "photo_updated_at" = '2010-10-09 09:43:08', "flickr_url" = '', "description" = 'The west of Ireland is so photogenic!', "photo_content_type" = 'image/jpeg' WHERE "id" = 15 -[paperclip] Saving attachments. - Photo Update (0.2ms) UPDATE "photos" SET "updated_at" = '2010-10-09 09:43:26', "created_at" = '2010-10-09 09:43:10', "photo_file_name" = 'Croagh Patrick Sunset.jpg', "title" = 'Croagh Patrick Sunset', "photo_file_size" = 133140, "photo_updated_at" = '2010-10-09 09:43:08', "flickr_url" = '', "description" = 'The west of Ireland is so photogenic!', "photo_content_type" = 'image/jpeg' WHERE "id" = 15 -[paperclip] Saving attachments. - Photo Update (0.2ms) UPDATE "photos" SET "updated_at" = '2010-10-09 09:43:27', "created_at" = '2010-10-09 09:43:10', "photo_file_name" = 'Croagh Patrick Sunset.jpg', "title" = 'Croagh Patrick Sunset', "photo_file_size" = 133140, "photo_updated_at" = '2010-10-09 09:43:08', "flickr_url" = '', "description" = 'The west of Ireland is so photogenic!', "photo_content_type" = 'image/jpeg' WHERE "id" = 15 -[paperclip] Saving attachments. - Photo Update (0.3ms) UPDATE "photos" SET "updated_at" = '2010-10-09 09:43:28', "created_at" = '2010-10-09 09:43:10', "photo_file_name" = 'Croagh Patrick Sunset.jpg', "title" = 'Croagh Patrick Sunset', "photo_file_size" = 133140, "photo_updated_at" = '2010-10-09 09:43:08', "flickr_url" = '', "description" = 'The west of Ireland is so photogenic!', "photo_content_type" = 'image/jpeg' WHERE "id" = 15 -[paperclip] Saving attachments. - Photo Update (0.3ms) UPDATE "photos" SET "updated_at" = '2010-10-09 09:43:29', "created_at" = '2010-10-09 09:43:10', "photo_file_name" = 'Croagh Patrick Sunset.jpg', "title" = 'Croagh Patrick Sunset', "photo_file_size" = 133140, "photo_updated_at" = '2010-10-09 09:43:08', "flickr_url" = '', "description" = 'The west of Ireland is so photogenic!', "photo_content_type" = 'image/jpeg' WHERE "id" = 15 -[paperclip] Saving attachments. - Photo Update (0.3ms) UPDATE "photos" SET "updated_at" = '2010-10-09 09:43:30', "created_at" = '2010-10-09 09:43:10', "photo_file_name" = 'Croagh Patrick Sunset.jpg', "title" = 'Croagh Patrick Sunset', "photo_file_size" = 133140, "photo_updated_at" = '2010-10-09 09:43:08', "flickr_url" = '', "description" = 'The west of Ireland is so photogenic!', "photo_content_type" = 'image/jpeg' WHERE "id" = 15 -[paperclip] Saving attachments. - Photo Update (0.2ms) UPDATE "photos" SET "updated_at" = '2010-10-09 09:43:31', "created_at" = '2010-10-09 09:43:10', "photo_file_name" = 'Croagh Patrick Sunset.jpg', "title" = 'Croagh Patrick Sunset', "photo_file_size" = 133140, "photo_updated_at" = '2010-10-09 09:43:08', "flickr_url" = '', "description" = 'The west of Ireland is so photogenic!', "photo_content_type" = 'image/jpeg' WHERE "id" = 15 -[paperclip] Saving attachments. - Photo Update (0.2ms) UPDATE "photos" SET "updated_at" = '2010-10-09 09:43:32', "created_at" = '2010-10-09 09:43:10', "photo_file_name" = 'Croagh Patrick Sunset.jpg', "title" = 'Croagh Patrick Sunset', "photo_file_size" = 133140, "photo_updated_at" = '2010-10-09 09:43:08', "flickr_url" = '', "description" = 'The west of Ireland is so photogenic!', "photo_content_type" = 'image/jpeg' WHERE "id" = 15 -[paperclip] Saving attachments. - Photo Update (0.2ms) UPDATE "photos" SET "updated_at" = '2010-10-09 09:43:33', "created_at" = '2010-10-09 09:43:10', "photo_file_name" = 'Croagh Patrick Sunset.jpg', "title" = 'Croagh Patrick Sunset', "photo_file_size" = 133140, "photo_updated_at" = '2010-10-09 09:43:08', "flickr_url" = '', "description" = 'The west of Ireland is so photogenic!', "photo_content_type" = 'image/jpeg' WHERE "id" = 15 -[paperclip] Saving attachments. - Photo Update (0.2ms) UPDATE "photos" SET "updated_at" = '2010-10-09 09:43:34', "created_at" = '2010-10-09 09:43:10', "photo_file_name" = 'Croagh Patrick Sunset.jpg', "title" = 'Croagh Patrick Sunset', "photo_file_size" = 133140, "photo_updated_at" = '2010-10-09 09:43:08', "flickr_url" = '', "description" = 'The west of Ireland is so photogenic!', "photo_content_type" = 'image/jpeg' WHERE "id" = 15 -[paperclip] Saving attachments. - Photo Update (0.2ms) UPDATE "photos" SET "updated_at" = '2010-10-09 09:43:35', "created_at" = '2010-10-09 09:43:10', "photo_file_name" = 'Croagh Patrick Sunset.jpg', "title" = 'Croagh Patrick Sunset', "photo_file_size" = 133140, "photo_updated_at" = '2010-10-09 09:43:08', "flickr_url" = '', "description" = 'The west of Ireland is so photogenic!', "photo_content_type" = 'image/jpeg' WHERE "id" = 15 -[paperclip] Saving attachments. - Photo Update (0.4ms) UPDATE "photos" SET "updated_at" = '2010-10-09 09:43:37', "created_at" = '2010-10-09 09:43:10', "photo_file_name" = 'Croagh Patrick Sunset.jpg', "title" = 'Croagh Patrick Sunset', "photo_file_size" = 133140, "photo_updated_at" = '2010-10-09 09:43:08', "flickr_url" = '', "description" = 'The west of Ireland is so photogenic!', "photo_content_type" = 'image/jpeg' WHERE "id" = 15 -[paperclip] Saving attachments. - Photo Update (0.2ms) UPDATE "photos" SET "updated_at" = '2010-10-09 09:43:38', "created_at" = '2010-10-09 09:43:10', "photo_file_name" = 'Croagh Patrick Sunset.jpg', "title" = 'Croagh Patrick Sunset', "photo_file_size" = 133140, "photo_updated_at" = '2010-10-09 09:43:08', "flickr_url" = '', "description" = 'The west of Ireland is so photogenic!', "photo_content_type" = 'image/jpeg' WHERE "id" = 15 -[paperclip] Saving attachments. - Photo Update (0.2ms) UPDATE "photos" SET "updated_at" = '2010-10-09 09:43:39', "created_at" = '2010-10-09 09:43:10', "photo_file_name" = 'Croagh Patrick Sunset.jpg', "title" = 'Croagh Patrick Sunset', "photo_file_size" = 133140, "photo_updated_at" = '2010-10-09 09:43:08', "flickr_url" = '', "description" = 'The west of Ireland is so photogenic!', "photo_content_type" = 'image/jpeg' WHERE "id" = 15 -[paperclip] Saving attachments. - Photo Update (0.3ms) UPDATE "photos" SET "updated_at" = '2010-10-09 09:43:41', "created_at" = '2010-10-09 09:43:10', "photo_file_name" = 'Croagh Patrick Sunset.jpg', "title" = 'Croagh Patrick Sunset', "photo_file_size" = 133140, "photo_updated_at" = '2010-10-09 09:43:08', "flickr_url" = '', "description" = 'The west of Ireland is so photogenic!', "photo_content_type" = 'image/jpeg' WHERE "id" = 15 -[paperclip] Saving attachments. - Photo Update (0.3ms) UPDATE "photos" SET "updated_at" = '2010-10-09 09:43:42', "created_at" = '2010-10-09 09:43:10', "photo_file_name" = 'Croagh Patrick Sunset.jpg', "title" = 'Croagh Patrick Sunset', "photo_file_size" = 133140, "photo_updated_at" = '2010-10-09 09:43:08', "flickr_url" = '', "description" = 'The west of Ireland is so photogenic!', "photo_content_type" = 'image/jpeg' WHERE "id" = 15 -[paperclip] Saving attachments. - Photo Update (0.2ms) UPDATE "photos" SET "updated_at" = '2010-10-09 09:43:44', "created_at" = '2010-10-09 09:43:10', "photo_file_name" = 'Croagh Patrick Sunset.jpg', "title" = 'Croagh Patrick Sunset', "photo_file_size" = 133140, "photo_updated_at" = '2010-10-09 09:43:08', "flickr_url" = '', "description" = 'The west of Ireland is so photogenic!', "photo_content_type" = 'image/jpeg' WHERE "id" = 15 -[paperclip] Saving attachments. - Photo Update (0.2ms) UPDATE "photos" SET "updated_at" = '2010-10-09 09:43:45', "created_at" = '2010-10-09 09:43:10', "photo_file_name" = 'Croagh Patrick Sunset.jpg', "title" = 'Croagh Patrick Sunset', "photo_file_size" = 133140, "photo_updated_at" = '2010-10-09 09:43:08', "flickr_url" = '', "description" = 'The west of Ireland is so photogenic!', "photo_content_type" = 'image/jpeg' WHERE "id" = 15 -[paperclip] Saving attachments. - Photo Update (0.3ms) UPDATE "photos" SET "updated_at" = '2010-10-09 09:43:47', "created_at" = '2010-10-09 09:43:10', "photo_file_name" = 'Croagh Patrick Sunset.jpg', "title" = 'Croagh Patrick Sunset', "photo_file_size" = 133140, "photo_updated_at" = '2010-10-09 09:43:08', "flickr_url" = '', "description" = 'The west of Ireland is so photogenic!', "photo_content_type" = 'image/jpeg' WHERE "id" = 15 -[paperclip] Saving attachments. - Photo Update (0.2ms) UPDATE "photos" SET "updated_at" = '2010-10-09 09:43:49', "created_at" = '2010-10-09 09:43:10', "photo_file_name" = 'Croagh Patrick Sunset.jpg', "title" = 'Croagh Patrick Sunset', "photo_file_size" = 133140, "photo_updated_at" = '2010-10-09 09:43:08', "flickr_url" = '', "description" = 'The west of Ireland is so photogenic!', "photo_content_type" = 'image/jpeg' WHERE "id" = 15 -[paperclip] Saving attachments. - Photo Update (0.2ms) UPDATE "photos" SET "updated_at" = '2010-10-09 09:43:51', "created_at" = '2010-10-09 09:43:10', "photo_file_name" = 'Croagh Patrick Sunset.jpg', "title" = 'Croagh Patrick Sunset', "photo_file_size" = 133140, "photo_updated_at" = '2010-10-09 09:43:08', "flickr_url" = '', "description" = 'The west of Ireland is so photogenic!', "photo_content_type" = 'image/jpeg' WHERE "id" = 15 -[paperclip] Saving attachments. - - -Processing Admin::PhotosController#create (for 127.0.0.1 at 2010-10-09 05:44:12) [POST] - Parameters: {"photo"=>{"photo"=>#, "title"=>"Croagh Patrick Sunset", "flickr_url"=>"", "sort"=>"", "description"=>""}, "commit"=>"Create Photo", "action"=>"create", "authenticity_token"=>"MRMA5jN8F+L8Qu/qxudBGU2lL/82P68aMbmoNbKb5zw=", "controller"=>"admin/photos"} - TypusUser Load (0.3ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - SQL (0.6ms)  SELECT name - FROM sqlite_master - WHERE type = 'table' AND NOT name = 'sqlite_sequence' - - -NoMethodError (undefined method `after_post_processing' for #): - app/models/photo.rb:13 - vendor/plugins/typus/app/controllers/admin/master_controller.rb:277:in `set_resource' - -Rendered rescues/_trace (97.6ms) -Rendered rescues/_request_and_response (1.5ms) -Rendering rescues/layout (internal_server_error) - - -Processing Admin::PhotosController#create (for 127.0.0.1 at 2010-10-09 05:44:34) [POST] - Parameters: {"photo"=>{"photo"=>#, "title"=>"Croagh Patrick Sunset", "flickr_url"=>"", "sort"=>"", "description"=>""}, "commit"=>"Create Photo", "action"=>"create", "authenticity_token"=>"MRMA5jN8F+L8Qu/qxudBGU2lL/82P68aMbmoNbKb5zw=", "controller"=>"admin/photos"} - TypusUser Load (0.7ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-mrktxx-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-mrktxx-0.jpg[0]' -resize "x308" -crop "308x308+147+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-mrktxx-020101009-87161-9if1wr-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-mrktxx-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-mrktxx-0.jpg[0]' -resize "x224" -crop "224x224+107+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-mrktxx-020101009-87161-5n4pej-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-mrktxx-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-mrktxx-0.jpg[0]' -resize "x140" -crop "140x140+67+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-mrktxx-020101009-87161-yjv0b1-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-mrktxx-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-mrktxx-0.jpg[0]' -resize "1024x1024>" '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-mrktxx-020101009-87161-178mx0b-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-mrktxx-020101009-87161-178mx0b-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-mrktxx-020101009-87161-178mx0b-0[0]' -resize "x84" -crop "84x84+40+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-mrktxx-020101009-87161-178mx0b-020101009-87161-ir9b94-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-mrktxx-020101009-87161-178mx0b-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-mrktxx-020101009-87161-178mx0b-0[0]' -resize "x56" -crop "56x56+26+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-mrktxx-020101009-87161-178mx0b-020101009-87161-1qyom69-0' 2>/dev/null - -Errno::ENOENT (No such file or directory - /Users/danbee/Sites/rails/photos/public/system/photos//original/Croagh Patrick Sunset.jpg): - exifr (1.0.3) lib/jpeg.rb:29:in `initialize' - exifr (1.0.3) lib/jpeg.rb:29:in `open' - exifr (1.0.3) lib/jpeg.rb:29:in `initialize' - app/models/photo.rb:17:in `new' - app/models/photo.rb:17:in `get_exif' - vendor/plugins/typus/app/controllers/admin/master_controller.rb:92:in `create' - -Rendered rescues/_trace (150.6ms) -Rendered rescues/_request_and_response (0.5ms) -Rendering rescues/layout (internal_server_error) - - -Processing Admin::PhotosController#create (for 127.0.0.1 at 2010-10-09 05:47:53) [POST] - Parameters: {"photo"=>{"photo"=>#, "title"=>"Croagh Patrick Sunset", "flickr_url"=>"", "sort"=>"", "description"=>""}, "commit"=>"Create Photo", "action"=>"create", "authenticity_token"=>"MRMA5jN8F+L8Qu/qxudBGU2lL/82P68aMbmoNbKb5zw=", "controller"=>"admin/photos"} - TypusUser Load (0.7ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-2qbi0z-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-2qbi0z-0.jpg[0]' -resize "x308" -crop "308x308+147+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-2qbi0z-020101009-87161-oerhhk-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-2qbi0z-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-2qbi0z-0.jpg[0]' -resize "x224" -crop "224x224+107+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-2qbi0z-020101009-87161-q7cj6-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-2qbi0z-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-2qbi0z-0.jpg[0]' -resize "x140" -crop "140x140+67+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-2qbi0z-020101009-87161-1xyek95-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-2qbi0z-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-2qbi0z-0.jpg[0]' -resize "1024x1024>" '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-2qbi0z-020101009-87161-cc8r1l-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-2qbi0z-020101009-87161-cc8r1l-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-2qbi0z-020101009-87161-cc8r1l-0[0]' -resize "x84" -crop "84x84+40+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-2qbi0z-020101009-87161-cc8r1l-020101009-87161-dkxpwu-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-2qbi0z-020101009-87161-cc8r1l-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-2qbi0z-020101009-87161-cc8r1l-0[0]' -resize "x56" -crop "56x56+26+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-2qbi0z-020101009-87161-cc8r1l-020101009-87161-sgr7f4-0' 2>/dev/null - -Errno::ENOENT (No such file or directory - /Users/danbee/Sites/rails/photos/public/system/photos//original/Croagh Patrick Sunset.jpg): - exifr (1.0.3) lib/jpeg.rb:29:in `initialize' - exifr (1.0.3) lib/jpeg.rb:29:in `open' - exifr (1.0.3) lib/jpeg.rb:29:in `initialize' - app/models/photo.rb:17:in `new' - app/models/photo.rb:17:in `get_exif' - vendor/plugins/typus/app/controllers/admin/master_controller.rb:84:in `new' - vendor/plugins/typus/app/controllers/admin/master_controller.rb:84:in `create' - -Rendered rescues/_trace (46.6ms) -Rendered rescues/_request_and_response (0.9ms) -Rendering rescues/layout (internal_server_error) - - -Processing Admin::PhotosController#create (for 127.0.0.1 at 2010-10-09 05:52:37) [POST] - Parameters: {"photo"=>{"photo"=>#, "title"=>"Croagh Patrick Sunset", "flickr_url"=>"", "sort"=>"", "description"=>""}, "commit"=>"Create Photo", "action"=>"create", "authenticity_token"=>"MRMA5jN8F+L8Qu/qxudBGU2lL/82P68aMbmoNbKb5zw=", "controller"=>"admin/photos"} - TypusUser Load (0.9ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-1kbmloy-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-1kbmloy-0.jpg[0]' -resize "x308" -crop "308x308+147+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-1kbmloy-020101009-87161-1v3bbk0-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-1kbmloy-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-1kbmloy-0.jpg[0]' -resize "x224" -crop "224x224+107+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-1kbmloy-020101009-87161-m5iyrs-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-1kbmloy-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-1kbmloy-0.jpg[0]' -resize "x140" -crop "140x140+67+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-1kbmloy-020101009-87161-6rpvw4-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-1kbmloy-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-1kbmloy-0.jpg[0]' -resize "1024x1024>" '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-1kbmloy-020101009-87161-5q8pf9-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-1kbmloy-020101009-87161-5q8pf9-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-1kbmloy-020101009-87161-5q8pf9-0[0]' -resize "x84" -crop "84x84+40+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-1kbmloy-020101009-87161-5q8pf9-020101009-87161-y2e3q6-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-1kbmloy-020101009-87161-5q8pf9-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-1kbmloy-020101009-87161-5q8pf9-0[0]' -resize "x56" -crop "56x56+26+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-1kbmloy-020101009-87161-5q8pf9-020101009-87161-1820vgw-0' 2>/dev/null - Photo Create (1.0ms) INSERT INTO "photos" ("photo_file_size", "created_at", "title", "flickr_url", "photo_file_name", "updated_at", "photo_content_type", "photo_updated_at", "description", "sort") VALUES(133140, '2010-10-09 09:52:55', 'Croagh Patrick Sunset', '', 'Croagh Patrick Sunset.jpg', '2010-10-09 09:52:55', 'image/jpeg', '2010-10-09 09:52:37', '', NULL) -[paperclip] Saving attachments. -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/16/size11/Croagh Patrick Sunset.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/16/size8/Croagh Patrick Sunset.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/16/size5/Croagh Patrick Sunset.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/16/size3/Croagh Patrick Sunset.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/16/original/Croagh Patrick Sunset.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/16/size2/Croagh Patrick Sunset.jpg -Redirected to http://localhost:3000/admin/photos/edit/16 -Completed in 17854ms (DB: 2) | 302 Found [http://localhost/admin/photos/create] - - -Processing Admin::PhotosController#edit (for 127.0.0.1 at 2010-10-09 05:52:55) [GET] - Parameters: {"action"=>"edit", "id"=>"16", "controller"=>"admin/photos"} - TypusUser Load (0.6ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - Photo Load (0.3ms) SELECT * FROM "photos" WHERE ("photos"."id" = 16)  -Rendering template within layouts/admin -Rendering admin/resources/edit -Rendered admin/helpers/_list (0.6ms) -Rendered admin/helpers/_search (3.8ms) -Rendered admin/helpers/_preview (1.3ms) -Rendered admin/templates/_file (10.7ms) -Rendered admin/templates/_string (1.4ms) -Rendered admin/templates/_string (0.8ms) -Rendered admin/templates/_text (1.0ms) -Rendered admin/templates/_string (0.7ms) -Rendered admin/resources/_form (30.4ms) - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories"  - Category Load (0.5ms) SELECT * FROM "categories"  - Category Load (0.1ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 16 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 16)  - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 16 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 16)  - Category Load (0.1ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 16 ) ORDER BY categories.id ASC LIMIT 15 OFFSET 0 -Rendered admin/helpers/_header (0.7ms) -Rendered admin/helpers/_login_info (1.1ms) -Rendered admin/helpers/_flash_message (19.7ms) -Rendered admin/shared/_footer (0.7ms) -Completed in 261ms (View: 230, DB: 2) | 200 OK [http://localhost/admin/photos/edit/16] - - -Processing Admin::PhotosController#edit (for 127.0.0.1 at 2010-10-09 05:53:56) [GET] - Parameters: {"action"=>"edit", "id"=>"16", "controller"=>"admin/photos"} - TypusUser Load (1.1ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - Photo Load (0.3ms) SELECT * FROM "photos" WHERE ("photos"."id" = 16)  -Rendering template within layouts/admin -Rendering admin/resources/edit -Rendered admin/helpers/_list (0.1ms) -Rendered admin/helpers/_search (0.6ms) -Rendered admin/helpers/_preview (0.2ms) -Rendered admin/templates/_file (4.7ms) -Rendered admin/templates/_string (0.7ms) -Rendered admin/templates/_string (0.8ms) -Rendered admin/templates/_text (0.5ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/resources/_form (10.9ms) - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories"  - Category Load (0.5ms) SELECT * FROM "categories"  - Category Load (0.1ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 16 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 16)  - SQL (0.3ms) SELECT count(*) AS count_all FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 16 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 16)  - Category Load (0.2ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 16 ) ORDER BY categories.id ASC LIMIT 15 OFFSET 0 -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.4ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 58ms (View: 33, DB: 3) | 200 OK [http://localhost/admin/photos/edit/16] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 05:53:57) [GET] - Photo Load (1.8ms) SELECT * FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 134ms (View: 60, DB: 2) | 200 OK [http://localhost/photos] - - -Processing Admin::PhotosController#show (for 127.0.0.1 at 2010-10-09 05:54:01) [GET] - Parameters: {"action"=>"show", "id"=>"16", "controller"=>"admin/photos"} - TypusUser Load (0.6ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - Photo Load (0.4ms) SELECT * FROM "photos" WHERE ("photos"."id" = 16)  -Rendering template within layouts/admin -Rendering admin/resources/show -Rendered admin/helpers/_list (0.1ms) -Rendered admin/helpers/_search (0.5ms) - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories"  - Category Load (0.5ms) SELECT * FROM "categories"  - Category Load (0.1ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 16 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 16)  - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 16 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 16)  - Category Load (0.1ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 16 ) ORDER BY categories.id ASC LIMIT 15 OFFSET 0 -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.4ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 70ms (View: 44, DB: 2) | 200 OK [http://localhost/admin/photos/show/16] - - -Processing Admin::PhotosController#index (for 127.0.0.1 at 2010-10-09 05:54:03) [GET] - Parameters: {"action"=>"index", "controller"=>"admin/photos"} - TypusUser Load (0.6ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos"  -Rendering template within layouts/admin -Rendering admin/resources/index -Rendered admin/helpers/_list (0.1ms) -Rendered admin/helpers/_search (1.2ms) - Photo Load (1.5ms) SELECT "photos".* FROM "photos" ORDER BY photos.id ASC LIMIT 15 OFFSET 0 -Rendered admin/helpers/_table_header (1.1ms) - Category Load (0.6ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 1 )  - Category Load (0.4ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 2 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 3 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 4 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 5 )  - Category Load (0.4ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 6 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 7 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 8 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 10 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 11 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 12 )  - Category Load (0.4ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 13 )  - Category Load (0.1ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 14 )  - Category Load (0.1ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 15 )  - Category Load (0.1ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 16 )  -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.4ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 179ms (View: 95, DB: 7) | 200 OK [http://localhost/admin/photos] - - -Processing Admin::PhotosController#destroy (for 127.0.0.1 at 2010-10-09 05:54:07) [GET] - Parameters: {"action"=>"destroy", "id"=>"16", "controller"=>"admin/photos"} - TypusUser Load (0.6ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - Photo Load (0.3ms) SELECT * FROM "photos" WHERE ("photos"."id" = 16)  -[paperclip] Deleting attachments. -[paperclip] deleting /Users/danbee/Sites/rails/photos/public/system/photos/16/original/Croagh Patrick Sunset.jpg -[paperclip] deleting /Users/danbee/Sites/rails/photos/public/system/photos/16/size11/Croagh Patrick Sunset.jpg -[paperclip] deleting /Users/danbee/Sites/rails/photos/public/system/photos/16/size8/Croagh Patrick Sunset.jpg -[paperclip] deleting /Users/danbee/Sites/rails/photos/public/system/photos/16/size5/Croagh Patrick Sunset.jpg -[paperclip] deleting /Users/danbee/Sites/rails/photos/public/system/photos/16/size3/Croagh Patrick Sunset.jpg -[paperclip] deleting /Users/danbee/Sites/rails/photos/public/system/photos/16/size2/Croagh Patrick Sunset.jpg - Category Load (0.2ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 16 )  - Photo Destroy (0.2ms) DELETE FROM "photos" WHERE "id" = 16 -Redirected to http://localhost:3000/admin/photos -Completed in 103ms (DB: 1) | 302 Found [http://localhost/admin/photos/destroy/16] - - -Processing Admin::PhotosController#index (for 127.0.0.1 at 2010-10-09 05:54:07) [GET] - Parameters: {"action"=>"index", "controller"=>"admin/photos"} - TypusUser Load (0.7ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - SQL (0.3ms) SELECT count(*) AS count_all FROM "photos"  -Rendering template within layouts/admin -Rendering admin/resources/index -Rendered admin/helpers/_list (0.1ms) -Rendered admin/helpers/_search (0.6ms) - Photo Load (1.3ms) SELECT "photos".* FROM "photos" ORDER BY photos.id ASC LIMIT 15 OFFSET 0 -Rendered admin/helpers/_table_header (0.1ms) - Category Load (0.4ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 1 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 2 )  - Category Load (0.4ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 3 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 4 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 5 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 6 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 7 )  - Category Load (0.5ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 8 )  - Category Load (0.2ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 10 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 11 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 12 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 13 )  - Category Load (0.1ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 14 )  - Category Load (0.1ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 15 )  -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.4ms) -Rendered admin/helpers/_flash_message (0.1ms) -Rendered admin/shared/_footer (59.3ms) -Completed in 151ms (View: 115, DB: 6) | 200 OK [http://localhost/admin/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 05:54:09) [GET] - Photo Load (2.3ms) SELECT * FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 27ms (View: 17, DB: 2) | 200 OK [http://localhost/photos] - - -Processing Admin::PhotosController#new (for 127.0.0.1 at 2010-10-09 05:54:13) [GET] - Parameters: {"action"=>"new", "controller"=>"admin/photos"} - TypusUser Load (0.7ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  -Rendering template within layouts/admin -Rendering admin/resources/new -Rendered admin/helpers/_list (0.1ms) -Rendered admin/templates/_file (1.9ms) -Rendered admin/templates/_string (1.2ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/templates/_text (0.5ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/resources/_form (65.9ms) -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.4ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 105ms (View: 80, DB: 1) | 200 OK [http://localhost/admin/photos/new] - - -Processing Admin::PhotosController#create (for 127.0.0.1 at 2010-10-09 05:54:36) [POST] - Parameters: {"photo"=>{"photo"=>#, "title"=>"Doolough", "flickr_url"=>"", "sort"=>"", "description"=>""}, "commit"=>"Create Photo", "action"=>"create", "authenticity_token"=>"MRMA5jN8F+L8Qu/qxudBGU2lL/82P68aMbmoNbKb5zw=", "controller"=>"admin/photos"} - TypusUser Load (0.6ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-sa3tl0-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-sa3tl0-0.jpg[0]' -resize "308x" -crop "308x308+0+77" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-sa3tl0-020101009-87161-16e1jgc-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-sa3tl0-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-sa3tl0-0.jpg[0]' -resize "224x" -crop "224x224+0+56" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-sa3tl0-020101009-87161-a8zovc-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-sa3tl0-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-sa3tl0-0.jpg[0]' -resize "140x" -crop "140x140+0+35" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-sa3tl0-020101009-87161-1sk5m9t-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-sa3tl0-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-sa3tl0-0.jpg[0]' -resize "1024x1024>" '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-sa3tl0-020101009-87161-yx3dmp-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-sa3tl0-020101009-87161-yx3dmp-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-sa3tl0-020101009-87161-yx3dmp-0[0]' -resize "84x" -crop "84x84+0+20" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-sa3tl0-020101009-87161-yx3dmp-020101009-87161-oqj40b-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-sa3tl0-020101009-87161-yx3dmp-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-sa3tl0-020101009-87161-yx3dmp-0[0]' -resize "56x" -crop "56x56+0+13" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-sa3tl0-020101009-87161-yx3dmp-020101009-87161-19v0m20-0' 2>/dev/null - Photo Create (1.1ms) INSERT INTO "photos" ("photo_file_size", "created_at", "title", "flickr_url", "photo_file_name", "updated_at", "photo_content_type", "photo_updated_at", "description", "sort") VALUES(284028, '2010-10-09 09:54:39', 'Doolough', '', 'Doolough.jpg', '2010-10-09 09:54:39', 'image/jpeg', '2010-10-09 09:54:36', '', NULL) -[paperclip] Saving attachments. -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/17/size11/Doolough.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/17/size8/Doolough.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/17/size5/Doolough.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/17/size3/Doolough.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/17/original/Doolough.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/17/size2/Doolough.jpg -Redirected to http://localhost:3000/admin/photos/edit/17 -Completed in 12004ms (DB: 2) | 302 Found [http://localhost/admin/photos/create] - - -Processing Admin::PhotosController#edit (for 127.0.0.1 at 2010-10-09 05:54:48) [GET] - Parameters: {"action"=>"edit", "id"=>"17", "controller"=>"admin/photos"} - TypusUser Load (0.7ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - Photo Load (0.3ms) SELECT * FROM "photos" WHERE ("photos"."id" = 17)  -Rendering template within layouts/admin -Rendering admin/resources/edit -Rendered admin/helpers/_list (0.1ms) -Rendered admin/helpers/_search (0.6ms) -Rendered admin/helpers/_preview (0.2ms) -Rendered admin/templates/_file (6.2ms) -Rendered admin/templates/_string (0.8ms) -Rendered admin/templates/_string (0.7ms) -Rendered admin/templates/_text (0.5ms) -Rendered admin/templates/_string (0.7ms) -Rendered admin/resources/_form (13.7ms) - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories"  - Category Load (0.5ms) SELECT * FROM "categories"  - Category Load (0.2ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 17 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 17)  - SQL (0.3ms) SELECT count(*) AS count_all FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 17 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 17)  - Category Load (0.2ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 17 ) ORDER BY categories.id ASC LIMIT 15 OFFSET 0 -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.4ms) -Rendered admin/helpers/_flash_message (0.1ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 244ms (View: 216, DB: 2) | 200 OK [http://localhost/admin/photos/edit/17] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 05:55:18) [GET] - Photo Load (2.0ms) SELECT * FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 30ms (View: 20, DB: 2) | 200 OK [http://localhost/photos] - - -Processing Admin::PhotosController#new (for 127.0.0.1 at 2010-10-09 05:55:34) [GET] - Parameters: {"action"=>"new", "controller"=>"admin/photos"} - TypusUser Load (0.6ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  -Rendering template within layouts/admin -Rendering admin/resources/new -Rendered admin/helpers/_list (0.1ms) -Rendered admin/templates/_file (2.2ms) -Rendered admin/templates/_string (0.7ms) -Rendered admin/templates/_string (0.7ms) -Rendered admin/templates/_text (0.6ms) -Rendered admin/templates/_string (0.9ms) -Rendered admin/resources/_form (9.5ms) -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.4ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 100ms (View: 21, DB: 1) | 200 OK [http://localhost/admin/photos/new] - - -Processing Admin::PhotosController#create (for 127.0.0.1 at 2010-10-09 05:55:45) [POST] - Parameters: {"photo"=>{"photo"=>#, "title"=>"Dragonfly", "flickr_url"=>"", "sort"=>"", "description"=>""}, "commit"=>"Create Photo", "action"=>"create", "authenticity_token"=>"MRMA5jN8F+L8Qu/qxudBGU2lL/82P68aMbmoNbKb5zw=", "controller"=>"admin/photos"} - TypusUser Load (0.6ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-auwv40-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-auwv40-0.jpg[0]' -resize "x308" -crop "308x308+82+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-auwv40-020101009-87161-1d3ctm8-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-auwv40-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-auwv40-0.jpg[0]' -resize "x224" -crop "224x224+59+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-auwv40-020101009-87161-171x8eu-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-auwv40-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-auwv40-0.jpg[0]' -resize "x140" -crop "140x140+37+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-auwv40-020101009-87161-1sdmlje-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-auwv40-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-auwv40-0.jpg[0]' -resize "1024x1024>" '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-auwv40-020101009-87161-sjzmz7-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-auwv40-020101009-87161-sjzmz7-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-auwv40-020101009-87161-sjzmz7-0[0]' -resize "x84" -crop "84x84+22+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-auwv40-020101009-87161-sjzmz7-020101009-87161-140rl5u-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-auwv40-020101009-87161-sjzmz7-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-auwv40-020101009-87161-sjzmz7-0[0]' -resize "x56" -crop "56x56+14+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-auwv40-020101009-87161-sjzmz7-020101009-87161-3cvai-0' 2>/dev/null - Photo Create (0.4ms) INSERT INTO "photos" ("photo_file_size", "created_at", "title", "flickr_url", "photo_file_name", "updated_at", "photo_content_type", "photo_updated_at", "description", "sort") VALUES(262475, '2010-10-09 09:55:47', 'Dragonfly', '', 'Dragonfly.jpg', '2010-10-09 09:55:47', 'image/jpeg', '2010-10-09 09:55:45', '', NULL) -[paperclip] Saving attachments. -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/18/size11/Dragonfly.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/18/size8/Dragonfly.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/18/size5/Dragonfly.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/18/size3/Dragonfly.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/18/original/Dragonfly.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/18/size2/Dragonfly.jpg -Redirected to http://localhost:3000/admin/photos/edit/18 -Completed in 33067ms (DB: 1) | 302 Found [http://localhost/admin/photos/create] - - -Processing Admin::PhotosController#edit (for 127.0.0.1 at 2010-10-09 05:56:18) [GET] - Parameters: {"action"=>"edit", "id"=>"18", "controller"=>"admin/photos"} - TypusUser Load (0.8ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - Photo Load (0.3ms) SELECT * FROM "photos" WHERE ("photos"."id" = 18)  -Rendering template within layouts/admin -Rendering admin/resources/edit -Rendered admin/helpers/_list (0.1ms) -Rendered admin/helpers/_search (0.6ms) -Rendered admin/helpers/_preview (0.2ms) -Rendered admin/templates/_file (6.0ms) -Rendered admin/templates/_string (1.0ms) -Rendered admin/templates/_string (0.7ms) -Rendered admin/templates/_text (0.5ms) -Rendered admin/templates/_string (0.7ms) -Rendered admin/resources/_form (13.1ms) - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories"  - Category Load (0.5ms) SELECT * FROM "categories"  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 18 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 18)  - SQL (0.3ms) SELECT count(*) AS count_all FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 18 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 18)  - Category Load (0.2ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 18 ) ORDER BY categories.id ASC LIMIT 15 OFFSET 0 -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.4ms) -Rendered admin/helpers/_flash_message (0.1ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 123ms (View: 95, DB: 3) | 200 OK [http://localhost/admin/photos/edit/18] - - -Processing Admin::PhotosController#new (for 127.0.0.1 at 2010-10-09 05:56:58) [GET] - Parameters: {"action"=>"new", "controller"=>"admin/photos"} - TypusUser Load (0.7ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  -Rendering template within layouts/admin -Rendering admin/resources/new -Rendered admin/helpers/_list (0.1ms) -Rendered admin/templates/_file (2.0ms) -Rendered admin/templates/_string (0.7ms) -Rendered admin/templates/_string (0.7ms) -Rendered admin/templates/_text (0.5ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/resources/_form (8.6ms) -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.4ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 45ms (View: 21, DB: 1) | 200 OK [http://localhost/admin/photos/new] - - -Processing Admin::PhotosController#create (for 127.0.0.1 at 2010-10-09 05:57:15) [POST] - Parameters: {"photo"=>{"photo"=>#, "title"=>"Famine Monument at Murrisk", "flickr_url"=>"", "sort"=>"", "description"=>""}, "commit"=>"Create Photo", "action"=>"create", "authenticity_token"=>"MRMA5jN8F+L8Qu/qxudBGU2lL/82P68aMbmoNbKb5zw=", "controller"=>"admin/photos"} - TypusUser Load (0.9ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-15p81zu-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-15p81zu-0.jpg[0]' -resize "x308" -crop "308x308+77+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-15p81zu-020101009-87161-knf8e3-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-15p81zu-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-15p81zu-0.jpg[0]' -resize "x224" -crop "224x224+56+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-15p81zu-020101009-87161-afs9fn-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-15p81zu-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-15p81zu-0.jpg[0]' -resize "x140" -crop "140x140+35+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-15p81zu-020101009-87161-1eiv2gu-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-15p81zu-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-15p81zu-0.jpg[0]' -resize "1024x1024>" '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-15p81zu-020101009-87161-1sv0wg1-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-15p81zu-020101009-87161-1sv0wg1-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-15p81zu-020101009-87161-1sv0wg1-0[0]' -resize "x84" -crop "84x84+20+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-15p81zu-020101009-87161-1sv0wg1-020101009-87161-427c6n-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-15p81zu-020101009-87161-1sv0wg1-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-15p81zu-020101009-87161-1sv0wg1-0[0]' -resize "x56" -crop "56x56+13+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-15p81zu-020101009-87161-1sv0wg1-020101009-87161-1ephlxk-0' 2>/dev/null - Photo Create (0.6ms) INSERT INTO "photos" ("photo_file_size", "created_at", "title", "flickr_url", "photo_file_name", "updated_at", "photo_content_type", "photo_updated_at", "description", "sort") VALUES(238370, '2010-10-09 09:57:18', 'Famine Monument at Murrisk', '', 'Famine Monument at Murrisk.jpg', '2010-10-09 09:57:18', 'image/jpeg', '2010-10-09 09:57:15', '', NULL) -[paperclip] Saving attachments. -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/19/size11/Famine Monument at Murrisk.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/19/size8/Famine Monument at Murrisk.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/19/size5/Famine Monument at Murrisk.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/19/size3/Famine Monument at Murrisk.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/19/original/Famine Monument at Murrisk.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/19/size2/Famine Monument at Murrisk.jpg -Redirected to http://localhost:3000/admin/photos/edit/19 -Completed in 3267ms (DB: 1) | 302 Found [http://localhost/admin/photos/create] - - -Processing Admin::PhotosController#edit (for 127.0.0.1 at 2010-10-09 05:57:18) [GET] - Parameters: {"action"=>"edit", "id"=>"19", "controller"=>"admin/photos"} - TypusUser Load (0.7ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - Photo Load (0.5ms) SELECT * FROM "photos" WHERE ("photos"."id" = 19)  -Rendering template within layouts/admin -Rendering admin/resources/edit -Rendered admin/helpers/_list (0.2ms) -Rendered admin/helpers/_search (0.9ms) -Rendered admin/helpers/_preview (0.2ms) -Rendered admin/templates/_file (8.4ms) -Rendered admin/templates/_string (0.8ms) -Rendered admin/templates/_string (0.8ms) -Rendered admin/templates/_text (0.6ms) -Rendered admin/templates/_string (1.2ms) -Rendered admin/resources/_form (17.5ms) - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories"  - Category Load (0.5ms) SELECT * FROM "categories"  - Category Load (0.2ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 19 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 19)  - SQL (0.3ms) SELECT count(*) AS count_all FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 19 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 19)  - Category Load (0.2ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 19 ) ORDER BY categories.id ASC LIMIT 15 OFFSET 0 -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.8ms) -Rendered admin/helpers/_flash_message (0.1ms) -Rendered admin/shared/_footer (0.4ms) -Completed in 81ms (View: 47, DB: 3) | 200 OK [http://localhost/admin/photos/edit/19] - - -Processing Admin::PhotosController#new (for 127.0.0.1 at 2010-10-09 05:57:20) [GET] - Parameters: {"action"=>"new", "controller"=>"admin/photos"} - TypusUser Load (0.6ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  -Rendering template within layouts/admin -Rendering admin/resources/new -Rendered admin/helpers/_list (0.2ms) -Rendered admin/templates/_file (2.0ms) -Rendered admin/templates/_string (0.7ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/templates/_text (0.5ms) -Rendered admin/templates/_string (1.0ms) -Rendered admin/resources/_form (9.0ms) -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.4ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 103ms (View: 81, DB: 1) | 200 OK [http://localhost/admin/photos/new] - - -Processing Admin::PhotosController#new (for 127.0.0.1 at 2010-10-09 06:04:10) [GET] - Parameters: {"action"=>"new", "controller"=>"admin/photos"} - TypusUser Load (0.6ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  -Rendering template within layouts/admin -Rendering admin/resources/new -Rendered admin/helpers/_list (0.1ms) -Rendered admin/templates/_file (2.0ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/templates/_text (0.5ms) -Rendered admin/templates/_string (0.5ms) -Rendered admin/resources/_form (8.5ms) -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.4ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 53ms (View: 21, DB: 1) | 200 OK [http://localhost/admin/photos/new] - - -Processing Admin::PhotosController#new (for 127.0.0.1 at 2010-10-09 06:04:14) [GET] - Parameters: {"action"=>"new", "controller"=>"admin/photos"} - TypusUser Load (0.6ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  -Rendering template within layouts/admin -Rendering admin/resources/new -Rendered admin/helpers/_list (0.1ms) -Rendered admin/templates/_file (1.9ms) -Rendered admin/templates/_string (0.7ms) -Rendered admin/templates/_string (0.5ms) -Rendered admin/templates/_text (0.5ms) -Rendered admin/templates/_string (0.5ms) -Rendered admin/resources/_form (7.9ms) -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.4ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 100ms (View: 19, DB: 1) | 200 OK [http://localhost/admin/photos/new] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 06:04:39) [GET] - Photo Load (1.8ms) SELECT * FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 26ms (View: 17, DB: 2) | 200 OK [http://localhost/photos] - - -Processing Admin::PhotosController#create (for 127.0.0.1 at 2010-10-09 06:04:54) [POST] - Parameters: {"photo"=>{"photo"=>#, "title"=>"Halfway There", "flickr_url"=>"", "sort"=>"", "description"=>""}, "commit"=>"Create Photo", "action"=>"create", "authenticity_token"=>"MRMA5jN8F+L8Qu/qxudBGU2lL/82P68aMbmoNbKb5zw=", "controller"=>"admin/photos"} - TypusUser Load (0.6ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-1opp1ql-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-1opp1ql-0.jpg[0]' -resize "308x" -crop "308x308+0+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-1opp1ql-020101009-87161-1bpiiql-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-1opp1ql-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-1opp1ql-0.jpg[0]' -resize "224x" -crop "224x224+0+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-1opp1ql-020101009-87161-vdoyqs-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-1opp1ql-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-1opp1ql-0.jpg[0]' -resize "140x" -crop "140x140+0+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-1opp1ql-020101009-87161-5bc6zt-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-1opp1ql-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-1opp1ql-0.jpg[0]' -resize "1024x1024>" '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-1opp1ql-020101009-87161-j4oaql-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-1opp1ql-020101009-87161-j4oaql-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-1opp1ql-020101009-87161-j4oaql-0[0]' -resize "84x" -crop "84x84+0+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-1opp1ql-020101009-87161-j4oaql-020101009-87161-1kh0hig-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-1opp1ql-020101009-87161-j4oaql-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-1opp1ql-020101009-87161-j4oaql-0[0]' -resize "56x" -crop "56x56+0+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-1opp1ql-020101009-87161-j4oaql-020101009-87161-17qmczv-0' 2>/dev/null - Photo Create (0.6ms) INSERT INTO "photos" ("photo_file_size", "created_at", "title", "flickr_url", "photo_file_name", "updated_at", "photo_content_type", "photo_updated_at", "description", "sort") VALUES(539439, '2010-10-09 10:04:57', 'Halfway There', '', 'Halfway There.jpg', '2010-10-09 10:04:57', 'image/jpeg', '2010-10-09 10:04:55', '', NULL) -[paperclip] Saving attachments. -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/20/size11/Halfway There.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/20/size8/Halfway There.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/20/size5/Halfway There.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/20/size3/Halfway There.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/20/original/Halfway There.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/20/size2/Halfway There.jpg -Redirected to http://localhost:3000/admin/photos/edit/20 -Completed in 2396ms (DB: 1) | 302 Found [http://localhost/admin/photos/create] - - -Processing Admin::PhotosController#edit (for 127.0.0.1 at 2010-10-09 06:04:57) [GET] - Parameters: {"action"=>"edit", "id"=>"20", "controller"=>"admin/photos"} - TypusUser Load (0.6ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - Photo Load (0.5ms) SELECT * FROM "photos" WHERE ("photos"."id" = 20)  -Rendering template within layouts/admin -Rendering admin/resources/edit -Rendered admin/helpers/_list (0.1ms) -Rendered admin/helpers/_search (0.7ms) -Rendered admin/helpers/_preview (0.2ms) -Rendered admin/templates/_file (5.4ms) -Rendered admin/templates/_string (0.7ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/templates/_text (0.5ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/resources/_form (11.4ms) - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories"  - Category Load (0.5ms) SELECT * FROM "categories"  - Category Load (0.1ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 20 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 20)  - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 20 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 20)  - Category Load (0.2ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 20 ) ORDER BY categories.id ASC LIMIT 15 OFFSET 0 -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.4ms) -Rendered admin/helpers/_flash_message (0.1ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 70ms (View: 36, DB: 2) | 200 OK [http://localhost/admin/photos/edit/20] - - -Processing Admin::PhotosController#new (for 127.0.0.1 at 2010-10-09 06:05:05) [GET] - Parameters: {"action"=>"new", "controller"=>"admin/photos"} - TypusUser Load (0.7ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  -Rendering template within layouts/admin -Rendering admin/resources/new -Rendered admin/helpers/_list (0.1ms) -Rendered admin/templates/_file (1.9ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/templates/_string (0.9ms) -Rendered admin/templates/_text (0.5ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/resources/_form (8.8ms) -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.4ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 45ms (View: 22, DB: 1) | 200 OK [http://localhost/admin/photos/new] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 06:05:07) [GET] - Photo Load (2.1ms) SELECT * FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 29ms (View: 19, DB: 2) | 200 OK [http://localhost/photos] - - -Processing Admin::PhotosController#create (for 127.0.0.1 at 2010-10-09 06:05:24) [POST] - Parameters: {"photo"=>{"photo"=>#, "title"=>"House on the Hill", "flickr_url"=>"", "sort"=>"", "description"=>""}, "commit"=>"Create Photo", "action"=>"create", "authenticity_token"=>"MRMA5jN8F+L8Qu/qxudBGU2lL/82P68aMbmoNbKb5zw=", "controller"=>"admin/photos"} - TypusUser Load (0.9ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-bhlem9-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-bhlem9-0.jpg[0]' -resize "308x" -crop "308x308+0+47" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-bhlem9-020101009-87161-1xzv54d-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-bhlem9-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-bhlem9-0.jpg[0]' -resize "224x" -crop "224x224+0+34" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-bhlem9-020101009-87161-1qh1dqd-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-bhlem9-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-bhlem9-0.jpg[0]' -resize "140x" -crop "140x140+0+21" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-bhlem9-020101009-87161-iiflyl-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-bhlem9-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-bhlem9-0.jpg[0]' -resize "1024x1024>" '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-bhlem9-020101009-87161-geq4fa-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-bhlem9-020101009-87161-geq4fa-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-bhlem9-020101009-87161-geq4fa-0[0]' -resize "84x" -crop "84x84+0+12" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-bhlem9-020101009-87161-geq4fa-020101009-87161-qf3jlt-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-bhlem9-020101009-87161-geq4fa-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-bhlem9-020101009-87161-geq4fa-0[0]' -resize "56x" -crop "56x56+0+8" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-bhlem9-020101009-87161-geq4fa-020101009-87161-1o92nef-0' 2>/dev/null - Photo Create (0.5ms) INSERT INTO "photos" ("photo_file_size", "created_at", "title", "flickr_url", "photo_file_name", "updated_at", "photo_content_type", "photo_updated_at", "description", "sort") VALUES(377139, '2010-10-09 10:05:26', 'House on the Hill', '', 'House on the HIll.jpg', '2010-10-09 10:05:26', 'image/jpeg', '2010-10-09 10:05:24', '', NULL) -[paperclip] Saving attachments. -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/21/size11/House on the HIll.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/21/size8/House on the HIll.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/21/size5/House on the HIll.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/21/size3/House on the HIll.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/21/original/House on the HIll.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/21/size2/House on the HIll.jpg -Redirected to http://localhost:3000/admin/photos/edit/21 -Completed in 1883ms (DB: 1) | 302 Found [http://localhost/admin/photos/create] - - -Processing Admin::PhotosController#edit (for 127.0.0.1 at 2010-10-09 06:05:26) [GET] - Parameters: {"action"=>"edit", "id"=>"21", "controller"=>"admin/photos"} - TypusUser Load (0.9ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - Photo Load (0.4ms) SELECT * FROM "photos" WHERE ("photos"."id" = 21)  -Rendering template within layouts/admin -Rendering admin/resources/edit -Rendered admin/helpers/_list (0.2ms) -Rendered admin/helpers/_search (0.6ms) -Rendered admin/helpers/_preview (0.2ms) -Rendered admin/templates/_file (5.3ms) -Rendered admin/templates/_string (1.3ms) -Rendered admin/templates/_string (1.1ms) -Rendered admin/templates/_text (1.0ms) -Rendered admin/templates/_string (1.2ms) -Rendered admin/resources/_form (15.2ms) - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories"  - Category Load (0.6ms) SELECT * FROM "categories"  - Category Load (0.2ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 21 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 21)  - SQL (0.4ms) SELECT count(*) AS count_all FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 21 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 21)  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 21 ) ORDER BY categories.id ASC LIMIT 15 OFFSET 0 -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.7ms) -Rendered admin/helpers/_flash_message (0.1ms) -Rendered admin/shared/_footer (0.3ms) -Completed in 157ms (View: 121, DB: 3) | 200 OK [http://localhost/admin/photos/edit/21] - - -Processing Admin::PhotosController#new (for 127.0.0.1 at 2010-10-09 06:05:57) [GET] - Parameters: {"action"=>"new", "controller"=>"admin/photos"} - TypusUser Load (0.6ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  -Rendering template within layouts/admin -Rendering admin/resources/new -Rendered admin/helpers/_list (0.1ms) -Rendered admin/templates/_file (2.0ms) -Rendered admin/templates/_string (0.7ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/templates/_text (0.6ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/resources/_form (8.5ms) -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.4ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 42ms (View: 20, DB: 1) | 200 OK [http://localhost/admin/photos/new] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 06:05:58) [GET] - Photo Load (2.1ms) SELECT * FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 30ms (View: 21, DB: 2) | 200 OK [http://localhost/photos] - - -Processing Admin::PhotosController#create (for 127.0.0.1 at 2010-10-09 06:06:15) [POST] - Parameters: {"photo"=>{"photo"=>#, "title"=>"House through the Doorway", "flickr_url"=>"", "sort"=>"", "description"=>""}, "commit"=>"Create Photo", "action"=>"create", "authenticity_token"=>"MRMA5jN8F+L8Qu/qxudBGU2lL/82P68aMbmoNbKb5zw=", "controller"=>"admin/photos"} - TypusUser Load (1.0ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-m7gni5-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-m7gni5-0.jpg[0]' -resize "308x" -crop "308x308+0+63" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-m7gni5-020101009-87161-7xhz8u-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-m7gni5-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-m7gni5-0.jpg[0]' -resize "224x" -crop "224x224+0+46" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-m7gni5-020101009-87161-18mwr03-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-m7gni5-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-m7gni5-0.jpg[0]' -resize "140x" -crop "140x140+0+28" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-m7gni5-020101009-87161-1ia5l3l-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-m7gni5-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-m7gni5-0.jpg[0]' -resize "1024x1024>" '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-m7gni5-020101009-87161-1hsc2d0-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-m7gni5-020101009-87161-1hsc2d0-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-m7gni5-020101009-87161-1hsc2d0-0[0]' -resize "84x" -crop "84x84+0+17" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-m7gni5-020101009-87161-1hsc2d0-020101009-87161-1d2n0mw-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-m7gni5-020101009-87161-1hsc2d0-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-m7gni5-020101009-87161-1hsc2d0-0[0]' -resize "56x" -crop "56x56+0+11" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-m7gni5-020101009-87161-1hsc2d0-020101009-87161-1wev9y4-0' 2>/dev/null - Photo Create (0.5ms) INSERT INTO "photos" ("photo_file_size", "created_at", "title", "flickr_url", "photo_file_name", "updated_at", "photo_content_type", "photo_updated_at", "description", "sort") VALUES(183360, '2010-10-09 10:06:17', 'House through the Doorway', '', 'House through the Doorway.jpg', '2010-10-09 10:06:17', 'image/jpeg', '2010-10-09 10:06:15', '', NULL) -[paperclip] Saving attachments. -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/22/size11/House through the Doorway.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/22/size8/House through the Doorway.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/22/size5/House through the Doorway.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/22/size3/House through the Doorway.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/22/original/House through the Doorway.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/22/size2/House through the Doorway.jpg -Redirected to http://localhost:3000/admin/photos/edit/22 -Completed in 2324ms (DB: 1) | 302 Found [http://localhost/admin/photos/create] - - -Processing Admin::PhotosController#edit (for 127.0.0.1 at 2010-10-09 06:06:17) [GET] - Parameters: {"action"=>"edit", "id"=>"22", "controller"=>"admin/photos"} - TypusUser Load (0.7ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - Photo Load (0.6ms) SELECT * FROM "photos" WHERE ("photos"."id" = 22)  -Rendering template within layouts/admin -Rendering admin/resources/edit -Rendered admin/helpers/_list (0.1ms) -Rendered admin/helpers/_search (0.7ms) -Rendered admin/helpers/_preview (0.2ms) -Rendered admin/templates/_file (5.7ms) -Rendered admin/templates/_string (0.8ms) -Rendered admin/templates/_string (0.7ms) -Rendered admin/templates/_text (0.5ms) -Rendered admin/templates/_string (0.7ms) -Rendered admin/resources/_form (12.6ms) - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories"  - Category Load (0.6ms) SELECT * FROM "categories"  - Category Load (0.1ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 22 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 22)  - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 22 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 22)  - Category Load (0.2ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 22 ) ORDER BY categories.id ASC LIMIT 15 OFFSET 0 -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.4ms) -Rendered admin/helpers/_flash_message (0.1ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 66ms (View: 37, DB: 3) | 200 OK [http://localhost/admin/photos/edit/22] - - -Processing Admin::PhotosController#new (for 127.0.0.1 at 2010-10-09 06:06:19) [GET] - Parameters: {"action"=>"new", "controller"=>"admin/photos"} - TypusUser Load (0.6ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  -Rendering template within layouts/admin -Rendering admin/resources/new -Rendered admin/helpers/_list (0.1ms) -Rendered admin/templates/_file (1.9ms) -Rendered admin/templates/_string (0.7ms) -Rendered admin/templates/_string (0.7ms) -Rendered admin/templates/_text (0.5ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/resources/_form (8.2ms) -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.4ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 41ms (View: 19, DB: 1) | 200 OK [http://localhost/admin/photos/new] - - -Processing Admin::PhotosController#create (for 127.0.0.1 at 2010-10-09 06:06:35) [POST] - Parameters: {"photo"=>{"photo"=>#, "title"=>"Light & Shade", "flickr_url"=>"", "sort"=>"", "description"=>""}, "commit"=>"Create Photo", "action"=>"create", "authenticity_token"=>"MRMA5jN8F+L8Qu/qxudBGU2lL/82P68aMbmoNbKb5zw=", "controller"=>"admin/photos"} - TypusUser Load (1.0ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-1hm2sjn-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-1hm2sjn-0.jpg[0]' -resize "308x" -crop "308x308+0+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-1hm2sjn-020101009-87161-7pypq9-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-1hm2sjn-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-1hm2sjn-0.jpg[0]' -resize "224x" -crop "224x224+0+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-1hm2sjn-020101009-87161-39qfsg-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-1hm2sjn-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-1hm2sjn-0.jpg[0]' -resize "140x" -crop "140x140+0+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-1hm2sjn-020101009-87161-138ugb6-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-1hm2sjn-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-1hm2sjn-0.jpg[0]' -resize "1024x1024>" '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-1hm2sjn-020101009-87161-1x757t4-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-1hm2sjn-020101009-87161-1x757t4-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-1hm2sjn-020101009-87161-1x757t4-0[0]' -resize "84x" -crop "84x84+0+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-1hm2sjn-020101009-87161-1x757t4-020101009-87161-1sbpfm6-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-1hm2sjn-020101009-87161-1x757t4-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-1hm2sjn-020101009-87161-1x757t4-0[0]' -resize "56x" -crop "56x56+0+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-1hm2sjn-020101009-87161-1x757t4-020101009-87161-1rdc02u-0' 2>/dev/null - Photo Create (0.7ms) INSERT INTO "photos" ("photo_file_size", "created_at", "title", "flickr_url", "photo_file_name", "updated_at", "photo_content_type", "photo_updated_at", "description", "sort") VALUES(935147, '2010-10-09 10:06:37', 'Light & Shade', '', 'Light and Shade.jpg', '2010-10-09 10:06:37', 'image/jpeg', '2010-10-09 10:06:35', '', NULL) -[paperclip] Saving attachments. -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/23/size11/Light and Shade.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/23/size8/Light and Shade.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/23/size5/Light and Shade.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/23/size3/Light and Shade.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/23/original/Light and Shade.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/23/size2/Light and Shade.jpg -Redirected to http://localhost:3000/admin/photos/edit/23 -Completed in 2373ms (DB: 2) | 302 Found [http://localhost/admin/photos/create] - - -Processing Admin::PhotosController#edit (for 127.0.0.1 at 2010-10-09 06:06:38) [GET] - Parameters: {"action"=>"edit", "id"=>"23", "controller"=>"admin/photos"} - TypusUser Load (0.7ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - Photo Load (0.5ms) SELECT * FROM "photos" WHERE ("photos"."id" = 23)  -Rendering template within layouts/admin -Rendering admin/resources/edit -Rendered admin/helpers/_list (0.1ms) -Rendered admin/helpers/_search (0.6ms) -Rendered admin/helpers/_preview (0.2ms) -Rendered admin/templates/_file (5.2ms) -Rendered admin/templates/_string (1.3ms) -Rendered admin/templates/_string (1.1ms) -Rendered admin/templates/_text (0.8ms) -Rendered admin/templates/_string (1.0ms) -Rendered admin/resources/_form (14.4ms) - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories"  - Category Load (0.5ms) SELECT * FROM "categories"  - Category Load (0.1ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 23 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 23)  - SQL (0.3ms) SELECT count(*) AS count_all FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 23 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 23)  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 23 ) ORDER BY categories.id ASC LIMIT 15 OFFSET 0 -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.7ms) -Rendered admin/helpers/_flash_message (0.1ms) -Rendered admin/shared/_footer (0.4ms) -Completed in 77ms (View: 43, DB: 3) | 200 OK [http://localhost/admin/photos/edit/23] - - -Processing Admin::PhotosController#new (for 127.0.0.1 at 2010-10-09 06:06:41) [GET] - Parameters: {"action"=>"new", "controller"=>"admin/photos"} - TypusUser Load (0.6ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  -Rendering template within layouts/admin -Rendering admin/resources/new -Rendered admin/helpers/_list (0.1ms) -Rendered admin/templates/_file (2.0ms) -Rendered admin/templates/_string (1.0ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/templates/_text (0.5ms) -Rendered admin/templates/_string (0.7ms) -Rendered admin/resources/_form (8.6ms) -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.4ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 43ms (View: 21, DB: 1) | 200 OK [http://localhost/admin/photos/new] - - -Processing Admin::PhotosController#create (for 127.0.0.1 at 2010-10-09 06:06:59) [POST] - Parameters: {"photo"=>{"photo"=>#, "title"=>"Moody Me", "flickr_url"=>"", "sort"=>"", "description"=>""}, "commit"=>"Create Photo", "action"=>"create", "authenticity_token"=>"MRMA5jN8F+L8Qu/qxudBGU2lL/82P68aMbmoNbKb5zw=", "controller"=>"admin/photos"} - TypusUser Load (0.8ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-ip5vdn-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-ip5vdn-0.jpg[0]' -resize "308x" -crop "308x308+0+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-ip5vdn-020101009-87161-1pxj2kk-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-ip5vdn-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-ip5vdn-0.jpg[0]' -resize "224x" -crop "224x224+0+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-ip5vdn-020101009-87161-eombi2-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-ip5vdn-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-ip5vdn-0.jpg[0]' -resize "140x" -crop "140x140+0+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-ip5vdn-020101009-87161-zb0fg8-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-ip5vdn-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-ip5vdn-0.jpg[0]' -resize "1024x1024>" '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-ip5vdn-020101009-87161-1fngl66-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-ip5vdn-020101009-87161-1fngl66-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-ip5vdn-020101009-87161-1fngl66-0[0]' -resize "84x" -crop "84x84+0+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-ip5vdn-020101009-87161-1fngl66-020101009-87161-1f8xgon-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-ip5vdn-020101009-87161-1fngl66-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-ip5vdn-020101009-87161-1fngl66-0[0]' -resize "56x" -crop "56x56+0+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101009-87161-ip5vdn-020101009-87161-1fngl66-020101009-87161-uj60q-0' 2>/dev/null - Photo Create (0.4ms) INSERT INTO "photos" ("photo_file_size", "created_at", "title", "flickr_url", "photo_file_name", "updated_at", "photo_content_type", "photo_updated_at", "description", "sort") VALUES(510990, '2010-10-09 10:07:01', 'Moody Me', '', 'Moody Me.jpg', '2010-10-09 10:07:01', 'image/jpeg', '2010-10-09 10:06:59', '', NULL) -[paperclip] Saving attachments. -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/24/size11/Moody Me.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/24/size8/Moody Me.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/24/size5/Moody Me.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/24/size3/Moody Me.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/24/original/Moody Me.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/24/size2/Moody Me.jpg -Redirected to http://localhost:3000/admin/photos/edit/24 -Completed in 1918ms (DB: 1) | 302 Found [http://localhost/admin/photos/create] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 06:07:01) [GET] - Photo Load (4.1ms) SELECT * FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 45ms (View: 31, DB: 4) | 200 OK [http://localhost/photos] - - -Processing Admin::PhotosController#edit (for 127.0.0.1 at 2010-10-09 06:07:01) [GET] - Parameters: {"action"=>"edit", "id"=>"24", "controller"=>"admin/photos"} - TypusUser Load (0.9ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - Photo Load (0.3ms) SELECT * FROM "photos" WHERE ("photos"."id" = 24)  -Rendering template within layouts/admin -Rendering admin/resources/edit -Rendered admin/helpers/_list (0.1ms) -Rendered admin/helpers/_search (0.7ms) -Rendered admin/helpers/_preview (0.2ms) -Rendered admin/templates/_file (6.1ms) -Rendered admin/templates/_string (1.4ms) -Rendered admin/templates/_string (1.0ms) -Rendered admin/templates/_text (0.7ms) -Rendered admin/templates/_string (1.0ms) -Rendered admin/resources/_form (16.9ms) - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories"  - Category Load (0.6ms) SELECT * FROM "categories"  - Category Load (0.1ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 24 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 24)  - SQL (0.3ms) SELECT count(*) AS count_all FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 24 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 24)  - Category Load (0.2ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 24 ) ORDER BY categories.id ASC LIMIT 15 OFFSET 0 -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.4ms) -Rendered admin/helpers/_flash_message (0.1ms) -Rendered admin/shared/_footer (0.4ms) -Completed in 95ms (View: 46, DB: 3) | 200 OK [http://localhost/admin/photos/edit/24] - - -Processing TypusController#dashboard (for 127.0.0.1 at 2010-10-09 06:07:13) [GET] - Parameters: {"action"=>"dashboard", "controller"=>"typus"} - TypusUser Load (0.6ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  -Rendering template within layouts/admin -Rendering typus/dashboard -Rendered admin/dashboard/_sidebar (0.6ms) -Rendered admin/helpers/_applications (5.3ms) -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.4ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 46ms (View: 39, DB: 1) | 200 OK [http://localhost/admin] - - -Processing Admin::CategoriesController#index (for 127.0.0.1 at 2010-10-09 06:07:17) [GET] - Parameters: {"action"=>"index", "controller"=>"admin/categories"} - TypusUser Load (0.6ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories"  -Rendering template within layouts/admin -Rendering admin/resources/index -Rendered admin/helpers/_list (0.1ms) -Rendered admin/helpers/_search (0.5ms) - Category Load (0.6ms) SELECT "categories".* FROM "categories" ORDER BY categories.id ASC LIMIT 15 OFFSET 0 -Rendered admin/helpers/_table_header (0.1ms) -Rendered admin/helpers/_header (0.2ms) -Rendered admin/helpers/_login_info (0.6ms) -Rendered admin/shared/_footer (0.3ms) -Completed in 119ms (View: 98, DB: 1) | 200 OK [http://localhost/admin/categories] - - -Processing Admin::CategoriesController#edit (for 127.0.0.1 at 2010-10-09 06:07:21) [GET] - Parameters: {"action"=>"edit", "id"=>"1", "controller"=>"admin/categories"} - TypusUser Load (0.6ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - Category Load (0.3ms) SELECT * FROM "categories" WHERE ("categories"."id" = 1)  -Rendering template within layouts/admin -Rendering admin/resources/edit -Rendered admin/helpers/_list (0.1ms) -Rendered admin/helpers/_search (0.6ms) -Rendered admin/templates/_string (1.8ms) -Rendered admin/templates/_text (0.5ms) -Rendered admin/templates/_string (0.7ms) -Rendered admin/templates/_string (0.7ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/resources/_form (8.1ms) - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos"  - Photo Load (2.0ms) SELECT * FROM "photos"  - Photo Load (1.1ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )  - CACHE (0.0ms) SELECT * FROM "categories" WHERE ("categories"."id" = 1)  - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )  - CACHE (0.0ms) SELECT * FROM "categories" WHERE ("categories"."id" = 1)  - Photo Load (0.8ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) ORDER BY photos.id ASC LIMIT 15 OFFSET 0 -Rendered admin/helpers/_table_header (0.1ms) -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.5ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 75ms (View: 50, DB: 5) | 200 OK [http://localhost/admin/categories/edit/1] - - -Processing Admin::CategoriesController#index (for 127.0.0.1 at 2010-10-09 06:07:32) [GET] - Parameters: {"action"=>"index", "controller"=>"admin/categories"} - TypusUser Load (0.6ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories"  -Rendering template within layouts/admin -Rendering admin/resources/index -Rendered admin/helpers/_list (0.1ms) -Rendered admin/helpers/_search (0.6ms) - Category Load (0.6ms) SELECT "categories".* FROM "categories" ORDER BY categories.id ASC LIMIT 15 OFFSET 0 -Rendered admin/helpers/_table_header (0.1ms) -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.4ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 49ms (View: 26, DB: 1) | 200 OK [http://localhost/admin/categories] - - -Processing TypusController#dashboard (for 127.0.0.1 at 2010-10-09 06:07:34) [GET] - Parameters: {"action"=>"dashboard", "controller"=>"typus"} - TypusUser Load (0.6ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  -Rendering template within layouts/admin -Rendering typus/dashboard -Rendered admin/dashboard/_sidebar (0.2ms) -Rendered admin/helpers/_applications (2.6ms) -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.4ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 31ms (View: 25, DB: 1) | 200 OK [http://localhost/admin] - - -Processing Admin::PhotosController#index (for 127.0.0.1 at 2010-10-09 06:07:35) [GET] - Parameters: {"action"=>"index", "controller"=>"admin/photos"} - TypusUser Load (0.6ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos"  -Rendering template within layouts/admin -Rendering admin/resources/index -Rendered admin/helpers/_list (0.1ms) -Rendered admin/helpers/_search (0.5ms) - Photo Load (1.6ms) SELECT "photos".* FROM "photos" ORDER BY photos.id ASC LIMIT 15 OFFSET 0 -Rendered admin/helpers/_table_header (0.1ms) - Category Load (0.4ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 1 )  - Category Load (0.4ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 2 )  - Category Load (0.6ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 3 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 4 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 5 )  - Category Load (0.4ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 6 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 7 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 8 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 10 )  - Category Load (0.2ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 11 )  - Category Load (0.4ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 12 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 13 )  - Category Load (0.1ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 14 )  - Category Load (0.1ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 15 )  - Category Load (0.1ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 17 )  -Rendered admin/helpers/_pagination (25.2ms) -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.5ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 116ms (View: 86, DB: 7) | 200 OK [http://localhost/admin/photos] - - -Processing Admin::PhotosController#edit (for 127.0.0.1 at 2010-10-09 06:07:39) [GET] - Parameters: {"action"=>"edit", "id"=>"14", "controller"=>"admin/photos"} - TypusUser Load (0.6ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - Photo Load (0.3ms) SELECT * FROM "photos" WHERE ("photos"."id" = 14)  -Rendering template within layouts/admin -Rendering admin/resources/edit -Rendered admin/helpers/_list (0.1ms) -Rendered admin/helpers/_search (0.6ms) -Rendered admin/helpers/_preview (0.2ms) -Rendered admin/templates/_file (4.6ms) -Rendered admin/templates/_string (0.7ms) -Rendered admin/templates/_string (0.7ms) -Rendered admin/templates/_text (0.5ms) -Rendered admin/templates/_string (0.7ms) -Rendered admin/resources/_form (10.9ms) - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories"  - Category Load (0.6ms) SELECT * FROM "categories"  - Category Load (0.1ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 14 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 14)  - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 14 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 14)  - Category Load (0.1ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 14 ) ORDER BY categories.id ASC LIMIT 15 OFFSET 0 -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.4ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 56ms (View: 33, DB: 2) | 200 OK [http://localhost/admin/photos/edit/14] - - -Processing Admin::PhotosController#relate (for 127.0.0.1 at 2010-10-09 06:07:46) [POST] - Parameters: {"commit"=>"Add", "related"=>{"model"=>"Category", "relation"=>"categories", "id"=>"1"}, "action"=>"relate", "authenticity_token"=>"MRMA5jN8F+L8Qu/qxudBGU2lL/82P68aMbmoNbKb5zw=", "id"=>"14", "controller"=>"admin/photos"} - TypusUser Load (0.6ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - Photo Load (0.3ms) SELECT * FROM "photos" WHERE ("photos"."id" = 14)  - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = 1)  - SQL (0.3ms) INSERT INTO "categories_photos" ("category_id", "photo_id") VALUES (1, 14) -Redirected to http://localhost:3000/admin/photos/edit/14 -Completed in 100ms (DB: 1) | 302 Found [http://localhost/admin/photos/relate/14] - - -Processing Admin::PhotosController#edit (for 127.0.0.1 at 2010-10-09 06:07:46) [GET] - Parameters: {"action"=>"edit", "id"=>"14", "controller"=>"admin/photos"} - TypusUser Load (0.6ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - Photo Load (0.3ms) SELECT * FROM "photos" WHERE ("photos"."id" = 14)  -Rendering template within layouts/admin -Rendering admin/resources/edit -Rendered admin/helpers/_list (0.1ms) -Rendered admin/helpers/_search (0.5ms) -Rendered admin/helpers/_preview (0.2ms) -Rendered admin/templates/_file (4.6ms) -Rendered admin/templates/_string (0.7ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/templates/_text (0.5ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/resources/_form (10.7ms) - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories"  - Category Load (0.5ms) SELECT * FROM "categories"  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 14 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 14)  - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 14 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 14)  - Category Load (0.5ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 14 ) ORDER BY categories.id ASC LIMIT 15 OFFSET 0 -Rendered admin/helpers/_table_header (0.2ms) -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.5ms) -Rendered admin/helpers/_flash_message (0.1ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 64ms (View: 39, DB: 2) | 200 OK [http://localhost/admin/photos/edit/14] - - -Processing TypusController#dashboard (for 127.0.0.1 at 2010-10-09 06:07:50) [GET] - Parameters: {"action"=>"dashboard", "controller"=>"typus"} - TypusUser Load (0.6ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  -Rendering template within layouts/admin -Rendering typus/dashboard -Rendered admin/dashboard/_sidebar (0.2ms) -Rendered admin/helpers/_applications (61.8ms) -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.4ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 91ms (View: 84, DB: 1) | 200 OK [http://localhost/admin] - - -Processing Admin::PhotosController#index (for 127.0.0.1 at 2010-10-09 06:07:53) [GET] - Parameters: {"action"=>"index", "controller"=>"admin/photos"} - TypusUser Load (0.6ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos"  -Rendering template within layouts/admin -Rendering admin/resources/index -Rendered admin/helpers/_list (0.1ms) -Rendered admin/helpers/_search (0.5ms) - Photo Load (1.4ms) SELECT "photos".* FROM "photos" ORDER BY photos.id ASC LIMIT 15 OFFSET 0 -Rendered admin/helpers/_table_header (0.1ms) - Category Load (0.6ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 1 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 2 )  - Category Load (0.4ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 3 )  - Category Load (0.2ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 4 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 5 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 6 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 7 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 8 )  - Category Load (0.2ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 10 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 11 )  - Category Load (0.2ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 12 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 13 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 14 )  - Category Load (0.1ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 15 )  - Category Load (0.1ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 17 )  -Rendered admin/helpers/_pagination (0.6ms) -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.4ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 86ms (View: 57, DB: 7) | 200 OK [http://localhost/admin/photos] - - -Processing Admin::PhotosController#edit (for 127.0.0.1 at 2010-10-09 06:07:56) [GET] - Parameters: {"action"=>"edit", "id"=>"15", "controller"=>"admin/photos"} - TypusUser Load (0.6ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - Photo Load (0.3ms) SELECT * FROM "photos" WHERE ("photos"."id" = 15)  -Rendering template within layouts/admin -Rendering admin/resources/edit -Rendered admin/helpers/_list (0.1ms) -Rendered admin/helpers/_search (0.6ms) -Rendered admin/helpers/_preview (0.2ms) -Rendered admin/templates/_file (4.7ms) -Rendered admin/templates/_string (0.7ms) -Rendered admin/templates/_string (0.7ms) -Rendered admin/templates/_text (0.5ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/resources/_form (10.7ms) - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories"  - Category Load (0.5ms) SELECT * FROM "categories"  - Category Load (0.1ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 15 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 15)  - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 15 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 15)  - Category Load (0.1ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 15 ) ORDER BY categories.id ASC LIMIT 15 OFFSET 0 -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.5ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 56ms (View: 33, DB: 2) | 200 OK [http://localhost/admin/photos/edit/15] - - -Processing Admin::PhotosController#relate (for 127.0.0.1 at 2010-10-09 06:08:00) [POST] - Parameters: {"commit"=>"Add", "related"=>{"model"=>"Category", "relation"=>"categories", "id"=>"1"}, "action"=>"relate", "authenticity_token"=>"MRMA5jN8F+L8Qu/qxudBGU2lL/82P68aMbmoNbKb5zw=", "id"=>"15", "controller"=>"admin/photos"} - TypusUser Load (0.6ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - Photo Load (0.3ms) SELECT * FROM "photos" WHERE ("photos"."id" = 15)  - Category Load (0.4ms) SELECT * FROM "categories" WHERE ("categories"."id" = 1)  - SQL (0.3ms) INSERT INTO "categories_photos" ("category_id", "photo_id") VALUES (1, 15) -Redirected to http://localhost:3000/admin/photos/edit/15 -Completed in 98ms (DB: 2) | 302 Found [http://localhost/admin/photos/relate/15] - - -Processing Admin::PhotosController#edit (for 127.0.0.1 at 2010-10-09 06:08:01) [GET] - Parameters: {"action"=>"edit", "id"=>"15", "controller"=>"admin/photos"} - TypusUser Load (0.6ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - Photo Load (0.3ms) SELECT * FROM "photos" WHERE ("photos"."id" = 15)  -Rendering template within layouts/admin -Rendering admin/resources/edit -Rendered admin/helpers/_list (0.1ms) -Rendered admin/helpers/_search (0.6ms) -Rendered admin/helpers/_preview (0.2ms) -Rendered admin/templates/_file (7.2ms) -Rendered admin/templates/_string (0.7ms) -Rendered admin/templates/_string (0.7ms) -Rendered admin/templates/_text (0.5ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/resources/_form (13.7ms) - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories"  - Category Load (0.5ms) SELECT * FROM "categories"  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 15 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 15)  - SQL (0.3ms) SELECT count(*) AS count_all FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 15 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 15)  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 15 ) ORDER BY categories.id ASC LIMIT 15 OFFSET 0 -Rendered admin/helpers/_table_header (0.1ms) -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.4ms) -Rendered admin/helpers/_flash_message (0.1ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 68ms (View: 41, DB: 2) | 200 OK [http://localhost/admin/photos/edit/15] - - -Processing Admin::PhotosController#index (for 127.0.0.1 at 2010-10-09 06:08:02) [GET] - Parameters: {"action"=>"index", "controller"=>"admin/photos"} - TypusUser Load (0.5ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos"  -Rendering template within layouts/admin -Rendering admin/resources/index -Rendered admin/helpers/_list (0.1ms) -Rendered admin/helpers/_search (0.6ms) - Photo Load (2.2ms) SELECT "photos".* FROM "photos" ORDER BY photos.id ASC LIMIT 15 OFFSET 0 -Rendered admin/helpers/_table_header (0.1ms) - Category Load (0.5ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 1 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 2 )  - Category Load (0.4ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 3 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 4 )  - Category Load (0.2ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 5 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 6 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 7 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 8 )  - Category Load (0.2ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 10 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 11 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 12 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 13 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 14 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 15 )  - Category Load (0.1ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 17 )  -Rendered admin/helpers/_pagination (0.5ms) -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.4ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 149ms (View: 60, DB: 7) | 200 OK [http://localhost/admin/photos] - - -Processing Admin::PhotosController#edit (for 127.0.0.1 at 2010-10-09 06:08:03) [GET] - Parameters: {"action"=>"edit", "id"=>"17", "controller"=>"admin/photos"} - TypusUser Load (0.6ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - Photo Load (0.3ms) SELECT * FROM "photos" WHERE ("photos"."id" = 17)  -Rendering template within layouts/admin -Rendering admin/resources/edit -Rendered admin/helpers/_list (0.1ms) -Rendered admin/helpers/_search (0.5ms) -Rendered admin/helpers/_preview (0.2ms) -Rendered admin/templates/_file (5.5ms) -Rendered admin/templates/_string (0.8ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/templates/_text (0.5ms) -Rendered admin/templates/_string (1.1ms) -Rendered admin/resources/_form (12.2ms) - SQL (0.3ms) SELECT count(*) AS count_all FROM "categories"  - Category Load (0.5ms) SELECT * FROM "categories"  - Category Load (0.1ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 17 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 17)  - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 17 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 17)  - Category Load (0.2ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 17 ) ORDER BY categories.id ASC LIMIT 15 OFFSET 0 -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.4ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 120ms (View: 96, DB: 2) | 200 OK [http://localhost/admin/photos/edit/17] - - -Processing Admin::PhotosController#relate (for 127.0.0.1 at 2010-10-09 06:08:06) [POST] - Parameters: {"commit"=>"Add", "related"=>{"model"=>"Category", "relation"=>"categories", "id"=>"1"}, "action"=>"relate", "authenticity_token"=>"MRMA5jN8F+L8Qu/qxudBGU2lL/82P68aMbmoNbKb5zw=", "id"=>"17", "controller"=>"admin/photos"} - TypusUser Load (0.5ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - Photo Load (0.3ms) SELECT * FROM "photos" WHERE ("photos"."id" = 17)  - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = 1)  - SQL (0.3ms) INSERT INTO "categories_photos" ("category_id", "photo_id") VALUES (1, 17) -Redirected to http://localhost:3000/admin/photos/edit/17 -Completed in 31ms (DB: 1) | 302 Found [http://localhost/admin/photos/relate/17] - - -Processing Admin::PhotosController#edit (for 127.0.0.1 at 2010-10-09 06:08:06) [GET] - Parameters: {"action"=>"edit", "id"=>"17", "controller"=>"admin/photos"} - TypusUser Load (1.1ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - Photo Load (0.3ms) SELECT * FROM "photos" WHERE ("photos"."id" = 17)  -Rendering template within layouts/admin -Rendering admin/resources/edit -Rendered admin/helpers/_list (0.1ms) -Rendered admin/helpers/_search (0.6ms) -Rendered admin/helpers/_preview (0.2ms) -Rendered admin/templates/_file (4.8ms) -Rendered admin/templates/_string (0.7ms) -Rendered admin/templates/_string (0.7ms) -Rendered admin/templates/_text (0.5ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/resources/_form (10.9ms) - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories"  - Category Load (0.5ms) SELECT * FROM "categories"  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 17 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 17)  - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 17 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 17)  - Category Load (0.4ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 17 ) ORDER BY categories.id ASC LIMIT 15 OFFSET 0 -Rendered admin/helpers/_table_header (0.1ms) -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.4ms) -Rendered admin/helpers/_flash_message (0.1ms) -Rendered admin/shared/_footer (0.3ms) -Completed in 130ms (View: 37, DB: 3) | 200 OK [http://localhost/admin/photos/edit/17] - - -Processing Admin::PhotosController#index (for 127.0.0.1 at 2010-10-09 06:08:08) [GET] - Parameters: {"action"=>"index", "controller"=>"admin/photos"} - TypusUser Load (0.5ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos"  -Rendering template within layouts/admin -Rendering admin/resources/index -Rendered admin/helpers/_list (0.1ms) -Rendered admin/helpers/_search (0.5ms) - Photo Load (1.5ms) SELECT "photos".* FROM "photos" ORDER BY photos.id ASC LIMIT 15 OFFSET 0 -Rendered admin/helpers/_table_header (0.1ms) - Category Load (0.5ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 1 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 2 )  - Category Load (0.7ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 3 )  - Category Load (0.4ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 4 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 5 )  - Category Load (0.5ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 6 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 7 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 8 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 10 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 11 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 12 )  - Category Load (0.4ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 13 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 14 )  - Category Load (0.2ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 15 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 17 )  -Rendered admin/helpers/_pagination (0.5ms) -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.4ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 146ms (View: 116, DB: 7) | 200 OK [http://localhost/admin/photos] - - -Processing Admin::PhotosController#index (for 127.0.0.1 at 2010-10-09 06:08:09) [GET] - Parameters: {"action"=>"index", "sort_order"=>"desc", "page"=>"2", "controller"=>"admin/photos"} - TypusUser Load (0.5ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos"  -Rendering template within layouts/admin -Rendering admin/resources/index -Rendered admin/helpers/_list (0.1ms) -Rendered admin/helpers/_search (0.6ms) -Rendered admin/helpers/_remove_filter_link (20.2ms) - Photo Load (0.9ms) SELECT "photos".* FROM "photos" ORDER BY photos.id ASC LIMIT 15 OFFSET 15 -Rendered admin/helpers/_table_header (0.1ms) - Category Load (0.2ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 18 )  - Category Load (0.1ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 19 )  - Category Load (0.1ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 20 )  - Category Load (0.2ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 21 )  - Category Load (0.2ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 22 )  - Category Load (0.1ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 23 )  - Category Load (0.1ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 24 )  -Rendered admin/helpers/_pagination (63.1ms) -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.4ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 148ms (View: 123, DB: 3) | 200 OK [http://localhost/admin/photos?page=2&sort_order=desc] - - -Processing Admin::PhotosController#edit (for 127.0.0.1 at 2010-10-09 06:08:14) [GET] - Parameters: {"action"=>"edit", "id"=>"18", "controller"=>"admin/photos"} - TypusUser Load (0.7ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - Photo Load (0.3ms) SELECT * FROM "photos" WHERE ("photos"."id" = 18)  -Rendering template within layouts/admin -Rendering admin/resources/edit -Rendered admin/helpers/_list (0.1ms) -Rendered admin/helpers/_search (0.5ms) -Rendered admin/helpers/_preview (0.3ms) -Rendered admin/templates/_file (5.3ms) -Rendered admin/templates/_string (1.5ms) -Rendered admin/templates/_string (1.0ms) -Rendered admin/templates/_text (0.5ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/resources/_form (13.6ms) - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories"  - Category Load (0.5ms) SELECT * FROM "categories"  - Category Load (0.1ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 18 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 18)  - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 18 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 18)  - Category Load (0.1ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 18 ) ORDER BY categories.id ASC LIMIT 15 OFFSET 0 -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.4ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 59ms (View: 35, DB: 2) | 200 OK [http://localhost/admin/photos/edit/18] - - -Processing Admin::PhotosController#relate (for 127.0.0.1 at 2010-10-09 06:08:17) [POST] - Parameters: {"commit"=>"Add", "related"=>{"model"=>"Category", "relation"=>"categories", "id"=>"2"}, "action"=>"relate", "authenticity_token"=>"MRMA5jN8F+L8Qu/qxudBGU2lL/82P68aMbmoNbKb5zw=", "id"=>"18", "controller"=>"admin/photos"} - TypusUser Load (0.6ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - Photo Load (0.3ms) SELECT * FROM "photos" WHERE ("photos"."id" = 18)  - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = 2)  - SQL (0.3ms) INSERT INTO "categories_photos" ("category_id", "photo_id") VALUES (2, 18) -Redirected to http://localhost:3000/admin/photos/edit/18 -Completed in 91ms (DB: 1) | 302 Found [http://localhost/admin/photos/relate/18] - - -Processing Admin::PhotosController#edit (for 127.0.0.1 at 2010-10-09 06:08:17) [GET] - Parameters: {"action"=>"edit", "id"=>"18", "controller"=>"admin/photos"} - TypusUser Load (1.0ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - Photo Load (0.3ms) SELECT * FROM "photos" WHERE ("photos"."id" = 18)  -Rendering template within layouts/admin -Rendering admin/resources/edit -Rendered admin/helpers/_list (0.1ms) -Rendered admin/helpers/_search (0.7ms) -Rendered admin/helpers/_preview (0.2ms) -Rendered admin/templates/_file (4.8ms) -Rendered admin/templates/_string (0.7ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/templates/_text (0.4ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/resources/_form (11.0ms) - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories"  - Category Load (0.5ms) SELECT * FROM "categories"  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 18 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 18)  - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 18 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 18)  - Category Load (0.4ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 18 ) ORDER BY categories.id ASC LIMIT 15 OFFSET 0 -Rendered admin/helpers/_table_header (0.1ms) -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.5ms) -Rendered admin/helpers/_flash_message (0.1ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 74ms (View: 40, DB: 3) | 200 OK [http://localhost/admin/photos/edit/18] - - -Processing Admin::PhotosController#index (for 127.0.0.1 at 2010-10-09 06:08:19) [GET] - Parameters: {"action"=>"index", "controller"=>"admin/photos"} - TypusUser Load (0.6ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos"  -Rendering template within layouts/admin -Rendering admin/resources/index -Rendered admin/helpers/_list (0.1ms) -Rendered admin/helpers/_search (0.5ms) - Photo Load (1.4ms) SELECT "photos".* FROM "photos" ORDER BY photos.id ASC LIMIT 15 OFFSET 0 -Rendered admin/helpers/_table_header (0.1ms) - Category Load (0.4ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 1 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 2 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 3 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 4 )  - Category Load (0.4ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 5 )  - Category Load (0.4ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 6 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 7 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 8 )  - Category Load (0.2ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 10 )  - Category Load (0.2ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 11 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 12 )  - Category Load (0.4ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 13 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 14 )  - Category Load (0.2ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 15 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 17 )  -Rendered admin/helpers/_pagination (0.5ms) -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.4ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 88ms (View: 58, DB: 7) | 200 OK [http://localhost/admin/photos] - - -Processing Admin::PhotosController#index (for 127.0.0.1 at 2010-10-09 06:08:22) [GET] - Parameters: {"action"=>"index", "sort_order"=>"desc", "page"=>"2", "controller"=>"admin/photos"} - TypusUser Load (0.6ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos"  -Rendering template within layouts/admin -Rendering admin/resources/index -Rendered admin/helpers/_list (0.1ms) -Rendered admin/helpers/_search (0.5ms) -Rendered admin/helpers/_remove_filter_link (0.2ms) - Photo Load (0.8ms) SELECT "photos".* FROM "photos" ORDER BY photos.id ASC LIMIT 15 OFFSET 15 -Rendered admin/helpers/_table_header (0.1ms) - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 18 )  - Category Load (0.2ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 19 )  - Category Load (0.2ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 20 )  - Category Load (0.2ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 21 )  - Category Load (0.2ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 22 )  - Category Load (0.1ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 23 )  - Category Load (0.1ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 24 )  -Rendered admin/helpers/_pagination (0.5ms) -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.6ms) -Rendered admin/shared/_footer (0.5ms) -Completed in 134ms (View: 45, DB: 3) | 200 OK [http://localhost/admin/photos?page=2&sort_order=desc] - - -Processing Admin::PhotosController#edit (for 127.0.0.1 at 2010-10-09 06:08:24) [GET] - Parameters: {"action"=>"edit", "id"=>"19", "controller"=>"admin/photos"} - TypusUser Load (0.6ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - Photo Load (0.3ms) SELECT * FROM "photos" WHERE ("photos"."id" = 19)  -Rendering template within layouts/admin -Rendering admin/resources/edit -Rendered admin/helpers/_list (0.1ms) -Rendered admin/helpers/_search (0.5ms) -Rendered admin/helpers/_preview (0.2ms) -Rendered admin/templates/_file (4.7ms) -Rendered admin/templates/_string (0.8ms) -Rendered admin/templates/_string (0.7ms) -Rendered admin/templates/_text (0.5ms) -Rendered admin/templates/_string (1.0ms) -Rendered admin/resources/_form (69.8ms) - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories"  - Category Load (0.5ms) SELECT * FROM "categories"  - Category Load (0.1ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 19 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 19)  - SQL (0.3ms) SELECT count(*) AS count_all FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 19 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 19)  - Category Load (0.1ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 19 ) ORDER BY categories.id ASC LIMIT 15 OFFSET 0 -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.4ms) -Rendered admin/shared/_footer (0.5ms) -Completed in 117ms (View: 93, DB: 2) | 200 OK [http://localhost/admin/photos/edit/19] - - -Processing Admin::PhotosController#relate (for 127.0.0.1 at 2010-10-09 06:08:30) [POST] - Parameters: {"commit"=>"Add", "related"=>{"model"=>"Category", "relation"=>"categories", "id"=>"6"}, "action"=>"relate", "authenticity_token"=>"MRMA5jN8F+L8Qu/qxudBGU2lL/82P68aMbmoNbKb5zw=", "id"=>"19", "controller"=>"admin/photos"} - TypusUser Load (0.6ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - Photo Load (0.3ms) SELECT * FROM "photos" WHERE ("photos"."id" = 19)  - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = 6)  - SQL (0.6ms) INSERT INTO "categories_photos" ("category_id", "photo_id") VALUES (6, 19) -Redirected to http://localhost:3000/admin/photos/edit/19 -Completed in 31ms (DB: 2) | 302 Found [http://localhost/admin/photos/relate/19] - - -Processing Admin::PhotosController#edit (for 127.0.0.1 at 2010-10-09 06:08:30) [GET] - Parameters: {"action"=>"edit", "id"=>"19", "controller"=>"admin/photos"} - TypusUser Load (0.8ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - Photo Load (0.3ms) SELECT * FROM "photos" WHERE ("photos"."id" = 19)  -Rendering template within layouts/admin -Rendering admin/resources/edit -Rendered admin/helpers/_list (0.1ms) -Rendered admin/helpers/_search (0.9ms) -Rendered admin/helpers/_preview (0.2ms) -Rendered admin/templates/_file (76.2ms) -Rendered admin/templates/_string (0.7ms) -Rendered admin/templates/_string (0.7ms) -Rendered admin/templates/_text (0.5ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/resources/_form (82.6ms) - SQL (0.3ms) SELECT count(*) AS count_all FROM "categories"  - Category Load (0.6ms) SELECT * FROM "categories"  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 19 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 19)  - SQL (0.3ms) SELECT count(*) AS count_all FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 19 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 19)  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 19 ) ORDER BY categories.id ASC LIMIT 15 OFFSET 0 -Rendered admin/helpers/_table_header (0.1ms) -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.4ms) -Rendered admin/helpers/_flash_message (0.1ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 143ms (View: 111, DB: 3) | 200 OK [http://localhost/admin/photos/edit/19] - - -Processing Admin::PhotosController#relate (for 127.0.0.1 at 2010-10-09 06:08:35) [POST] - Parameters: {"commit"=>"Add", "related"=>{"model"=>"Category", "relation"=>"categories", "id"=>"4"}, "action"=>"relate", "authenticity_token"=>"MRMA5jN8F+L8Qu/qxudBGU2lL/82P68aMbmoNbKb5zw=", "id"=>"19", "controller"=>"admin/photos"} - TypusUser Load (0.5ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - Photo Load (0.3ms) SELECT * FROM "photos" WHERE ("photos"."id" = 19)  - Category Load (0.3ms) SELECT * FROM "categories" WHERE ("categories"."id" = 4)  - SQL (0.3ms) INSERT INTO "categories_photos" ("category_id", "photo_id") VALUES (4, 19) -Redirected to http://localhost:3000/admin/photos/edit/19 -Completed in 31ms (DB: 1) | 302 Found [http://localhost/admin/photos/relate/19] - - -Processing Admin::PhotosController#edit (for 127.0.0.1 at 2010-10-09 06:08:35) [GET] - Parameters: {"action"=>"edit", "id"=>"19", "controller"=>"admin/photos"} - TypusUser Load (0.7ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - Photo Load (0.3ms) SELECT * FROM "photos" WHERE ("photos"."id" = 19)  -Rendering template within layouts/admin -Rendering admin/resources/edit -Rendered admin/helpers/_list (0.1ms) -Rendered admin/helpers/_search (0.5ms) -Rendered admin/helpers/_preview (0.2ms) -Rendered admin/templates/_file (4.6ms) -Rendered admin/templates/_string (0.7ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/templates/_text (0.5ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/resources/_form (10.6ms) - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories"  - Category Load (0.5ms) SELECT * FROM "categories"  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 19 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 19)  - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 19 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 19)  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 19 ) ORDER BY categories.id ASC LIMIT 15 OFFSET 0 -Rendered admin/helpers/_table_header (0.1ms) -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.8ms) -Rendered admin/helpers/_flash_message (0.1ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 129ms (View: 39, DB: 3) | 200 OK [http://localhost/admin/photos/edit/19] - - -Processing Admin::PhotosController#index (for 127.0.0.1 at 2010-10-09 06:08:42) [GET] - Parameters: {"action"=>"index", "controller"=>"admin/photos"} - TypusUser Load (0.6ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos"  -Rendering template within layouts/admin -Rendering admin/resources/index -Rendered admin/helpers/_list (0.1ms) -Rendered admin/helpers/_search (0.6ms) - Photo Load (1.5ms) SELECT "photos".* FROM "photos" ORDER BY photos.id ASC LIMIT 15 OFFSET 0 -Rendered admin/helpers/_table_header (0.1ms) - Category Load (0.4ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 1 )  - Category Load (0.4ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 2 )  - Category Load (0.4ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 3 )  - Category Load (0.4ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 4 )  - Category Load (0.4ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 5 )  - Category Load (0.4ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 6 )  - Category Load (0.4ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 7 )  - Category Load (0.6ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 8 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 10 )  - Category Load (0.2ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 11 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 12 )  - Category Load (0.4ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 13 )  - Category Load (0.2ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 14 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 15 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 17 )  -Rendered admin/helpers/_pagination (0.5ms) -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.4ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 150ms (View: 119, DB: 8) | 200 OK [http://localhost/admin/photos] - - -Processing Admin::PhotosController#index (for 127.0.0.1 at 2010-10-09 06:08:43) [GET] - Parameters: {"action"=>"index", "sort_order"=>"desc", "page"=>"2", "controller"=>"admin/photos"} - TypusUser Load (0.6ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - SQL (0.3ms) SELECT count(*) AS count_all FROM "photos"  -Rendering template within layouts/admin -Rendering admin/resources/index -Rendered admin/helpers/_list (0.1ms) -Rendered admin/helpers/_search (0.6ms) -Rendered admin/helpers/_remove_filter_link (0.2ms) - Photo Load (0.8ms) SELECT "photos".* FROM "photos" ORDER BY photos.id ASC LIMIT 15 OFFSET 15 -Rendered admin/helpers/_table_header (0.1ms) - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 18 )  - Category Load (0.4ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 19 )  - Category Load (0.1ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 20 )  - Category Load (0.1ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 21 )  - Category Load (0.1ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 22 )  - Category Load (0.1ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 23 )  - Category Load (0.2ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 24 )  -Rendered admin/helpers/_pagination (0.7ms) -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.5ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 65ms (View: 40, DB: 3) | 200 OK [http://localhost/admin/photos?page=2&sort_order=desc] - - -Processing Admin::PhotosController#edit (for 127.0.0.1 at 2010-10-09 06:08:45) [GET] - Parameters: {"action"=>"edit", "id"=>"20", "controller"=>"admin/photos"} - TypusUser Load (0.6ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - Photo Load (0.3ms) SELECT * FROM "photos" WHERE ("photos"."id" = 20)  -Rendering template within layouts/admin -Rendering admin/resources/edit -Rendered admin/helpers/_list (0.1ms) -Rendered admin/helpers/_search (0.5ms) -Rendered admin/helpers/_preview (0.2ms) -Rendered admin/templates/_file (4.8ms) -Rendered admin/templates/_string (0.7ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/templates/_text (0.5ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/resources/_form (10.8ms) - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories"  - Category Load (0.6ms) SELECT * FROM "categories"  - Category Load (0.2ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 20 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 20)  - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 20 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 20)  - Category Load (0.2ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 20 ) ORDER BY categories.id ASC LIMIT 15 OFFSET 0 -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.4ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 57ms (View: 33, DB: 2) | 200 OK [http://localhost/admin/photos/edit/20] - - -Processing Admin::PhotosController#relate (for 127.0.0.1 at 2010-10-09 06:08:48) [POST] - Parameters: {"commit"=>"Add", "related"=>{"model"=>"Category", "relation"=>"categories", "id"=>"4"}, "action"=>"relate", "authenticity_token"=>"MRMA5jN8F+L8Qu/qxudBGU2lL/82P68aMbmoNbKb5zw=", "id"=>"20", "controller"=>"admin/photos"} - TypusUser Load (0.6ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - Photo Load (0.3ms) SELECT * FROM "photos" WHERE ("photos"."id" = 20)  - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = 4)  - SQL (0.3ms) INSERT INTO "categories_photos" ("category_id", "photo_id") VALUES (4, 20) -Redirected to http://localhost:3000/admin/photos/edit/20 -Completed in 90ms (DB: 1) | 302 Found [http://localhost/admin/photos/relate/20] - - -Processing Admin::PhotosController#edit (for 127.0.0.1 at 2010-10-09 06:08:48) [GET] - Parameters: {"action"=>"edit", "id"=>"20", "controller"=>"admin/photos"} - TypusUser Load (1.3ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - Photo Load (0.4ms) SELECT * FROM "photos" WHERE ("photos"."id" = 20)  -Rendering template within layouts/admin -Rendering admin/resources/edit -Rendered admin/helpers/_list (0.1ms) -Rendered admin/helpers/_search (0.6ms) -Rendered admin/helpers/_preview (0.2ms) -Rendered admin/templates/_file (5.0ms) -Rendered admin/templates/_string (0.7ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/templates/_text (0.7ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/resources/_form (11.4ms) - SQL (0.3ms) SELECT count(*) AS count_all FROM "categories"  - Category Load (0.5ms) SELECT * FROM "categories"  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 20 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 20)  - SQL (0.3ms) SELECT count(*) AS count_all FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 20 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 20)  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 20 ) ORDER BY categories.id ASC LIMIT 15 OFFSET 0 -Rendered admin/helpers/_table_header (0.1ms) -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.4ms) -Rendered admin/helpers/_flash_message (0.1ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 72ms (View: 39, DB: 3) | 200 OK [http://localhost/admin/photos/edit/20] - - -Processing Admin::PhotosController#relate (for 127.0.0.1 at 2010-10-09 06:08:51) [POST] - Parameters: {"commit"=>"Add", "related"=>{"model"=>"Category", "relation"=>"categories", "id"=>"1"}, "action"=>"relate", "authenticity_token"=>"MRMA5jN8F+L8Qu/qxudBGU2lL/82P68aMbmoNbKb5zw=", "id"=>"20", "controller"=>"admin/photos"} - TypusUser Load (0.6ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - Photo Load (0.5ms) SELECT * FROM "photos" WHERE ("photos"."id" = 20)  - Category Load (0.3ms) SELECT * FROM "categories" WHERE ("categories"."id" = 1)  - SQL (0.3ms) INSERT INTO "categories_photos" ("category_id", "photo_id") VALUES (1, 20) -Redirected to http://localhost:3000/admin/photos/edit/20 -Completed in 34ms (DB: 2) | 302 Found [http://localhost/admin/photos/relate/20] - - -Processing Admin::PhotosController#edit (for 127.0.0.1 at 2010-10-09 06:08:51) [GET] - Parameters: {"action"=>"edit", "id"=>"20", "controller"=>"admin/photos"} - TypusUser Load (0.8ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - Photo Load (0.3ms) SELECT * FROM "photos" WHERE ("photos"."id" = 20)  -Rendering template within layouts/admin -Rendering admin/resources/edit -Rendered admin/helpers/_list (0.1ms) -Rendered admin/helpers/_search (0.5ms) -Rendered admin/helpers/_preview (0.2ms) -Rendered admin/templates/_file (4.9ms) -Rendered admin/templates/_string (0.8ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/templates/_text (0.5ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/resources/_form (10.9ms) - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories"  - Category Load (0.5ms) SELECT * FROM "categories"  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 20 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 20)  - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 20 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 20)  - Category Load (0.4ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 20 ) ORDER BY categories.id ASC LIMIT 15 OFFSET 0 -Rendered admin/helpers/_table_header (0.1ms) -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.4ms) -Rendered admin/helpers/_flash_message (0.1ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 73ms (View: 41, DB: 3) | 200 OK [http://localhost/admin/photos/edit/20] - - -Processing Admin::PhotosController#index (for 127.0.0.1 at 2010-10-09 06:08:53) [GET] - Parameters: {"action"=>"index", "controller"=>"admin/photos"} - TypusUser Load (0.5ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos"  -Rendering template within layouts/admin -Rendering admin/resources/index -Rendered admin/helpers/_list (0.1ms) -Rendered admin/helpers/_search (0.5ms) - Photo Load (1.6ms) SELECT "photos".* FROM "photos" ORDER BY photos.id ASC LIMIT 15 OFFSET 0 -Rendered admin/helpers/_table_header (0.1ms) - Category Load (0.4ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 1 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 2 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 3 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 4 )  - Category Load (0.2ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 5 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 6 )  - Category Load (0.4ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 7 )  - Category Load (0.4ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 8 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 10 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 11 )  - Category Load (0.2ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 12 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 13 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 14 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 15 )  - Category Load (0.2ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 17 )  -Rendered admin/helpers/_pagination (0.7ms) -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.4ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 86ms (View: 57, DB: 7) | 200 OK [http://localhost/admin/photos] - - -Processing Admin::PhotosController#index (for 127.0.0.1 at 2010-10-09 06:08:54) [GET] - Parameters: {"action"=>"index", "sort_order"=>"desc", "page"=>"2", "controller"=>"admin/photos"} - TypusUser Load (0.5ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - SQL (0.3ms) SELECT count(*) AS count_all FROM "photos"  -Rendering template within layouts/admin -Rendering admin/resources/index -Rendered admin/helpers/_list (0.1ms) -Rendered admin/helpers/_search (0.6ms) -Rendered admin/helpers/_remove_filter_link (0.2ms) - Photo Load (0.8ms) SELECT "photos".* FROM "photos" ORDER BY photos.id ASC LIMIT 15 OFFSET 15 -Rendered admin/helpers/_table_header (0.1ms) - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 18 )  - Category Load (0.5ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 19 )  - Category Load (0.4ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 20 )  - Category Load (0.1ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 21 )  - Category Load (0.1ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 22 )  - Category Load (0.1ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 23 )  - Category Load (0.1ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 24 )  -Rendered admin/helpers/_pagination (0.5ms) -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.4ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 65ms (View: 40, DB: 3) | 200 OK [http://localhost/admin/photos?page=2&sort_order=desc] - - -Processing Admin::PhotosController#edit (for 127.0.0.1 at 2010-10-09 06:08:56) [GET] - Parameters: {"action"=>"edit", "id"=>"21", "controller"=>"admin/photos"} - TypusUser Load (0.5ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - Photo Load (0.3ms) SELECT * FROM "photos" WHERE ("photos"."id" = 21)  -Rendering template within layouts/admin -Rendering admin/resources/edit -Rendered admin/helpers/_list (0.1ms) -Rendered admin/helpers/_search (0.7ms) -Rendered admin/helpers/_preview (0.2ms) -Rendered admin/templates/_file (62.1ms) -Rendered admin/templates/_string (0.7ms) -Rendered admin/templates/_string (0.7ms) -Rendered admin/templates/_text (0.5ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/resources/_form (68.4ms) - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories"  - Category Load (0.5ms) SELECT * FROM "categories"  - Category Load (0.1ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 21 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 21)  - SQL (0.3ms) SELECT count(*) AS count_all FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 21 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 21)  - Category Load (0.2ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 21 ) ORDER BY categories.id ASC LIMIT 15 OFFSET 0 -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.4ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 115ms (View: 91, DB: 2) | 200 OK [http://localhost/admin/photos/edit/21] - - -Processing Admin::PhotosController#relate (for 127.0.0.1 at 2010-10-09 06:08:58) [POST] - Parameters: {"commit"=>"Add", "related"=>{"model"=>"Category", "relation"=>"categories", "id"=>"1"}, "action"=>"relate", "authenticity_token"=>"MRMA5jN8F+L8Qu/qxudBGU2lL/82P68aMbmoNbKb5zw=", "id"=>"21", "controller"=>"admin/photos"} - TypusUser Load (0.5ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - Photo Load (0.3ms) SELECT * FROM "photos" WHERE ("photos"."id" = 21)  - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = 1)  - SQL (0.2ms) INSERT INTO "categories_photos" ("category_id", "photo_id") VALUES (1, 21) -Redirected to http://localhost:3000/admin/photos/edit/21 -Completed in 31ms (DB: 1) | 302 Found [http://localhost/admin/photos/relate/21] - - -Processing Admin::PhotosController#edit (for 127.0.0.1 at 2010-10-09 06:08:58) [GET] - Parameters: {"action"=>"edit", "id"=>"21", "controller"=>"admin/photos"} - TypusUser Load (1.0ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - Photo Load (0.3ms) SELECT * FROM "photos" WHERE ("photos"."id" = 21)  -Rendering template within layouts/admin -Rendering admin/resources/edit -Rendered admin/helpers/_list (0.1ms) -Rendered admin/helpers/_search (0.6ms) -Rendered admin/helpers/_preview (0.2ms) -Rendered admin/templates/_file (5.1ms) -Rendered admin/templates/_string (0.8ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/templates/_text (0.5ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/resources/_form (11.6ms) - SQL (0.3ms) SELECT count(*) AS count_all FROM "categories"  - Category Load (0.5ms) SELECT * FROM "categories"  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 21 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 21)  - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 21 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 21)  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 21 ) ORDER BY categories.id ASC LIMIT 15 OFFSET 0 -Rendered admin/helpers/_table_header (0.1ms) -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.4ms) -Rendered admin/helpers/_flash_message (0.1ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 133ms (View: 38, DB: 3) | 200 OK [http://localhost/admin/photos/edit/21] - - -Processing Admin::PhotosController#relate (for 127.0.0.1 at 2010-10-09 06:09:01) [POST] - Parameters: {"commit"=>"Add", "related"=>{"model"=>"Category", "relation"=>"categories", "id"=>"4"}, "action"=>"relate", "authenticity_token"=>"MRMA5jN8F+L8Qu/qxudBGU2lL/82P68aMbmoNbKb5zw=", "id"=>"21", "controller"=>"admin/photos"} - TypusUser Load (0.5ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - Photo Load (0.4ms) SELECT * FROM "photos" WHERE ("photos"."id" = 21)  - Category Load (0.3ms) SELECT * FROM "categories" WHERE ("categories"."id" = 4)  - SQL (0.5ms) INSERT INTO "categories_photos" ("category_id", "photo_id") VALUES (4, 21) -Redirected to http://localhost:3000/admin/photos/edit/21 -Completed in 39ms (DB: 2) | 302 Found [http://localhost/admin/photos/relate/21] - - -Processing Admin::PhotosController#edit (for 127.0.0.1 at 2010-10-09 06:09:01) [GET] - Parameters: {"action"=>"edit", "id"=>"21", "controller"=>"admin/photos"} - TypusUser Load (0.6ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - Photo Load (0.3ms) SELECT * FROM "photos" WHERE ("photos"."id" = 21)  -Rendering template within layouts/admin -Rendering admin/resources/edit -Rendered admin/helpers/_list (0.1ms) -Rendered admin/helpers/_search (0.7ms) -Rendered admin/helpers/_preview (0.2ms) -Rendered admin/templates/_file (5.0ms) -Rendered admin/templates/_string (0.7ms) -Rendered admin/templates/_string (0.8ms) -Rendered admin/templates/_text (0.5ms) -Rendered admin/templates/_string (0.7ms) -Rendered admin/resources/_form (11.3ms) - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories"  - Category Load (0.5ms) SELECT * FROM "categories"  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 21 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 21)  - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 21 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 21)  - Category Load (0.5ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 21 ) ORDER BY categories.id ASC LIMIT 15 OFFSET 0 -Rendered admin/helpers/_table_header (0.1ms) -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.4ms) -Rendered admin/helpers/_flash_message (0.1ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 130ms (View: 39, DB: 3) | 200 OK [http://localhost/admin/photos/edit/21] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 06:09:03) [GET] - Parameters: {"category_id"=>"5"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '5') LIMIT 1 - SQL (0.3ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 5 )  -Rendering template within layouts/photos -Rendering photos/index - Photo Load (0.4ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 5 )  -Completed in 40ms (View: 8, DB: 1) | 200 OK [http://localhost/categories/5/photos] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 06:09:05) [GET] - Category Load (0.9ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 109ms (View: 104, DB: 1) | 200 OK [http://localhost/categories] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 06:09:06) [GET] - Parameters: {"category_id"=>"4"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '4') LIMIT 1 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 4 )  -Rendering template within layouts/photos -Rendering photos/index - Photo Load (0.9ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 4 )  -Completed in 24ms (View: 11, DB: 1) | 200 OK [http://localhost/categories/4/photos] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 06:09:09) [GET] - Category Load (0.8ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 10ms (View: 5, DB: 1) | 200 OK [http://localhost/categories] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 06:09:11) [GET] - Parameters: {"category_id"=>"6"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '6') LIMIT 1 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 6 )  -Rendering template within layouts/photos -Rendering photos/index - Photo Load (0.5ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 6 )  -Completed in 23ms (View: 9, DB: 1) | 200 OK [http://localhost/categories/6/photos] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 06:09:12) [GET] - Category Load (0.9ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 12ms (View: 5, DB: 1) | 200 OK [http://localhost/categories] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 06:09:13) [GET] - Parameters: {"category_id"=>"3"} - Category Load (0.3ms) SELECT * FROM "categories" WHERE ("categories"."id" = '3') LIMIT 1 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 3 )  -Rendering template within layouts/photos -Rendering photos/index - Photo Load (0.5ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 3 )  -Completed in 21ms (View: 7, DB: 1) | 200 OK [http://localhost/categories/3/photos] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 06:09:15) [GET] - Category Load (0.8ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 10ms (View: 5, DB: 1) | 200 OK [http://localhost/categories] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 06:09:15) [GET] - Parameters: {"category_id"=>"2"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '2') LIMIT 1 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 2 )  -Rendering template within layouts/photos -Rendering photos/index - Photo Load (0.7ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 2 )  -Completed in 23ms (View: 10, DB: 1) | 200 OK [http://localhost/categories/2/photos] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 06:09:20) [GET] - Category Load (0.9ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 12ms (View: 5, DB: 1) | 200 OK [http://localhost/categories] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 06:09:21) [GET] - Parameters: {"category_id"=>"5"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '5') LIMIT 1 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 5 )  -Rendering template within layouts/photos -Rendering photos/index - Photo Load (0.3ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 5 )  -Completed in 19ms (View: 7, DB: 1) | 200 OK [http://localhost/categories/5/photos] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 06:09:23) [GET] - Category Load (1.0ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 12ms (View: 5, DB: 1) | 200 OK [http://localhost/categories] - - -Processing Admin::PhotosController#index (for 127.0.0.1 at 2010-10-09 06:09:26) [GET] - Parameters: {"action"=>"index", "controller"=>"admin/photos"} - TypusUser Load (1.0ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos"  -Rendering template within layouts/admin -Rendering admin/resources/index -Rendered admin/helpers/_list (0.1ms) -Rendered admin/helpers/_search (0.5ms) - Photo Load (1.6ms) SELECT "photos".* FROM "photos" ORDER BY photos.id ASC LIMIT 15 OFFSET 0 -Rendered admin/helpers/_table_header (0.1ms) - Category Load (0.4ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 1 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 2 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 3 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 4 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 5 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 6 )  - Category Load (0.4ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 7 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 8 )  - Category Load (0.2ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 10 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 11 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 12 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 13 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 14 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 15 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 17 )  -Rendered admin/helpers/_pagination (0.5ms) -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.4ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 162ms (View: 60, DB: 7) | 200 OK [http://localhost/admin/photos] - - -Processing Admin::PhotosController#index (for 127.0.0.1 at 2010-10-09 06:09:28) [GET] - Parameters: {"action"=>"index", "sort_order"=>"desc", "page"=>"2", "controller"=>"admin/photos"} - TypusUser Load (0.6ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos"  -Rendering template within layouts/admin -Rendering admin/resources/index -Rendered admin/helpers/_list (0.1ms) -Rendered admin/helpers/_search (0.6ms) -Rendered admin/helpers/_remove_filter_link (0.2ms) - Photo Load (0.8ms) SELECT "photos".* FROM "photos" ORDER BY photos.id ASC LIMIT 15 OFFSET 15 -Rendered admin/helpers/_table_header (0.1ms) - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 18 )  - Category Load (0.4ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 19 )  - Category Load (0.4ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 20 )  - Category Load (0.5ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 21 )  - Category Load (0.1ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 22 )  - Category Load (0.2ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 23 )  - Category Load (0.1ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 24 )  -Rendered admin/helpers/_pagination (0.5ms) -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.4ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 126ms (View: 41, DB: 4) | 200 OK [http://localhost/admin/photos?page=2&sort_order=desc] - - -Processing Admin::PhotosController#edit (for 127.0.0.1 at 2010-10-09 06:09:30) [GET] - Parameters: {"action"=>"edit", "id"=>"22", "controller"=>"admin/photos"} - TypusUser Load (0.6ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - Photo Load (0.3ms) SELECT * FROM "photos" WHERE ("photos"."id" = 22)  -Rendering template within layouts/admin -Rendering admin/resources/edit -Rendered admin/helpers/_list (0.1ms) -Rendered admin/helpers/_search (0.6ms) -Rendered admin/helpers/_preview (0.2ms) -Rendered admin/templates/_file (5.0ms) -Rendered admin/templates/_string (0.7ms) -Rendered admin/templates/_string (0.7ms) -Rendered admin/templates/_text (0.5ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/resources/_form (11.0ms) - SQL (0.3ms) SELECT count(*) AS count_all FROM "categories"  - Category Load (0.6ms) SELECT * FROM "categories"  - Category Load (0.1ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 22 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 22)  - SQL (0.3ms) SELECT count(*) AS count_all FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 22 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 22)  - Category Load (0.2ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 22 ) ORDER BY categories.id ASC LIMIT 15 OFFSET 0 -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.4ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 117ms (View: 93, DB: 2) | 200 OK [http://localhost/admin/photos/edit/22] - - -Processing Admin::PhotosController#relate (for 127.0.0.1 at 2010-10-09 06:09:34) [POST] - Parameters: {"commit"=>"Add", "related"=>{"model"=>"Category", "relation"=>"categories", "id"=>"3"}, "action"=>"relate", "authenticity_token"=>"MRMA5jN8F+L8Qu/qxudBGU2lL/82P68aMbmoNbKb5zw=", "id"=>"22", "controller"=>"admin/photos"} - TypusUser Load (0.6ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - Photo Load (0.3ms) SELECT * FROM "photos" WHERE ("photos"."id" = 22)  - Category Load (0.3ms) SELECT * FROM "categories" WHERE ("categories"."id" = 3)  - SQL (0.3ms) INSERT INTO "categories_photos" ("category_id", "photo_id") VALUES (3, 22) -Redirected to http://localhost:3000/admin/photos/edit/22 -Completed in 32ms (DB: 1) | 302 Found [http://localhost/admin/photos/relate/22] - - -Processing Admin::PhotosController#edit (for 127.0.0.1 at 2010-10-09 06:09:34) [GET] - Parameters: {"action"=>"edit", "id"=>"22", "controller"=>"admin/photos"} - TypusUser Load (0.6ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - Photo Load (0.4ms) SELECT * FROM "photos" WHERE ("photos"."id" = 22)  -Rendering template within layouts/admin -Rendering admin/resources/edit -Rendered admin/helpers/_list (0.1ms) -Rendered admin/helpers/_search (0.6ms) -Rendered admin/helpers/_preview (0.2ms) -Rendered admin/templates/_file (6.5ms) -Rendered admin/templates/_string (0.7ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/templates/_text (0.5ms) -Rendered admin/templates/_string (62.5ms) -Rendered admin/resources/_form (74.5ms) - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories"  - Category Load (0.5ms) SELECT * FROM "categories"  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 22 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 22)  - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 22 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 22)  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 22 ) ORDER BY categories.id ASC LIMIT 15 OFFSET 0 -Rendered admin/helpers/_table_header (0.1ms) -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.4ms) -Rendered admin/helpers/_flash_message (0.1ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 134ms (View: 103, DB: 2) | 200 OK [http://localhost/admin/photos/edit/22] - - -Processing Admin::PhotosController#relate (for 127.0.0.1 at 2010-10-09 06:09:38) [POST] - Parameters: {"commit"=>"Add", "related"=>{"model"=>"Category", "relation"=>"categories", "id"=>"4"}, "action"=>"relate", "authenticity_token"=>"MRMA5jN8F+L8Qu/qxudBGU2lL/82P68aMbmoNbKb5zw=", "id"=>"22", "controller"=>"admin/photos"} - TypusUser Load (0.6ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - Photo Load (0.3ms) SELECT * FROM "photos" WHERE ("photos"."id" = 22)  - Category Load (0.3ms) SELECT * FROM "categories" WHERE ("categories"."id" = 4)  - SQL (0.3ms) INSERT INTO "categories_photos" ("category_id", "photo_id") VALUES (4, 22) -Redirected to http://localhost:3000/admin/photos/edit/22 -Completed in 32ms (DB: 1) | 302 Found [http://localhost/admin/photos/relate/22] - - -Processing Admin::PhotosController#edit (for 127.0.0.1 at 2010-10-09 06:09:38) [GET] - Parameters: {"action"=>"edit", "id"=>"22", "controller"=>"admin/photos"} - TypusUser Load (1.3ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - Photo Load (0.4ms) SELECT * FROM "photos" WHERE ("photos"."id" = 22)  -Rendering template within layouts/admin -Rendering admin/resources/edit -Rendered admin/helpers/_list (0.1ms) -Rendered admin/helpers/_search (0.5ms) -Rendered admin/helpers/_preview (0.2ms) -Rendered admin/templates/_file (4.7ms) -Rendered admin/templates/_string (0.7ms) -Rendered admin/templates/_string (0.7ms) -Rendered admin/templates/_text (0.5ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/resources/_form (11.0ms) - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories"  - Category Load (0.6ms) SELECT * FROM "categories"  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 22 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 22)  - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 22 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 22)  - Category Load (0.4ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 22 ) ORDER BY categories.id ASC LIMIT 15 OFFSET 0 -Rendered admin/helpers/_table_header (0.1ms) -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.4ms) -Rendered admin/helpers/_flash_message (0.1ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 127ms (View: 98, DB: 3) | 200 OK [http://localhost/admin/photos/edit/22] - - -Processing Admin::PhotosController#relate (for 127.0.0.1 at 2010-10-09 06:09:43) [POST] - Parameters: {"commit"=>"Add", "related"=>{"model"=>"Category", "relation"=>"categories", "id"=>"1"}, "action"=>"relate", "authenticity_token"=>"MRMA5jN8F+L8Qu/qxudBGU2lL/82P68aMbmoNbKb5zw=", "id"=>"22", "controller"=>"admin/photos"} - TypusUser Load (0.6ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - Photo Load (0.3ms) SELECT * FROM "photos" WHERE ("photos"."id" = 22)  - Category Load (0.3ms) SELECT * FROM "categories" WHERE ("categories"."id" = 1)  - SQL (0.3ms) INSERT INTO "categories_photos" ("category_id", "photo_id") VALUES (1, 22) -Redirected to http://localhost:3000/admin/photos/edit/22 -Completed in 31ms (DB: 1) | 302 Found [http://localhost/admin/photos/relate/22] - - -Processing Admin::PhotosController#edit (for 127.0.0.1 at 2010-10-09 06:09:43) [GET] - Parameters: {"action"=>"edit", "id"=>"22", "controller"=>"admin/photos"} - TypusUser Load (1.3ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - Photo Load (0.3ms) SELECT * FROM "photos" WHERE ("photos"."id" = 22)  -Rendering template within layouts/admin -Rendering admin/resources/edit -Rendered admin/helpers/_list (0.1ms) -Rendered admin/helpers/_search (0.6ms) -Rendered admin/helpers/_preview (0.2ms) -Rendered admin/templates/_file (5.0ms) -Rendered admin/templates/_string (0.7ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/templates/_text (0.5ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/resources/_form (11.1ms) - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories"  - Category Load (0.5ms) SELECT * FROM "categories"  - Category Load (0.5ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 22 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 22)  - SQL (0.3ms) SELECT count(*) AS count_all FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 22 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 22)  - Category Load (0.4ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 22 ) ORDER BY categories.id ASC LIMIT 15 OFFSET 0 -Rendered admin/helpers/_table_header (0.1ms) -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.4ms) -Rendered admin/helpers/_flash_message (0.1ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 139ms (View: 41, DB: 4) | 200 OK [http://localhost/admin/photos/edit/22] - - -Processing Admin::PhotosController#index (for 127.0.0.1 at 2010-10-09 06:09:44) [GET] - Parameters: {"action"=>"index", "controller"=>"admin/photos"} - TypusUser Load (0.6ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos"  -Rendering template within layouts/admin -Rendering admin/resources/index -Rendered admin/helpers/_list (0.1ms) -Rendered admin/helpers/_search (0.5ms) - Photo Load (1.4ms) SELECT "photos".* FROM "photos" ORDER BY photos.id ASC LIMIT 15 OFFSET 0 -Rendered admin/helpers/_table_header (0.1ms) - Category Load (0.4ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 1 )  - Category Load (0.4ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 2 )  - Category Load (0.5ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 3 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 4 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 5 )  - Category Load (0.4ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 6 )  - Category Load (0.4ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 7 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 8 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 10 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 11 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 12 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 13 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 14 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 15 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 17 )  -Rendered admin/helpers/_pagination (0.5ms) -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.4ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 149ms (View: 119, DB: 7) | 200 OK [http://localhost/admin/photos] - - -Processing Admin::PhotosController#index (for 127.0.0.1 at 2010-10-09 06:09:46) [GET] - Parameters: {"action"=>"index", "sort_order"=>"desc", "page"=>"2", "controller"=>"admin/photos"} - TypusUser Load (0.6ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos"  -Rendering template within layouts/admin -Rendering admin/resources/index -Rendered admin/helpers/_list (0.1ms) -Rendered admin/helpers/_search (0.5ms) -Rendered admin/helpers/_remove_filter_link (0.2ms) - Photo Load (0.9ms) SELECT "photos".* FROM "photos" ORDER BY photos.id ASC LIMIT 15 OFFSET 15 -Rendered admin/helpers/_table_header (0.2ms) - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 18 )  - Category Load (0.4ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 19 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 20 )  - Category Load (0.4ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 21 )  - Category Load (0.4ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 22 )  - Category Load (0.1ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 23 )  - Category Load (0.2ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 24 )  -Rendered admin/helpers/_pagination (61.5ms) -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.4ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 129ms (View: 102, DB: 4) | 200 OK [http://localhost/admin/photos?page=2&sort_order=desc] - - -Processing Admin::PhotosController#edit (for 127.0.0.1 at 2010-10-09 06:09:48) [GET] - Parameters: {"action"=>"edit", "id"=>"23", "controller"=>"admin/photos"} - TypusUser Load (0.7ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - Photo Load (0.3ms) SELECT * FROM "photos" WHERE ("photos"."id" = 23)  -Rendering template within layouts/admin -Rendering admin/resources/edit -Rendered admin/helpers/_list (0.1ms) -Rendered admin/helpers/_search (0.5ms) -Rendered admin/helpers/_preview (0.2ms) -Rendered admin/templates/_file (4.7ms) -Rendered admin/templates/_string (0.7ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/templates/_text (0.4ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/resources/_form (10.6ms) - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories"  - Category Load (0.5ms) SELECT * FROM "categories"  - Category Load (0.2ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 23 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 23)  - SQL (0.3ms) SELECT count(*) AS count_all FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 23 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 23)  - Category Load (0.2ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 23 ) ORDER BY categories.id ASC LIMIT 15 OFFSET 0 -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.4ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 59ms (View: 34, DB: 2) | 200 OK [http://localhost/admin/photos/edit/23] - - -Processing Admin::PhotosController#relate (for 127.0.0.1 at 2010-10-09 06:09:50) [POST] - Parameters: {"commit"=>"Add", "related"=>{"model"=>"Category", "relation"=>"categories", "id"=>"1"}, "action"=>"relate", "authenticity_token"=>"MRMA5jN8F+L8Qu/qxudBGU2lL/82P68aMbmoNbKb5zw=", "id"=>"23", "controller"=>"admin/photos"} - TypusUser Load (0.6ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - Photo Load (0.3ms) SELECT * FROM "photos" WHERE ("photos"."id" = 23)  - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = 1)  - SQL (0.3ms) INSERT INTO "categories_photos" ("category_id", "photo_id") VALUES (1, 23) -Redirected to http://localhost:3000/admin/photos/edit/23 -Completed in 91ms (DB: 1) | 302 Found [http://localhost/admin/photos/relate/23] - - -Processing Admin::PhotosController#edit (for 127.0.0.1 at 2010-10-09 06:09:51) [GET] - Parameters: {"action"=>"edit", "id"=>"23", "controller"=>"admin/photos"} - TypusUser Load (0.6ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - Photo Load (0.3ms) SELECT * FROM "photos" WHERE ("photos"."id" = 23)  -Rendering template within layouts/admin -Rendering admin/resources/edit -Rendered admin/helpers/_list (0.1ms) -Rendered admin/helpers/_search (0.6ms) -Rendered admin/helpers/_preview (0.2ms) -Rendered admin/templates/_file (4.9ms) -Rendered admin/templates/_string (0.7ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/templates/_text (0.5ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/resources/_form (11.3ms) - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories"  - Category Load (0.5ms) SELECT * FROM "categories"  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 23 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 23)  - SQL (0.3ms) SELECT count(*) AS count_all FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 23 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 23)  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 23 ) ORDER BY categories.id ASC LIMIT 15 OFFSET 0 -Rendered admin/helpers/_table_header (0.1ms) -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.7ms) -Rendered admin/helpers/_flash_message (0.1ms) -Rendered admin/shared/_footer (0.4ms) -Completed in 71ms (View: 40, DB: 2) | 200 OK [http://localhost/admin/photos/edit/23] - - -Processing Admin::PhotosController#index (for 127.0.0.1 at 2010-10-09 06:09:52) [GET] - Parameters: {"action"=>"index", "controller"=>"admin/photos"} - TypusUser Load (0.6ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos"  -Rendering template within layouts/admin -Rendering admin/resources/index -Rendered admin/helpers/_list (0.1ms) -Rendered admin/helpers/_search (0.6ms) - Photo Load (1.5ms) SELECT "photos".* FROM "photos" ORDER BY photos.id ASC LIMIT 15 OFFSET 0 -Rendered admin/helpers/_table_header (0.1ms) - Category Load (0.4ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 1 )  - Category Load (0.4ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 2 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 3 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 4 )  - Category Load (0.4ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 5 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 6 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 7 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 8 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 10 )  - Category Load (0.4ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 11 )  - Category Load (0.4ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 12 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 13 )  - Category Load (0.2ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 14 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 15 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 17 )  -Rendered admin/helpers/_pagination (0.5ms) -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.5ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 92ms (View: 61, DB: 7) | 200 OK [http://localhost/admin/photos] - - -Processing Admin::PhotosController#index (for 127.0.0.1 at 2010-10-09 06:09:53) [GET] - Parameters: {"action"=>"index", "sort_order"=>"desc", "page"=>"2", "controller"=>"admin/photos"} - TypusUser Load (0.6ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos"  -Rendering template within layouts/admin -Rendering admin/resources/index -Rendered admin/helpers/_list (0.1ms) -Rendered admin/helpers/_search (0.6ms) -Rendered admin/helpers/_remove_filter_link (0.2ms) - Photo Load (1.1ms) SELECT "photos".* FROM "photos" ORDER BY photos.id ASC LIMIT 15 OFFSET 15 -Rendered admin/helpers/_table_header (0.1ms) - Category Load (0.4ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 18 )  - Category Load (0.5ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 19 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 20 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 21 )  - Category Load (0.5ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 22 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 23 )  - Category Load (0.2ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 24 )  -Rendered admin/helpers/_pagination (0.6ms) -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.4ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 135ms (View: 45, DB: 4) | 200 OK [http://localhost/admin/photos?page=2&sort_order=desc] - - -Processing Admin::PhotosController#edit (for 127.0.0.1 at 2010-10-09 06:09:55) [GET] - Parameters: {"action"=>"edit", "id"=>"24", "controller"=>"admin/photos"} - TypusUser Load (0.5ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - Photo Load (0.3ms) SELECT * FROM "photos" WHERE ("photos"."id" = 24)  -Rendering template within layouts/admin -Rendering admin/resources/edit -Rendered admin/helpers/_list (0.1ms) -Rendered admin/helpers/_search (0.5ms) -Rendered admin/helpers/_preview (0.2ms) -Rendered admin/templates/_file (4.6ms) -Rendered admin/templates/_string (0.7ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/templates/_text (0.8ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/resources/_form (70.6ms) - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories"  - Category Load (0.5ms) SELECT * FROM "categories"  - Category Load (0.2ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 24 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 24)  - SQL (0.3ms) SELECT count(*) AS count_all FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 24 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 24)  - Category Load (0.2ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 24 ) ORDER BY categories.id ASC LIMIT 15 OFFSET 0 -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.5ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 118ms (View: 94, DB: 2) | 200 OK [http://localhost/admin/photos/edit/24] - - -Processing Admin::PhotosController#relate (for 127.0.0.1 at 2010-10-09 06:09:58) [POST] - Parameters: {"commit"=>"Add", "related"=>{"model"=>"Category", "relation"=>"categories", "id"=>"4"}, "action"=>"relate", "authenticity_token"=>"MRMA5jN8F+L8Qu/qxudBGU2lL/82P68aMbmoNbKb5zw=", "id"=>"24", "controller"=>"admin/photos"} - TypusUser Load (0.5ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - Photo Load (0.3ms) SELECT * FROM "photos" WHERE ("photos"."id" = 24)  - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = 4)  - SQL (0.2ms) INSERT INTO "categories_photos" ("category_id", "photo_id") VALUES (4, 24) -Redirected to http://localhost:3000/admin/photos/edit/24 -Completed in 3662ms (DB: 1) | 302 Found [http://localhost/admin/photos/relate/24] - - -Processing Admin::PhotosController#edit (for 127.0.0.1 at 2010-10-09 06:10:02) [GET] - Parameters: {"action"=>"edit", "id"=>"24", "controller"=>"admin/photos"} - TypusUser Load (0.6ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - Photo Load (0.3ms) SELECT * FROM "photos" WHERE ("photos"."id" = 24)  -Rendering template within layouts/admin -Rendering admin/resources/edit -Rendered admin/helpers/_list (0.1ms) -Rendered admin/helpers/_search (0.5ms) -Rendered admin/helpers/_preview (0.2ms) -Rendered admin/templates/_file (66.6ms) -Rendered admin/templates/_string (0.7ms) -Rendered admin/templates/_string (0.7ms) -Rendered admin/templates/_text (0.5ms) -Rendered admin/templates/_string (0.7ms) -Rendered admin/resources/_form (73.1ms) - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories"  - Category Load (0.5ms) SELECT * FROM "categories"  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 24 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 24)  - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 24 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 24)  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 24 ) ORDER BY categories.id ASC LIMIT 15 OFFSET 0 -Rendered admin/helpers/_table_header (0.1ms) -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.4ms) -Rendered admin/helpers/_flash_message (0.1ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 124ms (View: 99, DB: 2) | 200 OK [http://localhost/admin/photos/edit/24] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 06:10:04) [GET] - Parameters: {"category_id"=>"4"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '4') LIMIT 1 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 4 )  -Rendering template within layouts/photos -Rendering photos/index - Photo Load (1.1ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 4 )  -Completed in 27ms (View: 13, DB: 2) | 200 OK [http://localhost/categories/4/photos] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 06:10:33) [GET] - Category Load (0.8ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 11ms (View: 5, DB: 1) | 200 OK [http://localhost/categories] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 06:10:35) [GET] - Parameters: {"category_id"=>"2"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '2') LIMIT 1 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 2 )  -Rendering template within layouts/photos -Rendering photos/index - Photo Load (0.7ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 2 )  -Completed in 23ms (View: 9, DB: 1) | 200 OK [http://localhost/categories/2/photos] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 06:10:37) [GET] - Category Load (0.8ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 11ms (View: 5, DB: 1) | 200 OK [http://localhost/categories] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 06:10:38) [GET] - Parameters: {"category_id"=>"5"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '5') LIMIT 1 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 5 )  -Rendering template within layouts/photos -Rendering photos/index - Photo Load (0.3ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 5 )  -Completed in 74ms (View: 7, DB: 1) | 200 OK [http://localhost/categories/5/photos] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 06:10:39) [GET] - Category Load (1.3ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 14ms (View: 7, DB: 1) | 200 OK [http://localhost/categories] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 06:10:52) [GET] - Parameters: {"category_id"=>"6"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '6') LIMIT 1 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 6 )  -Rendering template within layouts/photos -Rendering photos/index - Photo Load (0.5ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 6 )  -Completed in 22ms (View: 9, DB: 1) | 200 OK [http://localhost/categories/6/photos] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 06:10:57) [GET] - Category Load (0.8ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 10ms (View: 5, DB: 1) | 200 OK [http://localhost/categories] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 06:10:59) [GET] - Parameters: {"category_id"=>"3"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '3') LIMIT 1 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 3 )  -Rendering template within layouts/photos -Rendering photos/index - Photo Load (0.4ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 3 )  -Completed in 20ms (View: 7, DB: 1) | 200 OK [http://localhost/categories/3/photos] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 06:11:06) [GET] - Category Load (0.9ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 10ms (View: 5, DB: 1) | 200 OK [http://localhost/categories] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 06:11:08) [GET] - Parameters: {"category_id"=>"4"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '4') LIMIT 1 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 4 )  -Rendering template within layouts/photos -Rendering photos/index - Photo Load (1.2ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 4 )  -Completed in 27ms (View: 13, DB: 2) | 200 OK [http://localhost/categories/4/photos] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 06:11:10) [GET] - Category Load (1.0ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 10ms (View: 5, DB: 1) | 200 OK [http://localhost/categories] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 06:11:16) [GET] - Parameters: {"category_id"=>"4"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '4') LIMIT 1 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 4 )  -Rendering template within layouts/photos -Rendering photos/index - Photo Load (1.0ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 4 )  -Completed in 27ms (View: 13, DB: 1) | 200 OK [http://localhost/categories/4/photos] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 06:34:21) [GET] - Category Load (0.8ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 92ms (View: 66, DB: 1) | 200 OK [http://localhost/categories] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 06:48:38) [GET] - Parameters: {"category_id"=>"4"} - Category Load (0.3ms) SELECT * FROM "categories" WHERE ("categories"."id" = '4') LIMIT 1 - SQL (22.4ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 4 )  -Rendering template within layouts/photos -Rendering photos/index - Photo Load (1.2ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 4 )  -Completed in 192ms (View: 105, DB: 24) | 200 OK [http://localhost/categories/4/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 06:48:41) [GET] - Parameters: {"category_id"=>"2"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '2') LIMIT 1 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 2 )  -Rendering template within layouts/photos -Rendering photos/index - Photo Load (0.6ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 2 )  -Completed in 22ms (View: 9, DB: 1) | 200 OK [http://localhost/categories/2/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 06:48:44) [GET] - Parameters: {"category_id"=>"5"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '5') LIMIT 1 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 5 )  -Rendering template within layouts/photos -Rendering photos/index - Photo Load (0.3ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 5 )  -Completed in 21ms (View: 7, DB: 1) | 200 OK [http://localhost/categories/5/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 06:48:45) [GET] - Parameters: {"category_id"=>"6"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '6') LIMIT 1 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 6 )  -Rendering template within layouts/photos -Rendering photos/index - Photo Load (0.5ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 6 )  -Completed in 78ms (View: 65, DB: 1) | 200 OK [http://localhost/categories/6/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 06:48:47) [GET] - Parameters: {"category_id"=>"3"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '3') LIMIT 1 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 3 )  -Rendering template within layouts/photos -Rendering photos/index - Photo Load (0.4ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 3 )  -Completed in 20ms (View: 8, DB: 1) | 200 OK [http://localhost/categories/3/photos] - - -Processing TypusController#dashboard (for 127.0.0.1 at 2010-10-09 06:49:53) [GET] - Parameters: {"action"=>"dashboard", "controller"=>"typus"} - TypusUser Load (0.6ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  -Rendering template within layouts/admin -Rendering typus/dashboard -Rendered admin/dashboard/_sidebar (0.2ms) -Rendered admin/helpers/_applications (2.7ms) -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.4ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 102ms (View: 73, DB: 1) | 200 OK [http://localhost/admin] - - -Processing Admin::CategoriesController#index (for 127.0.0.1 at 2010-10-09 06:49:55) [GET] - Parameters: {"action"=>"index", "controller"=>"admin/categories"} - TypusUser Load (0.7ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - SQL (0.3ms) SELECT count(*) AS count_all FROM "categories"  -Rendering template within layouts/admin -Rendering admin/resources/index -Rendered admin/helpers/_list (0.1ms) -Rendered admin/helpers/_search (0.7ms) - Category Load (0.8ms) SELECT "categories".* FROM "categories" ORDER BY categories.id ASC LIMIT 15 OFFSET 0 -Rendered admin/helpers/_table_header (0.1ms) -Rendered admin/helpers/_header (0.2ms) -Rendered admin/helpers/_login_info (0.7ms) -Rendered admin/shared/_footer (0.3ms) -Completed in 128ms (View: 36, DB: 2) | 200 OK [http://localhost/admin/categories] - - -Processing Admin::CategoriesController#edit (for 127.0.0.1 at 2010-10-09 06:49:58) [GET] - Parameters: {"action"=>"edit", "id"=>"6", "controller"=>"admin/categories"} - TypusUser Load (0.6ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - Category Load (0.3ms) SELECT * FROM "categories" WHERE ("categories"."id" = 6)  -Rendering template within layouts/admin -Rendering admin/resources/edit -Rendered admin/helpers/_list (0.1ms) -Rendered admin/helpers/_search (0.6ms) -Rendered admin/templates/_string (1.7ms) -Rendered admin/templates/_text (0.5ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/templates/_string (0.7ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/resources/_form (7.7ms) - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos"  - Photo Load (1.8ms) SELECT * FROM "photos"  - Photo Load (0.5ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 6 )  - CACHE (0.0ms) SELECT * FROM "categories" WHERE ("categories"."id" = 6)  - SQL (0.3ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 6 )  - CACHE (0.0ms) SELECT * FROM "categories" WHERE ("categories"."id" = 6)  - Photo Load (0.6ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 6 ) ORDER BY photos.id ASC LIMIT 15 OFFSET 0 -Rendered admin/helpers/_table_header (0.1ms) -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.4ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 124ms (View: 100, DB: 4) | 200 OK [http://localhost/admin/categories/edit/6] - - -Processing Admin::CategoriesController#update (for 127.0.0.1 at 2010-10-09 06:50:01) [PUT] - Parameters: {"category"=>{"name"=>"Abstract", "sort"=>"", "base_colour"=>"#24aabe", "photo_id"=>"", "description"=>""}, "commit"=>"Save Category", "action"=>"update", "_method"=>"put", "authenticity_token"=>"MRMA5jN8F+L8Qu/qxudBGU2lL/82P68aMbmoNbKb5zw=", "id"=>"6", "controller"=>"admin/categories"} - TypusUser Load (0.6ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - Category Load (0.3ms) SELECT * FROM "categories" WHERE ("categories"."id" = 6)  - Category Update (0.3ms) UPDATE "categories" SET "updated_at" = '2010-10-09 10:50:01', "base_colour" = '#24aabe' WHERE "id" = 6 -Redirected to http://localhost:3000/admin/categories/edit/6 -Completed in 26ms (DB: 1) | 302 Found [http://localhost/admin/categories/update/6] - - -Processing Admin::CategoriesController#edit (for 127.0.0.1 at 2010-10-09 06:50:01) [GET] - Parameters: {"action"=>"edit", "id"=>"6", "controller"=>"admin/categories"} - TypusUser Load (0.7ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - Category Load (0.3ms) SELECT * FROM "categories" WHERE ("categories"."id" = 6)  -Rendering template within layouts/admin -Rendering admin/resources/edit -Rendered admin/helpers/_list (0.1ms) -Rendered admin/helpers/_search (0.5ms) -Rendered admin/templates/_string (2.0ms) -Rendered admin/templates/_text (0.6ms) -Rendered admin/templates/_string (0.7ms) -Rendered admin/templates/_string (0.7ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/resources/_form (9.0ms) - SQL (0.3ms) SELECT count(*) AS count_all FROM "photos"  - Photo Load (2.9ms) SELECT * FROM "photos"  - Photo Load (0.5ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 6 )  - CACHE (0.0ms) SELECT * FROM "categories" WHERE ("categories"."id" = 6)  - SQL (0.3ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 6 )  - CACHE (0.0ms) SELECT * FROM "categories" WHERE ("categories"."id" = 6)  - Photo Load (0.9ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 6 ) ORDER BY photos.id ASC LIMIT 15 OFFSET 0 -Rendered admin/helpers/_table_header (0.1ms) -Rendered admin/helpers/_header (0.1ms) -Rendered admin/helpers/_login_info (0.4ms) -Rendered admin/helpers/_flash_message (0.1ms) -Rendered admin/shared/_footer (0.3ms) -Completed in 143ms (View: 116, DB: 6) | 200 OK [http://localhost/admin/categories/edit/6] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 06:50:02) [GET] - Category Load (0.8ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 47ms (View: 41, DB: 1) | 200 OK [http://localhost/categories] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 06:50:31) [GET] - Parameters: {"category_id"=>"4"} - Category Load (0.3ms) SELECT * FROM "categories" WHERE ("categories"."id" = '4') LIMIT 1 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 4 )  -Rendering template within layouts/photos -Rendering photos/index - Photo Load (1.2ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 4 )  -Completed in 71ms (View: 55, DB: 2) | 200 OK [http://localhost/categories/4/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 06:55:51) [GET] - Photo Load (82.0ms) SELECT * FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 116ms (View: 27, DB: 82) | 200 OK [http://localhost/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 06:56:21) [GET] - Photo Load (2.7ms) SELECT * FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 38ms (View: 27, DB: 3) | 200 OK [http://localhost/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 06:56:24) [GET] - Parameters: {"category_id"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )  -Rendering template within layouts/photos -Rendering photos/index - Photo Load (1.5ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )  -Completed in 31ms (View: 17, DB: 2) | 200 OK [http://localhost/categories/1/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 06:56:28) [GET] - Parameters: {"category_id"=>"2"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '2') LIMIT 1 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 2 )  -Rendering template within layouts/photos -Rendering photos/index - Photo Load (0.6ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 2 )  -Completed in 22ms (View: 9, DB: 1) | 200 OK [http://localhost/categories/2/photos] - - -Processing ApplicationController#index (for 127.0.0.1 at 2010-10-09 06:59:32) [GET] - -SyntaxError (/Users/danbee/Sites/rails/photos/app/controllers/photos_controller.rb:13: syntax error, unexpected '=', expecting kEND - @photos = Photo.paginate :all, :page = params[:page] - ^): - - -Rendered rescues/_trace (81.7ms) -Rendered rescues/_request_and_response (0.3ms) -Rendering rescues/layout (internal_server_error) - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 06:59:39) [GET] - SQL (0.5ms)  SELECT name - FROM sqlite_master - WHERE type = 'table' AND NOT name = 'sqlite_sequence' - - -NoMethodError (undefined method `paginate' for #): +TypeError (can't convert nil into Array): app/controllers/photos_controller.rb:13:in `index' -Rendered rescues/_trace (27.3ms) -Rendered rescues/_request_and_response (0.3ms) -Rendering rescues/layout (internal_server_error) +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) +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 (2.5ms) +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/diagnostics.erb within rescues/layout (7.8ms) -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 06:59:59) [GET] - SQL (0.6ms)  SELECT name - FROM sqlite_master - WHERE type = 'table' AND NOT name = 'sqlite_sequence' - +Started GET "/categories" for 127.0.0.1 at 2010-10-11 06:38:43 -0400 + Processing by CategoriesController#index as HTML + Category Load (7.6ms) SELECT "categories".* FROM "categories" +Completed in 18ms -NoMethodError (undefined method `paginate' for #): - app/controllers/photos_controller.rb:13:in `index' - -Rendered rescues/_trace (90.8ms) -Rendered rescues/_request_and_response (0.3ms) -Rendering rescues/layout (internal_server_error) - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 07:00:15) [GET] - Photo Load (2.3ms) SELECT * FROM "photos" LIMIT 30 OFFSET 0 -Rendering template within layouts/photos -Rendering photos/index -Completed in 73ms (View: 52, DB: 2) | 200 OK [http://localhost/photos] - - -Processing ApplicationController#index (for 127.0.0.1 at 2010-10-09 07:01:00) [GET] - -SyntaxError (/Users/danbee/Sites/rails/photos/app/controllers/photos_controller.rb:13: syntax error, unexpected '=', expecting tASSOC -... => params[:page], :per_page = 11 - ^): - - -Rendered rescues/_trace (28.9ms) -Rendered rescues/_request_and_response (1.2ms) -Rendering rescues/layout (internal_server_error) - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 07:01:05) [GET] - Photo Load (1.5ms) SELECT * FROM "photos" LIMIT 11 OFFSET 0 - SQL (0.1ms) SELECT count(*) AS count_all FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 23ms (View: 13, DB: 2) | 200 OK [http://localhost/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 07:01:44) [GET] - Parameters: {"category_id"=>"1"} - Category Load (0.4ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - SQL (0.3ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )  -Rendering template within layouts/photos -Rendering photos/index - Photo Load (1.6ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )  -Completed in 90ms (View: 18, DB: 2) | 200 OK [http://localhost/categories/1/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 07:02:05) [GET] - Parameters: {"category_id"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (1.5ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 11 OFFSET 0 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )  -Rendering template within layouts/photos -Rendering photos/index -Completed in 29ms (View: 13, DB: 2) | 200 OK [http://localhost/categories/1/photos] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 07:02:08) [GET] - Category Load (0.9ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 73ms (View: 67, DB: 1) | 200 OK [http://localhost/categories] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 07:02:08) [GET] - Parameters: {"category_id"=>"5"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '5') LIMIT 1 - Photo Load (0.4ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 5 ) LIMIT 11 OFFSET 0 -Rendering template within layouts/photos -Rendering photos/index -Completed in 19ms (View: 7, DB: 1) | 200 OK [http://localhost/categories/5/photos] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 07:02:09) [GET] - Category Load (0.8ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 10ms (View: 5, DB: 1) | 200 OK [http://localhost/categories] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 07:02:10) [GET] - Parameters: {"category_id"=>"4"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '4') LIMIT 1 - Photo Load (1.2ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 4 ) LIMIT 11 OFFSET 0 -Rendering template within layouts/photos -Rendering photos/index -Completed in 25ms (View: 12, DB: 1) | 200 OK [http://localhost/categories/4/photos] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 07:02:11) [GET] - Category Load (0.9ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 11ms (View: 5, DB: 1) | 200 OK [http://localhost/categories] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 07:02:13) [GET] - Parameters: {"category_id"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (1.4ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 11 OFFSET 0 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )  -Rendering template within layouts/photos -Rendering photos/index -Completed in 29ms (View: 13, DB: 2) | 200 OK [http://localhost/categories/1/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 07:02:29) [GET] - Parameters: {"category_id"=>"1", "page"=>"2"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (0.7ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 11 OFFSET 11 -Rendering template within layouts/photos -Rendering photos/index -Completed in 22ms (View: 8, DB: 1) | 200 OK [http://localhost/categories/1/photos?page=2] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 07:02:34) [GET] - Parameters: {"category_id"=>"1"} - Category Load (0.3ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (2.1ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 11 OFFSET 0 - SQL (0.3ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )  -Rendering template within layouts/photos -Rendering photos/index -Completed in 37ms (View: 17, DB: 3) | 200 OK [http://localhost/categories/1/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 07:06:22) [GET] - Photo Load (1.5ms) SELECT * FROM "photos" LIMIT 11 OFFSET 0 - SQL (0.1ms) SELECT count(*) AS count_all FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index - -ActionView::TemplateError (undefined method `previous_page' for #) on line #29 of app/views/photos/index.html.erb: -26: -27: -28:
-29: <%= link_to '←', previous_page(@photos) %> -30: <%= link_to '→', next_page(@photos) %> -31:
- - app/views/photos/index.html.erb:29 - -Rendered rescues/_trace (34.3ms) -Rendered rescues/_request_and_response (0.3ms) -Rendering rescues/layout (internal_server_error) - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 07:06:35) [GET] - Parameters: {"category_id"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (1.4ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 11 OFFSET 0 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )  -Rendering template within layouts/photos -Rendering photos/index - -ActionView::TemplateError (undefined method `previous_page' for #) on line #29 of app/views/photos/index.html.erb: -26: -27: -28:
-29: <%= link_to '←', will_paginate.previous_page(@photos) %> -30: <%= link_to '→', will_paginate.next_page(@photos) %> -31:
- - app/views/photos/index.html.erb:29 - -Rendered rescues/_trace (35.2ms) -Rendered rescues/_request_and_response (0.3ms) -Rendering rescues/layout (internal_server_error) - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 07:06:47) [GET] - Parameters: {"category_id"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (1.2ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 11 OFFSET 0 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )  -Rendering template within layouts/photos -Rendering photos/index -Completed in 32ms (View: 17, DB: 2) | 200 OK [http://localhost/categories/1/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 07:06:51) [GET] - Parameters: {"category_id"=>"1"} - Category Load (0.3ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (1.4ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 11 OFFSET 0 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )  -Rendering template within layouts/photos -Rendering photos/index -Completed in 30ms (View: 13, DB: 2) | 200 OK [http://localhost/categories/1/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 07:07:03) [GET] - Parameters: {"category_id"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (1.4ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 11 OFFSET 0 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )  -Rendering template within layouts/photos -Rendering photos/index - -ActionView::TemplateError (undefined method `fixnum_path' for #) on line #30 of app/views/photos/index.html.erb: -27: -28:
-29: <%= link_to '←', @photos.previous_page %> -30: <%= link_to '→', @photos.next_page %> -31:
- - app/views/photos/index.html.erb:30 - -Rendered rescues/_trace (95.8ms) -Rendered rescues/_request_and_response (0.3ms) -Rendering rescues/layout (internal_server_error) - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 07:07:46) [GET] - Parameters: {"category_id"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (1.4ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 11 OFFSET 0 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )  -Rendering template within layouts/photos -Rendering photos/index -Completed in 31ms (View: 17, DB: 2) | 200 OK [http://localhost/categories/1/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 07:07:49) [GET] - Parameters: {"category_id"=>"1", "page"=>"2"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (0.5ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 11 OFFSET 11 -Rendering template within layouts/photos -Rendering photos/index - -ActionView::TemplateError (undefined method `fixnum_path' for #) on line #29 of app/views/photos/index.html.erb: -26: -27: -28:
-29: <%= link_to '←', @photos.previous_page %> -30: <%= link_to '→', :page => @photos.next_page %> -31:
- - app/views/photos/index.html.erb:29 - -Rendered rescues/_trace (39.0ms) -Rendered rescues/_request_and_response (0.4ms) -Rendering rescues/layout (internal_server_error) - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 07:07:56) [GET] - Parameters: {"category_id"=>"1", "page"=>"2"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (0.6ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 11 OFFSET 11 -Rendering template within layouts/photos -Rendering photos/index -Completed in 26ms (View: 14, DB: 1) | 200 OK [http://localhost/categories/1/photos?page=2] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 07:07:58) [GET] - Parameters: {"category_id"=>"1", "page"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (1.4ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 11 OFFSET 0 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )  -Rendering template within layouts/photos -Rendering photos/index -Completed in 30ms (View: 14, DB: 2) | 200 OK [http://localhost/categories/1/photos?page=1] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 07:07:59) [GET] - Parameters: {"category_id"=>"1", "page"=>"2"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (0.5ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 11 OFFSET 11 -Rendering template within layouts/photos -Rendering photos/index -Completed in 20ms (View: 9, DB: 1) | 200 OK [http://localhost/categories/1/photos?page=2] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 07:08:05) [GET] - Parameters: {"category_id"=>"1", "page"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (1.3ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 11 OFFSET 0 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )  -Rendering template within layouts/photos -Rendering photos/index -Completed in 28ms (View: 13, DB: 2) | 200 OK [http://localhost/categories/1/photos?page=1] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 07:09:31) [GET] - Parameters: {"category_id"=>"1", "page"=>"2"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (0.5ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 11 OFFSET 11 -Rendering template within layouts/photos -Rendering photos/index -Completed in 80ms (View: 9, DB: 1) | 200 OK [http://localhost/categories/1/photos?page=2] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 07:09:37) [GET] - Parameters: {"category_id"=>"1", "page"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (1.4ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 11 OFFSET 0 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )  -Rendering template within layouts/photos -Rendering photos/index -Completed in 29ms (View: 13, DB: 2) | 200 OK [http://localhost/categories/1/photos?page=1] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 07:09:42) [GET] - Photo Load (1.3ms) SELECT * FROM "photos" LIMIT 11 OFFSET 0 - SQL (0.1ms) SELECT count(*) AS count_all FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 21ms (View: 12, DB: 1) | 200 OK [http://localhost/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 07:09:43) [GET] - Parameters: {"page"=>"2"} - Photo Load (1.5ms) SELECT * FROM "photos" LIMIT 11 OFFSET 11 - SQL (0.1ms) SELECT count(*) AS count_all FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 21ms (View: 12, DB: 2) | 200 OK [http://localhost/photos?page=2] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 07:09:44) [GET] - Photo Load (1.4ms) SELECT * FROM "photos" LIMIT 11 OFFSET 0 - SQL (0.1ms) SELECT count(*) AS count_all FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 21ms (View: 12, DB: 1) | 200 OK [http://localhost/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 07:09:45) [GET] - Parameters: {"page"=>"2"} - Photo Load (1.5ms) SELECT * FROM "photos" LIMIT 11 OFFSET 11 - SQL (0.1ms) SELECT count(*) AS count_all FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 75ms (View: 65, DB: 2) | 200 OK [http://localhost/photos?page=2] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 07:09:46) [GET] - Photo Load (1.4ms) SELECT * FROM "photos" LIMIT 11 OFFSET 0 - SQL (0.1ms) SELECT count(*) AS count_all FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 22ms (View: 12, DB: 2) | 200 OK [http://localhost/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 07:09:48) [GET] - Parameters: {"page"=>"2"} - Photo Load (1.4ms) SELECT * FROM "photos" LIMIT 11 OFFSET 11 - SQL (0.1ms) SELECT count(*) AS count_all FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 22ms (View: 12, DB: 2) | 200 OK [http://localhost/photos?page=2] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 07:09:52) [GET] - Parameters: {"page"=>"1"} - Photo Load (1.3ms) SELECT * FROM "photos" LIMIT 11 OFFSET 0 - SQL (0.1ms) SELECT count(*) AS count_all FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 21ms (View: 12, DB: 1) | 200 OK [http://localhost/photos?page=1] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 07:09:53) [GET] - Parameters: {"page"=>"2"} - Photo Load (1.3ms) SELECT * FROM "photos" LIMIT 11 OFFSET 11 - SQL (0.1ms) SELECT count(*) AS count_all FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 24ms (View: 13, DB: 1) | 200 OK [http://localhost/photos?page=2] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 07:09:57) [GET] - Parameters: {"page"=>"1"} - Photo Load (1.3ms) SELECT * FROM "photos" LIMIT 11 OFFSET 0 - SQL (0.1ms) SELECT count(*) AS count_all FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 21ms (View: 12, DB: 1) | 200 OK [http://localhost/photos?page=1] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 07:09:58) [GET] - Parameters: {"page"=>"2"} - Photo Load (1.3ms) SELECT * FROM "photos" LIMIT 11 OFFSET 11 - SQL (0.1ms) SELECT count(*) AS count_all FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 22ms (View: 12, DB: 1) | 200 OK [http://localhost/photos?page=2] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 07:10:01) [GET] - Parameters: {"page"=>"3"} - Photo Load (0.4ms) SELECT * FROM "photos" LIMIT 11 OFFSET 22 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 12ms (View: 3, DB: 1) | 200 OK [http://localhost/photos?page=3] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 07:10:06) [GET] - Parameters: {"page"=>"1"} - Photo Load (1.5ms) SELECT * FROM "photos" LIMIT 11 OFFSET 0 - SQL (0.1ms) SELECT count(*) AS count_all FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 23ms (View: 13, DB: 2) | 200 OK [http://localhost/photos?page=1] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 07:10:26) [GET] - Parameters: {"category_id"=>"1", "page"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (1.3ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 11 OFFSET 0 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )  -Rendering template within layouts/photos -Rendering photos/index -Completed in 34ms (View: 19, DB: 2) | 200 OK [http://localhost/categories/1/photos?page=1] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 07:10:31) [GET] - Category Load (0.8ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 65ms (View: 60, DB: 1) | 200 OK [http://localhost/categories] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 07:10:31) [GET] - Parameters: {"category_id"=>"2"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '2') LIMIT 1 - Photo Load (0.7ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 2 ) LIMIT 11 OFFSET 0 -Rendering template within layouts/photos -Rendering photos/index -Completed in 22ms (View: 9, DB: 1) | 200 OK [http://localhost/categories/2/photos] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 07:10:34) [GET] - Category Load (0.8ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 10ms (View: 5, DB: 1) | 200 OK [http://localhost/categories] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 07:10:35) [GET] - Parameters: {"category_id"=>"4"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '4') LIMIT 1 - Photo Load (1.1ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 4 ) LIMIT 11 OFFSET 0 -Rendering template within layouts/photos -Rendering photos/index -Completed in 27ms (View: 13, DB: 1) | 200 OK [http://localhost/categories/4/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 07:11:46) [GET] - Parameters: {"category_id"=>"4"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '4') LIMIT 1 - Photo Load (1.1ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 4 ) LIMIT 11 OFFSET 0 -Rendering template within layouts/photos -Rendering photos/index -Completed in 88ms (View: 17, DB: 1) | 200 OK [http://localhost/categories/4/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 07:11:55) [GET] - Parameters: {"category_id"=>"4"} - Category Load (0.3ms) SELECT * FROM "categories" WHERE ("categories"."id" = '4') LIMIT 1 - Photo Load (1.2ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 4 ) LIMIT 11 OFFSET 0 -Rendering template within layouts/photos -Rendering photos/index -Completed in 32ms (View: 18, DB: 1) | 200 OK [http://localhost/categories/4/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 07:12:07) [GET] - Parameters: {"category_id"=>"4"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '4') LIMIT 1 - Photo Load (1.3ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 4 ) LIMIT 11 OFFSET 0 -Rendering template within layouts/photos -Rendering photos/index -Completed in 86ms (View: 17, DB: 1) | 200 OK [http://localhost/categories/4/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 07:12:21) [GET] - Parameters: {"category_id"=>"4"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '4') LIMIT 1 - Photo Load (1.1ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 4 ) LIMIT 11 OFFSET 0 -Rendering template within layouts/photos -Rendering photos/index -Completed in 29ms (View: 17, DB: 1) | 200 OK [http://localhost/categories/4/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 07:12:36) [GET] - Parameters: {"category_id"=>"4"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '4') LIMIT 1 - Photo Load (1.1ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 4 ) LIMIT 11 OFFSET 0 -Rendering template within layouts/photos -Rendering photos/index -Completed in 84ms (View: 72, DB: 1) | 200 OK [http://localhost/categories/4/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 07:13:02) [GET] - Parameters: {"category_id"=>"4"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '4') LIMIT 1 - Photo Load (1.2ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 4 ) LIMIT 11 OFFSET 0 -Rendering template within layouts/photos -Rendering photos/index -Completed in 30ms (View: 17, DB: 1) | 200 OK [http://localhost/categories/4/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 07:13:04) [GET] - Parameters: {"category_id"=>"4"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '4') LIMIT 1 - Photo Load (1.2ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 4 ) LIMIT 11 OFFSET 0 -Rendering template within layouts/photos -Rendering photos/index -Completed in 81ms (View: 69, DB: 1) | 200 OK [http://localhost/categories/4/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 07:13:06) [GET] - Parameters: {"category_id"=>"4"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '4') LIMIT 1 - Photo Load (1.1ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 4 ) LIMIT 11 OFFSET 0 -Rendering template within layouts/photos -Rendering photos/index -Completed in 26ms (View: 13, DB: 1) | 200 OK [http://localhost/categories/4/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 07:13:12) [GET] - Parameters: {"page"=>"1"} - Photo Load (1.5ms) SELECT * FROM "photos" LIMIT 11 OFFSET 0 - SQL (0.1ms) SELECT count(*) AS count_all FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 23ms (View: 13, DB: 2) | 200 OK [http://localhost/photos?page=1] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 07:13:14) [GET] - Parameters: {"page"=>"2"} - Photo Load (1.5ms) SELECT * FROM "photos" LIMIT 11 OFFSET 11 - SQL (0.1ms) SELECT count(*) AS count_all FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 78ms (View: 69, DB: 2) | 200 OK [http://localhost/photos?page=2] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 07:13:15) [GET] - Parameters: {"page"=>"1"} - Photo Load (1.3ms) SELECT * FROM "photos" LIMIT 11 OFFSET 0 - SQL (0.1ms) SELECT count(*) AS count_all FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 21ms (View: 12, DB: 1) | 200 OK [http://localhost/photos?page=1] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 07:13:18) [GET] - Parameters: {"page"=>"2"} - Photo Load (1.5ms) SELECT * FROM "photos" LIMIT 11 OFFSET 11 - SQL (0.1ms) SELECT count(*) AS count_all FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 22ms (View: 12, DB: 2) | 200 OK [http://localhost/photos?page=2] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 07:13:20) [GET] - Photo Load (1.4ms) SELECT * FROM "photos" LIMIT 11 OFFSET 0 - SQL (0.1ms) SELECT count(*) AS count_all FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 22ms (View: 12, DB: 2) | 200 OK [http://localhost/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 07:13:21) [GET] - Photo Load (1.3ms) SELECT * FROM "photos" LIMIT 11 OFFSET 0 - SQL (0.1ms) SELECT count(*) AS count_all FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 23ms (View: 13, DB: 1) | 200 OK [http://localhost/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 07:13:21) [GET] - Photo Load (1.5ms) SELECT * FROM "photos" LIMIT 11 OFFSET 0 - SQL (0.1ms) SELECT count(*) AS count_all FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 23ms (View: 13, DB: 2) | 200 OK [http://localhost/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 07:13:23) [GET] - Parameters: {"page"=>"2"} - Photo Load (1.3ms) SELECT * FROM "photos" LIMIT 11 OFFSET 11 - SQL (0.1ms) SELECT count(*) AS count_all FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 21ms (View: 12, DB: 1) | 200 OK [http://localhost/photos?page=2] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 07:13:23) [GET] - Photo Load (1.4ms) SELECT * FROM "photos" LIMIT 11 OFFSET 0 - SQL (0.1ms) SELECT count(*) AS count_all FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 77ms (View: 12, DB: 2) | 200 OK [http://localhost/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 07:13:24) [GET] - Parameters: {"page"=>"2"} - Photo Load (1.3ms) SELECT * FROM "photos" LIMIT 11 OFFSET 11 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 27ms (View: 17, DB: 2) | 200 OK [http://localhost/photos?page=2] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 07:13:25) [GET] - Photo Load (1.4ms) SELECT * FROM "photos" LIMIT 11 OFFSET 0 - SQL (0.1ms) SELECT count(*) AS count_all FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 22ms (View: 12, DB: 1) | 200 OK [http://localhost/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 07:13:26) [GET] - Photo Load (1.8ms) SELECT * FROM "photos" LIMIT 11 OFFSET 0 - SQL (0.1ms) SELECT count(*) AS count_all FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 29ms (View: 18, DB: 2) | 200 OK [http://localhost/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 07:13:26) [GET] - Photo Load (1.3ms) SELECT * FROM "photos" LIMIT 11 OFFSET 0 - SQL (0.1ms) SELECT count(*) AS count_all FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 22ms (View: 13, DB: 1) | 200 OK [http://localhost/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 07:13:27) [GET] - Parameters: {"page"=>"2"} - Photo Load (1.5ms) SELECT * FROM "photos" LIMIT 11 OFFSET 11 - SQL (0.1ms) SELECT count(*) AS count_all FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 23ms (View: 13, DB: 2) | 200 OK [http://localhost/photos?page=2] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 07:13:28) [GET] - Parameters: {"page"=>"1"} - Photo Load (1.3ms) SELECT * FROM "photos" LIMIT 11 OFFSET 0 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 21ms (View: 12, DB: 1) | 200 OK [http://localhost/photos?page=1] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 07:13:28) [GET] - Parameters: {"page"=>"2"} - Photo Load (1.4ms) SELECT * FROM "photos" LIMIT 11 OFFSET 11 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 80ms (View: 69, DB: 2) | 200 OK [http://localhost/photos?page=2] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 07:13:29) [GET] - Parameters: {"page"=>"1"} - Photo Load (1.4ms) SELECT * FROM "photos" LIMIT 11 OFFSET 0 - SQL (0.1ms) SELECT count(*) AS count_all FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 23ms (View: 12, DB: 2) | 200 OK [http://localhost/photos?page=1] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 07:14:06) [GET] - Parameters: {"category_id"=>"4"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '4') LIMIT 1 - Photo Load (1.1ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 4 ) LIMIT 11 OFFSET 0 -Rendering template within layouts/photos -Rendering photos/index -Completed in 30ms (View: 16, DB: 1) | 200 OK [http://localhost/categories/4/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 07:14:35) [GET] - Parameters: {"category_id"=>"4"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '4') LIMIT 1 - Photo Load (1.5ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 4 ) LIMIT 11 OFFSET 0 -Rendering template within layouts/photos -Rendering photos/index -Completed in 94ms (View: 19, DB: 2) | 200 OK [http://localhost/categories/4/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 07:14:40) [GET] - Parameters: {"class"=>"next-link", "category_id"=>"4"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '4') LIMIT 1 - Photo Load (1.3ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 4 ) LIMIT 11 OFFSET 0 -Rendering template within layouts/photos -Rendering photos/index -Completed in 27ms (View: 14, DB: 2) | 200 OK [http://localhost/categories/4/photos?class=next-link] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 07:15:23) [GET] - Parameters: {"class"=>"next-link", "category_id"=>"4"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '4') LIMIT 1 - Photo Load (1.2ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 4 ) LIMIT 11 OFFSET 0 -Rendering template within layouts/photos -Rendering photos/index -ERROR: compiling _run_erb_app47views47photos47index46html46erb RAISED compile error -/Users/danbee/Sites/rails/photos/app/views/photos/index.html.erb:4: syntax error, unexpected ')', expecting tASSOC -...e, { :class => 'prev-link' } ).to_s); @output_buffer.concat ... - ^ -/Users/danbee/Sites/rails/photos/app/views/photos/index.html.erb:5: syntax error, unexpected ')', expecting tASSOC -...e, { :class => 'next-link' } ).to_s); @output_buffer.concat ... - ^ -Function body: def _run_erb_app47views47photos47index46html46erb(local_assigns) - old_output_buffer = output_buffer;;@output_buffer = ''; __in_erb_template=true ; @output_buffer.concat "\t
\n\t
\n\t
\n\t\t" - - -; @output_buffer.concat(( link_to '←', :page => @photos.previous_page, { :class => 'prev-link' } ).to_s); @output_buffer.concat "\n\t\t" -; @output_buffer.concat(( link_to '→', :page => @photos.next_page, { :class => 'next-link' } ).to_s); @output_buffer.concat "\n\t
\n\n\n
\n\n" - - - - - -; if @category ; @output_buffer.concat "\n\t
\n\t\t" -; @output_buffer.concat(( link_to '

'+h(@category.name.downcase)+'

', categories_url ).to_s); @output_buffer.concat "\n\t
\n" - -; else ; @output_buffer.concat "\n\t
\n\t\t

all photos

\n\t
\n" - - - -; end ; @output_buffer.concat "\n\n" - -; @num_blank = 11 - @num_photos -@output_buffer.concat "\n" -; @photos.each do |photo| ; @output_buffer.concat "\n\n
"; @output_buffer.concat(( link_to ' ', photo.photo.url, :rel => 'photo', :class => 'fancy' ).to_s); @output_buffer.concat "
\n\n" - -; end ; @output_buffer.concat "\n\n" - -; @num_blank.times do ; @output_buffer.concat "\n\t
\n\t
\n" - - -; end ; @output_buffer.concat "\n\n
\n" - - -; @output_buffer - ensure - self.output_buffer = old_output_buffer - end -Backtrace: /Users/danbee/Sites/rails/photos/app/views/photos/index.html.erb:38:in `compile!' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_view/renderable.rb:61:in `compile' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_view/renderable.rb:28:in `render' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_view/template.rb:205:in `render_template' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_view/base.rb:265:in `render_without_parent' -/Users/danbee/Sites/rails/photos/vendor/plugins/typus/lib/vendor/inherit_views.rb:193:in `render' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_view/base.rb:348:in `_render_with_layout' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_view/base.rb:262:in `render_without_parent' -/Users/danbee/Sites/rails/photos/vendor/plugins/typus/lib/vendor/inherit_views.rb:193:in `render' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/base.rb:1250:in `render_for_file' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/base.rb:936:in `render_without_benchmark' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/benchmarking.rb:51:in `render' -/Library/Ruby/Gems/1.8/gems/activesupport-2.3.8/lib/active_support/core_ext/benchmark.rb:17:in `ms' -/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/benchmark.rb:308:in `realtime' -/Library/Ruby/Gems/1.8/gems/activesupport-2.3.8/lib/active_support/core_ext/benchmark.rb:17:in `ms' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/benchmarking.rb:51:in `render' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/base.rb:1326:in `default_render' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/base.rb:1332:in `perform_action_without_filters' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/filters.rb:617:in `call_filters' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/filters.rb:610:in `perform_action_without_benchmark' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue' -/Library/Ruby/Gems/1.8/gems/activesupport-2.3.8/lib/active_support/core_ext/benchmark.rb:17:in `ms' -/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/benchmark.rb:308:in `realtime' -/Library/Ruby/Gems/1.8/gems/activesupport-2.3.8/lib/active_support/core_ext/benchmark.rb:17:in `ms' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/rescue.rb:160:in `perform_action_without_flash' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/flash.rb:151:in `perform_action' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/base.rb:532:in `send' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/base.rb:532:in `process_without_filters' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/filters.rb:606:in `process' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/base.rb:391:in `process' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/base.rb:386:in `call' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/routing/route_set.rb:438:in `call' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/dispatcher.rb:87:in `dispatch' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/dispatcher.rb:121:in `_call' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/dispatcher.rb:130:in `build_middleware_stack' -/Library/Ruby/Gems/1.8/gems/activerecord-2.3.8/lib/active_record/query_cache.rb:29:in `call' -/Library/Ruby/Gems/1.8/gems/activerecord-2.3.8/lib/active_record/query_cache.rb:29:in `call' -/Library/Ruby/Gems/1.8/gems/activerecord-2.3.8/lib/active_record/connection_adapters/abstract/query_cache.rb:34:in `cache' -/Library/Ruby/Gems/1.8/gems/activerecord-2.3.8/lib/active_record/query_cache.rb:9:in `cache' -/Library/Ruby/Gems/1.8/gems/activerecord-2.3.8/lib/active_record/query_cache.rb:28:in `call' -/Library/Ruby/Gems/1.8/gems/activerecord-2.3.8/lib/active_record/connection_adapters/abstract/connection_pool.rb:361:in `call' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/string_coercion.rb:25:in `call' -/Library/Ruby/Gems/1.8/gems/rack-1.1.0/lib/rack/head.rb:9:in `call' -/Library/Ruby/Gems/1.8/gems/rack-1.1.0/lib/rack/methodoverride.rb:24:in `call' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/params_parser.rb:15:in `call' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/session/cookie_store.rb:99:in `call' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/failsafe.rb:26:in `call' -/Library/Ruby/Gems/1.8/gems/rack-1.1.0/lib/rack/lock.rb:11:in `call' -/Library/Ruby/Gems/1.8/gems/rack-1.1.0/lib/rack/lock.rb:11:in `synchronize' -/Library/Ruby/Gems/1.8/gems/rack-1.1.0/lib/rack/lock.rb:11:in `call' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/dispatcher.rb:114:in `call' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/reloader.rb:34:in `run' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/dispatcher.rb:108:in `call' -/Library/Ruby/Gems/1.8/gems/rails-2.3.8/lib/rails/rack/static.rb:31:in `call' -/Library/Ruby/Gems/1.8/gems/rack-1.1.0/lib/rack/urlmap.rb:47:in `call' -/Library/Ruby/Gems/1.8/gems/rack-1.1.0/lib/rack/urlmap.rb:41:in `each' -/Library/Ruby/Gems/1.8/gems/rack-1.1.0/lib/rack/urlmap.rb:41:in `call' -/Library/Ruby/Gems/1.8/gems/rails-2.3.8/lib/rails/rack/debugger.rb:19:in `call' -/Library/Ruby/Gems/1.8/gems/rails-2.3.8/lib/rails/rack/log_tailer.rb:17:in `call' -/Library/Ruby/Gems/1.8/gems/rack-1.1.0/lib/rack/content_length.rb:13:in `call' -/Library/Ruby/Gems/1.8/gems/rack-1.1.0/lib/rack/chunked.rb:15:in `call' -/Library/Ruby/Gems/1.8/gems/rack-1.1.0/lib/rack/handler/mongrel.rb:67:in `process' -/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:159:in `process_client' -/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in `each' -/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in `process_client' -/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `run' -/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `initialize' -/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `new' -/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `run' -/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `initialize' -/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `new' -/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `run' -/Library/Ruby/Gems/1.8/gems/rack-1.1.0/lib/rack/handler/mongrel.rb:38:in `run' -/Library/Ruby/Gems/1.8/gems/rails-2.3.8/lib/commands/server.rb:111 -/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gem_original_require' -/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require' -script/server:3 - -ActionView::TemplateError (compile error -/Users/danbee/Sites/rails/photos/app/views/photos/index.html.erb:4: syntax error, unexpected ')', expecting tASSOC -...e, { :class => 'prev-link' } ).to_s); @output_buffer.concat ... - ^ -/Users/danbee/Sites/rails/photos/app/views/photos/index.html.erb:5: syntax error, unexpected ')', expecting tASSOC -...e, { :class => 'next-link' } ).to_s); @output_buffer.concat ... - ^) on line #4 of app/views/photos/index.html.erb: -1:
-2:
-3:
-4: <%= link_to '←', :page => @photos.previous_page, { :class => 'prev-link' } %> -5: <%= link_to '→', :page => @photos.next_page, { :class => 'next-link' } %> -6:
-7: - - app/views/photos/index.html.erb:38:in `compile!' - -Rendered rescues/_trace (93.0ms) -Rendered rescues/_request_and_response (0.4ms) -Rendering rescues/layout (internal_server_error) - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 07:15:53) [GET] - Parameters: {"class"=>"next-link", "category_id"=>"4"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '4') LIMIT 1 - Photo Load (1.1ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 4 ) LIMIT 11 OFFSET 0 -Rendering template within layouts/photos -Rendering photos/index -Completed in 30ms (View: 16, DB: 1) | 200 OK [http://localhost/categories/4/photos?class=next-link] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 07:16:02) [GET] - Parameters: {"category_id"=>"4"} - Category Load (0.3ms) SELECT * FROM "categories" WHERE ("categories"."id" = '4') LIMIT 1 - Photo Load (1.3ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 4 ) LIMIT 11 OFFSET 0 -Rendering template within layouts/photos -Rendering photos/index -Completed in 86ms (View: 71, DB: 2) | 200 OK [http://localhost/categories/4/photos] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 07:16:05) [GET] - Category Load (0.9ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 12ms (View: 5, DB: 1) | 200 OK [http://localhost/categories] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 07:16:17) [GET] - Category Load (0.9ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 16ms (View: 10, DB: 1) | 200 OK [http://localhost/categories] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 07:16:18) [GET] - Parameters: {"category_id"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (1.3ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 11 OFFSET 0 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )  -Rendering template within layouts/photos -Rendering photos/index -Completed in 29ms (View: 14, DB: 2) | 200 OK [http://localhost/categories/1/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 07:16:20) [GET] - Parameters: {"category_id"=>"1", "page"=>"2"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (0.6ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 11 OFFSET 11 -Rendering template within layouts/photos -Rendering photos/index -Completed in 22ms (View: 9, DB: 1) | 200 OK [http://localhost/categories/1/photos?page=2] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 07:16:22) [GET] - Parameters: {"category_id"=>"1", "page"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (1.4ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 11 OFFSET 0 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )  -Rendering template within layouts/photos -Rendering photos/index -Completed in 28ms (View: 13, DB: 2) | 200 OK [http://localhost/categories/1/photos?page=1] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 07:16:25) [GET] - Parameters: {"category_id"=>"1", "page"=>"2"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (0.6ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 11 OFFSET 11 -Rendering template within layouts/photos -Rendering photos/index -Completed in 23ms (View: 9, DB: 1) | 200 OK [http://localhost/categories/1/photos?page=2] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 07:16:28) [GET] - Parameters: {"category_id"=>"1", "page"=>"1"} - Category Load (0.3ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (1.4ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 11 OFFSET 0 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )  -Rendering template within layouts/photos -Rendering photos/index -Completed in 89ms (View: 14, DB: 2) | 200 OK [http://localhost/categories/1/photos?page=1] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 07:16:51) [GET] - Parameters: {"category_id"=>"1", "page"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (1.4ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 11 OFFSET 0 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )  -Rendering template within layouts/photos -Rendering photos/index -Completed in 34ms (View: 18, DB: 2) | 200 OK [http://localhost/categories/1/photos?page=1] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 07:17:35) [GET] - Parameters: {"category_id"=>"1", "page"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (1.4ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 11 OFFSET 0 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )  -Rendering template within layouts/photos -Rendering photos/index -Completed in 90ms (View: 74, DB: 2) | 200 OK [http://localhost/categories/1/photos?page=1] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 07:18:12) [GET] - Parameters: {"category_id"=>"1", "page"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (1.4ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 11 OFFSET 0 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )  -Rendering template within layouts/photos -Rendering photos/index -Completed in 29ms (View: 14, DB: 2) | 200 OK [http://localhost/categories/1/photos?page=1] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 07:18:38) [GET] - Parameters: {"category_id"=>"1", "page"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (1.3ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 11 OFFSET 0 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )  -Rendering template within layouts/photos -Rendering photos/index -Completed in 28ms (View: 14, DB: 2) | 200 OK [http://localhost/categories/1/photos?page=1] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 07:18:39) [GET] - Parameters: {"category_id"=>"1", "page"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (1.3ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 11 OFFSET 0 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )  -Rendering template within layouts/photos -Rendering photos/index -Completed in 28ms (View: 13, DB: 2) | 200 OK [http://localhost/categories/1/photos?page=1] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 07:19:09) [GET] - Parameters: {"category_id"=>"1", "page"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (1.5ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 11 OFFSET 0 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )  -Rendering template within layouts/photos -Rendering photos/index -Completed in 31ms (View: 14, DB: 2) | 200 OK [http://localhost/categories/1/photos?page=1] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 07:19:48) [GET] - Parameters: {"category_id"=>"1", "page"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (1.4ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 11 OFFSET 0 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )  -Rendering template within layouts/photos -Rendering photos/index -Completed in 31ms (View: 14, DB: 2) | 200 OK [http://localhost/categories/1/photos?page=1] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 07:20:05) [GET] - Parameters: {"category_id"=>"1", "page"=>"1"} - Category Load (0.3ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (1.4ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 11 OFFSET 0 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )  -Rendering template within layouts/photos -Rendering photos/index -Completed in 31ms (View: 14, DB: 2) | 200 OK [http://localhost/categories/1/photos?page=1] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 07:20:18) [GET] - Parameters: {"category_id"=>"1", "page"=>"1"} - Category Load (0.5ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (1.5ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 11 OFFSET 0 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )  -Rendering template within layouts/photos -Rendering photos/index -Completed in 36ms (View: 16, DB: 2) | 200 OK [http://localhost/categories/1/photos?page=1] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 07:20:20) [GET] - Parameters: {"category_id"=>"1", "page"=>"2"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (0.8ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 11 OFFSET 11 -Rendering template within layouts/photos -Rendering photos/index -Completed in 23ms (View: 10, DB: 1) | 200 OK [http://localhost/categories/1/photos?page=2] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 07:20:21) [GET] - Parameters: {"category_id"=>"1", "page"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (1.3ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 11 OFFSET 0 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )  -Rendering template within layouts/photos -Rendering photos/index -Completed in 84ms (View: 14, DB: 2) | 200 OK [http://localhost/categories/1/photos?page=1] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 07:20:44) [GET] - Parameters: {"category_id"=>"1", "page"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (1.6ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 11 OFFSET 0 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )  -Rendering template within layouts/photos -Rendering photos/index -Completed in 29ms (View: 13, DB: 2) | 200 OK [http://localhost/categories/1/photos?page=1] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 07:20:49) [GET] - Parameters: {"category_id"=>"1", "page"=>"2"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (0.6ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 11 OFFSET 11 -Rendering template within layouts/photos -Rendering photos/index -Completed in 21ms (View: 9, DB: 1) | 200 OK [http://localhost/categories/1/photos?page=2] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 07:20:55) [GET] - Parameters: {"category_id"=>"1", "page"=>"2"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (0.5ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 11 OFFSET 11 -Rendering template within layouts/photos -Rendering photos/index -Completed in 22ms (View: 9, DB: 1) | 200 OK [http://localhost/categories/1/photos?page=2] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 07:21:38) [GET] - Parameters: {"category_id"=>"1", "page"=>"2"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (0.5ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 11 OFFSET 11 -Rendering template within layouts/photos -Rendering photos/index -Completed in 22ms (View: 10, DB: 1) | 200 OK [http://localhost/categories/1/photos?page=2] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 07:22:12) [GET] - Parameters: {"category_id"=>"1", "page"=>"2"} - Category Load (0.4ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (0.5ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 11 OFFSET 11 -Rendering template within layouts/photos -Rendering photos/index -Completed in 20ms (View: 9, DB: 1) | 200 OK [http://localhost/categories/1/photos?page=2] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 07:22:49) [GET] - Parameters: {"category_id"=>"1", "page"=>"2"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (0.6ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 11 OFFSET 11 -Rendering template within layouts/photos -Rendering photos/index -Completed in 23ms (View: 10, DB: 1) | 200 OK [http://localhost/categories/1/photos?page=2] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 07:22:58) [GET] - Parameters: {"category_id"=>"1", "page"=>"2"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (0.5ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 11 OFFSET 11 -Rendering template within layouts/photos -Rendering photos/index -Completed in 20ms (View: 9, DB: 1) | 200 OK [http://localhost/categories/1/photos?page=2] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 07:24:52) [GET] - Parameters: {"page"=>"1"} - Photo Load (1.5ms) SELECT * FROM "photos" LIMIT 11 OFFSET 0 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 24ms (View: 13, DB: 2) | 200 OK [http://localhost/photos?page=1] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 07:24:53) [GET] - Parameters: {"page"=>"2"} - Photo Load (1.4ms) SELECT * FROM "photos" LIMIT 11 OFFSET 11 - SQL (0.1ms) SELECT count(*) AS count_all FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 22ms (View: 13, DB: 2) | 200 OK [http://localhost/photos?page=2] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 07:24:54) [GET] - Parameters: {"page"=>"1"} - Photo Load (1.3ms) SELECT * FROM "photos" LIMIT 11 OFFSET 0 - SQL (0.1ms) SELECT count(*) AS count_all FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 22ms (View: 13, DB: 1) | 200 OK [http://localhost/photos?page=1] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 07:24:55) [GET] - Parameters: {"page"=>"2"} - Photo Load (1.3ms) SELECT * FROM "photos" LIMIT 11 OFFSET 11 - SQL (0.1ms) SELECT count(*) AS count_all FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 21ms (View: 12, DB: 1) | 200 OK [http://localhost/photos?page=2] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 07:24:57) [GET] - Parameters: {"page"=>"1"} - Photo Load (1.3ms) SELECT * FROM "photos" LIMIT 11 OFFSET 0 - SQL (0.1ms) SELECT count(*) AS count_all FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 22ms (View: 12, DB: 1) | 200 OK [http://localhost/photos?page=1] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 07:24:58) [GET] - Photo Load (1.3ms) SELECT * FROM "photos" LIMIT 11 OFFSET 0 - SQL (0.1ms) SELECT count(*) AS count_all FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 21ms (View: 12, DB: 1) | 200 OK [http://localhost/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 07:24:59) [GET] - Parameters: {"page"=>"2"} - Photo Load (1.5ms) SELECT * FROM "photos" LIMIT 11 OFFSET 11 - SQL (0.1ms) SELECT count(*) AS count_all FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 22ms (View: 13, DB: 2) | 200 OK [http://localhost/photos?page=2] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 07:24:59) [GET] - Photo Load (1.4ms) SELECT * FROM "photos" LIMIT 11 OFFSET 0 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 79ms (View: 12, DB: 2) | 200 OK [http://localhost/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 07:25:00) [GET] - Parameters: {"page"=>"2"} - Photo Load (1.4ms) SELECT * FROM "photos" LIMIT 11 OFFSET 11 - SQL (0.1ms) SELECT count(*) AS count_all FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 23ms (View: 13, DB: 2) | 200 OK [http://localhost/photos?page=2] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 07:25:00) [GET] - Parameters: {"page"=>"1"} - Photo Load (1.3ms) SELECT * FROM "photos" LIMIT 11 OFFSET 0 - SQL (0.1ms) SELECT count(*) AS count_all FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 22ms (View: 13, DB: 1) | 200 OK [http://localhost/photos?page=1] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 07:25:02) [GET] - Photo Load (1.3ms) SELECT * FROM "photos" LIMIT 11 OFFSET 0 - SQL (0.1ms) SELECT count(*) AS count_all FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 21ms (View: 12, DB: 1) | 200 OK [http://localhost/photos] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 07:25:08) [GET] - Category Load (0.8ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 10ms (View: 5, DB: 1) | 200 OK [http://localhost/categories] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 07:25:09) [GET] - Parameters: {"category_id"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (1.3ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 11 OFFSET 0 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )  -Rendering template within layouts/photos -Rendering photos/index -Completed in 28ms (View: 13, DB: 2) | 200 OK [http://localhost/categories/1/photos] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 07:25:10) [GET] - Category Load (0.9ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 11ms (View: 5, DB: 1) | 200 OK [http://localhost/categories] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 07:25:11) [GET] - Parameters: {"category_id"=>"2"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '2') LIMIT 1 - Photo Load (0.6ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 2 ) LIMIT 11 OFFSET 0 -Rendering template within layouts/photos -Rendering photos/index -Completed in 75ms (View: 63, DB: 1) | 200 OK [http://localhost/categories/2/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 07:25:12) [GET] - Parameters: {"category_id"=>"2"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '2') LIMIT 1 - Photo Load (0.6ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 2 ) LIMIT 11 OFFSET 0 -Rendering template within layouts/photos -Rendering photos/index -Completed in 22ms (View: 9, DB: 1) | 200 OK [http://localhost/categories/2/photos] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 07:25:18) [GET] - Category Load (0.9ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 10ms (View: 5, DB: 1) | 200 OK [http://localhost/categories] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 07:25:19) [GET] - Category Load (0.9ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 12ms (View: 6, DB: 1) | 200 OK [http://localhost/categories] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 07:25:22) [GET] - Parameters: {"category_id"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (1.5ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 11 OFFSET 0 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )  -Rendering template within layouts/photos -Rendering photos/index -Completed in 29ms (View: 13, DB: 2) | 200 OK [http://localhost/categories/1/photos] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 07:25:31) [GET] - Category Load (0.8ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 10ms (View: 5, DB: 1) | 200 OK [http://localhost/categories] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 07:25:32) [GET] - Parameters: {"category_id"=>"5"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '5') LIMIT 1 - Photo Load (0.3ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 5 ) LIMIT 11 OFFSET 0 -Rendering template within layouts/photos -Rendering photos/index -Completed in 18ms (View: 7, DB: 1) | 200 OK [http://localhost/categories/5/photos] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 07:25:34) [GET] - Category Load (0.9ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 11ms (View: 5, DB: 1) | 200 OK [http://localhost/categories] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 07:25:36) [GET] - Parameters: {"category_id"=>"4"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '4') LIMIT 1 - Photo Load (1.1ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 4 ) LIMIT 11 OFFSET 0 -Rendering template within layouts/photos -Rendering photos/index -Completed in 25ms (View: 13, DB: 1) | 200 OK [http://localhost/categories/4/photos] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 07:25:47) [GET] - Category Load (0.8ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 11ms (View: 5, DB: 1) | 200 OK [http://localhost/categories] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 07:25:49) [GET] - Parameters: {"category_id"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (1.5ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 11 OFFSET 0 - SQL (0.3ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )  -Rendering template within layouts/photos -Rendering photos/index -Completed in 81ms (View: 14, DB: 2) | 200 OK [http://localhost/categories/1/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 07:26:27) [GET] - Parameters: {"category_id"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (1.3ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 11 OFFSET 0 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )  -Rendering template within layouts/photos -Rendering photos/index -Completed in 29ms (View: 14, DB: 2) | 200 OK [http://localhost/categories/1/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 07:26:51) [GET] - Parameters: {"category_id"=>"1"} - Category Load (0.3ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (2.1ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 11 OFFSET 0 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )  -Rendering template within layouts/photos -Rendering photos/index -Completed in 31ms (View: 14, DB: 2) | 200 OK [http://localhost/categories/1/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 07:27:10) [GET] - Parameters: {"category_id"=>"1"} - Category Load (0.3ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (1.4ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 11 OFFSET 0 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )  -Rendering template within layouts/photos -Rendering photos/index -Completed in 32ms (View: 14, DB: 2) | 200 OK [http://localhost/categories/1/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 07:42:34) [GET] - Parameters: {"category_id"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (1.4ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 11 OFFSET 0 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )  -Rendering template within layouts/photos -Rendering photos/index -Completed in 28ms (View: 14, DB: 2) | 200 OK [http://localhost/categories/1/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 07:42:54) [GET] - Parameters: {"category_id"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (1.4ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 11 OFFSET 0 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )  -Rendering template within layouts/photos -Rendering photos/index -Completed in 35ms (View: 18, DB: 2) | 200 OK [http://localhost/categories/1/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 07:43:14) [GET] - Parameters: {"category_id"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (1.4ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 11 OFFSET 0 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )  -Rendering template within layouts/photos -Rendering photos/index -Completed in 31ms (View: 14, DB: 2) | 200 OK [http://localhost/categories/1/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 07:43:28) [GET] - Parameters: {"category_id"=>"1", "page"=>"2"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (0.6ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 11 OFFSET 11 -Rendering template within layouts/photos -Rendering photos/index -Completed in 22ms (View: 9, DB: 1) | 200 OK [http://localhost/categories/1/photos?page=2] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 07:43:30) [GET] - Parameters: {"category_id"=>"1", "page"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (1.4ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 11 OFFSET 0 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )  -Rendering template within layouts/photos -Rendering photos/index -Completed in 29ms (View: 14, DB: 2) | 200 OK [http://localhost/categories/1/photos?page=1] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 07:44:00) [GET] - Parameters: {"category_id"=>"1", "page"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (1.5ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 11 OFFSET 0 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )  -Rendering template within layouts/photos -Rendering photos/index -ERROR: compiling _run_erb_app47views47photos47index46html46erb RAISED compile error -/Users/danbee/Sites/rails/photos/app/views/photos/index.html.erb:38: syntax error, unexpected kENSURE, expecting kEND -/Users/danbee/Sites/rails/photos/app/views/photos/index.html.erb:40: syntax error, unexpected $end, expecting kEND -Function body: def _run_erb_app47views47photos47index46html46erb(local_assigns) - old_output_buffer = output_buffer;;@output_buffer = ''; __in_erb_template=true ; @output_buffer.concat "\t
\n\t
\n\t
\n\t\t" - - -; if @photos.previous_page do -@output_buffer.concat "\t\t\t"; @output_buffer.concat(( link_to '
', { :page => @photos.previous_page }, :class => 'prev-link' ).to_s); @output_buffer.concat "\n\t\t" -; end ; @output_buffer.concat "\n\t\t" -; @output_buffer.concat(( link_to '
', { :page => @photos.next_page }, :class => 'next-link' ).to_s); @output_buffer.concat "\n\t
\n\n\n
\n\n" - - - - - -; if @category ; @output_buffer.concat "\n\t
\n\t\t" -; @output_buffer.concat(( link_to '

'+h(@category.name.downcase)+'

', categories_url ).to_s); @output_buffer.concat "\n\t
\n" - -; else ; @output_buffer.concat "\n\t
\n\t\t

all photos

\n\t
\n" - - - -; end ; @output_buffer.concat "\n\n" - -; @num_blank = 11 - @num_photos -@output_buffer.concat "\n" -; @photos.each do |photo| ; @output_buffer.concat "\n\n
"; @output_buffer.concat(( link_to ' ', photo.photo.url, :rel => 'photo', :class => 'fancy' ).to_s); @output_buffer.concat "
\n\n" - -; end ; @output_buffer.concat "\n\n" - -; @num_blank.times do ; @output_buffer.concat "\n\t
\n\t
\n" - - -; end ; @output_buffer.concat "\n\n
\n" - - -; @output_buffer - ensure - self.output_buffer = old_output_buffer - end -Backtrace: /Users/danbee/Sites/rails/photos/app/views/photos/index.html.erb:40:in `compile!' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_view/renderable.rb:61:in `compile' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_view/renderable.rb:28:in `render' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_view/template.rb:205:in `render_template' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_view/base.rb:265:in `render_without_parent' -/Users/danbee/Sites/rails/photos/vendor/plugins/typus/lib/vendor/inherit_views.rb:193:in `render' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_view/base.rb:348:in `_render_with_layout' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_view/base.rb:262:in `render_without_parent' -/Users/danbee/Sites/rails/photos/vendor/plugins/typus/lib/vendor/inherit_views.rb:193:in `render' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/base.rb:1250:in `render_for_file' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/base.rb:936:in `render_without_benchmark' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/benchmarking.rb:51:in `render' -/Library/Ruby/Gems/1.8/gems/activesupport-2.3.8/lib/active_support/core_ext/benchmark.rb:17:in `ms' -/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/benchmark.rb:308:in `realtime' -/Library/Ruby/Gems/1.8/gems/activesupport-2.3.8/lib/active_support/core_ext/benchmark.rb:17:in `ms' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/benchmarking.rb:51:in `render' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/base.rb:1326:in `default_render' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/base.rb:1332:in `perform_action_without_filters' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/filters.rb:617:in `call_filters' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/filters.rb:610:in `perform_action_without_benchmark' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue' -/Library/Ruby/Gems/1.8/gems/activesupport-2.3.8/lib/active_support/core_ext/benchmark.rb:17:in `ms' -/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/benchmark.rb:308:in `realtime' -/Library/Ruby/Gems/1.8/gems/activesupport-2.3.8/lib/active_support/core_ext/benchmark.rb:17:in `ms' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/rescue.rb:160:in `perform_action_without_flash' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/flash.rb:151:in `perform_action' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/base.rb:532:in `send' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/base.rb:532:in `process_without_filters' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/filters.rb:606:in `process' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/base.rb:391:in `process' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/base.rb:386:in `call' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/routing/route_set.rb:438:in `call' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/dispatcher.rb:87:in `dispatch' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/dispatcher.rb:121:in `_call' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/dispatcher.rb:130:in `build_middleware_stack' -/Library/Ruby/Gems/1.8/gems/activerecord-2.3.8/lib/active_record/query_cache.rb:29:in `call' -/Library/Ruby/Gems/1.8/gems/activerecord-2.3.8/lib/active_record/query_cache.rb:29:in `call' -/Library/Ruby/Gems/1.8/gems/activerecord-2.3.8/lib/active_record/connection_adapters/abstract/query_cache.rb:34:in `cache' -/Library/Ruby/Gems/1.8/gems/activerecord-2.3.8/lib/active_record/query_cache.rb:9:in `cache' -/Library/Ruby/Gems/1.8/gems/activerecord-2.3.8/lib/active_record/query_cache.rb:28:in `call' -/Library/Ruby/Gems/1.8/gems/activerecord-2.3.8/lib/active_record/connection_adapters/abstract/connection_pool.rb:361:in `call' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/string_coercion.rb:25:in `call' -/Library/Ruby/Gems/1.8/gems/rack-1.1.0/lib/rack/head.rb:9:in `call' -/Library/Ruby/Gems/1.8/gems/rack-1.1.0/lib/rack/methodoverride.rb:24:in `call' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/params_parser.rb:15:in `call' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/session/cookie_store.rb:99:in `call' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/failsafe.rb:26:in `call' -/Library/Ruby/Gems/1.8/gems/rack-1.1.0/lib/rack/lock.rb:11:in `call' -/Library/Ruby/Gems/1.8/gems/rack-1.1.0/lib/rack/lock.rb:11:in `synchronize' -/Library/Ruby/Gems/1.8/gems/rack-1.1.0/lib/rack/lock.rb:11:in `call' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/dispatcher.rb:114:in `call' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/reloader.rb:34:in `run' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/dispatcher.rb:108:in `call' -/Library/Ruby/Gems/1.8/gems/rails-2.3.8/lib/rails/rack/static.rb:31:in `call' -/Library/Ruby/Gems/1.8/gems/rack-1.1.0/lib/rack/urlmap.rb:47:in `call' -/Library/Ruby/Gems/1.8/gems/rack-1.1.0/lib/rack/urlmap.rb:41:in `each' -/Library/Ruby/Gems/1.8/gems/rack-1.1.0/lib/rack/urlmap.rb:41:in `call' -/Library/Ruby/Gems/1.8/gems/rails-2.3.8/lib/rails/rack/debugger.rb:19:in `call' -/Library/Ruby/Gems/1.8/gems/rails-2.3.8/lib/rails/rack/log_tailer.rb:17:in `call' -/Library/Ruby/Gems/1.8/gems/rack-1.1.0/lib/rack/content_length.rb:13:in `call' -/Library/Ruby/Gems/1.8/gems/rack-1.1.0/lib/rack/chunked.rb:15:in `call' -/Library/Ruby/Gems/1.8/gems/rack-1.1.0/lib/rack/handler/mongrel.rb:67:in `process' -/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:159:in `process_client' -/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in `each' -/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in `process_client' -/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `run' -/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `initialize' -/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `new' -/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `run' -/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `initialize' -/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `new' -/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `run' -/Library/Ruby/Gems/1.8/gems/rack-1.1.0/lib/rack/handler/mongrel.rb:38:in `run' -/Library/Ruby/Gems/1.8/gems/rails-2.3.8/lib/commands/server.rb:111 -/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gem_original_require' -/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require' -script/server:3 - -ActionView::TemplateError (compile error -/Users/danbee/Sites/rails/photos/app/views/photos/index.html.erb:38: syntax error, unexpected kENSURE, expecting kEND -/Users/danbee/Sites/rails/photos/app/views/photos/index.html.erb:40: syntax error, unexpected $end, expecting kEND) on line #38 of app/views/photos/index.html.erb: -35: -36: - - app/views/photos/index.html.erb:40:in `compile!' - -Rendered rescues/_trace (36.8ms) -Rendered rescues/_request_and_response (0.3ms) -Rendering rescues/layout (internal_server_error) - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 07:44:08) [GET] - Parameters: {"category_id"=>"1", "page"=>"1"} - Category Load (0.3ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (1.7ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 11 OFFSET 0 - SQL (0.3ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )  -Rendering template within layouts/photos -Rendering photos/index -Completed in 44ms (View: 22, DB: 2) | 200 OK [http://localhost/categories/1/photos?page=1] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 07:44:10) [GET] - Parameters: {"category_id"=>"1", "page"=>"2"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (0.7ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 11 OFFSET 11 -Rendering template within layouts/photos -Rendering photos/index -Completed in 92ms (View: 11, DB: 1) | 200 OK [http://localhost/categories/1/photos?page=2] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 07:44:12) [GET] - Parameters: {"category_id"=>"1", "page"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (2.3ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 11 OFFSET 0 - SQL (0.3ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )  -Rendering template within layouts/photos -Rendering photos/index -Completed in 39ms (View: 19, DB: 3) | 200 OK [http://localhost/categories/1/photos?page=1] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 07:44:30) [GET] - Parameters: {"category_id"=>"1", "page"=>"1"} - Category Load (0.3ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (1.6ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 11 OFFSET 0 - SQL (0.3ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )  -Rendering template within layouts/photos -Rendering photos/index -Completed in 40ms (View: 20, DB: 2) | 200 OK [http://localhost/categories/1/photos?page=1] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 07:44:31) [GET] - Parameters: {"category_id"=>"1", "page"=>"2"} - Category Load (0.4ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (1.1ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 11 OFFSET 11 -Rendering template within layouts/photos -Rendering photos/index -Completed in 35ms (View: 15, DB: 1) | 200 OK [http://localhost/categories/1/photos?page=2] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 07:44:33) [GET] - Parameters: {"category_id"=>"1", "page"=>"1"} - Category Load (0.5ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (3.1ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 11 OFFSET 0 - SQL (0.4ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )  -Rendering template within layouts/photos -Rendering photos/index -Completed in 56ms (View: 24, DB: 4) | 200 OK [http://localhost/categories/1/photos?page=1] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 07:44:35) [GET] - Photo Load (15.4ms) SELECT * FROM "photos" LIMIT 11 OFFSET 0 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 42ms (View: 18, DB: 16) | 200 OK [http://localhost/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 07:44:38) [GET] - Parameters: {"page"=>"2"} - Photo Load (1.6ms) SELECT * FROM "photos" LIMIT 11 OFFSET 11 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 27ms (View: 16, DB: 2) | 200 OK [http://localhost/photos?page=2] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 07:44:39) [GET] - Parameters: {"page"=>"1"} - Photo Load (1.5ms) SELECT * FROM "photos" LIMIT 11 OFFSET 0 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 25ms (View: 14, DB: 2) | 200 OK [http://localhost/photos?page=1] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 07:44:45) [GET] - Parameters: {"category_id"=>"1", "page"=>"2"} - Category Load (0.3ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (0.5ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 11 OFFSET 11 -Rendering template within layouts/photos -Rendering photos/index -Completed in 25ms (View: 12, DB: 1) | 200 OK [http://localhost/categories/1/photos?page=2] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 07:44:54) [GET] - Parameters: {"category_id"=>"1", "page"=>"1"} - Category Load (0.3ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (1.6ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 11 OFFSET 0 - SQL (0.3ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )  -Rendering template within layouts/photos -Rendering photos/index -Completed in 34ms (View: 14, DB: 2) | 200 OK [http://localhost/categories/1/photos?page=1] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 07:45:19) [GET] - Category Load (0.9ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 52ms (View: 46, DB: 1) | 200 OK [http://localhost/categories] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 07:45:20) [GET] - Parameters: {"category_id"=>"4"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '4') LIMIT 1 - Photo Load (1.1ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 4 ) LIMIT 11 OFFSET 0 -Rendering template within layouts/photos -Rendering photos/index -Completed in 25ms (View: 13, DB: 1) | 200 OK [http://localhost/categories/4/photos] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 07:45:40) [GET] - Category Load (0.9ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 12ms (View: 5, DB: 1) | 200 OK [http://localhost/categories] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 07:45:41) [GET] - Parameters: {"category_id"=>"5"} - Category Load (0.4ms) SELECT * FROM "categories" WHERE ("categories"."id" = '5') LIMIT 1 - Photo Load (0.6ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 5 ) LIMIT 11 OFFSET 0 -Rendering template within layouts/photos -Rendering photos/index -Completed in 26ms (View: 9, DB: 1) | 200 OK [http://localhost/categories/5/photos] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 07:45:43) [GET] - Category Load (1.0ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 12ms (View: 5, DB: 1) | 200 OK [http://localhost/categories] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 07:45:44) [GET] - Parameters: {"category_id"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (1.7ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 11 OFFSET 0 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )  -Rendering template within layouts/photos -Rendering photos/index -Completed in 32ms (View: 15, DB: 2) | 200 OK [http://localhost/categories/1/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 07:45:45) [GET] - Parameters: {"category_id"=>"1", "page"=>"2"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (0.6ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 11 OFFSET 11 -Rendering template within layouts/photos -Rendering photos/index -Completed in 21ms (View: 9, DB: 1) | 200 OK [http://localhost/categories/1/photos?page=2] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 07:45:46) [GET] - Parameters: {"category_id"=>"1", "page"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (1.4ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 11 OFFSET 0 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )  -Rendering template within layouts/photos -Rendering photos/index -Completed in 28ms (View: 13, DB: 2) | 200 OK [http://localhost/categories/1/photos?page=1] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 07:45:48) [GET] - Category Load (0.8ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 11ms (View: 5, DB: 1) | 200 OK [http://localhost/categories] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 07:45:50) [GET] - Parameters: {"category_id"=>"6"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '6') LIMIT 1 - Photo Load (0.6ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 6 ) LIMIT 11 OFFSET 0 -Rendering template within layouts/photos -Rendering photos/index -Completed in 20ms (View: 8, DB: 1) | 200 OK [http://localhost/categories/6/photos] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 07:45:56) [GET] - Category Load (0.9ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 10ms (View: 5, DB: 1) | 200 OK [http://localhost/categories] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 07:46:19) [GET] - Parameters: {"category_id"=>"4"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '4') LIMIT 1 - Photo Load (1.3ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 4 ) LIMIT 11 OFFSET 0 -Rendering template within layouts/photos -Rendering photos/index -Completed in 82ms (View: 14, DB: 1) | 200 OK [http://localhost/categories/4/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 07:46:21) [GET] - Parameters: {"category_id"=>"4"} - Category Load (0.3ms) SELECT * FROM "categories" WHERE ("categories"."id" = '4') LIMIT 1 - Photo Load (1.2ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 4 ) LIMIT 11 OFFSET 0 -Rendering template within layouts/photos -Rendering photos/index -Completed in 33ms (View: 16, DB: 2) | 200 OK [http://localhost/categories/4/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 07:46:31) [GET] - Parameters: {"category_id"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (1.4ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 11 OFFSET 0 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )  -Rendering template within layouts/photos -Rendering photos/index -Completed in 28ms (View: 13, DB: 2) | 200 OK [http://localhost/categories/1/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 07:46:41) [GET] - Parameters: {"category_id"=>"1", "page"=>"2"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (0.6ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 11 OFFSET 11 -Rendering template within layouts/photos -Rendering photos/index -Completed in 21ms (View: 9, DB: 1) | 200 OK [http://localhost/categories/1/photos?page=2] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 07:46:43) [GET] - Parameters: {"category_id"=>"1", "page"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (1.4ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 11 OFFSET 0 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )  -Rendering template within layouts/photos -Rendering photos/index -Completed in 29ms (View: 15, DB: 2) | 200 OK [http://localhost/categories/1/photos?page=1] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 07:46:44) [GET] - Category Load (0.8ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 10ms (View: 5, DB: 1) | 200 OK [http://localhost/categories] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 07:46:59) [GET] - Parameters: {"page"=>"2"} - Photo Load (1.7ms) SELECT * FROM "photos" LIMIT 11 OFFSET 11 - SQL (0.1ms) SELECT count(*) AS count_all FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 79ms (View: 13, DB: 2) | 200 OK [http://localhost/photos?page=2] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 07:47:01) [GET] - Parameters: {"page"=>"1"} - Photo Load (1.4ms) SELECT * FROM "photos" LIMIT 11 OFFSET 0 - SQL (0.1ms) SELECT count(*) AS count_all FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 22ms (View: 12, DB: 2) | 200 OK [http://localhost/photos?page=1] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 07:47:01) [GET] - Parameters: {"page"=>"2"} - Photo Load (1.3ms) SELECT * FROM "photos" LIMIT 11 OFFSET 11 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 22ms (View: 12, DB: 2) | 200 OK [http://localhost/photos?page=2] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 07:47:02) [GET] - Parameters: {"page"=>"1"} - Photo Load (1.4ms) SELECT * FROM "photos" LIMIT 11 OFFSET 0 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 21ms (View: 12, DB: 2) | 200 OK [http://localhost/photos?page=1] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 07:47:09) [GET] - Parameters: {"category_id"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (1.3ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 11 OFFSET 0 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )  -Rendering template within layouts/photos -Rendering photos/index -Completed in 28ms (View: 13, DB: 2) | 200 OK [http://localhost/categories/1/photos] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 07:47:15) [GET] - Category Load (0.9ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 11ms (View: 5, DB: 1) | 200 OK [http://localhost/categories] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 07:47:16) [GET] - Parameters: {"category_id"=>"5"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '5') LIMIT 1 - Photo Load (0.3ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 5 ) LIMIT 11 OFFSET 0 -Rendering template within layouts/photos -Rendering photos/index -Completed in 18ms (View: 7, DB: 1) | 200 OK [http://localhost/categories/5/photos] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 07:47:17) [GET] - Category Load (0.9ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 65ms (View: 59, DB: 1) | 200 OK [http://localhost/categories] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 07:47:36) [GET] - Category Load (0.8ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 13ms (View: 8, DB: 1) | 200 OK [http://localhost/categories] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 07:47:39) [GET] - Parameters: {"category_id"=>"1"} - Category Load (0.3ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (1.4ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 11 OFFSET 0 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )  -Rendering template within layouts/photos -Rendering photos/index -Completed in 29ms (View: 13, DB: 2) | 200 OK [http://localhost/categories/1/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 07:47:41) [GET] - Parameters: {"category_id"=>"2"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '2') LIMIT 1 - Photo Load (0.7ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 2 ) LIMIT 11 OFFSET 0 -Rendering template within layouts/photos -Rendering photos/index -Completed in 22ms (View: 9, DB: 1) | 200 OK [http://localhost/categories/2/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 07:47:43) [GET] - Parameters: {"category_id"=>"6"} - Category Load (0.3ms) SELECT * FROM "categories" WHERE ("categories"."id" = '6') LIMIT 1 - Photo Load (0.5ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 6 ) LIMIT 11 OFFSET 0 -Rendering template within layouts/photos -Rendering photos/index -Completed in 22ms (View: 8, DB: 1) | 200 OK [http://localhost/categories/6/photos] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 07:47:52) [GET] - Category Load (0.8ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 15ms (View: 9, DB: 1) | 200 OK [http://localhost/categories] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 07:48:17) [GET] - Parameters: {"category_id"=>"1"} - Category Load (0.3ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (1.4ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 11 OFFSET 0 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )  -Rendering template within layouts/photos -Rendering photos/index -Completed in 31ms (View: 17, DB: 2) | 200 OK [http://localhost/categories/1/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 07:48:22) [GET] - Parameters: {"category_id"=>"2"} - Category Load (0.3ms) SELECT * FROM "categories" WHERE ("categories"."id" = '2') LIMIT 1 - Photo Load (0.6ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 2 ) LIMIT 11 OFFSET 0 -Rendering template within layouts/photos -Rendering photos/index -Completed in 22ms (View: 9, DB: 1) | 200 OK [http://localhost/categories/2/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 08:01:23) [GET] - Parameters: {"category_id"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (1.4ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 11 OFFSET 0 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )  -Rendering template within layouts/photos -Rendering photos/index -Completed in 29ms (View: 13, DB: 2) | 200 OK [http://localhost/categories/1/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 08:01:25) [GET] - Parameters: {"category_id"=>"1", "page"=>"2"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (0.5ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 11 OFFSET 11 -Rendering template within layouts/photos -Rendering photos/index -Completed in 20ms (View: 9, DB: 1) | 200 OK [http://localhost/categories/1/photos?page=2] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 08:01:27) [GET] - Parameters: {"category_id"=>"1", "page"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (1.4ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 11 OFFSET 0 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )  -Rendering template within layouts/photos -Rendering photos/index -Completed in 31ms (View: 15, DB: 2) | 200 OK [http://localhost/categories/1/photos?page=1] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 08:01:29) [GET] - Category Load (1.0ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 11ms (View: 5, DB: 1) | 200 OK [http://localhost/categories] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 08:01:30) [GET] - Parameters: {"category_id"=>"6"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '6') LIMIT 1 - Photo Load (0.7ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 6 ) LIMIT 11 OFFSET 0 -Rendering template within layouts/photos -Rendering photos/index -Completed in 20ms (View: 8, DB: 1) | 200 OK [http://localhost/categories/6/photos] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 08:01:32) [GET] - Category Load (0.8ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 10ms (View: 4, DB: 1) | 200 OK [http://localhost/categories] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 08:02:04) [GET] - Category Load (0.9ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 17ms (View: 10, DB: 1) | 200 OK [http://localhost/categories] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 08:02:07) [GET] - Parameters: {"category_id"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (1.4ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 11 OFFSET 0 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )  -Rendering template within layouts/photos -Rendering photos/index -Completed in 29ms (View: 14, DB: 2) | 200 OK [http://localhost/categories/1/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 08:02:08) [GET] - Parameters: {"category_id"=>"3"} - Category Load (0.3ms) SELECT * FROM "categories" WHERE ("categories"."id" = '3') LIMIT 1 - Photo Load (0.5ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 3 ) LIMIT 11 OFFSET 0 -Rendering template within layouts/photos -Rendering photos/index -Completed in 19ms (View: 7, DB: 1) | 200 OK [http://localhost/categories/3/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 08:03:01) [GET] - Parameters: {"category_id"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (1.3ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 11 OFFSET 0 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )  -Rendering template within layouts/photos -Rendering photos/index -Completed in 87ms (View: 14, DB: 2) | 200 OK [http://localhost/categories/1/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 08:03:02) [GET] - Parameters: {"category_id"=>"1", "page"=>"2"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (0.6ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 11 OFFSET 11 -Rendering template within layouts/photos -Rendering photos/index -Completed in 20ms (View: 8, DB: 1) | 200 OK [http://localhost/categories/1/photos?page=2] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 08:03:03) [GET] - Parameters: {"category_id"=>"1", "page"=>"1"} - Category Load (0.3ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (1.4ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 11 OFFSET 0 - SQL (0.3ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )  -Rendering template within layouts/photos -Rendering photos/index -Completed in 33ms (View: 16, DB: 2) | 200 OK [http://localhost/categories/1/photos?page=1] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 08:03:20) [GET] - Parameters: {"category_id"=>"1", "page"=>"2"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (0.6ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 11 OFFSET 11 -Rendering template within layouts/photos -Rendering photos/index -Completed in 22ms (View: 9, DB: 1) | 200 OK [http://localhost/categories/1/photos?page=2] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 08:03:28) [GET] - Parameters: {"category_id"=>"1", "page"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (1.3ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 11 OFFSET 0 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )  -Rendering template within layouts/photos -Rendering photos/index -Completed in 80ms (View: 64, DB: 2) | 200 OK [http://localhost/categories/1/photos?page=1] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 08:03:54) [GET] - Category Load (0.9ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 10ms (View: 5, DB: 1) | 200 OK [http://localhost/categories] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 08:03:57) [GET] - Parameters: {"category_id"=>"5"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '5') LIMIT 1 - Photo Load (0.4ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 5 ) LIMIT 11 OFFSET 0 -Rendering template within layouts/photos -Rendering photos/index -Completed in 19ms (View: 7, DB: 1) | 200 OK [http://localhost/categories/5/photos] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 08:04:00) [GET] - Category Load (0.8ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 10ms (View: 5, DB: 1) | 200 OK [http://localhost/categories] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 08:04:01) [GET] - Parameters: {"category_id"=>"6"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '6') LIMIT 1 - Photo Load (55.0ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 6 ) LIMIT 11 OFFSET 0 -Rendering template within layouts/photos -Rendering photos/index -Completed in 75ms (View: 8, DB: 55) | 200 OK [http://localhost/categories/6/photos] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 08:04:03) [GET] - Category Load (0.8ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 10ms (View: 4, DB: 1) | 200 OK [http://localhost/categories] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 08:09:19) [GET] - Parameters: {"category_id"=>"6"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '6') LIMIT 1 - Photo Load (0.5ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 6 ) LIMIT 11 OFFSET 0 -Rendering template within layouts/photos -Rendering photos/index -Completed in 20ms (View: 8, DB: 1) | 200 OK [http://localhost/categories/6/photos] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 08:09:28) [GET] - Category Load (0.8ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 11ms (View: 5, DB: 1) | 200 OK [http://localhost/categories] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 08:09:29) [GET] - Parameters: {"category_id"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (1.4ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 11 OFFSET 0 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )  -Rendering template within layouts/photos -Rendering photos/index -Completed in 29ms (View: 14, DB: 2) | 200 OK [http://localhost/categories/1/photos] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 08:09:32) [GET] - Category Load (1.2ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 13ms (View: 5, DB: 1) | 200 OK [http://localhost/categories] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 08:09:33) [GET] - Parameters: {"category_id"=>"2"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '2') LIMIT 1 - Photo Load (0.8ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 2 ) LIMIT 11 OFFSET 0 -Rendering template within layouts/photos -Rendering photos/index -Completed in 22ms (View: 9, DB: 1) | 200 OK [http://localhost/categories/2/photos] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 08:09:45) [GET] - Category Load (0.8ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 10ms (View: 4, DB: 1) | 200 OK [http://localhost/categories] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 08:09:46) [GET] - Parameters: {"category_id"=>"5"} - Category Load (0.3ms) SELECT * FROM "categories" WHERE ("categories"."id" = '5') LIMIT 1 - Photo Load (0.4ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 5 ) LIMIT 11 OFFSET 0 -Rendering template within layouts/photos -Rendering photos/index -Completed in 19ms (View: 7, DB: 1) | 200 OK [http://localhost/categories/5/photos] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 08:25:48) [GET] - Category Load (0.8ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 13ms (View: 7, DB: 1) | 200 OK [http://localhost/categories] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 08:25:49) [GET] - Category Load (1.0ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 11ms (View: 5, DB: 1) | 200 OK [http://localhost/categories] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 08:26:05) [GET] - Parameters: {"category_id"=>"5"} - Category Load (0.4ms) SELECT * FROM "categories" WHERE ("categories"."id" = '5') LIMIT 1 - Photo Load (0.4ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 5 ) LIMIT 11 OFFSET 0 -Rendering template within layouts/photos -Rendering photos/index -Completed in 21ms (View: 7, DB: 1) | 200 OK [http://localhost/categories/5/photos] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 08:26:10) [GET] - Category Load (0.8ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 11ms (View: 5, DB: 1) | 200 OK [http://localhost/categories] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 08:26:10) [GET] - Parameters: {"category_id"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (1.3ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 11 OFFSET 0 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )  -Rendering template within layouts/photos -Rendering photos/index -Completed in 28ms (View: 13, DB: 2) | 200 OK [http://localhost/categories/1/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 08:26:12) [GET] - Parameters: {"category_id"=>"1", "page"=>"2"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (0.5ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 11 OFFSET 11 -Rendering template within layouts/photos -Rendering photos/index -Completed in 21ms (View: 8, DB: 1) | 200 OK [http://localhost/categories/1/photos?page=2] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 08:26:13) [GET] - Parameters: {"category_id"=>"1", "page"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (1.3ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 11 OFFSET 0 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )  -Rendering template within layouts/photos -Rendering photos/index -Completed in 29ms (View: 13, DB: 2) | 200 OK [http://localhost/categories/1/photos?page=1] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 08:26:14) [GET] - Category Load (0.8ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 10ms (View: 5, DB: 1) | 200 OK [http://localhost/categories] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 09:28:05) [GET] - Parameters: {"category_id"=>"4"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '4') LIMIT 1 - Photo Load (2.2ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 4 ) LIMIT 11 OFFSET 0 -Rendering template within layouts/photos -Rendering photos/index -Completed in 180ms (View: 25, DB: 2) | 200 OK [http://localhost/categories/4/photos] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 09:28:10) [GET] - Category Load (0.8ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 11ms (View: 5, DB: 1) | 200 OK [http://localhost/categories] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 09:28:11) [GET] - Parameters: {"category_id"=>"1"} - Category Load (0.3ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (1.6ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 11 OFFSET 0 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )  -Rendering template within layouts/photos -Rendering photos/index -Completed in 30ms (View: 14, DB: 2) | 200 OK [http://localhost/categories/1/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 09:28:13) [GET] - Parameters: {"category_id"=>"1", "page"=>"2"} - Category Load (0.3ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (0.5ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 11 OFFSET 11 -Rendering template within layouts/photos -Rendering photos/index -Completed in 79ms (View: 66, DB: 1) | 200 OK [http://localhost/categories/1/photos?page=2] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 09:28:14) [GET] - Parameters: {"category_id"=>"1", "page"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (1.3ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 11 OFFSET 0 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )  -Rendering template within layouts/photos -Rendering photos/index -Completed in 30ms (View: 15, DB: 2) | 200 OK [http://localhost/categories/1/photos?page=1] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 09:28:17) [GET] - Parameters: {"category_id"=>"1", "page"=>"2"} - Category Load (0.4ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (0.9ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 11 OFFSET 11 -Rendering template within layouts/photos -Rendering photos/index -Completed in 22ms (View: 9, DB: 1) | 200 OK [http://localhost/categories/1/photos?page=2] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 09:28:18) [GET] - Parameters: {"category_id"=>"1", "page"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (1.4ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 11 OFFSET 0 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )  -Rendering template within layouts/photos -Rendering photos/index -Completed in 85ms (View: 70, DB: 2) | 200 OK [http://localhost/categories/1/photos?page=1] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 09:28:25) [GET] - Category Load (0.8ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 11ms (View: 5, DB: 1) | 200 OK [http://localhost/categories] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 09:28:26) [GET] - Parameters: {"category_id"=>"5"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '5') LIMIT 1 - Photo Load (0.4ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 5 ) LIMIT 11 OFFSET 0 -Rendering template within layouts/photos -Rendering photos/index -Completed in 19ms (View: 7, DB: 1) | 200 OK [http://localhost/categories/5/photos] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 09:28:27) [GET] - Category Load (0.8ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 10ms (View: 5, DB: 1) | 200 OK [http://localhost/categories] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 09:28:33) [GET] - Parameters: {"category_id"=>"3"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '3') LIMIT 1 - Photo Load (0.5ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 3 ) LIMIT 11 OFFSET 0 -Rendering template within layouts/photos -Rendering photos/index -Completed in 75ms (View: 64, DB: 1) | 200 OK [http://localhost/categories/3/photos] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 09:28:41) [GET] - Category Load (0.9ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 13ms (View: 6, DB: 1) | 200 OK [http://localhost/categories] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 09:36:56) [GET] - Category Load (0.8ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 10ms (View: 4, DB: 1) | 200 OK [http://localhost/categories] - - -Processing PagesController#about (for 127.0.0.1 at 2010-10-09 09:36:59) [GET] - -ActionController::UnknownAction (No action responded to about. Actions: home): - - -Rendering rescues/layout (not_found) - - -Processing PagesController#home (for 127.0.0.1 at 2010-10-09 09:37:05) [GET] - -ActionView::MissingTemplate (Missing template pages/home.erb in view path app/views:vendor/plugins/typus/app/views): - - -Rendering rescues/layout (internal_server_error) - - -Processing PagesController#about (for 127.0.0.1 at 2010-10-09 09:40:07) [GET] - -ActionController::UnknownAction (No action responded to about. Actions: home): - - -Rendering rescues/layout (not_found) - - -Processing PagesController#home (for 127.0.0.1 at 2010-10-09 09:40:09) [GET] - -ActionView::MissingTemplate (Missing template pages/home.erb in view path app/views:vendor/plugins/typus/app/views): - - -Rendering rescues/layout (internal_server_error) - - -Processing PagesController#index (for 127.0.0.1 at 2010-10-09 09:40:50) [GET] - -ActionView::MissingTemplate (Missing template pages/index.erb in view path app/views:vendor/plugins/typus/app/views): - - -Rendering rescues/layout (internal_server_error) - - -Processing PagesController#index (for 127.0.0.1 at 2010-10-09 09:41:13) [GET] -Rendering template within layouts/photos -Rendering pages/index -Completed in 7ms (View: 5, DB: 0) | 200 OK [http://localhost/] - - -Processing PagesController#about (for 127.0.0.1 at 2010-10-09 09:41:16) [GET] - -ActionController::UnknownAction (No action responded to about. Actions: index): - - -Rendering rescues/layout (not_found) - - -Processing PagesController#about (for 127.0.0.1 at 2010-10-09 09:41:24) [GET] -Rendering template within layouts/photos -Rendering pages/about -Completed in 7ms (View: 5, DB: 0) | 200 OK [http://localhost/about] - - -Processing PagesController#index (for 127.0.0.1 at 2010-10-09 09:41:27) [GET] -Rendering template within layouts/photos -Rendering pages/index -Completed in 4ms (View: 3, DB: 0) | 200 OK [http://localhost/] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 09:41:30) [GET] - Category Load (1.0ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 14ms (View: 5, DB: 1) | 200 OK [http://localhost/categories] - - -Processing PagesController#index (for 127.0.0.1 at 2010-10-09 09:41:34) [GET] -Rendering template within layouts/photos -Rendering pages/index -Completed in 5ms (View: 3, DB: 0) | 200 OK [http://localhost/] - - -Processing PagesController#index (for 127.0.0.1 at 2010-10-09 09:44:38) [GET] -Rendering template within layouts/photos -Rendering pages/index -Completed in 7ms (View: 5, DB: 0) | 200 OK [http://localhost/] - SQL (0.7ms) SELECT id FROM "photos"  - Photo Load (0.2ms) SELECT * FROM "photos" WHERE ("photos"."id" = 1)  - SQL (1.4ms) SELECT id FROM "photos"  - Photo Load (0.4ms) SELECT * FROM "photos" WHERE ("photos"."id" = 1)  - SQL (0.7ms) SELECT id FROM "photos"  - Photo Load (0.2ms) SELECT * FROM "photos" WHERE ("photos"."id" = 1)  -[paperclip] Saving attachments. - Photo Load (0.2ms) SELECT * FROM "photos" WHERE ("photos"."id" = 2)  -[paperclip] Saving attachments. - Photo Load (0.2ms) SELECT * FROM "photos" WHERE ("photos"."id" = 3)  -[paperclip] Saving attachments. - Photo Load (0.3ms) SELECT * FROM "photos" WHERE ("photos"."id" = 4)  -[paperclip] Saving attachments. - Photo Load (0.2ms) SELECT * FROM "photos" WHERE ("photos"."id" = 5)  -[paperclip] Saving attachments. - Photo Load (0.2ms) SELECT * FROM "photos" WHERE ("photos"."id" = 6)  -[paperclip] Saving attachments. - Photo Load (0.2ms) SELECT * FROM "photos" WHERE ("photos"."id" = 7)  -[paperclip] Saving attachments. - Photo Load (0.2ms) SELECT * FROM "photos" WHERE ("photos"."id" = 8)  -[paperclip] Saving attachments. - Photo Load (0.2ms) SELECT * FROM "photos" WHERE ("photos"."id" = 10)  -[paperclip] Saving attachments. - Photo Load (0.2ms) SELECT * FROM "photos" WHERE ("photos"."id" = 11)  -[paperclip] Saving attachments. - Photo Load (0.2ms) SELECT * FROM "photos" WHERE ("photos"."id" = 12)  -[paperclip] Saving attachments. - Photo Load (0.2ms) SELECT * FROM "photos" WHERE ("photos"."id" = 13)  -[paperclip] Saving attachments. - Photo Load (0.2ms) SELECT * FROM "photos" WHERE ("photos"."id" = 14)  -[paperclip] Saving attachments. - Photo Load (0.2ms) SELECT * FROM "photos" WHERE ("photos"."id" = 15)  -[paperclip] Saving attachments. - Photo Load (0.2ms) SELECT * FROM "photos" WHERE ("photos"."id" = 17)  -[paperclip] Saving attachments. - Photo Load (0.2ms) SELECT * FROM "photos" WHERE ("photos"."id" = 18)  -[paperclip] Saving attachments. - Photo Load (0.2ms) SELECT * FROM "photos" WHERE ("photos"."id" = 19)  -[paperclip] Saving attachments. - Photo Load (0.2ms) SELECT * FROM "photos" WHERE ("photos"."id" = 20)  -[paperclip] Saving attachments. - Photo Load (0.2ms) SELECT * FROM "photos" WHERE ("photos"."id" = 21)  -[paperclip] Saving attachments. - Photo Load (0.2ms) SELECT * FROM "photos" WHERE ("photos"."id" = 22)  -[paperclip] Saving attachments. - Photo Load (0.2ms) SELECT * FROM "photos" WHERE ("photos"."id" = 23)  -[paperclip] Saving attachments. - Photo Load (0.3ms) SELECT * FROM "photos" WHERE ("photos"."id" = 24)  -[paperclip] Saving attachments. - SQL (0.5ms) SELECT id FROM "photos"  - Photo Load (0.2ms) SELECT * FROM "photos" WHERE ("photos"."id" = 1)  -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1vmmdip-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1vmmdip-0[0]' -resize "x308" -crop "308x308+88+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1vmmdip-020101009-92832-19to8w0-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1vmmdip-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1vmmdip-0[0]' -resize "x224" -crop "224x224+64+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1vmmdip-020101009-92832-cly1ny-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1vmmdip-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1vmmdip-0[0]' -resize "x140" -crop "140x140+40+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1vmmdip-020101009-92832-1h1cg6m-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1vmmdip-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1vmmdip-0[0]' -resize "x84" -crop "84x84+24+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1vmmdip-020101009-92832-1yago2a-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1vmmdip-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1vmmdip-0[0]' -resize "1024x1024>" '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1vmmdip-020101009-92832-1024nyv-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1vmmdip-020101009-92832-1024nyv-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1vmmdip-020101009-92832-1024nyv-0[0]' -resize "x56" -crop "56x56+16+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1vmmdip-020101009-92832-1024nyv-020101009-92832-o06tga-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1vmmdip-020101009-92832-1024nyv-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1vmmdip-020101009-92832-1024nyv-0[0]' -resize "x476" -crop "476x476+137+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1vmmdip-020101009-92832-1024nyv-020101009-92832-1fc596i-0' 2>/dev/null -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/1/size11/Buttercup.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/1/size8/Buttercup.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/1/size5/Buttercup.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/1/size3/Buttercup.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/1/original/Buttercup.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/1/size2/Buttercup.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/1/size17/Buttercup.jpg - Photo Load (0.5ms) SELECT * FROM "photos" WHERE ("photos"."id" = 2)  -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-127ec0v-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-127ec0v-0[0]' -resize "x308" -crop "308x308+60+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-127ec0v-020101009-92832-wogmm4-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-127ec0v-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-127ec0v-0[0]' -resize "x224" -crop "224x224+43+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-127ec0v-020101009-92832-s2htpl-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-127ec0v-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-127ec0v-0[0]' -resize "x140" -crop "140x140+27+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-127ec0v-020101009-92832-1klt9lx-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-127ec0v-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-127ec0v-0[0]' -resize "x84" -crop "84x84+16+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-127ec0v-020101009-92832-1noxq0y-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-127ec0v-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-127ec0v-0[0]' -resize "1024x1024>" '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-127ec0v-020101009-92832-19lo7ej-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-127ec0v-020101009-92832-19lo7ej-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-127ec0v-020101009-92832-19lo7ej-0[0]' -resize "x56" -crop "56x56+10+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-127ec0v-020101009-92832-19lo7ej-020101009-92832-1he616h-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-127ec0v-020101009-92832-19lo7ej-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-127ec0v-020101009-92832-19lo7ej-0[0]' -resize "x476" -crop "476x476+93+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-127ec0v-020101009-92832-19lo7ej-020101009-92832-1u4bc9t-0' 2>/dev/null -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/2/size11/Bell Tower.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/2/size8/Bell Tower.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/2/size5/Bell Tower.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/2/size3/Bell Tower.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/2/original/Bell Tower.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/2/size2/Bell Tower.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/2/size17/Bell Tower.jpg - Photo Load (0.4ms) SELECT * FROM "photos" WHERE ("photos"."id" = 3)  -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-128b76h-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-128b76h-0[0]' -resize "x308" -crop "308x308+100+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-128b76h-020101009-92832-ijg7pm-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-128b76h-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-128b76h-0[0]' -resize "x224" -crop "224x224+72+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-128b76h-020101009-92832-vjbkxq-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-128b76h-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-128b76h-0[0]' -resize "x140" -crop "140x140+45+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-128b76h-020101009-92832-jvn1m6-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-128b76h-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-128b76h-0[0]' -resize "x84" -crop "84x84+27+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-128b76h-020101009-92832-w0u25q-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-128b76h-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-128b76h-0[0]' -resize "1024x1024>" '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-128b76h-020101009-92832-w3tiyk-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-128b76h-020101009-92832-w3tiyk-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-128b76h-020101009-92832-w3tiyk-0[0]' -resize "x56" -crop "56x56+18+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-128b76h-020101009-92832-w3tiyk-020101009-92832-dkxx5l-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-128b76h-020101009-92832-w3tiyk-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-128b76h-020101009-92832-w3tiyk-0[0]' -resize "x476" -crop "476x476+155+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-128b76h-020101009-92832-w3tiyk-020101009-92832-1y3afn4-0' 2>/dev/null -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/3/size11/Cross.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/3/size8/Cross.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/3/size5/Cross.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/3/size3/Cross.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/3/original/Cross.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/3/size2/Cross.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/3/size17/Cross.jpg - Photo Load (0.5ms) SELECT * FROM "photos" WHERE ("photos"."id" = 4)  -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-ezhkpi-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-ezhkpi-0[0]' -resize "x308" -crop "308x308+171+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-ezhkpi-020101009-92832-1vpcjxe-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-ezhkpi-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-ezhkpi-0[0]' -resize "x224" -crop "224x224+124+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-ezhkpi-020101009-92832-l8547j-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-ezhkpi-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-ezhkpi-0[0]' -resize "x140" -crop "140x140+78+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-ezhkpi-020101009-92832-do8uwa-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-ezhkpi-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-ezhkpi-0[0]' -resize "x84" -crop "84x84+46+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-ezhkpi-020101009-92832-10gcgxh-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-ezhkpi-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-ezhkpi-0[0]' -resize "1024x1024>" '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-ezhkpi-020101009-92832-1aj081z-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-ezhkpi-020101009-92832-1aj081z-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-ezhkpi-020101009-92832-1aj081z-0[0]' -resize "x56" -crop "56x56+31+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-ezhkpi-020101009-92832-1aj081z-020101009-92832-1ohoeoj-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-ezhkpi-020101009-92832-1aj081z-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-ezhkpi-020101009-92832-1aj081z-0[0]' -resize "x476" -crop "476x476+265+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-ezhkpi-020101009-92832-1aj081z-020101009-92832-1q0h8e5-0' 2>/dev/null -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/4/size11/Emerald Panarama.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/4/size8/Emerald Panarama.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/4/size5/Emerald Panarama.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/4/size3/Emerald Panarama.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/4/original/Emerald Panarama.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/4/size2/Emerald Panarama.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/4/size17/Emerald Panarama.jpg - Photo Load (0.4ms) SELECT * FROM "photos" WHERE ("photos"."id" = 5)  -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-9u5fs5-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-9u5fs5-0[0]' -resize "x308" -crop "308x308+97+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-9u5fs5-020101009-92832-1a2i5cu-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-9u5fs5-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-9u5fs5-0[0]' -resize "x224" -crop "224x224+71+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-9u5fs5-020101009-92832-1nh3iu-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-9u5fs5-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-9u5fs5-0[0]' -resize "x140" -crop "140x140+44+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-9u5fs5-020101009-92832-mmvamf-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-9u5fs5-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-9u5fs5-0[0]' -resize "x84" -crop "84x84+26+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-9u5fs5-020101009-92832-189gl1l-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-9u5fs5-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-9u5fs5-0[0]' -resize "1024x1024>" '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-9u5fs5-020101009-92832-1niu8tb-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-9u5fs5-020101009-92832-1niu8tb-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-9u5fs5-020101009-92832-1niu8tb-0[0]' -resize "x56" -crop "56x56+17+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-9u5fs5-020101009-92832-1niu8tb-020101009-92832-16u8mrr-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-9u5fs5-020101009-92832-1niu8tb-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-9u5fs5-020101009-92832-1niu8tb-0[0]' -resize "x476" -crop "476x476+151+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-9u5fs5-020101009-92832-1niu8tb-020101009-92832-gber5l-0' 2>/dev/null -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/5/size11/_.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/5/size8/_.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/5/size5/_.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/5/size3/_.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/5/original/_.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/5/size2/_.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/5/size17/_.jpg - Photo Load (0.5ms) SELECT * FROM "photos" WHERE ("photos"."id" = 6)  -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1obkrjk-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1obkrjk-0[0]' -resize "x308" -crop "308x308+148+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1obkrjk-020101009-92832-vsx4gl-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1obkrjk-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1obkrjk-0[0]' -resize "x224" -crop "224x224+107+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1obkrjk-020101009-92832-12hdfg7-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1obkrjk-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1obkrjk-0[0]' -resize "x140" -crop "140x140+67+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1obkrjk-020101009-92832-1ghe4gh-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1obkrjk-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1obkrjk-0[0]' -resize "x84" -crop "84x84+40+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1obkrjk-020101009-92832-1569cg1-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1obkrjk-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1obkrjk-0[0]' -resize "1024x1024>" '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1obkrjk-020101009-92832-1fkiash-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1obkrjk-020101009-92832-1fkiash-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1obkrjk-020101009-92832-1fkiash-0[0]' -resize "x56" -crop "56x56+26+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1obkrjk-020101009-92832-1fkiash-020101009-92832-qe89a-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1obkrjk-020101009-92832-1fkiash-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1obkrjk-020101009-92832-1fkiash-0[0]' -resize "x476" -crop "476x476+228+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1obkrjk-020101009-92832-1fkiash-020101009-92832-1825mwg-0' 2>/dev/null -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/6/size11/Boathouse.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/6/size8/Boathouse.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/6/size5/Boathouse.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/6/size3/Boathouse.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/6/original/Boathouse.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/6/size2/Boathouse.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/6/size17/Boathouse.jpg - Photo Load (0.4ms) SELECT * FROM "photos" WHERE ("photos"."id" = 7)  -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1f02ns0-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1f02ns0-0[0]' -resize "x308" -crop "308x308+157+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1f02ns0-020101009-92832-13olkjq-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1f02ns0-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1f02ns0-0[0]' -resize "x224" -crop "224x224+114+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1f02ns0-020101009-92832-aolwim-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1f02ns0-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1f02ns0-0[0]' -resize "x140" -crop "140x140+71+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1f02ns0-020101009-92832-1dtnlxh-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1f02ns0-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1f02ns0-0[0]' -resize "x84" -crop "84x84+42+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1f02ns0-020101009-92832-1apkbcr-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1f02ns0-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1f02ns0-0[0]' -resize "1024x1024>" '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1f02ns0-020101009-92832-1df7wjo-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1f02ns0-020101009-92832-1df7wjo-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1f02ns0-020101009-92832-1df7wjo-0[0]' -resize "x56" -crop "56x56+28+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1f02ns0-020101009-92832-1df7wjo-020101009-92832-ypktya-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1f02ns0-020101009-92832-1df7wjo-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1f02ns0-020101009-92832-1df7wjo-0[0]' -resize "x476" -crop "476x476+243+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1f02ns0-020101009-92832-1df7wjo-020101009-92832-1l2p5fs-0' 2>/dev/null -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/7/size11/Bubble no2.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/7/size8/Bubble no2.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/7/size5/Bubble no2.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/7/size3/Bubble no2.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/7/original/Bubble no2.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/7/size2/Bubble no2.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/7/size17/Bubble no2.jpg - Photo Load (0.4ms) SELECT * FROM "photos" WHERE ("photos"."id" = 8)  -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1g71zmu-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1g71zmu-0[0]' -resize "x308" -crop "308x308+76+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1g71zmu-020101009-92832-m0l3fz-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1g71zmu-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1g71zmu-0[0]' -resize "x224" -crop "224x224+55+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1g71zmu-020101009-92832-832ces-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1g71zmu-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1g71zmu-0[0]' -resize "x140" -crop "140x140+34+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1g71zmu-020101009-92832-1t94zh7-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1g71zmu-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1g71zmu-0[0]' -resize "x84" -crop "84x84+20+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1g71zmu-020101009-92832-78kq4q-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1g71zmu-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1g71zmu-0[0]' -resize "1024x1024>" '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1g71zmu-020101009-92832-vwq5jd-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1g71zmu-020101009-92832-vwq5jd-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1g71zmu-020101009-92832-vwq5jd-0[0]' -resize "x56" -crop "56x56+13+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1g71zmu-020101009-92832-vwq5jd-020101009-92832-1b45rhn-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1g71zmu-020101009-92832-vwq5jd-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1g71zmu-020101009-92832-vwq5jd-0[0]' -resize "x476" -crop "476x476+118+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1g71zmu-020101009-92832-vwq5jd-020101009-92832-t5ng6q-0' 2>/dev/null -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/8/size11/Cadover Horses.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/8/size8/Cadover Horses.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/8/size5/Cadover Horses.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/8/size3/Cadover Horses.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/8/original/Cadover Horses.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/8/size2/Cadover Horses.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/8/size17/Cadover Horses.jpg - Photo Load (0.4ms) SELECT * FROM "photos" WHERE ("photos"."id" = 10)  -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-xqi63m-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-xqi63m-0[0]' -resize "308x" -crop "308x308+0+76" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-xqi63m-020101009-92832-njt1fx-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-xqi63m-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-xqi63m-0[0]' -resize "224x" -crop "224x224+0+55" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-xqi63m-020101009-92832-1skzn1g-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-xqi63m-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-xqi63m-0[0]' -resize "140x" -crop "140x140+0+34" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-xqi63m-020101009-92832-1q4uuj9-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-xqi63m-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-xqi63m-0[0]' -resize "84x" -crop "84x84+0+20" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-xqi63m-020101009-92832-1vylpfx-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-xqi63m-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-xqi63m-0[0]' -resize "1024x1024>" '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-xqi63m-020101009-92832-jmsvpe-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-xqi63m-020101009-92832-jmsvpe-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-xqi63m-020101009-92832-jmsvpe-0[0]' -resize "56x" -crop "56x56+0+13" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-xqi63m-020101009-92832-jmsvpe-020101009-92832-19239bu-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-xqi63m-020101009-92832-jmsvpe-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-xqi63m-020101009-92832-jmsvpe-0[0]' -resize "476x" -crop "476x476+0+118" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-xqi63m-020101009-92832-jmsvpe-020101009-92832-1y1yl4b-0' 2>/dev/null -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/10/size11/Church of Ireland Gate.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/10/size8/Church of Ireland Gate.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/10/size5/Church of Ireland Gate.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/10/size3/Church of Ireland Gate.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/10/original/Church of Ireland Gate.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/10/size2/Church of Ireland Gate.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/10/size17/Church of Ireland Gate.jpg - Photo Load (0.4ms) SELECT * FROM "photos" WHERE ("photos"."id" = 11)  -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1vfwpry-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1vfwpry-0[0]' -resize "308x" -crop "308x308+0+76" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1vfwpry-020101009-92832-y6hdsf-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1vfwpry-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1vfwpry-0[0]' -resize "224x" -crop "224x224+0+55" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1vfwpry-020101009-92832-q9outj-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1vfwpry-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1vfwpry-0[0]' -resize "140x" -crop "140x140+0+34" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1vfwpry-020101009-92832-fskrbi-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1vfwpry-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1vfwpry-0[0]' -resize "84x" -crop "84x84+0+20" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1vfwpry-020101009-92832-1mprmev-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1vfwpry-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1vfwpry-0[0]' -resize "1024x1024>" '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1vfwpry-020101009-92832-smakof-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1vfwpry-020101009-92832-smakof-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1vfwpry-020101009-92832-smakof-0[0]' -resize "56x" -crop "56x56+0+13" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1vfwpry-020101009-92832-smakof-020101009-92832-15k7yki-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1vfwpry-020101009-92832-smakof-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1vfwpry-020101009-92832-smakof-0[0]' -resize "476x" -crop "476x476+0+118" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1vfwpry-020101009-92832-smakof-020101009-92832-xijytr-0' 2>/dev/null -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/11/size11/Church of Ireland.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/11/size8/Church of Ireland.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/11/size5/Church of Ireland.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/11/size3/Church of Ireland.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/11/original/Church of Ireland.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/11/size2/Church of Ireland.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/11/size17/Church of Ireland.jpg - Photo Load (0.4ms) SELECT * FROM "photos" WHERE ("photos"."id" = 12)  -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1e69dax-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1e69dax-0[0]' -resize "308x" -crop "308x308+0+76" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1e69dax-020101009-92832-i8rl1r-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1e69dax-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1e69dax-0[0]' -resize "224x" -crop "224x224+0+55" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1e69dax-020101009-92832-cyveiy-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1e69dax-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1e69dax-0[0]' -resize "140x" -crop "140x140+0+34" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1e69dax-020101009-92832-u1ibz5-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1e69dax-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1e69dax-0[0]' -resize "84x" -crop "84x84+0+20" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1e69dax-020101009-92832-1npnvxi-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1e69dax-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1e69dax-0[0]' -resize "1024x1024>" '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1e69dax-020101009-92832-1p2v1iy-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1e69dax-020101009-92832-1p2v1iy-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1e69dax-020101009-92832-1p2v1iy-0[0]' -resize "56x" -crop "56x56+0+13" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1e69dax-020101009-92832-1p2v1iy-020101009-92832-vskua1-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1e69dax-020101009-92832-1p2v1iy-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1e69dax-020101009-92832-1p2v1iy-0[0]' -resize "476x" -crop "476x476+0+118" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1e69dax-020101009-92832-1p2v1iy-020101009-92832-4dvxqr-0' 2>/dev/null -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/12/size11/Croagh Patrick no1.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/12/size8/Croagh Patrick no1.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/12/size5/Croagh Patrick no1.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/12/size3/Croagh Patrick no1.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/12/original/Croagh Patrick no1.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/12/size2/Croagh Patrick no1.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/12/size17/Croagh Patrick no1.jpg - Photo Load (0.4ms) SELECT * FROM "photos" WHERE ("photos"."id" = 13)  -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-r9091y-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-r9091y-0[0]' -resize "x308" -crop "308x308+141+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-r9091y-020101009-92832-1jktxhi-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-r9091y-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-r9091y-0[0]' -resize "x224" -crop "224x224+103+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-r9091y-020101009-92832-guwd1m-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-r9091y-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-r9091y-0[0]' -resize "x140" -crop "140x140+64+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-r9091y-020101009-92832-17r3hid-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-r9091y-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-r9091y-0[0]' -resize "x84" -crop "84x84+38+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-r9091y-020101009-92832-16inf7l-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-r9091y-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-r9091y-0[0]' -resize "1024x1024>" '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-r9091y-020101009-92832-1y5hf75-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-r9091y-020101009-92832-1y5hf75-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-r9091y-020101009-92832-1y5hf75-0[0]' -resize "x56" -crop "56x56+25+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-r9091y-020101009-92832-1y5hf75-020101009-92832-1mxwirj-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-r9091y-020101009-92832-1y5hf75-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-r9091y-020101009-92832-1y5hf75-0[0]' -resize "x476" -crop "476x476+219+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-r9091y-020101009-92832-1y5hf75-020101009-92832-yt6p9e-0' 2>/dev/null -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/13/size11/Croagh Patrick no2.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/13/size8/Croagh Patrick no2.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/13/size5/Croagh Patrick no2.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/13/size3/Croagh Patrick no2.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/13/original/Croagh Patrick no2.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/13/size2/Croagh Patrick no2.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/13/size17/Croagh Patrick no2.jpg - Photo Load (0.5ms) SELECT * FROM "photos" WHERE ("photos"."id" = 14)  -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-146qiuh-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-146qiuh-0[0]' -resize "x308" -crop "308x308+163+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-146qiuh-020101009-92832-f3ialc-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-146qiuh-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-146qiuh-0[0]' -resize "x224" -crop "224x224+119+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-146qiuh-020101009-92832-bojsac-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-146qiuh-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-146qiuh-0[0]' -resize "x140" -crop "140x140+74+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-146qiuh-020101009-92832-oz8p2c-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-146qiuh-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-146qiuh-0[0]' -resize "x84" -crop "84x84+44+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-146qiuh-020101009-92832-yuwk6x-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-146qiuh-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-146qiuh-0[0]' -resize "1024x1024>" '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-146qiuh-020101009-92832-2hf5pj-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-146qiuh-020101009-92832-2hf5pj-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-146qiuh-020101009-92832-2hf5pj-0[0]' -resize "x56" -crop "56x56+29+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-146qiuh-020101009-92832-2hf5pj-020101009-92832-1sukjrl-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-146qiuh-020101009-92832-2hf5pj-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-146qiuh-020101009-92832-2hf5pj-0[0]' -resize "x476" -crop "476x476+253+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-146qiuh-020101009-92832-2hf5pj-020101009-92832-18tqjvp-0' 2>/dev/null -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/14/size11/Croagh Patrick no3.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/14/size8/Croagh Patrick no3.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/14/size5/Croagh Patrick no3.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/14/size3/Croagh Patrick no3.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/14/original/Croagh Patrick no3.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/14/size2/Croagh Patrick no3.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/14/size17/Croagh Patrick no3.jpg - Photo Load (0.4ms) SELECT * FROM "photos" WHERE ("photos"."id" = 15)  -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-182kegx-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-182kegx-0[0]' -resize "x308" -crop "308x308+147+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-182kegx-020101009-92832-y5b00o-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-182kegx-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-182kegx-0[0]' -resize "x224" -crop "224x224+107+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-182kegx-020101009-92832-a8i8qe-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-182kegx-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-182kegx-0[0]' -resize "x140" -crop "140x140+67+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-182kegx-020101009-92832-1ip5b2z-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-182kegx-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-182kegx-0[0]' -resize "x84" -crop "84x84+40+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-182kegx-020101009-92832-164qom7-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-182kegx-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-182kegx-0[0]' -resize "1024x1024>" '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-182kegx-020101009-92832-fz7i7f-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-182kegx-020101009-92832-fz7i7f-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-182kegx-020101009-92832-fz7i7f-0[0]' -resize "x56" -crop "56x56+26+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-182kegx-020101009-92832-fz7i7f-020101009-92832-1n2l85b-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-182kegx-020101009-92832-fz7i7f-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-182kegx-020101009-92832-fz7i7f-0[0]' -resize "x476" -crop "476x476+227+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-182kegx-020101009-92832-fz7i7f-020101009-92832-dyi0x6-0' 2>/dev/null -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/15/size11/Croagh Patrick Sunset.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/15/size8/Croagh Patrick Sunset.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/15/size5/Croagh Patrick Sunset.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/15/size3/Croagh Patrick Sunset.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/15/original/Croagh Patrick Sunset.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/15/size2/Croagh Patrick Sunset.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/15/size17/Croagh Patrick Sunset.jpg - Photo Load (0.4ms) SELECT * FROM "photos" WHERE ("photos"."id" = 17)  -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-16pxcam-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-16pxcam-0[0]' -resize "308x" -crop "308x308+0+76" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-16pxcam-020101009-92832-gcwm7o-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-16pxcam-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-16pxcam-0[0]' -resize "224x" -crop "224x224+0+55" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-16pxcam-020101009-92832-1p0j85-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-16pxcam-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-16pxcam-0[0]' -resize "140x" -crop "140x140+0+34" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-16pxcam-020101009-92832-ssh7o5-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-16pxcam-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-16pxcam-0[0]' -resize "84x" -crop "84x84+0+20" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-16pxcam-020101009-92832-q4m1u3-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-16pxcam-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-16pxcam-0[0]' -resize "1024x1024>" '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-16pxcam-020101009-92832-1g81icw-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-16pxcam-020101009-92832-1g81icw-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-16pxcam-020101009-92832-1g81icw-0[0]' -resize "56x" -crop "56x56+0+13" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-16pxcam-020101009-92832-1g81icw-020101009-92832-fz0mie-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-16pxcam-020101009-92832-1g81icw-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-16pxcam-020101009-92832-1g81icw-0[0]' -resize "476x" -crop "476x476+0+118" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-16pxcam-020101009-92832-1g81icw-020101009-92832-1j6944n-0' 2>/dev/null -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/17/size11/Doolough.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/17/size8/Doolough.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/17/size5/Doolough.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/17/size3/Doolough.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/17/original/Doolough.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/17/size2/Doolough.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/17/size17/Doolough.jpg - Photo Load (0.6ms) SELECT * FROM "photos" WHERE ("photos"."id" = 18)  -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1qdn7pt-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1qdn7pt-0[0]' -resize "x308" -crop "308x308+82+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1qdn7pt-020101009-92832-1k2u644-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1qdn7pt-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1qdn7pt-0[0]' -resize "x224" -crop "224x224+59+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1qdn7pt-020101009-92832-8vrut5-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1qdn7pt-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1qdn7pt-0[0]' -resize "x140" -crop "140x140+37+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1qdn7pt-020101009-92832-ie9bjn-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1qdn7pt-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1qdn7pt-0[0]' -resize "x84" -crop "84x84+22+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1qdn7pt-020101009-92832-1e0xo6k-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1qdn7pt-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1qdn7pt-0[0]' -resize "1024x1024>" '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1qdn7pt-020101009-92832-1pjkhjn-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1qdn7pt-020101009-92832-1pjkhjn-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1qdn7pt-020101009-92832-1pjkhjn-0[0]' -resize "x56" -crop "56x56+14+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1qdn7pt-020101009-92832-1pjkhjn-020101009-92832-74z53i-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1qdn7pt-020101009-92832-1pjkhjn-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1qdn7pt-020101009-92832-1pjkhjn-0[0]' -resize "x476" -crop "476x476+126+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1qdn7pt-020101009-92832-1pjkhjn-020101009-92832-18xb6c0-0' 2>/dev/null -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/18/size11/Dragonfly.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/18/size8/Dragonfly.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/18/size5/Dragonfly.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/18/size3/Dragonfly.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/18/original/Dragonfly.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/18/size2/Dragonfly.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/18/size17/Dragonfly.jpg - Photo Load (0.4ms) SELECT * FROM "photos" WHERE ("photos"."id" = 19)  -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-qaz3rb-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-qaz3rb-0[0]' -resize "x308" -crop "308x308+76+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-qaz3rb-020101009-92832-4ve8af-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-qaz3rb-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-qaz3rb-0[0]' -resize "x224" -crop "224x224+55+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-qaz3rb-020101009-92832-gnph0x-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-qaz3rb-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-qaz3rb-0[0]' -resize "x140" -crop "140x140+34+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-qaz3rb-020101009-92832-1gxjj4y-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-qaz3rb-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-qaz3rb-0[0]' -resize "x84" -crop "84x84+20+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-qaz3rb-020101009-92832-1cxv0r0-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-qaz3rb-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-qaz3rb-0[0]' -resize "1024x1024>" '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-qaz3rb-020101009-92832-1y3jkaq-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-qaz3rb-020101009-92832-1y3jkaq-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-qaz3rb-020101009-92832-1y3jkaq-0[0]' -resize "x56" -crop "56x56+13+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-qaz3rb-020101009-92832-1y3jkaq-020101009-92832-u1zspu-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-qaz3rb-020101009-92832-1y3jkaq-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-qaz3rb-020101009-92832-1y3jkaq-0[0]' -resize "x476" -crop "476x476+118+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-qaz3rb-020101009-92832-1y3jkaq-020101009-92832-1cka2df-0' 2>/dev/null -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/19/size11/Famine Monument at Murrisk.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/19/size8/Famine Monument at Murrisk.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/19/size5/Famine Monument at Murrisk.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/19/size3/Famine Monument at Murrisk.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/19/original/Famine Monument at Murrisk.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/19/size2/Famine Monument at Murrisk.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/19/size17/Famine Monument at Murrisk.jpg - Photo Load (0.4ms) SELECT * FROM "photos" WHERE ("photos"."id" = 20)  -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-17xlk2g-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-17xlk2g-0[0]' -resize "308x" -crop "308x308+0+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-17xlk2g-020101009-92832-e6kev3-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-17xlk2g-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-17xlk2g-0[0]' -resize "224x" -crop "224x224+0+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-17xlk2g-020101009-92832-q5cdh3-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-17xlk2g-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-17xlk2g-0[0]' -resize "140x" -crop "140x140+0+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-17xlk2g-020101009-92832-qk6u9r-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-17xlk2g-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-17xlk2g-0[0]' -resize "84x" -crop "84x84+0+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-17xlk2g-020101009-92832-1d4lg12-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-17xlk2g-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-17xlk2g-0[0]' -resize "1024x1024>" '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-17xlk2g-020101009-92832-940me3-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-17xlk2g-020101009-92832-940me3-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-17xlk2g-020101009-92832-940me3-0[0]' -resize "56x" -crop "56x56+0+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-17xlk2g-020101009-92832-940me3-020101009-92832-1mvffv6-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-17xlk2g-020101009-92832-940me3-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-17xlk2g-020101009-92832-940me3-0[0]' -resize "476x" -crop "476x476+0+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-17xlk2g-020101009-92832-940me3-020101009-92832-1xzwe2y-0' 2>/dev/null -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/20/size11/Halfway There.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/20/size8/Halfway There.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/20/size5/Halfway There.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/20/size3/Halfway There.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/20/original/Halfway There.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/20/size2/Halfway There.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/20/size17/Halfway There.jpg - Photo Load (0.4ms) SELECT * FROM "photos" WHERE ("photos"."id" = 21)  -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-k3i7ax-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-k3i7ax-0[0]' -resize "308x" -crop "308x308+0+47" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-k3i7ax-020101009-92832-dxpfl1-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-k3i7ax-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-k3i7ax-0[0]' -resize "224x" -crop "224x224+0+34" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-k3i7ax-020101009-92832-11k3d4y-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-k3i7ax-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-k3i7ax-0[0]' -resize "140x" -crop "140x140+0+21" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-k3i7ax-020101009-92832-19jrzw1-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-k3i7ax-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-k3i7ax-0[0]' -resize "84x" -crop "84x84+0+12" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-k3i7ax-020101009-92832-qt3htc-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-k3i7ax-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-k3i7ax-0[0]' -resize "1024x1024>" '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-k3i7ax-020101009-92832-4bwa0t-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-k3i7ax-020101009-92832-4bwa0t-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-k3i7ax-020101009-92832-4bwa0t-0[0]' -resize "56x" -crop "56x56+0+8" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-k3i7ax-020101009-92832-4bwa0t-020101009-92832-nkr7j2-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-k3i7ax-020101009-92832-4bwa0t-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-k3i7ax-020101009-92832-4bwa0t-0[0]' -resize "476x" -crop "476x476+0+73" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-k3i7ax-020101009-92832-4bwa0t-020101009-92832-1q68isq-0' 2>/dev/null -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/21/size11/House on the HIll.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/21/size8/House on the HIll.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/21/size5/House on the HIll.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/21/size3/House on the HIll.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/21/original/House on the HIll.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/21/size2/House on the HIll.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/21/size17/House on the HIll.jpg - Photo Load (0.5ms) SELECT * FROM "photos" WHERE ("photos"."id" = 22)  -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-lhil9e-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-lhil9e-0[0]' -resize "308x" -crop "308x308+0+63" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-lhil9e-020101009-92832-en3nrx-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-lhil9e-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-lhil9e-0[0]' -resize "224x" -crop "224x224+0+46" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-lhil9e-020101009-92832-fzp3az-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-lhil9e-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-lhil9e-0[0]' -resize "140x" -crop "140x140+0+28" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-lhil9e-020101009-92832-sifr17-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-lhil9e-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-lhil9e-0[0]' -resize "84x" -crop "84x84+0+17" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-lhil9e-020101009-92832-1hojcpb-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-lhil9e-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-lhil9e-0[0]' -resize "1024x1024>" '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-lhil9e-020101009-92832-1n81ur-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-lhil9e-020101009-92832-1n81ur-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-lhil9e-020101009-92832-1n81ur-0[0]' -resize "56x" -crop "56x56+0+11" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-lhil9e-020101009-92832-1n81ur-020101009-92832-fby3cj-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-lhil9e-020101009-92832-1n81ur-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-lhil9e-020101009-92832-1n81ur-0[0]' -resize "476x" -crop "476x476+0+98" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-lhil9e-020101009-92832-1n81ur-020101009-92832-1v1bva4-0' 2>/dev/null -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/22/size11/House through the Doorway.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/22/size8/House through the Doorway.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/22/size5/House through the Doorway.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/22/size3/House through the Doorway.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/22/original/House through the Doorway.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/22/size2/House through the Doorway.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/22/size17/House through the Doorway.jpg - Photo Load (0.4ms) SELECT * FROM "photos" WHERE ("photos"."id" = 23)  -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1plr4n2-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1plr4n2-0[0]' -resize "308x" -crop "308x308+0+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1plr4n2-020101009-92832-1bigknv-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1plr4n2-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1plr4n2-0[0]' -resize "224x" -crop "224x224+0+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1plr4n2-020101009-92832-d1kr9b-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1plr4n2-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1plr4n2-0[0]' -resize "140x" -crop "140x140+0+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1plr4n2-020101009-92832-cwl4d-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1plr4n2-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1plr4n2-0[0]' -resize "84x" -crop "84x84+0+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1plr4n2-020101009-92832-wlqqje-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1plr4n2-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1plr4n2-0[0]' -resize "1024x1024>" '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1plr4n2-020101009-92832-1016wiv-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1plr4n2-020101009-92832-1016wiv-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1plr4n2-020101009-92832-1016wiv-0[0]' -resize "56x" -crop "56x56+0+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1plr4n2-020101009-92832-1016wiv-020101009-92832-1np93z9-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1plr4n2-020101009-92832-1016wiv-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1plr4n2-020101009-92832-1016wiv-0[0]' -resize "476x" -crop "476x476+0+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-1plr4n2-020101009-92832-1016wiv-020101009-92832-b88ck0-0' 2>/dev/null -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/23/size11/Light and Shade.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/23/size8/Light and Shade.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/23/size5/Light and Shade.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/23/size3/Light and Shade.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/23/original/Light and Shade.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/23/size2/Light and Shade.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/23/size17/Light and Shade.jpg - Photo Load (0.4ms) SELECT * FROM "photos" WHERE ("photos"."id" = 24)  -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-9156rs-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-9156rs-0[0]' -resize "308x" -crop "308x308+0+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-9156rs-020101009-92832-1fh1ixf-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-9156rs-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-9156rs-0[0]' -resize "224x" -crop "224x224+0+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-9156rs-020101009-92832-35covo-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-9156rs-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-9156rs-0[0]' -resize "140x" -crop "140x140+0+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-9156rs-020101009-92832-x7s6f0-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-9156rs-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-9156rs-0[0]' -resize "84x" -crop "84x84+0+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-9156rs-020101009-92832-j3hko2-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-9156rs-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-9156rs-0[0]' -resize "1024x1024>" '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-9156rs-020101009-92832-r2b4b7-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-9156rs-020101009-92832-r2b4b7-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-9156rs-020101009-92832-r2b4b7-0[0]' -resize "56x" -crop "56x56+0+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-9156rs-020101009-92832-r2b4b7-020101009-92832-21crhg-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-9156rs-020101009-92832-r2b4b7-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-9156rs-020101009-92832-r2b4b7-0[0]' -resize "476x" -crop "476x476+0+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/paperclip-reprocess20101009-92832-9156rs-020101009-92832-r2b4b7-020101009-92832-b834sx-0' 2>/dev/null -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/24/size11/Moody Me.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/24/size8/Moody Me.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/24/size5/Moody Me.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/24/size3/Moody Me.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/24/original/Moody Me.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/24/size2/Moody Me.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/24/size17/Moody Me.jpg - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 09:48:37) [GET] - Parameters: {"page"=>"1"} - Photo Load (1.4ms) SELECT * FROM "photos" LIMIT 11 OFFSET 0 - SQL (0.1ms) SELECT count(*) AS count_all FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 25ms (View: 15, DB: 2) | 200 OK [http://localhost/photos?page=1] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 09:48:39) [GET] - Parameters: {"page"=>"1"} - Photo Load (1.3ms) SELECT * FROM "photos" LIMIT 11 OFFSET 0 - SQL (0.1ms) SELECT count(*) AS count_all FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 22ms (View: 12, DB: 1) | 200 OK [http://localhost/photos?page=1] - - -Processing PagesController#index (for 127.0.0.1 at 2010-10-09 09:52:36) [GET] - Photo Load (0.0ms) SQLite3::SQLException: no such function: RAND: SELECT * FROM "photos" ORDER BY RAND() LIMIT 1 - -ActiveRecord::StatementInvalid (SQLite3::SQLException: no such function: RAND: SELECT * FROM "photos" ORDER BY RAND() LIMIT 1): - app/controllers/pages_controller.rb:5:in `index' - -Rendered rescues/_trace (32.4ms) -Rendered rescues/_request_and_response (0.3ms) -Rendering rescues/layout (internal_server_error) - - -Processing PagesController#index (for 127.0.0.1 at 2010-10-09 09:53:08) [GET] - Photo Load (0.0ms) SQLite3::SQLException: no such function: RND: SELECT * FROM "photos" ORDER BY RND() LIMIT 1 - -ActiveRecord::StatementInvalid (SQLite3::SQLException: no such function: RND: SELECT * FROM "photos" ORDER BY RND() LIMIT 1): - app/controllers/pages_controller.rb:5:in `index' - -Rendered rescues/_trace (95.8ms) -Rendered rescues/_request_and_response (0.3ms) -Rendering rescues/layout (internal_server_error) - - -Processing PagesController#index (for 127.0.0.1 at 2010-10-09 09:53:39) [GET] - Photo Load (0.8ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -Completed in 18ms (View: 10, DB: 1) | 200 OK [http://localhost/] - - -Processing PagesController#index (for 127.0.0.1 at 2010-10-09 09:53:40) [GET] - Photo Load (0.6ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -Completed in 12ms (View: 5, DB: 1) | 200 OK [http://localhost/] - - -Processing PagesController#index (for 127.0.0.1 at 2010-10-09 09:53:42) [GET] - Photo Load (0.7ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -Completed in 12ms (View: 5, DB: 1) | 200 OK [http://localhost/] - - -Processing PagesController#index (for 127.0.0.1 at 2010-10-09 09:53:44) [GET] - Photo Load (0.6ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -Completed in 67ms (View: 5, DB: 1) | 200 OK [http://localhost/] - - -Processing PagesController#index (for 127.0.0.1 at 2010-10-09 09:53:46) [GET] - Photo Load (0.7ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -Completed in 14ms (View: 6, DB: 1) | 200 OK [http://localhost/] - - -Processing PagesController#index (for 127.0.0.1 at 2010-10-09 09:54:19) [GET] - Photo Load (0.6ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -Completed in 15ms (View: 8, DB: 1) | 200 OK [http://localhost/] - - -Processing PagesController#index (for 127.0.0.1 at 2010-10-09 09:54:49) [GET] - Photo Load (0.6ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -Completed in 74ms (View: 66, DB: 1) | 200 OK [http://localhost/] - - -Processing PagesController#index (for 127.0.0.1 at 2010-10-09 09:54:55) [GET] - Photo Load (0.6ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -Completed in 12ms (View: 6, DB: 1) | 200 OK [http://localhost/] - - -Processing PagesController#index (for 127.0.0.1 at 2010-10-09 09:55:07) [GET] - Photo Load (0.7ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -Completed in 16ms (View: 9, DB: 1) | 200 OK [http://localhost/] - - -Processing PagesController#about (for 127.0.0.1 at 2010-10-09 09:55:09) [GET] -Rendering template within layouts/photos -Rendering pages/about -Completed in 4ms (View: 2, DB: 0) | 200 OK [http://localhost/pages/about] - - -Processing PagesController#index (for 127.0.0.1 at 2010-10-09 09:55:26) [GET] - Photo Load (0.8ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -Completed in 20ms (View: 8, DB: 1) | 200 OK [http://localhost/] - - -Processing PagesController#about (for 127.0.0.1 at 2010-10-09 09:55:36) [GET] -Rendering template within layouts/photos -Rendering pages/about -Completed in 4ms (View: 2, DB: 0) | 200 OK [http://localhost/pages/about] - - -Processing PagesController#about (for 127.0.0.1 at 2010-10-09 09:55:41) [GET] -Rendering template within layouts/photos -Rendering pages/about -Completed in 6ms (View: 3, DB: 0) | 200 OK [http://localhost/about] - - -Processing PagesController#index (for 127.0.0.1 at 2010-10-09 09:55:58) [GET] - Photo Load (0.7ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -Completed in 12ms (View: 6, DB: 1) | 200 OK [http://localhost/] - - -Processing PagesController#index (for 127.0.0.1 at 2010-10-09 09:56:00) [GET] - Photo Load (0.6ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -Completed in 12ms (View: 6, DB: 1) | 200 OK [http://localhost/] - - -Processing PagesController#index (for 127.0.0.1 at 2010-10-09 09:56:03) [GET] - Photo Load (0.7ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -Completed in 14ms (View: 6, DB: 1) | 200 OK [http://localhost/] - - -Processing PagesController#index (for 127.0.0.1 at 2010-10-09 09:56:05) [GET] - Photo Load (0.6ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -Completed in 13ms (View: 6, DB: 1) | 200 OK [http://localhost/] - - -Processing PagesController#index (for 127.0.0.1 at 2010-10-09 09:56:10) [GET] - Photo Load (0.7ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -Completed in 14ms (View: 6, DB: 1) | 200 OK [http://localhost/] - - -Processing PagesController#index (for 127.0.0.1 at 2010-10-09 09:56:12) [GET] - Photo Load (0.7ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -Completed in 13ms (View: 6, DB: 1) | 200 OK [http://localhost/] - - -Processing PagesController#index (for 127.0.0.1 at 2010-10-09 09:56:20) [GET] - Photo Load (0.6ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -Completed in 12ms (View: 5, DB: 1) | 200 OK [http://localhost/] - - -Processing PagesController#index (for 127.0.0.1 at 2010-10-09 09:56:22) [GET] - Photo Load (0.7ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -Completed in 13ms (View: 6, DB: 1) | 200 OK [http://localhost/] - - -Processing PagesController#index (for 127.0.0.1 at 2010-10-09 09:56:25) [GET] - Photo Load (0.7ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -Completed in 13ms (View: 5, DB: 1) | 200 OK [http://localhost/] - - -Processing PagesController#index (for 127.0.0.1 at 2010-10-09 09:57:40) [GET] - Photo Load (0.6ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -Completed in 15ms (View: 8, DB: 1) | 200 OK [http://localhost/] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 09:57:41) [GET] - Category Load (0.8ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 11ms (View: 5, DB: 1) | 200 OK [http://localhost/categories] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 09:57:45) [GET] - Parameters: {"category_id"=>"5"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '5') LIMIT 1 - Photo Load (0.4ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 5 ) LIMIT 11 OFFSET 0 -Rendering template within layouts/photos -Rendering photos/index -Completed in 76ms (View: 7, DB: 1) | 200 OK [http://localhost/categories/5/photos] - - -Processing PagesController#index (for 127.0.0.1 at 2010-10-09 09:58:38) [GET] - Photo Load (0.7ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -Completed in 17ms (View: 9, DB: 1) | 200 OK [http://localhost/] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 09:58:41) [GET] - Category Load (1.0ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 10ms (View: 5, DB: 1) | 200 OK [http://localhost/categories] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 09:58:42) [GET] - Parameters: {"category_id"=>"1"} - Category Load (0.3ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (1.4ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 11 OFFSET 0 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )  -Rendering template within layouts/photos -Rendering photos/index -Completed in 86ms (View: 69, DB: 2) | 200 OK [http://localhost/categories/1/photos] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 09:59:09) [GET] - Category Load (1.0ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 11ms (View: 5, DB: 1) | 200 OK [http://localhost/categories] - - -Processing PagesController#index (for 127.0.0.1 at 2010-10-09 09:59:28) [GET] - Photo Load (0.8ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -Completed in 34ms (View: 28, DB: 1) | 200 OK [http://localhost/] - - -Processing PagesController#index (for 127.0.0.1 at 2010-10-09 09:59:56) [GET] - Photo Load (0.7ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -Completed in 14ms (View: 7, DB: 1) | 200 OK [http://localhost/] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 10:00:04) [GET] - Category Load (0.8ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 12ms (View: 5, DB: 1) | 200 OK [http://localhost/categories] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 10:00:07) [GET] - Parameters: {"category_id"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (1.3ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 11 OFFSET 0 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )  -Rendering template within layouts/photos -Rendering photos/index -Completed in 76ms (View: 62, DB: 2) | 200 OK [http://localhost/categories/1/photos] - - -Processing PagesController#index (for 127.0.0.1 at 2010-10-09 10:00:24) [GET] - Photo Load (0.9ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -Completed in 16ms (View: 6, DB: 1) | 200 OK [http://localhost/] - - -Processing PagesController#index (for 127.0.0.1 at 2010-10-09 10:00:30) [GET] - Photo Load (0.7ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -Completed in 14ms (View: 6, DB: 1) | 200 OK [http://localhost/] - - -Processing PagesController#index (for 127.0.0.1 at 2010-10-09 10:00:30) [GET] - Photo Load (0.7ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -Completed in 13ms (View: 6, DB: 1) | 200 OK [http://localhost/] - - -Processing PagesController#about (for 127.0.0.1 at 2010-10-09 10:00:50) [GET] -Rendering template within layouts/photos -Rendering pages/about -Completed in 4ms (View: 2, DB: 0) | 200 OK [http://localhost/pages/about] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 10:00:52) [GET] - Category Load (0.9ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 52ms (View: 46, DB: 1) | 200 OK [http://localhost/categories] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 10:00:59) [GET] - Category Load (0.8ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 68ms (View: 5, DB: 1) | 200 OK [http://localhost/categories] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 10:01:25) [GET] - Category Load (0.8ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 10ms (View: 4, DB: 1) | 200 OK [http://localhost/categories] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 10:01:26) [GET] - Parameters: {"category_id"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (1.3ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 11 OFFSET 0 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )  -Rendering template within layouts/photos -Rendering photos/index -Completed in 28ms (View: 13, DB: 2) | 200 OK [http://localhost/categories/1/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 10:01:28) [GET] - Parameters: {"category_id"=>"1", "page"=>"2"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (0.5ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 11 OFFSET 11 -Rendering template within layouts/photos -Rendering photos/index -Completed in 75ms (View: 63, DB: 1) | 200 OK [http://localhost/categories/1/photos?page=2] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 10:01:29) [GET] - Parameters: {"category_id"=>"1", "page"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (1.3ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 11 OFFSET 0 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )  -Rendering template within layouts/photos -Rendering photos/index -Completed in 28ms (View: 13, DB: 2) | 200 OK [http://localhost/categories/1/photos?page=1] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 10:01:32) [GET] - Category Load (1.1ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 12ms (View: 5, DB: 1) | 200 OK [http://localhost/categories] - - -Processing PagesController#index (for 127.0.0.1 at 2010-10-09 10:01:36) [GET] - Photo Load (0.7ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -Completed in 15ms (View: 8, DB: 1) | 200 OK [http://localhost/] - - -Processing PagesController#index (for 127.0.0.1 at 2010-10-09 10:01:51) [GET] - Photo Load (0.8ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -Completed in 14ms (View: 6, DB: 1) | 200 OK [http://localhost/] - - -Processing PagesController#about (for 127.0.0.1 at 2010-10-09 10:02:24) [GET] -Rendering template within layouts/photos -Rendering pages/about -Completed in 4ms (View: 2, DB: 0) | 200 OK [http://localhost/pages/about] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 10:03:06) [GET] - Category Load (0.9ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 10ms (View: 5, DB: 1) | 200 OK [http://localhost/categories] - - -Processing PagesController#index (for 127.0.0.1 at 2010-10-09 10:03:57) [GET] - Photo Load (0.7ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -Completed in 13ms (View: 6, DB: 1) | 200 OK [http://localhost/] - - -Processing PagesController#index (for 127.0.0.1 at 2010-10-09 10:04:16) [GET] - Photo Load (0.7ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -Completed in 14ms (View: 6, DB: 1) | 200 OK [http://localhost/] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 10:04:17) [GET] - Category Load (0.8ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 11ms (View: 5, DB: 1) | 200 OK [http://localhost/categories] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 10:04:29) [GET] - Category Load (0.8ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 11ms (View: 5, DB: 1) | 200 OK [http://localhost/categories] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 10:04:35) [GET] - Category Load (0.9ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 11ms (View: 5, DB: 1) | 200 OK [http://localhost/categories] - - -Processing PagesController#index (for 127.0.0.1 at 2010-10-09 10:04:39) [GET] - Photo Load (0.7ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -Completed in 13ms (View: 6, DB: 1) | 200 OK [http://localhost/] - - -Processing PagesController#index (for 127.0.0.1 at 2010-10-09 10:05:18) [GET] - Photo Load (0.7ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -Completed in 18ms (View: 11, DB: 1) | 200 OK [http://localhost/] - - -Processing PagesController#index (for 127.0.0.1 at 2010-10-09 10:05:19) [GET] - Photo Load (0.6ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -Completed in 13ms (View: 6, DB: 1) | 200 OK [http://localhost/] - - -Processing PagesController#index (for 127.0.0.1 at 2010-10-09 10:06:31) [GET] - Photo Load (0.9ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -Completed in 15ms (View: 7, DB: 1) | 200 OK [http://localhost/] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 10:06:46) [GET] - Category Load (0.9ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 11ms (View: 5, DB: 1) | 200 OK [http://localhost/categories] - - -Processing PagesController#index (for 127.0.0.1 at 2010-10-09 10:06:56) [GET] - Photo Load (0.6ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -Completed in 16ms (View: 9, DB: 1) | 200 OK [http://localhost/] - - -Processing PagesController#index (for 127.0.0.1 at 2010-10-09 10:07:10) [GET] - Photo Load (1.0ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -Completed in 23ms (View: 13, DB: 1) | 200 OK [http://localhost/] - - -Processing PagesController#index (for 127.0.0.1 at 2010-10-09 10:07:25) [GET] - Photo Load (0.7ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -Completed in 14ms (View: 6, DB: 1) | 200 OK [http://localhost/] - - -Processing PagesController#index (for 127.0.0.1 at 2010-10-09 10:07:31) [GET] - Photo Load (0.6ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -Completed in 12ms (View: 6, DB: 1) | 200 OK [http://localhost/] - - -Processing PagesController#index (for 127.0.0.1 at 2010-10-09 10:07:35) [GET] - Photo Load (0.6ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -Completed in 13ms (View: 6, DB: 1) | 200 OK [http://localhost/] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 10:07:39) [GET] - Category Load (0.8ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 11ms (View: 5, DB: 1) | 200 OK [http://localhost/categories] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 10:07:47) [GET] - Parameters: {"category_id"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (1.5ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 11 OFFSET 0 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )  -Rendering template within layouts/photos -Rendering photos/index -Completed in 30ms (View: 14, DB: 2) | 200 OK [http://localhost/categories/1/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 10:07:52) [GET] - Parameters: {"category_id"=>"1", "page"=>"2"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (0.6ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 11 OFFSET 11 -Rendering template within layouts/photos -Rendering photos/index -Completed in 22ms (View: 9, DB: 1) | 200 OK [http://localhost/categories/1/photos?page=2] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 10:07:53) [GET] - Parameters: {"category_id"=>"1", "page"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (1.4ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 11 OFFSET 0 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )  -Rendering template within layouts/photos -Rendering photos/index -Completed in 85ms (View: 14, DB: 2) | 200 OK [http://localhost/categories/1/photos?page=1] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 10:07:55) [GET] - Category Load (1.0ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 13ms (View: 5, DB: 1) | 200 OK [http://localhost/categories] - - -Processing PagesController#index (for 127.0.0.1 at 2010-10-09 10:09:05) [GET] - Photo Load (0.8ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -Completed in 15ms (View: 9, DB: 1) | 200 OK [http://localhost/] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 10:09:17) [GET] - Category Load (0.8ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 10ms (View: 5, DB: 1) | 200 OK [http://localhost/categories] - - -Processing PagesController#index (for 127.0.0.1 at 2010-10-09 10:09:37) [GET] - Photo Load (0.7ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -Completed in 17ms (View: 10, DB: 1) | 200 OK [http://localhost/] - - -Processing PagesController#index (for 127.0.0.1 at 2010-10-09 10:10:01) [GET] - Photo Load (0.7ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -Completed in 16ms (View: 9, DB: 1) | 200 OK [http://localhost/] - - -Processing PagesController#index (for 127.0.0.1 at 2010-10-09 10:10:15) [GET] - Photo Load (0.6ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -Completed in 17ms (View: 10, DB: 1) | 200 OK [http://localhost/] - - -Processing PagesController#about (for 127.0.0.1 at 2010-10-09 10:10:28) [GET] -Rendering template within layouts/photos -Rendering pages/about -Completed in 4ms (View: 2, DB: 0) | 200 OK [http://localhost/pages/about] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 10:10:31) [GET] - Category Load (0.8ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 11ms (View: 5, DB: 1) | 200 OK [http://localhost/categories] - - -Processing PagesController#index (for 127.0.0.1 at 2010-10-09 10:36:39) [GET] - Photo Load (0.7ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -Completed in 14ms (View: 6, DB: 1) | 200 OK [http://localhost/] - - -Processing PagesController#index (for 127.0.0.1 at 2010-10-09 10:37:07) [GET] - Photo Load (0.6ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -Completed in 12ms (View: 6, DB: 1) | 200 OK [http://localhost/] - - -Processing PagesController#index (for 127.0.0.1 at 2010-10-09 10:37:26) [GET] - Photo Load (0.7ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -Completed in 16ms (View: 7, DB: 1) | 200 OK [http://localhost/] - - -Processing PagesController#index (for 127.0.0.1 at 2010-10-09 10:37:56) [GET] - Photo Load (0.6ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -Completed in 16ms (View: 9, DB: 1) | 200 OK [http://localhost/] - - -Processing PagesController#index (for 127.0.0.1 at 2010-10-09 10:38:19) [GET] - Photo Load (0.7ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -Completed in 13ms (View: 6, DB: 1) | 200 OK [http://localhost/] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 10:38:23) [GET] - Category Load (0.8ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 35ms (View: 28, DB: 1) | 200 OK [http://localhost/categories] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 10:38:24) [GET] - Parameters: {"category_id"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (1.3ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 11 OFFSET 0 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )  -Rendering template within layouts/photos -Rendering photos/index -Completed in 63ms (View: 49, DB: 2) | 200 OK [http://localhost/categories/1/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 10:38:29) [GET] - Parameters: {"category_id"=>"1", "page"=>"2"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (0.6ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 11 OFFSET 11 -Rendering template within layouts/photos -Rendering photos/index -Completed in 22ms (View: 9, DB: 1) | 200 OK [http://localhost/categories/1/photos?page=2] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 10:38:35) [GET] - Category Load (0.8ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 11ms (View: 5, DB: 1) | 200 OK [http://localhost/categories] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 10:38:36) [GET] - Parameters: {"category_id"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (1.3ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 11 OFFSET 0 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )  -Rendering template within layouts/photos -Rendering photos/index -Completed in 29ms (View: 14, DB: 2) | 200 OK [http://localhost/categories/1/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 10:39:04) [GET] - Parameters: {"category_id"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (1.4ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 11 OFFSET 0 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )  -Rendering template within layouts/photos -Rendering photos/index -Completed in 31ms (View: 14, DB: 2) | 200 OK [http://localhost/categories/1/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 10:40:46) [GET] - Parameters: {"category_id"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (1.8ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 11 OFFSET 0 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )  -Rendering template within layouts/photos -Rendering photos/index - -ActionView::TemplateError (undefined local variable or method `root' for #) on line #22 of app/views/layouts/photos.html.erb: -19:
-20: -21: -24: -25: <%= yield %> - - app/views/layouts/photos.html.erb:22 - -Rendered rescues/_trace (38.1ms) -Rendered rescues/_request_and_response (0.3ms) -Rendering rescues/layout (internal_server_error) - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 10:40:52) [GET] - Parameters: {"category_id"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (1.4ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 11 OFFSET 0 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )  -Rendering template within layouts/photos -Rendering photos/index - -ActionView::TemplateError (undefined local variable or method `home' for #) on line #22 of app/views/layouts/photos.html.erb: -19:
-20: -21: -24: -25: <%= yield %> - - app/views/layouts/photos.html.erb:22 - -Rendered rescues/_trace (103.2ms) -Rendered rescues/_request_and_response (0.3ms) -Rendering rescues/layout (internal_server_error) - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 10:40:59) [GET] - Parameters: {"category_id"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (1.4ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 11 OFFSET 0 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )  -Rendering template within layouts/photos -Rendering photos/index -Completed in 32ms (View: 17, DB: 2) | 200 OK [http://localhost/categories/1/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 10:41:11) [GET] - Parameters: {"category_id"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (1.4ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 11 OFFSET 0 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )  -Rendering template within layouts/photos -Rendering photos/index -Completed in 96ms (View: 79, DB: 2) | 200 OK [http://localhost/categories/1/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 10:41:23) [GET] - Parameters: {"category_id"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (1.4ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 11 OFFSET 0 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )  -Rendering template within layouts/photos -Rendering photos/index -Completed in 30ms (View: 16, DB: 2) | 200 OK [http://localhost/categories/1/photos] - - -Processing PagesController#index (for 127.0.0.1 at 2010-10-09 10:41:30) [GET] - Photo Load (0.9ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -Completed in 68ms (View: 61, DB: 1) | 200 OK [http://localhost/] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 10:41:33) [GET] - Category Load (0.8ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 10ms (View: 4, DB: 1) | 200 OK [http://localhost/categories] - - -Processing PagesController#index (for 127.0.0.1 at 2010-10-09 10:41:35) [GET] - Photo Load (0.6ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -Completed in 13ms (View: 6, DB: 1) | 200 OK [http://localhost/] - - -Processing PagesController#index (for 127.0.0.1 at 2010-10-09 10:42:08) [GET] - Photo Load (0.8ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -Completed in 13ms (View: 6, DB: 1) | 200 OK [http://localhost/] - - -Processing PagesController#index (for 127.0.0.1 at 2010-10-09 10:42:25) [GET] - Photo Load (0.7ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -Completed in 69ms (View: 6, DB: 1) | 200 OK [http://localhost/] - - -Processing PagesController#index (for 127.0.0.1 at 2010-10-09 10:42:31) [GET] - Photo Load (0.6ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -Completed in 13ms (View: 6, DB: 1) | 200 OK [http://localhost/] - - -Processing PagesController#index (for 127.0.0.1 at 2010-10-09 10:42:33) [GET] - Photo Load (0.7ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -Completed in 13ms (View: 6, DB: 1) | 200 OK [http://localhost/] - - -Processing PagesController#index (for 127.0.0.1 at 2010-10-09 10:42:45) [GET] - Photo Load (0.7ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -Completed in 12ms (View: 6, DB: 1) | 200 OK [http://localhost/] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 10:42:48) [GET] - Category Load (0.9ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 11ms (View: 5, DB: 1) | 200 OK [http://localhost/categories] - - -Processing PagesController#about (for 127.0.0.1 at 2010-10-09 10:42:50) [GET] -Rendering template within layouts/photos -Rendering pages/about -Completed in 4ms (View: 2, DB: 0) | 200 OK [http://localhost/pages/about] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 10:45:11) [GET] - Parameters: {"page"=>"1"} - Photo Load (1.4ms) SELECT * FROM "photos" LIMIT 11 OFFSET 0 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 25ms (View: 14, DB: 2) | 200 OK [http://localhost/photos?page=1] - - -Processing PagesController#index (for 127.0.0.1 at 2010-10-09 10:47:41) [GET] - Photo Load (0.7ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -Completed in 68ms (View: 6, DB: 1) | 200 OK [http://localhost/] - - -Processing PagesController#index (for 127.0.0.1 at 2010-10-09 10:47:47) [GET] - Photo Load (0.6ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -Completed in 13ms (View: 6, DB: 1) | 200 OK [http://localhost/] - - -Processing PagesController#index (for 192.168.42.102 at 2010-10-09 10:48:19) [GET] - Photo Load (0.6ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -Completed in 13ms (View: 6, DB: 1) | 200 OK [http://junpei/] - - -Processing ApplicationController#index (for 192.168.42.102 at 2010-10-09 10:48:20) [GET] - -ActionController::RoutingError (No route matches "/images/sg_grid_sub.png" with {:method=>:get}): - - -Rendering rescues/layout (not_found) - - -Processing PagesController#about (for 192.168.42.102 at 2010-10-09 10:48:24) [GET] -Rendering template within layouts/photos -Rendering pages/about -Completed in 4ms (View: 2, DB: 0) | 200 OK [http://junpei/pages/about] - - -Processing ApplicationController#index (for 192.168.42.102 at 2010-10-09 10:48:25) [GET] - -ActionController::RoutingError (No route matches "/images/sg_grid_sub.png" with {:method=>:get}): - - -Rendering rescues/layout (not_found) - - -Processing CategoriesController#index (for 192.168.42.102 at 2010-10-09 10:48:27) [GET] - Category Load (0.8ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 45ms (View: 39, DB: 1) | 200 OK [http://junpei/categories] - - -Processing ApplicationController#index (for 192.168.42.102 at 2010-10-09 10:48:28) [GET] - -ActionController::RoutingError (No route matches "/images/sg_grid_sub.png" with {:method=>:get}): - - -Rendering rescues/layout (not_found) - - -Processing PhotosController#index (for 192.168.42.102 at 2010-10-09 10:48:29) [GET] - Parameters: {"category_id"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (1.3ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 11 OFFSET 0 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )  -Rendering template within layouts/photos -Rendering photos/index -Completed in 28ms (View: 13, DB: 2) | 200 OK [http://junpei/categories/1/photos] - - -Processing ApplicationController#index (for 192.168.42.102 at 2010-10-09 10:48:30) [GET] - -ActionController::RoutingError (No route matches "/images/sg_grid_sub.png" with {:method=>:get}): - - -Rendering rescues/layout (not_found) - - -Processing PhotosController#index (for 192.168.42.102 at 2010-10-09 10:48:32) [GET] - Parameters: {"category_id"=>"1", "page"=>"2"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (0.7ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 11 OFFSET 11 -Rendering template within layouts/photos -Rendering photos/index -Completed in 80ms (View: 10, DB: 1) | 200 OK [http://junpei/categories/1/photos?page=2] - - -Processing ApplicationController#index (for 192.168.42.102 at 2010-10-09 10:48:34) [GET] - -ActionController::RoutingError (No route matches "/images/sg_grid_sub.png" with {:method=>:get}): - - -Rendering rescues/layout (not_found) - - -Processing PhotosController#index (for 192.168.42.102 at 2010-10-09 10:48:35) [GET] - Parameters: {"category_id"=>"1", "page"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (1.3ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 11 OFFSET 0 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )  -Rendering template within layouts/photos -Rendering photos/index -Completed in 29ms (View: 14, DB: 2) | 200 OK [http://junpei/categories/1/photos?page=1] - - -Processing ApplicationController#index (for 192.168.42.102 at 2010-10-09 10:48:35) [GET] - -ActionController::RoutingError (No route matches "/images/sg_grid_sub.png" with {:method=>:get}): - - -Rendering rescues/layout (not_found) - - -Processing CategoriesController#index (for 192.168.42.102 at 2010-10-09 10:49:08) [GET] - Category Load (0.8ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 10ms (View: 5, DB: 1) | 200 OK [http://junpei/categories] - - -Processing ApplicationController#index (for 192.168.42.102 at 2010-10-09 10:49:09) [GET] - -ActionController::RoutingError (No route matches "/images/sg_grid_sub.png" with {:method=>:get}): - - -Rendering rescues/layout (not_found) - - -Processing PhotosController#index (for 192.168.42.102 at 2010-10-09 10:49:19) [GET] - Parameters: {"category_id"=>"2"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '2') LIMIT 1 - Photo Load (0.7ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 2 ) LIMIT 11 OFFSET 0 -Rendering template within layouts/photos -Rendering photos/index -Completed in 23ms (View: 10, DB: 1) | 200 OK [http://junpei/categories/2/photos] - - -Processing ApplicationController#index (for 192.168.42.102 at 2010-10-09 10:49:20) [GET] - -ActionController::RoutingError (No route matches "/images/sg_grid_sub.png" with {:method=>:get}): - - -Rendering rescues/layout (not_found) - - -Processing CategoriesController#index (for 192.168.42.102 at 2010-10-09 10:49:21) [GET] - Category Load (0.8ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 66ms (View: 60, DB: 1) | 200 OK [http://junpei/categories] - - -Processing ApplicationController#index (for 192.168.42.102 at 2010-10-09 10:49:22) [GET] - -ActionController::RoutingError (No route matches "/images/sg_grid_sub.png" with {:method=>:get}): - - -Rendering rescues/layout (not_found) - - -Processing PhotosController#index (for 192.168.42.102 at 2010-10-09 10:49:30) [GET] - Parameters: {"category_id"=>"4"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '4') LIMIT 1 - Photo Load (1.2ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 4 ) LIMIT 11 OFFSET 0 -Rendering template within layouts/photos -Rendering photos/index -Completed in 27ms (View: 13, DB: 1) | 200 OK [http://junpei/categories/4/photos] - - -Processing ApplicationController#index (for 192.168.42.102 at 2010-10-09 10:49:30) [GET] - -ActionController::RoutingError (No route matches "/images/sg_grid_sub.png" with {:method=>:get}): - - -Rendering rescues/layout (not_found) - - -Processing PagesController#index (for 127.0.0.1 at 2010-10-09 11:05:08) [GET] - Photo Load (0.7ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -Completed in 15ms (View: 9, DB: 1) | 200 OK [http://localhost/] - - -Processing PagesController#index (for 127.0.0.1 at 2010-10-09 11:05:30) [GET] - Photo Load (0.7ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -Completed in 16ms (View: 9, DB: 1) | 200 OK [http://localhost/] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 11:05:35) [GET] - Category Load (0.8ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 10ms (View: 5, DB: 1) | 200 OK [http://localhost/categories] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 11:05:36) [GET] - Parameters: {"category_id"=>"5"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '5') LIMIT 1 - Photo Load (0.3ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 5 ) LIMIT 11 OFFSET 0 -Rendering template within layouts/photos -Rendering photos/index -Completed in 18ms (View: 7, DB: 1) | 200 OK [http://localhost/categories/5/photos] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 11:05:41) [GET] - Category Load (1.0ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 13ms (View: 5, DB: 1) | 200 OK [http://localhost/categories] - - -Processing PagesController#index (for 127.0.0.1 at 2010-10-09 11:05:42) [GET] - Photo Load (0.7ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -Completed in 12ms (View: 6, DB: 1) | 200 OK [http://localhost/] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 11:09:45) [GET] - Category Load (0.8ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 10ms (View: 5, DB: 1) | 200 OK [http://localhost/categories] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 11:09:46) [GET] - Parameters: {"category_id"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (1.3ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 11 OFFSET 0 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )  -Rendering template within layouts/photos -Rendering photos/index -Completed in 29ms (View: 14, DB: 2) | 200 OK [http://localhost/categories/1/photos] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 11:09:49) [GET] - Category Load (0.8ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 11ms (View: 5, DB: 1) | 200 OK [http://localhost/categories] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 11:09:50) [GET] - Parameters: {"category_id"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (1.2ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 11 OFFSET 0 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )  -Rendering template within layouts/photos -Rendering photos/index -Completed in 28ms (View: 13, DB: 2) | 200 OK [http://localhost/categories/1/photos] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 11:10:03) [GET] - Category Load (0.8ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 11ms (View: 5, DB: 1) | 200 OK [http://localhost/categories] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 11:10:07) [GET] - Parameters: {"category_id"=>"1"} - Category Load (0.3ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (1.4ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 11 OFFSET 0 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )  -Rendering template within layouts/photos -Rendering photos/index -Completed in 31ms (View: 14, DB: 2) | 200 OK [http://localhost/categories/1/photos] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 11:10:17) [GET] - Category Load (0.8ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 11ms (View: 5, DB: 1) | 200 OK [http://localhost/categories] - - -Processing PagesController#index (for 127.0.0.1 at 2010-10-09 11:17:27) [GET] - Photo Load (1.2ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -Completed in 48ms (View: 36, DB: 1) | 200 OK [http://localhost/] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 11:17:35) [GET] - Category Load (0.8ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 105ms (View: 99, DB: 1) | 200 OK [http://localhost/categories] - - -Processing CategoriesController#index to xml (for 127.0.0.1 at 2010-10-09 11:17:59) [GET] - Category Load (0.9ms) SELECT * FROM "categories"  -Completed in 14ms (View: 8, DB: 1) | 200 OK [http://localhost/categories.xml] - - -Processing CategoriesController#index to html (for 127.0.0.1 at 2010-10-09 11:18:08) [GET] - Category Load (0.9ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 12ms (View: 5, DB: 1) | 200 OK [http://localhost/categories.html] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 11:18:12) [GET] - Category Load (0.9ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 12ms (View: 5, DB: 1) | 200 OK [http://localhost/categories] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 11:18:48) [GET] - Category Load (1.0ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 13ms (View: 5, DB: 1) | 200 OK [http://localhost/categories] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 11:18:48) [GET] - Parameters: {"category_id"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (1.5ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 11 OFFSET 0 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )  -Rendering template within layouts/photos -Rendering photos/index -Completed in 75ms (View: 59, DB: 2) | 200 OK [http://localhost/categories/1/photos] - - -Processing PhotosController#index to rss (for 127.0.0.1 at 2010-10-09 11:19:59) [GET] - Parameters: {"category_id"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (2.4ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 11 OFFSET 0 - SQL (0.3ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )  -Completed in 25ms (View: 1, DB: 3) | 406 Not Acceptable [http://localhost/categories/1/photos.rss] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 11:20:14) [GET] - Photo Load (1.3ms) SELECT * FROM "photos" LIMIT 11 OFFSET 0 - SQL (0.1ms) SELECT count(*) AS count_all FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 25ms (View: 14, DB: 1) | 200 OK [http://localhost/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 11:20:20) [GET] - Parameters: {"page"=>"2"} - Photo Load (1.4ms) SELECT * FROM "photos" LIMIT 11 OFFSET 11 - SQL (0.1ms) SELECT count(*) AS count_all FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 23ms (View: 13, DB: 2) | 200 OK [http://localhost/photos?page=2] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 11:20:22) [GET] - Parameters: {"page"=>"1"} - Photo Load (1.4ms) SELECT * FROM "photos" LIMIT 11 OFFSET 0 - SQL (0.1ms) SELECT count(*) AS count_all FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 22ms (View: 12, DB: 1) | 200 OK [http://localhost/photos?page=1] - - -Processing PagesController#index (for 127.0.0.1 at 2010-10-09 11:20:23) [GET] - Photo Load (0.6ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -Completed in 13ms (View: 6, DB: 1) | 200 OK [http://localhost/] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 11:20:27) [GET] - Category Load (0.9ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 11ms (View: 5, DB: 1) | 200 OK [http://localhost/categories] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 11:24:45) [GET] - Parameters: {"page"=>"2"} - Photo Load (1.4ms) SELECT * FROM "photos" LIMIT 11 OFFSET 11 - SQL (0.1ms) SELECT count(*) AS count_all FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 53ms (View: 44, DB: 2) | 200 OK [http://localhost/photos?page=2] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 11:24:46) [GET] - Parameters: {"page"=>"1"} - Photo Load (1.3ms) SELECT * FROM "photos" LIMIT 11 OFFSET 0 - SQL (0.1ms) SELECT count(*) AS count_all FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 22ms (View: 12, DB: 1) | 200 OK [http://localhost/photos?page=1] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 11:24:48) [GET] - Parameters: {"page"=>"2"} - Photo Load (1.4ms) SELECT * FROM "photos" LIMIT 11 OFFSET 11 - SQL (0.1ms) SELECT count(*) AS count_all FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 81ms (View: 70, DB: 1) | 200 OK [http://localhost/photos?page=2] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 11:24:49) [GET] - Parameters: {"page"=>"1"} - Photo Load (1.4ms) SELECT * FROM "photos" LIMIT 11 OFFSET 0 - SQL (0.1ms) SELECT count(*) AS count_all FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 23ms (View: 13, DB: 2) | 200 OK [http://localhost/photos?page=1] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 11:27:02) [GET] - Category Load (0.8ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 59ms (View: 53, DB: 1) | 200 OK [http://localhost/categories] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 11:27:56) [GET] - Category Load (0.9ms) SELECT * FROM "categories"  -Rendering template within layouts/photos -Rendering categories/index -Completed in 15ms (View: 8, DB: 1) | 200 OK [http://localhost/categories] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 11:28:52) [GET] - Category Load (0.9ms) SELECT * FROM "categories"  - -ArgumentError (Unknown key(s): order_by): - app/controllers/categories_controller.rb:10:in `index' - -Rendered rescues/_trace (28.2ms) -Rendered rescues/_request_and_response (0.3ms) -Rendering rescues/layout (internal_server_error) - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 11:28:58) [GET] - Category Load (0.8ms) SELECT * FROM "categories"  - -ActiveRecord::RecordNotFound (Couldn't find Photo without an ID): - app/controllers/categories_controller.rb:10:in `index' - -Rendered rescues/_trace (88.2ms) -Rendered rescues/_request_and_response (0.3ms) -Rendering rescues/layout (not_found) - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 11:29:10) [GET] - Category Load (0.8ms) SELECT * FROM "categories"  - Photo Load (0.4ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering categories/index -Completed in 57ms (View: 47, DB: 1) | 200 OK [http://localhost/categories] - - -Processing PagesController#index (for 127.0.0.1 at 2010-10-09 11:29:49) [GET] - Photo Load (0.6ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -Completed in 23ms (View: 17, DB: 1) | 200 OK [http://localhost/] - - -Processing PagesController#index (for 127.0.0.1 at 2010-10-09 11:29:54) [GET] - Photo Load (0.6ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -Completed in 12ms (View: 6, DB: 1) | 200 OK [http://localhost/] - - -Processing PagesController#index (for 127.0.0.1 at 2010-10-09 11:29:55) [GET] - Photo Load (0.6ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -Completed in 12ms (View: 6, DB: 1) | 200 OK [http://localhost/] - - -Processing PagesController#index (for 127.0.0.1 at 2010-10-09 11:29:57) [GET] - Photo Load (0.7ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -Completed in 15ms (View: 8, DB: 1) | 200 OK [http://localhost/] - - -Processing PagesController#about (for 127.0.0.1 at 2010-10-09 11:30:00) [GET] -Rendering template within layouts/photos -Rendering pages/about -Completed in 4ms (View: 2, DB: 0) | 200 OK [http://localhost/pages/about] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 11:30:02) [GET] - Category Load (0.8ms) SELECT * FROM "categories"  - Photo Load (0.4ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering categories/index -Completed in 70ms (View: 59, DB: 1) | 200 OK [http://localhost/categories] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 11:30:22) [GET] - Category Load (0.8ms) SELECT * FROM "categories"  - Photo Load (0.4ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering categories/index -Completed in 15ms (View: 5, DB: 1) | 200 OK [http://localhost/categories] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 11:30:22) [GET] - Parameters: {"category_id"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (1.3ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 11 OFFSET 0 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )  -Rendering template within layouts/photos -Rendering photos/index -Completed in 80ms (View: 63, DB: 2) | 200 OK [http://localhost/categories/1/photos] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 11:30:29) [GET] - Category Load (0.8ms) SELECT * FROM "categories"  - Photo Load (0.5ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering categories/index -Completed in 72ms (View: 5, DB: 1) | 200 OK [http://localhost/categories] - - -Processing PagesController#index (for 127.0.0.1 at 2010-10-09 11:30:33) [GET] - Photo Load (0.7ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -Completed in 12ms (View: 6, DB: 1) | 200 OK [http://localhost/] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 11:30:43) [GET] - Category Load (1.0ms) SELECT * FROM "categories"  - Photo Load (0.4ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering categories/index -Completed in 16ms (View: 5, DB: 1) | 200 OK [http://localhost/categories] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 11:30:44) [GET] - Parameters: {"category_id"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (1.3ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 11 OFFSET 0 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )  -Rendering template within layouts/photos -Rendering photos/index -Completed in 28ms (View: 13, DB: 2) | 200 OK [http://localhost/categories/1/photos] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 11:30:47) [GET] - Category Load (0.8ms) SELECT * FROM "categories"  - Photo Load (0.4ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering categories/index -Completed in 14ms (View: 5, DB: 1) | 200 OK [http://localhost/categories] - - -Processing PagesController#index (for 127.0.0.1 at 2010-10-09 11:30:51) [GET] - Photo Load (0.6ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -Completed in 13ms (View: 6, DB: 1) | 200 OK [http://localhost/] - - -Processing PagesController#index (for 127.0.0.1 at 2010-10-09 11:33:58) [GET] - Photo Load (0.8ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -Completed in 14ms (View: 7, DB: 1) | 200 OK [http://localhost/] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 11:33:59) [GET] - Category Load (0.8ms) SELECT * FROM "categories"  - SQL (0.3ms)  SELECT name - FROM sqlite_master - WHERE type = 'table' AND NOT name = 'sqlite_sequence' - - -NoMethodError (undefined method `find_all' for #): - /Library/Ruby/Gems/1.8/gems/will_paginate-2.3.15/lib/will_paginate/finder.rb:170:in `method_missing' - app/controllers/categories_controller.rb:10:in `index' - -Rendered rescues/_trace (29.6ms) -Rendered rescues/_request_and_response (0.3ms) -Rendering rescues/layout (internal_server_error) - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 11:34:10) [GET] - Category Load (0.8ms) SELECT * FROM "categories"  - Photo Load (0.4ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering categories/index -Completed in 15ms (View: 5, DB: 1) | 200 OK [http://localhost/categories] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 11:35:05) [GET] - Category Load (0.8ms) SELECT * FROM "categories"  - Photo Load (0.4ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering categories/index - -ActionView::TemplateError (undefined method `each' for #) on line #20 of app/views/categories/index.html.erb: -17: -18:
-19: -20: <% @photos.each do |photo| %> -21: -22:
-23: <%= link_to ' ', photo.photo.url, :rel => 'photo', :class => 'fancy' %> - - app/views/categories/index.html.erb:20 - app/controllers/categories_controller.rb:12:in `index' - -Rendered rescues/_trace (38.7ms) -Rendered rescues/_request_and_response (0.3ms) -Rendering rescues/layout (internal_server_error) - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 11:35:24) [GET] - Category Load (0.8ms) SELECT * FROM "categories"  - -ActiveRecord::RecordNotFound (Couldn't find Photo without an ID): - app/controllers/categories_controller.rb:10:in `index' - -Rendered rescues/_trace (28.6ms) -Rendered rescues/_request_and_response (0.4ms) -Rendering rescues/layout (not_found) - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 11:35:30) [GET] - Category Load (0.8ms) SELECT * FROM "categories"  - SQL (0.3ms)  SELECT name - FROM sqlite_master - WHERE type = 'table' AND NOT name = 'sqlite_sequence' - - -NoMethodError (undefined method `find_by' for #): - /Library/Ruby/Gems/1.8/gems/will_paginate-2.3.15/lib/will_paginate/finder.rb:170:in `method_missing' - app/controllers/categories_controller.rb:10:in `index' - -Rendered rescues/_trace (28.6ms) -Rendered rescues/_request_and_response (0.3ms) -Rendering rescues/layout (internal_server_error) - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 11:35:39) [GET] - Category Load (0.8ms) SELECT * FROM "categories"  - SQL (0.4ms)  SELECT name - FROM sqlite_master - WHERE type = 'table' AND NOT name = 'sqlite_sequence' - - -NoMethodError (undefined method `find_all' for #): - /Library/Ruby/Gems/1.8/gems/will_paginate-2.3.15/lib/will_paginate/finder.rb:170:in `method_missing' - app/controllers/categories_controller.rb:10:in `index' - -Rendered rescues/_trace (28.1ms) -Rendered rescues/_request_and_response (0.3ms) -Rendering rescues/layout (internal_server_error) - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 11:35:48) [GET] - Category Load (0.8ms) SELECT * FROM "categories"  - SQL (0.4ms)  SELECT name - FROM sqlite_master - WHERE type = 'table' AND NOT name = 'sqlite_sequence' - - -NoMethodError (undefined method `find_first' for #): - /Library/Ruby/Gems/1.8/gems/will_paginate-2.3.15/lib/will_paginate/finder.rb:170:in `method_missing' - app/controllers/categories_controller.rb:10:in `index' - -Rendered rescues/_trace (34.4ms) -Rendered rescues/_request_and_response (0.3ms) -Rendering rescues/layout (internal_server_error) - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 11:35:52) [GET] - Category Load (1.0ms) SELECT * FROM "categories"  - -ActiveRecord::RecordNotFound (Couldn't find Photo without an ID): - app/controllers/categories_controller.rb:10:in `index' - -Rendered rescues/_trace (28.2ms) -Rendered rescues/_request_and_response (0.3ms) -Rendering rescues/layout (not_found) - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 11:37:37) [GET] - Category Load (0.8ms) SELECT * FROM "categories"  - SQL (0.3ms)  SELECT name - FROM sqlite_master - WHERE type = 'table' AND NOT name = 'sqlite_sequence' - - -NoMethodError (undefined method `find_all' for #): - /Library/Ruby/Gems/1.8/gems/will_paginate-2.3.15/lib/will_paginate/finder.rb:170:in `method_missing' - app/controllers/categories_controller.rb:10:in `index' - -Rendered rescues/_trace (32.3ms) -Rendered rescues/_request_and_response (0.3ms) -Rendering rescues/layout (internal_server_error) - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 11:38:01) [GET] - Category Load (0.9ms) SELECT * FROM "categories"  - Photo Load (0.9ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 6 -Rendering template within layouts/photos -Rendering categories/index -Completed in 70ms (View: 59, DB: 2) | 200 OK [http://localhost/categories] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 11:38:04) [GET] - Category Load (0.9ms) SELECT * FROM "categories"  - Photo Load (0.9ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 6 -Rendering template within layouts/photos -Rendering categories/index -Completed in 85ms (View: 12, DB: 2) | 200 OK [http://localhost/categories] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 11:38:14) [GET] - Parameters: {"category_id"=>"2"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '2') LIMIT 1 - Photo Load (0.6ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 2 ) LIMIT 11 OFFSET 0 -Rendering template within layouts/photos -Rendering photos/index -Completed in 67ms (View: 55, DB: 1) | 200 OK [http://localhost/categories/2/photos] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 11:38:17) [GET] - Category Load (0.8ms) SELECT * FROM "categories"  - Photo Load (0.9ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 6 -Rendering template within layouts/photos -Rendering categories/index -Completed in 80ms (View: 68, DB: 2) | 200 OK [http://localhost/categories] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 11:38:18) [GET] - Parameters: {"category_id"=>"5"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '5') LIMIT 1 - Photo Load (0.3ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 5 ) LIMIT 11 OFFSET 0 -Rendering template within layouts/photos -Rendering photos/index -Completed in 19ms (View: 7, DB: 1) | 200 OK [http://localhost/categories/5/photos] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 11:38:19) [GET] - Category Load (1.3ms) SELECT * FROM "categories"  - Photo Load (0.9ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 6 -Rendering template within layouts/photos -Rendering categories/index -Completed in 24ms (View: 12, DB: 2) | 200 OK [http://localhost/categories] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 11:38:25) [GET] - Parameters: {"category_id"=>"4"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '4') LIMIT 1 - Photo Load (1.1ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 4 ) LIMIT 11 OFFSET 0 -Rendering template within layouts/photos -Rendering photos/index -Completed in 81ms (View: 13, DB: 1) | 200 OK [http://localhost/categories/4/photos] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 11:38:29) [GET] - Category Load (0.9ms) SELECT * FROM "categories"  - Photo Load (0.9ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 6 -Rendering template within layouts/photos -Rendering categories/index -Completed in 28ms (View: 16, DB: 2) | 200 OK [http://localhost/categories] - - -Processing PagesController#index (for 127.0.0.1 at 2010-10-09 11:38:30) [GET] - Photo Load (0.6ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -Completed in 30ms (View: 24, DB: 1) | 200 OK [http://localhost/] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 11:38:32) [GET] - Category Load (0.9ms) SELECT * FROM "categories"  - Photo Load (0.8ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 6 -Rendering template within layouts/photos -Rendering categories/index -Completed in 23ms (View: 12, DB: 2) | 200 OK [http://localhost/categories] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 11:39:34) [GET] - Parameters: {"category_id"=>"5"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '5') LIMIT 1 - Photo Load (0.4ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 5 ) LIMIT 11 OFFSET 0 -Rendering template within layouts/photos -Rendering photos/index -Completed in 58ms (View: 45, DB: 1) | 200 OK [http://localhost/categories/5/photos] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 11:39:38) [GET] - Category Load (0.8ms) SELECT * FROM "categories"  - Photo Load (0.9ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 6 -Rendering template within layouts/photos -Rendering categories/index -Completed in 64ms (View: 53, DB: 2) | 200 OK [http://localhost/categories] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 11:39:39) [GET] - Parameters: {"category_id"=>"1"} - Category Load (0.3ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (1.4ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 11 OFFSET 0 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )  -Rendering template within layouts/photos -Rendering photos/index -Completed in 29ms (View: 14, DB: 2) | 200 OK [http://localhost/categories/1/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 11:39:41) [GET] - Parameters: {"category_id"=>"1", "page"=>"2"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (0.6ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 11 OFFSET 11 -Rendering template within layouts/photos -Rendering photos/index -Completed in 21ms (View: 8, DB: 1) | 200 OK [http://localhost/categories/1/photos?page=2] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 11:39:43) [GET] - Parameters: {"category_id"=>"1", "page"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (1.3ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 11 OFFSET 0 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )  -Rendering template within layouts/photos -Rendering photos/index -Completed in 89ms (View: 74, DB: 2) | 200 OK [http://localhost/categories/1/photos?page=1] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 11:39:44) [GET] - Category Load (0.9ms) SELECT * FROM "categories"  - Photo Load (1.0ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 6 -Rendering template within layouts/photos -Rendering categories/index -Completed in 25ms (View: 13, DB: 2) | 200 OK [http://localhost/categories] - - -Processing PagesController#index (for 127.0.0.1 at 2010-10-09 11:39:46) [GET] - Photo Load (0.7ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -Completed in 44ms (View: 37, DB: 1) | 200 OK [http://localhost/] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 11:39:47) [GET] - Category Load (0.9ms) SELECT * FROM "categories"  - Photo Load (0.8ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 6 -Rendering template within layouts/photos -Rendering categories/index -Completed in 23ms (View: 12, DB: 2) | 200 OK [http://localhost/categories] - - -Processing PagesController#index (for 127.0.0.1 at 2010-10-09 11:39:49) [GET] - Photo Load (0.7ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -Completed in 14ms (View: 7, DB: 1) | 200 OK [http://localhost/] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 11:39:50) [GET] - Category Load (1.1ms) SELECT * FROM "categories"  - Photo Load (0.9ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 6 -Rendering template within layouts/photos -Rendering categories/index -Completed in 25ms (View: 12, DB: 2) | 200 OK [http://localhost/categories] - - -Processing PagesController#index (for 127.0.0.1 at 2010-10-09 11:39:53) [GET] - Photo Load (0.7ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -Completed in 12ms (View: 6, DB: 1) | 200 OK [http://localhost/] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 11:39:57) [GET] - Category Load (1.1ms) SELECT * FROM "categories"  - Photo Load (0.9ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 6 -Rendering template within layouts/photos -Rendering categories/index -Completed in 83ms (View: 68, DB: 2) | 200 OK [http://localhost/categories] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 11:40:10) [GET] - Parameters: {"category_id"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (1.4ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 11 OFFSET 0 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )  -Rendering template within layouts/photos -Rendering photos/index -Completed in 29ms (View: 13, DB: 2) | 200 OK [http://localhost/categories/1/photos] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 11:40:26) [GET] - Category Load (0.8ms) SELECT * FROM "categories"  - Photo Load (0.8ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 6 -Rendering template within layouts/photos -Rendering categories/index -Completed in 23ms (View: 12, DB: 2) | 200 OK [http://localhost/categories] - - -Processing PagesController#index (for 127.0.0.1 at 2010-10-09 11:42:03) [GET] - Photo Load (0.7ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -Completed in 13ms (View: 6, DB: 1) | 200 OK [http://localhost/] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 11:42:15) [GET] - Category Load (1.0ms) SELECT * FROM "categories"  - Photo Load (0.8ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 6 -Rendering template within layouts/photos -Rendering categories/index -Completed in 23ms (View: 11, DB: 2) | 200 OK [http://localhost/categories] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 11:42:19) [GET] - Parameters: {"category_id"=>"4"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '4') LIMIT 1 - Photo Load (53.0ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 4 ) LIMIT 11 OFFSET 0 -Rendering template within layouts/photos -Rendering photos/index -Completed in 78ms (View: 13, DB: 53) | 200 OK [http://localhost/categories/4/photos] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 11:42:45) [GET] - Category Load (0.8ms) SELECT * FROM "categories"  - Photo Load (0.8ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 6 -Rendering template within layouts/photos -Rendering categories/index -Completed in 24ms (View: 12, DB: 2) | 200 OK [http://localhost/categories] - - -Processing PagesController#index (for 127.0.0.1 at 2010-10-09 11:43:02) [GET] - Photo Load (0.8ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -Completed in 14ms (View: 6, DB: 1) | 200 OK [http://localhost/] - - -Processing PagesController#about (for 127.0.0.1 at 2010-10-09 11:43:03) [GET] -Rendering template within layouts/photos -Rendering pages/about -Completed in 4ms (View: 2, DB: 0) | 200 OK [http://localhost/pages/about] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 11:43:40) [GET] - Category Load (0.8ms) SELECT * FROM "categories"  - Photo Load (0.8ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 6 -Rendering template within layouts/photos -Rendering categories/index -Completed in 23ms (View: 12, DB: 2) | 200 OK [http://localhost/categories] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 11:44:13) [GET] - Category Load (0.9ms) SELECT * FROM "categories"  - Photo Load (1.0ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 6 -Rendering template within layouts/photos -Rendering categories/index -Completed in 91ms (View: 78, DB: 2) | 200 OK [http://localhost/categories] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 11:44:23) [GET] - Category Load (0.9ms) SELECT * FROM "categories"  - Photo Load (0.9ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 6 -Rendering template within layouts/photos -Rendering categories/index -Completed in 29ms (View: 17, DB: 2) | 200 OK [http://localhost/categories] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 11:44:31) [GET] - Parameters: {"category_id"=>"5"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '5') LIMIT 1 - Photo Load (0.3ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 5 ) LIMIT 11 OFFSET 0 -Rendering template within layouts/photos -Rendering photos/index -Completed in 20ms (View: 7, DB: 1) | 200 OK [http://localhost/categories/5/photos] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 11:44:33) [GET] - Category Load (1.0ms) SELECT * FROM "categories"  - Photo Load (0.9ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 6 -Rendering template within layouts/photos -Rendering categories/index -Completed in 24ms (View: 12, DB: 2) | 200 OK [http://localhost/categories] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 11:52:06) [GET] - Parameters: {"page"=>"1"} - Photo Load (1.5ms) SELECT * FROM "photos" LIMIT 11 OFFSET 0 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 51ms (View: 41, DB: 2) | 200 OK [http://localhost/photos?page=1] - - -Processing PhotosController#show (for 127.0.0.1 at 2010-10-09 11:52:08) [GET] - Parameters: {"id"=>"about"} - Photo Load (0.1ms) SELECT * FROM "photos" WHERE ("photos"."id" = 0)  - -ActiveRecord::RecordNotFound (Couldn't find Photo with ID=about): - app/controllers/photos_controller.rb:32:in `show' - -Rendered rescues/_trace (32.9ms) -Rendered rescues/_request_and_response (0.3ms) -Rendering rescues/layout (not_found) - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 11:52:21) [GET] - Parameters: {"page"=>"1"} - Photo Load (1.4ms) SELECT * FROM "photos" LIMIT 11 OFFSET 0 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 26ms (View: 16, DB: 2) | 200 OK [http://localhost/photos?page=1] - - -Processing PagesController#about (for 127.0.0.1 at 2010-10-09 11:52:22) [GET] -Rendering template within layouts/photos -Rendering pages/about -Completed in 27ms (View: 25, DB: 0) | 200 OK [http://localhost/pages/about] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 11:52:46) [GET] - Parameters: {"page"=>"1"} - Photo Load (1.3ms) SELECT * FROM "photos" LIMIT 11 OFFSET 0 - SQL (0.1ms) SELECT count(*) AS count_all FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 22ms (View: 13, DB: 1) | 200 OK [http://localhost/photos?page=1] - - -Processing PagesController#about (for 127.0.0.1 at 2010-10-09 11:52:48) [GET] -Rendering template within layouts/photos -Rendering pages/about -Completed in 4ms (View: 2, DB: 0) | 200 OK [http://localhost/about] - - -Processing PagesController#index (for 127.0.0.1 at 2010-10-09 11:52:54) [GET] - Photo Load (0.6ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -Completed in 14ms (View: 7, DB: 1) | 200 OK [http://localhost/] - - -Processing PagesController#contact (for 127.0.0.1 at 2010-10-09 11:52:59) [GET] - -ActionController::UnknownAction (No action responded to contact. Actions: index): - - -Rendering rescues/layout (not_found) - - -Processing PagesController#about (for 127.0.0.1 at 2010-10-09 11:53:06) [GET] -Rendering template within layouts/photos -Rendering pages/about -Completed in 4ms (View: 2, DB: 0) | 200 OK [http://localhost/about] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 11:53:07) [GET] - Category Load (0.8ms) SELECT * FROM "categories"  - Photo Load (1.1ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 6 -Rendering template within layouts/photos -Rendering categories/index -Completed in 41ms (View: 30, DB: 2) | 200 OK [http://localhost/categories] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 11:53:13) [GET] - Category Load (0.8ms) SELECT * FROM "categories"  - Photo Load (0.8ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 6 -Rendering template within layouts/photos -Rendering categories/index -Completed in 23ms (View: 12, DB: 2) | 200 OK [http://localhost/categories] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 11:53:16) [GET] - Category Load (0.9ms) SELECT * FROM "categories"  - Photo Load (0.8ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 6 -Rendering template within layouts/photos -Rendering categories/index -Completed in 24ms (View: 12, DB: 2) | 200 OK [http://localhost/categories] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 11:53:16) [GET] - Parameters: {"category_id"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (1.6ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 11 OFFSET 0 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )  -Rendering template within layouts/photos -Rendering photos/index -Completed in 29ms (View: 14, DB: 2) | 200 OK [http://localhost/categories/1/photos] - - -Processing PagesController#index (for 127.0.0.1 at 2010-10-09 11:54:20) [GET] - Photo Load (0.6ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -Completed in 16ms (View: 9, DB: 1) | 200 OK [http://localhost/] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 11:54:23) [GET] - Category Load (0.8ms) SELECT * FROM "categories"  - Photo Load (0.8ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 6 -Rendering template within layouts/photos -Rendering categories/index -Completed in 24ms (View: 12, DB: 2) | 200 OK [http://localhost/categories] - - -Processing PagesController#about (for 127.0.0.1 at 2010-10-09 11:54:44) [GET] -Rendering template within layouts/photos -Rendering pages/about -Completed in 4ms (View: 2, DB: 0) | 200 OK [http://localhost/about] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 11:54:45) [GET] - Category Load (0.9ms) SELECT * FROM "categories"  - Photo Load (0.8ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 6 -Rendering template within layouts/photos -Rendering categories/index -Completed in 80ms (View: 69, DB: 2) | 200 OK [http://localhost/categories] - - -Processing PagesController#index (for 127.0.0.1 at 2010-10-09 11:55:41) [GET] - Photo Load (0.7ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -Completed in 12ms (View: 6, DB: 1) | 200 OK [http://localhost/] - - -Processing PagesController#index (for 127.0.0.1 at 2010-10-09 11:56:08) [GET] - Photo Load (0.7ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -Completed in 16ms (View: 9, DB: 1) | 200 OK [http://localhost/] - - -Processing PagesController#index (for 127.0.0.1 at 2010-10-09 11:56:24) [GET] - Photo Load (0.7ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -Completed in 66ms (View: 6, DB: 1) | 200 OK [http://localhost/] - - -Processing PagesController#index (for 127.0.0.1 at 2010-10-09 11:56:44) [GET] - Photo Load (0.7ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -Completed in 14ms (View: 6, DB: 1) | 200 OK [http://localhost/] - - -Processing PagesController#index (for 127.0.0.1 at 2010-10-09 11:57:20) [GET] - Photo Load (0.9ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -Completed in 17ms (View: 9, DB: 1) | 200 OK [http://localhost/] - - -Processing PagesController#index (for 127.0.0.1 at 2010-10-09 11:57:34) [GET] - Photo Load (0.6ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -Completed in 12ms (View: 6, DB: 1) | 200 OK [http://localhost/] - - -Processing PagesController#index (for 127.0.0.1 at 2010-10-09 11:57:57) [GET] - Photo Load (0.6ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -Completed in 16ms (View: 9, DB: 1) | 200 OK [http://localhost/] - - -Processing PagesController#index (for 127.0.0.1 at 2010-10-09 11:58:23) [GET] - Photo Load (0.6ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -Completed in 13ms (View: 6, DB: 1) | 200 OK [http://localhost/] - - -Processing PagesController#index (for 127.0.0.1 at 2010-10-09 11:58:34) [GET] - Photo Load (0.6ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -Completed in 12ms (View: 6, DB: 1) | 200 OK [http://localhost/] - - -Processing PagesController#index (for 127.0.0.1 at 2010-10-09 11:58:48) [GET] - Photo Load (0.7ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -Completed in 13ms (View: 6, DB: 1) | 200 OK [http://localhost/] - - -Processing PagesController#index (for 127.0.0.1 at 2010-10-09 11:58:50) [GET] - Photo Load (0.7ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -Completed in 13ms (View: 6, DB: 1) | 200 OK [http://localhost/] - - -Processing PagesController#index (for 127.0.0.1 at 2010-10-09 11:58:56) [GET] - Photo Load (0.6ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -Completed in 12ms (View: 6, DB: 1) | 200 OK [http://localhost/] - - -Processing PagesController#index (for 127.0.0.1 at 2010-10-09 11:59:02) [GET] - Photo Load (0.6ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -Completed in 13ms (View: 6, DB: 1) | 200 OK [http://localhost/] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 11:59:45) [GET] - Category Load (0.8ms) SELECT * FROM "categories"  - Photo Load (1.0ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 6 -Rendering template within layouts/photos -Rendering categories/index -Completed in 24ms (View: 12, DB: 2) | 200 OK [http://localhost/categories] - - -Processing PagesController#index (for 127.0.0.1 at 2010-10-09 12:00:07) [GET] - Photo Load (0.7ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -Completed in 12ms (View: 6, DB: 1) | 200 OK [http://localhost/] - - -Processing PagesController#about (for 127.0.0.1 at 2010-10-09 12:00:08) [GET] -Rendering template within layouts/photos -Rendering pages/about -Completed in 4ms (View: 2, DB: 0) | 200 OK [http://localhost/about] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 12:00:10) [GET] - Category Load (0.9ms) SELECT * FROM "categories"  - Photo Load (1.0ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 6 -Rendering template within layouts/photos -Rendering categories/index -Completed in 79ms (View: 13, DB: 2) | 200 OK [http://localhost/categories] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 12:00:33) [GET] - Parameters: {"category_id"=>"4"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '4') LIMIT 1 - Photo Load (1.2ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 4 ) LIMIT 11 OFFSET 0 -Rendering template within layouts/photos -Rendering photos/index -Completed in 28ms (View: 14, DB: 1) | 200 OK [http://localhost/categories/4/photos] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 12:00:38) [GET] - Category Load (0.8ms) SELECT * FROM "categories"  - Photo Load (0.8ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 6 -Rendering template within layouts/photos -Rendering categories/index -Completed in 22ms (View: 11, DB: 2) | 200 OK [http://localhost/categories] - - -Processing PagesController#index (for 127.0.0.1 at 2010-10-09 12:00:44) [GET] - Photo Load (0.7ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -Completed in 69ms (View: 6, DB: 1) | 200 OK [http://localhost/] - - -Processing PagesController#about (for 127.0.0.1 at 2010-10-09 12:00:46) [GET] -Rendering template within layouts/photos -Rendering pages/about -Completed in 4ms (View: 2, DB: 0) | 200 OK [http://localhost/about] - - -Processing PagesController#index (for 127.0.0.1 at 2010-10-09 12:00:50) [GET] - Photo Load (0.6ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -Completed in 13ms (View: 6, DB: 1) | 200 OK [http://localhost/] - - -Processing PagesController#index (for 127.0.0.1 at 2010-10-09 12:01:14) [GET] - Photo Load (0.7ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -Completed in 14ms (View: 7, DB: 1) | 200 OK [http://localhost/] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 12:01:17) [GET] - Category Load (0.8ms) SELECT * FROM "categories"  - Photo Load (0.9ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 6 -Rendering template within layouts/photos -Rendering categories/index -Completed in 80ms (View: 13, DB: 2) | 200 OK [http://localhost/categories] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 12:01:18) [GET] - Parameters: {"category_id"=>"4"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '4') LIMIT 1 - Photo Load (1.2ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 4 ) LIMIT 11 OFFSET 0 -Rendering template within layouts/photos -Rendering photos/index -Completed in 26ms (View: 13, DB: 1) | 200 OK [http://localhost/categories/4/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 12:01:21) [GET] - Parameters: {"category_id"=>"4"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '4') LIMIT 1 - Photo Load (1.1ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 4 ) LIMIT 11 OFFSET 0 -Rendering template within layouts/photos -Rendering photos/index -Completed in 26ms (View: 13, DB: 1) | 200 OK [http://localhost/categories/4/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 12:01:27) [GET] - Parameters: {"category_id"=>"4"} - Category Load (0.3ms) SELECT * FROM "categories" WHERE ("categories"."id" = '4') LIMIT 1 - Photo Load (1.1ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 4 ) LIMIT 11 OFFSET 0 -Rendering template within layouts/photos -Rendering photos/index -Completed in 29ms (View: 15, DB: 1) | 200 OK [http://localhost/categories/4/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 12:01:42) [GET] - Parameters: {"category_id"=>"4"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '4') LIMIT 1 - Photo Load (1.2ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 4 ) LIMIT 11 OFFSET 0 -Rendering template within layouts/photos -Rendering photos/index -Completed in 27ms (View: 13, DB: 1) | 200 OK [http://localhost/categories/4/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 12:01:44) [GET] - Parameters: {"category_id"=>"4"} - Category Load (0.5ms) SELECT * FROM "categories" WHERE ("categories"."id" = '4') LIMIT 1 - Photo Load (1.1ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 4 ) LIMIT 11 OFFSET 0 -Rendering template within layouts/photos -Rendering photos/index -Completed in 84ms (View: 13, DB: 2) | 200 OK [http://localhost/categories/4/photos] - - -Processing PagesController#index (for 127.0.0.1 at 2010-10-09 12:01:47) [GET] - Photo Load (0.9ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -Completed in 15ms (View: 7, DB: 1) | 200 OK [http://localhost/] - - -Processing PagesController#index (for 127.0.0.1 at 2010-10-09 12:02:04) [GET] - Photo Load (0.7ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -Completed in 13ms (View: 6, DB: 1) | 200 OK [http://localhost/] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 12:02:10) [GET] - Parameters: {"page"=>"1"} - Photo Load (1.4ms) SELECT * FROM "photos" LIMIT 11 OFFSET 0 - SQL (0.1ms) SELECT count(*) AS count_all FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 77ms (View: 12, DB: 2) | 200 OK [http://localhost/photos?page=1] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 12:02:13) [GET] - Parameters: {"page"=>"2"} - Photo Load (1.4ms) SELECT * FROM "photos" LIMIT 11 OFFSET 11 - SQL (0.1ms) SELECT count(*) AS count_all FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 24ms (View: 14, DB: 2) | 200 OK [http://localhost/photos?page=2] - - -Processing PagesController#index (for 127.0.0.1 at 2010-10-09 12:02:20) [GET] - Photo Load (0.7ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -Completed in 13ms (View: 6, DB: 1) | 200 OK [http://localhost/] - - -Processing PagesController#index (for 127.0.0.1 at 2010-10-09 12:02:24) [GET] - Photo Load (0.6ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -Completed in 13ms (View: 6, DB: 1) | 200 OK [http://localhost/] - - -Processing PagesController#index (for 127.0.0.1 at 2010-10-09 12:02:28) [GET] - Photo Load (0.6ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -Completed in 13ms (View: 6, DB: 1) | 200 OK [http://localhost/] - - -Processing PagesController#index (for 127.0.0.1 at 2010-10-09 12:02:31) [GET] - Photo Load (0.6ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -Completed in 13ms (View: 6, DB: 1) | 200 OK [http://localhost/] - - -Processing PagesController#index (for 127.0.0.1 at 2010-10-09 12:02:48) [GET] - Photo Load (0.6ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -Completed in 16ms (View: 9, DB: 1) | 200 OK [http://localhost/] - - -Processing PagesController#about (for 127.0.0.1 at 2010-10-09 12:02:51) [GET] -Rendering template within layouts/photos -Rendering pages/about -Completed in 4ms (View: 2, DB: 0) | 200 OK [http://localhost/about] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 12:03:19) [GET] - Category Load (0.8ms) SELECT * FROM "categories"  - Photo Load (0.8ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 6 -Rendering template within layouts/photos -Rendering categories/index -Completed in 22ms (View: 12, DB: 2) | 200 OK [http://localhost/categories] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 12:03:30) [GET] - Category Load (0.9ms) SELECT * FROM "categories"  - Photo Load (0.9ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 6 -Rendering template within layouts/photos -Rendering categories/index -Completed in 27ms (View: 16, DB: 2) | 200 OK [http://localhost/categories] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 12:03:40) [GET] - Category Load (0.8ms) SELECT * FROM "categories"  - Photo Load (0.8ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 6 -Rendering template within layouts/photos -Rendering categories/index -Completed in 27ms (View: 16, DB: 2) | 200 OK [http://localhost/categories] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 12:03:44) [GET] - Category Load (1.1ms) SELECT * FROM "categories"  - Photo Load (0.9ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 6 -Rendering template within layouts/photos -Rendering categories/index -Completed in 30ms (View: 17, DB: 2) | 200 OK [http://localhost/categories] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 12:03:52) [GET] - Category Load (1.2ms) SELECT * FROM "categories"  - Photo Load (0.9ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 6 -Rendering template within layouts/photos -Rendering categories/index -Completed in 31ms (View: 16, DB: 2) | 200 OK [http://localhost/categories] - - -Processing PagesController#index (for 127.0.0.1 at 2010-10-09 12:03:54) [GET] - Photo Load (0.7ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -Completed in 12ms (View: 6, DB: 1) | 200 OK [http://localhost/] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 12:03:55) [GET] - Category Load (0.9ms) SELECT * FROM "categories"  - Photo Load (0.8ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 6 -Rendering template within layouts/photos -Rendering categories/index -Completed in 23ms (View: 12, DB: 2) | 200 OK [http://localhost/categories] - - -Processing PagesController#index (for 127.0.0.1 at 2010-10-09 12:04:02) [GET] - Photo Load (0.6ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -Completed in 13ms (View: 7, DB: 1) | 200 OK [http://localhost/] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 12:04:04) [GET] - Category Load (0.8ms) SELECT * FROM "categories"  - Photo Load (0.8ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 6 -Rendering template within layouts/photos -Rendering categories/index -Completed in 23ms (View: 12, DB: 2) | 200 OK [http://localhost/categories] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 12:04:17) [GET] - Category Load (0.9ms) SELECT * FROM "categories"  - Photo Load (1.1ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 6 -Rendering template within layouts/photos -Rendering categories/index -Completed in 21ms (View: 9, DB: 2) | 200 OK [http://localhost/categories] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 12:04:29) [GET] - Category Load (0.8ms) SELECT * FROM "categories"  - Photo Load (0.9ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 6 -Rendering template within layouts/photos -Rendering categories/index -Completed in 78ms (View: 9, DB: 2) | 200 OK [http://localhost/categories] - - -Processing CategoriesController#show (for 127.0.0.1 at 2010-10-09 12:04:45) [GET] - Parameters: {"id"=>"about"} - Category Load (0.1ms) SELECT * FROM "categories" WHERE ("categories"."id" = 0)  - -ActiveRecord::RecordNotFound (Couldn't find Category with ID=about): - app/controllers/categories_controller.rb:21:in `show' - -Rendered rescues/_trace (28.7ms) -Rendered rescues/_request_and_response (0.3ms) -Rendering rescues/layout (not_found) - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 12:04:56) [GET] - Category Load (0.8ms) SELECT * FROM "categories"  - Photo Load (0.9ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 6 -Rendering template within layouts/photos -Rendering categories/index -ERROR: compiling _run_erb_app47views47categories47index46html46erb RAISED compile error -/Users/danbee/Sites/rails/photos/app/views/categories/index.html.erb:2: syntax error, unexpected '=', expecting ')' -...iv>about
', :controller = 'pages', :action => 'about' )... - ^ -/Users/danbee/Sites/rails/photos/app/views/categories/index.html.erb:2: syntax error, unexpected ',', expecting ')' -.../div>', :controller = 'pages', :action => 'about' ).to_s); @... - ^ -Function body: def _run_erb_app47views47categories47index46html46erb(local_assigns) - old_output_buffer = output_buffer;;@output_buffer = ''; __in_erb_template=true ; @output_buffer.concat "
\n\t" -; @output_buffer.concat(( link_to '
about
', :controller = 'pages', :action => 'about' ).to_s); @output_buffer.concat "\n
\n
\n\t\n
\n
\n\n" - - - - - - -; @num_blank = 6 - @num_categories -@output_buffer.concat "\n
\n\n" - - -; @categories.each do |category| ; @output_buffer.concat "\n\t
\n " -; @output_buffer.concat(( link_to '

'+h(category.name.downcase)+'

', category_photos_path(category) ).to_s); @output_buffer.concat "\n\t
\n" - -; end ; @output_buffer.concat "\n\n" - -; @num_blank.times do ; @output_buffer.concat "\n\t
\n\t
\n" - - -; end ; @output_buffer.concat "\n\n
\n" - - -; @output_buffer - ensure - self.output_buffer = old_output_buffer - end -Backtrace: /Users/danbee/Sites/rails/photos/app/views/categories/index.html.erb:28:in `compile!' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_view/renderable.rb:61:in `compile' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_view/renderable.rb:28:in `render' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_view/template.rb:205:in `render_template' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_view/base.rb:265:in `render_without_parent' -/Users/danbee/Sites/rails/photos/vendor/plugins/typus/lib/vendor/inherit_views.rb:193:in `render' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_view/base.rb:348:in `_render_with_layout' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_view/base.rb:262:in `render_without_parent' -/Users/danbee/Sites/rails/photos/vendor/plugins/typus/lib/vendor/inherit_views.rb:193:in `render' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/base.rb:1250:in `render_for_file' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/base.rb:942:in `render_without_benchmark' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/benchmarking.rb:51:in `render' -/Library/Ruby/Gems/1.8/gems/activesupport-2.3.8/lib/active_support/core_ext/benchmark.rb:17:in `ms' -/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/benchmark.rb:308:in `realtime' -/Library/Ruby/Gems/1.8/gems/activesupport-2.3.8/lib/active_support/core_ext/benchmark.rb:17:in `ms' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/benchmarking.rb:51:in `render' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/mime_responds.rb:135:in `send' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/mime_responds.rb:135:in `custom' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/mime_responds.rb:179:in `call' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/mime_responds.rb:179:in `respond' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/mime_responds.rb:173:in `each' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/mime_responds.rb:173:in `respond' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/mime_responds.rb:107:in `respond_to' -/Users/danbee/Sites/rails/photos/app/controllers/categories_controller.rb:12:in `index' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/base.rb:1331:in `send' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/base.rb:1331:in `perform_action_without_filters' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/filters.rb:617:in `call_filters' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/filters.rb:610:in `perform_action_without_benchmark' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue' -/Library/Ruby/Gems/1.8/gems/activesupport-2.3.8/lib/active_support/core_ext/benchmark.rb:17:in `ms' -/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/benchmark.rb:308:in `realtime' -/Library/Ruby/Gems/1.8/gems/activesupport-2.3.8/lib/active_support/core_ext/benchmark.rb:17:in `ms' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/rescue.rb:160:in `perform_action_without_flash' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/flash.rb:151:in `perform_action' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/base.rb:532:in `send' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/base.rb:532:in `process_without_filters' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/filters.rb:606:in `process' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/base.rb:391:in `process' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/base.rb:386:in `call' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/routing/route_set.rb:438:in `call' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/dispatcher.rb:87:in `dispatch' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/dispatcher.rb:121:in `_call' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/dispatcher.rb:130:in `build_middleware_stack' -/Library/Ruby/Gems/1.8/gems/activerecord-2.3.8/lib/active_record/query_cache.rb:29:in `call' -/Library/Ruby/Gems/1.8/gems/activerecord-2.3.8/lib/active_record/query_cache.rb:29:in `call' -/Library/Ruby/Gems/1.8/gems/activerecord-2.3.8/lib/active_record/connection_adapters/abstract/query_cache.rb:34:in `cache' -/Library/Ruby/Gems/1.8/gems/activerecord-2.3.8/lib/active_record/query_cache.rb:9:in `cache' -/Library/Ruby/Gems/1.8/gems/activerecord-2.3.8/lib/active_record/query_cache.rb:28:in `call' -/Library/Ruby/Gems/1.8/gems/activerecord-2.3.8/lib/active_record/connection_adapters/abstract/connection_pool.rb:361:in `call' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/string_coercion.rb:25:in `call' -/Library/Ruby/Gems/1.8/gems/rack-1.1.0/lib/rack/head.rb:9:in `call' -/Library/Ruby/Gems/1.8/gems/rack-1.1.0/lib/rack/methodoverride.rb:24:in `call' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/params_parser.rb:15:in `call' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/session/cookie_store.rb:99:in `call' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/failsafe.rb:26:in `call' -/Library/Ruby/Gems/1.8/gems/rack-1.1.0/lib/rack/lock.rb:11:in `call' -/Library/Ruby/Gems/1.8/gems/rack-1.1.0/lib/rack/lock.rb:11:in `synchronize' -/Library/Ruby/Gems/1.8/gems/rack-1.1.0/lib/rack/lock.rb:11:in `call' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/dispatcher.rb:114:in `call' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/reloader.rb:34:in `run' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/dispatcher.rb:108:in `call' -/Library/Ruby/Gems/1.8/gems/rails-2.3.8/lib/rails/rack/static.rb:31:in `call' -/Library/Ruby/Gems/1.8/gems/rack-1.1.0/lib/rack/urlmap.rb:47:in `call' -/Library/Ruby/Gems/1.8/gems/rack-1.1.0/lib/rack/urlmap.rb:41:in `each' -/Library/Ruby/Gems/1.8/gems/rack-1.1.0/lib/rack/urlmap.rb:41:in `call' -/Library/Ruby/Gems/1.8/gems/rails-2.3.8/lib/rails/rack/debugger.rb:19:in `call' -/Library/Ruby/Gems/1.8/gems/rails-2.3.8/lib/rails/rack/log_tailer.rb:17:in `call' -/Library/Ruby/Gems/1.8/gems/rack-1.1.0/lib/rack/content_length.rb:13:in `call' -/Library/Ruby/Gems/1.8/gems/rack-1.1.0/lib/rack/chunked.rb:15:in `call' -/Library/Ruby/Gems/1.8/gems/rack-1.1.0/lib/rack/handler/mongrel.rb:67:in `process' -/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:159:in `process_client' -/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in `each' -/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in `process_client' -/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `run' -/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `initialize' -/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `new' -/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `run' -/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `initialize' -/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `new' -/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `run' -/Library/Ruby/Gems/1.8/gems/rack-1.1.0/lib/rack/handler/mongrel.rb:38:in `run' -/Library/Ruby/Gems/1.8/gems/rails-2.3.8/lib/commands/server.rb:111 -/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gem_original_require' -/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require' -script/server:3 - -ActionView::TemplateError (compile error -/Users/danbee/Sites/rails/photos/app/views/categories/index.html.erb:2: syntax error, unexpected '=', expecting ')' -...iv>about', :controller = 'pages', :action => 'about' )... - ^ -/Users/danbee/Sites/rails/photos/app/views/categories/index.html.erb:2: syntax error, unexpected ',', expecting ')' -.../div>', :controller = 'pages', :action => 'about' ).to_s); @... - ^) on line #2 of app/views/categories/index.html.erb: -1:
-2: <%= link_to '
about
', :controller = 'pages', :action => 'about' %> -3:
-4:
-5: - - app/views/categories/index.html.erb:28:in `compile!' - app/controllers/categories_controller.rb:12:in `index' - -Rendered rescues/_trace (40.8ms) -Rendered rescues/_request_and_response (0.5ms) -Rendering rescues/layout (internal_server_error) - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 12:05:01) [GET] - Category Load (0.9ms) SELECT * FROM "categories"  - Photo Load (1.3ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 6 -Rendering template within layouts/photos -Rendering categories/index -Completed in 21ms (View: 8, DB: 2) | 200 OK [http://localhost/categories] - - -Processing PagesController#index (for 127.0.0.1 at 2010-10-09 12:05:19) [GET] - Photo Load (0.7ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -Completed in 12ms (View: 6, DB: 1) | 200 OK [http://localhost/] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 12:05:20) [GET] - Category Load (0.9ms) SELECT * FROM "categories"  - Photo Load (1.0ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 6 -Rendering template within layouts/photos -Rendering categories/index -Completed in 17ms (View: 5, DB: 2) | 200 OK [http://localhost/categories] - - -Processing PagesController#index (for 127.0.0.1 at 2010-10-09 12:05:29) [GET] - Photo Load (0.6ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -Completed in 12ms (View: 6, DB: 1) | 200 OK [http://localhost/] - - -Processing Admin::CategoriesController#index (for 127.0.0.1 at 2010-10-09 12:06:22) [GET] - Parameters: {"action"=>"index", "controller"=>"admin/categories"} - TypusUser Load (0.3ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories"  -Rendering template within layouts/admin -Rendering admin/resources/index -Rendered admin/helpers/_list (0.8ms) -Rendered admin/helpers/_search (2.0ms) - Category Load (1.0ms) SELECT "categories".* FROM "categories" ORDER BY categories.id ASC LIMIT 15 OFFSET 0 -Rendered admin/helpers/_table_header (0.5ms) -Rendered admin/helpers/_header (1.1ms) -Rendered admin/helpers/_login_info (0.9ms) -Rendered admin/shared/_footer (0.6ms) -Completed in 190ms (View: 162, DB: 1) | 200 OK [http://localhost/admin/categories] - - -Processing Admin::CategoriesController#edit (for 127.0.0.1 at 2010-10-09 12:06:28) [GET] - Parameters: {"action"=>"edit", "id"=>"1", "controller"=>"admin/categories"} - TypusUser Load (0.6ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - Category Load (0.3ms) SELECT * FROM "categories" WHERE ("categories"."id" = 1)  -Rendering template within layouts/admin -Rendering admin/resources/edit -Rendered admin/helpers/_list (0.2ms) -Rendered admin/helpers/_search (0.7ms) -Rendered admin/templates/_string (3.0ms) -Rendered admin/templates/_text (1.1ms) -Rendered admin/templates/_string (0.7ms) -Rendered admin/templates/_string (0.7ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/resources/_form (17.5ms) - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos"  - Photo Load (2.4ms) SELECT * FROM "photos"  - Photo Load (1.6ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )  - CACHE (0.0ms) SELECT * FROM "categories" WHERE ("categories"."id" = 1)  - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )  - CACHE (0.0ms) SELECT * FROM "categories" WHERE ("categories"."id" = 1)  - Photo Load (1.7ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) ORDER BY photos.id ASC LIMIT 15 OFFSET 0 -Rendered admin/helpers/_table_header (0.1ms) -Rendered admin/helpers/_header (0.2ms) -Rendered admin/helpers/_login_info (0.4ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 185ms (View: 158, DB: 7) | 200 OK [http://localhost/admin/categories/edit/1] - - -Processing Admin::CategoriesController#update (for 127.0.0.1 at 2010-10-09 12:06:31) [PUT] - Parameters: {"category"=>{"name"=>"Landscapes", "sort"=>"", "base_colour"=>"#16bf00", "photo_id"=>"", "description"=>""}, "commit"=>"Save Category", "action"=>"update", "_method"=>"put", "authenticity_token"=>"MRMA5jN8F+L8Qu/qxudBGU2lL/82P68aMbmoNbKb5zw=", "id"=>"1", "controller"=>"admin/categories"} - TypusUser Load (0.6ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - Category Load (0.3ms) SELECT * FROM "categories" WHERE ("categories"."id" = 1)  - Category Update (0.3ms) UPDATE "categories" SET "updated_at" = '2010-10-09 16:06:31', "base_colour" = '#16bf00' WHERE "id" = 1 -Redirected to http://localhost:3000/admin/categories/edit/1 -Completed in 26ms (DB: 1) | 302 Found [http://localhost/admin/categories/update/1] - - -Processing Admin::CategoriesController#edit (for 127.0.0.1 at 2010-10-09 12:06:31) [GET] - Parameters: {"action"=>"edit", "id"=>"1", "controller"=>"admin/categories"} - TypusUser Load (0.5ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - Category Load (0.3ms) SELECT * FROM "categories" WHERE ("categories"."id" = 1)  -Rendering template within layouts/admin -Rendering admin/resources/edit -Rendered admin/helpers/_list (0.1ms) -Rendered admin/helpers/_search (0.6ms) -Rendered admin/templates/_string (1.9ms) -Rendered admin/templates/_text (0.5ms) -Rendered admin/templates/_string (0.7ms) -Rendered admin/templates/_string (0.7ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/resources/_form (8.0ms) - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos"  - Photo Load (1.9ms) SELECT * FROM "photos"  - Photo Load (1.5ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )  - CACHE (0.0ms) SELECT * FROM "categories" WHERE ("categories"."id" = 1)  - SQL (0.3ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )  - CACHE (0.0ms) SELECT * FROM "categories" WHERE ("categories"."id" = 1)  - Photo Load (2.0ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) ORDER BY photos.id ASC LIMIT 15 OFFSET 0 -Rendered admin/helpers/_table_header (0.1ms) -Rendered admin/helpers/_header (0.2ms) -Rendered admin/helpers/_login_info (0.4ms) -Rendered admin/helpers/_flash_message (0.5ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 90ms (View: 62, DB: 7) | 200 OK [http://localhost/admin/categories/edit/1] - - -Processing PagesController#index (for 127.0.0.1 at 2010-10-09 12:06:32) [GET] - Photo Load (0.6ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -Completed in 73ms (View: 6, DB: 1) | 200 OK [http://localhost/] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 12:06:33) [GET] - Category Load (0.8ms) SELECT * FROM "categories"  - Photo Load (0.8ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 6 -Rendering template within layouts/photos -Rendering categories/index -Completed in 16ms (View: 5, DB: 2) | 200 OK [http://localhost/categories] - - -Processing Admin::CategoriesController#update (for 127.0.0.1 at 2010-10-09 12:06:55) [PUT] - Parameters: {"category"=>{"name"=>"Landscapes", "sort"=>"", "base_colour"=>"#54cc1e", "photo_id"=>"", "description"=>""}, "commit"=>"Save Category", "action"=>"update", "_method"=>"put", "authenticity_token"=>"MRMA5jN8F+L8Qu/qxudBGU2lL/82P68aMbmoNbKb5zw=", "id"=>"1", "controller"=>"admin/categories"} - TypusUser Load (0.7ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - Category Load (0.3ms) SELECT * FROM "categories" WHERE ("categories"."id" = 1)  - Category Update (0.3ms) UPDATE "categories" SET "updated_at" = '2010-10-09 16:06:55', "base_colour" = '#54cc1e' WHERE "id" = 1 -Redirected to http://localhost:3000/admin/categories/edit/1 -Completed in 26ms (DB: 1) | 302 Found [http://localhost/admin/categories/update/1] - - -Processing Admin::CategoriesController#edit (for 127.0.0.1 at 2010-10-09 12:06:55) [GET] - Parameters: {"action"=>"edit", "id"=>"1", "controller"=>"admin/categories"} - TypusUser Load (0.8ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - Category Load (0.3ms) SELECT * FROM "categories" WHERE ("categories"."id" = 1)  -Rendering template within layouts/admin -Rendering admin/resources/edit -Rendered admin/helpers/_list (0.1ms) -Rendered admin/helpers/_search (0.6ms) -Rendered admin/templates/_string (2.0ms) -Rendered admin/templates/_text (0.5ms) -Rendered admin/templates/_string (0.9ms) -Rendered admin/templates/_string (0.7ms) -Rendered admin/templates/_string (0.7ms) -Rendered admin/resources/_form (8.6ms) - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos"  - Photo Load (2.2ms) SELECT * FROM "photos"  - Photo Load (1.7ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )  - CACHE (0.0ms) SELECT * FROM "categories" WHERE ("categories"."id" = 1)  - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )  - CACHE (0.0ms) SELECT * FROM "categories" WHERE ("categories"."id" = 1)  - Photo Load (1.6ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) ORDER BY photos.id ASC LIMIT 15 OFFSET 0 -Rendered admin/helpers/_table_header (0.1ms) -Rendered admin/helpers/_header (0.2ms) -Rendered admin/helpers/_login_info (0.4ms) -Rendered admin/helpers/_flash_message (0.1ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 91ms (View: 60, DB: 7) | 200 OK [http://localhost/admin/categories/edit/1] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 12:06:57) [GET] - Category Load (0.9ms) SELECT * FROM "categories"  - Photo Load (0.9ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 6 -Rendering template within layouts/photos -Rendering categories/index -Completed in 19ms (View: 6, DB: 2) | 200 OK [http://localhost/categories] - - -Processing Admin::CategoriesController#update (for 127.0.0.1 at 2010-10-09 12:07:45) [PUT] - Parameters: {"category"=>{"name"=>"Landscapes", "sort"=>"", "base_colour"=>"#7dd231", "photo_id"=>"", "description"=>""}, "commit"=>"Save Category", "action"=>"update", "_method"=>"put", "authenticity_token"=>"MRMA5jN8F+L8Qu/qxudBGU2lL/82P68aMbmoNbKb5zw=", "id"=>"1", "controller"=>"admin/categories"} - TypusUser Load (0.5ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - Category Load (0.3ms) SELECT * FROM "categories" WHERE ("categories"."id" = 1)  - Category Update (0.3ms) UPDATE "categories" SET "updated_at" = '2010-10-09 16:07:45', "base_colour" = '#7dd231' WHERE "id" = 1 -Redirected to http://localhost:3000/admin/categories/edit/1 -Completed in 27ms (DB: 1) | 302 Found [http://localhost/admin/categories/update/1] - - -Processing Admin::CategoriesController#edit (for 127.0.0.1 at 2010-10-09 12:07:45) [GET] - Parameters: {"action"=>"edit", "id"=>"1", "controller"=>"admin/categories"} - TypusUser Load (0.8ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - Category Load (0.5ms) SELECT * FROM "categories" WHERE ("categories"."id" = 1)  -Rendering template within layouts/admin -Rendering admin/resources/edit -Rendered admin/helpers/_list (0.1ms) -Rendered admin/helpers/_search (0.6ms) -Rendered admin/templates/_string (1.8ms) -Rendered admin/templates/_text (0.5ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/resources/_form (7.9ms) - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos"  - Photo Load (2.3ms) SELECT * FROM "photos"  - Photo Load (2.3ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )  - CACHE (0.0ms) SELECT * FROM "categories" WHERE ("categories"."id" = 1)  - SQL (0.3ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )  - CACHE (0.0ms) SELECT * FROM "categories" WHERE ("categories"."id" = 1)  - Photo Load (1.8ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) ORDER BY photos.id ASC LIMIT 15 OFFSET 0 -Rendered admin/helpers/_table_header (0.1ms) -Rendered admin/helpers/_header (0.2ms) -Rendered admin/helpers/_login_info (0.4ms) -Rendered admin/helpers/_flash_message (0.1ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 161ms (View: 124, DB: 8) | 200 OK [http://localhost/admin/categories/edit/1] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 12:07:46) [GET] - Category Load (0.8ms) SELECT * FROM "categories"  - Photo Load (0.9ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 6 -Rendering template within layouts/photos -Rendering categories/index -Completed in 17ms (View: 6, DB: 2) | 200 OK [http://localhost/categories] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 12:07:50) [GET] - Parameters: {"category_id"=>"6"} - Category Load (0.3ms) SELECT * FROM "categories" WHERE ("categories"."id" = '6') LIMIT 1 - Photo Load (0.6ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 6 ) LIMIT 11 OFFSET 0 -Rendering template within layouts/photos -Rendering photos/index -Completed in 22ms (View: 8, DB: 1) | 200 OK [http://localhost/categories/6/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 12:07:52) [GET] - Parameters: {"category_id"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (1.3ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 11 OFFSET 0 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )  -Rendering template within layouts/photos -Rendering photos/index -Completed in 88ms (View: 14, DB: 2) | 200 OK [http://localhost/categories/1/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 12:07:58) [GET] - Parameters: {"category_id"=>"1", "page"=>"2"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (0.6ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 11 OFFSET 11 -Rendering template within layouts/photos -Rendering photos/index -Completed in 21ms (View: 9, DB: 1) | 200 OK [http://localhost/categories/1/photos?page=2] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 12:08:00) [GET] - Parameters: {"category_id"=>"1", "page"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (1.3ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 11 OFFSET 0 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )  -Rendering template within layouts/photos -Rendering photos/index -Completed in 29ms (View: 14, DB: 2) | 200 OK [http://localhost/categories/1/photos?page=1] - - -Processing PagesController#index (for 127.0.0.1 at 2010-10-09 12:08:04) [GET] - Photo Load (0.6ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -Completed in 13ms (View: 6, DB: 1) | 200 OK [http://localhost/] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 12:08:05) [GET] - Category Load (0.8ms) SELECT * FROM "categories"  - Photo Load (0.8ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 6 -Rendering template within layouts/photos -Rendering categories/index -Completed in 15ms (View: 5, DB: 2) | 200 OK [http://localhost/categories] - - -Processing PagesController#about (for 127.0.0.1 at 2010-10-09 12:08:29) [GET] -Rendering template within layouts/photos -Rendering pages/about -Completed in 5ms (View: 3, DB: 0) | 200 OK [http://localhost/about] - - -Processing PagesController#about (for 127.0.0.1 at 2010-10-09 12:09:17) [GET] -Rendering template within layouts/photos -Rendering pages/about -Completed in 7ms (View: 5, DB: 0) | 200 OK [http://localhost/about] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 12:09:19) [GET] - Category Load (0.8ms) SELECT * FROM "categories"  - Photo Load (0.8ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 6 -Rendering template within layouts/photos -Rendering categories/index -Completed in 19ms (View: 8, DB: 2) | 200 OK [http://localhost/categories] - - -Processing PagesController#about (for 127.0.0.1 at 2010-10-09 12:09:20) [GET] -Rendering template within layouts/photos -Rendering pages/about -Completed in 5ms (View: 3, DB: 0) | 200 OK [http://localhost/about] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 12:09:23) [GET] - Category Load (0.8ms) SELECT * FROM "categories"  - Photo Load (0.8ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 6 -Rendering template within layouts/photos -Rendering categories/index -Completed in 15ms (View: 5, DB: 2) | 200 OK [http://localhost/categories] - - -Processing PagesController#about (for 127.0.0.1 at 2010-10-09 12:09:25) [GET] -Rendering template within layouts/photos -Rendering pages/about -Completed in 4ms (View: 3, DB: 0) | 200 OK [http://localhost/about] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 12:09:56) [GET] - Category Load (0.9ms) SELECT * FROM "categories"  - Photo Load (0.8ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 6 -Rendering template within layouts/photos -Rendering categories/index -Completed in 17ms (View: 5, DB: 2) | 200 OK [http://localhost/categories] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 12:09:58) [GET] - Parameters: {"category_id"=>"4"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '4') LIMIT 1 - Photo Load (1.2ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 4 ) LIMIT 11 OFFSET 0 -Rendering template within layouts/photos -Rendering photos/index -Completed in 26ms (View: 13, DB: 1) | 200 OK [http://localhost/categories/4/photos] - - -Processing PagesController#about (for 127.0.0.1 at 2010-10-09 12:10:36) [GET] -Rendering template within layouts/photos -Rendering pages/about -Completed in 4ms (View: 2, DB: 0) | 200 OK [http://localhost/about] - - -Processing PagesController#about (for 127.0.0.1 at 2010-10-09 12:11:27) [GET] -Rendering template within layouts/photos -Rendering pages/about -Completed in 7ms (View: 5, DB: 0) | 200 OK [http://localhost/about] - - -Processing PagesController#about (for 127.0.0.1 at 2010-10-09 12:11:30) [GET] -Rendering template within layouts/photos -Rendering pages/about -Completed in 4ms (View: 2, DB: 0) | 200 OK [http://localhost/about] - - -Processing PagesController#about (for 127.0.0.1 at 2010-10-09 12:11:48) [GET] -Rendering template within layouts/photos -Rendering pages/about -Completed in 4ms (View: 2, DB: 0) | 200 OK [http://localhost/about] - - -Processing PagesController#about (for 127.0.0.1 at 2010-10-09 12:12:42) [GET] -Rendering template within layouts/photos -Rendering pages/about -Completed in 4ms (View: 2, DB: 0) | 200 OK [http://localhost/about] - - -Processing PagesController#about (for 127.0.0.1 at 2010-10-09 12:13:05) [GET] -Rendering template within layouts/photos -Rendering pages/about -Completed in 8ms (View: 6, DB: 0) | 200 OK [http://localhost/about] - - -Processing PagesController#about (for 127.0.0.1 at 2010-10-09 12:13:26) [GET] -Rendering template within layouts/photos -Rendering pages/about -Completed in 7ms (View: 5, DB: 0) | 200 OK [http://localhost/about] - - -Processing PagesController#about (for 127.0.0.1 at 2010-10-09 12:13:34) [GET] -Rendering template within layouts/photos -Rendering pages/about -Completed in 8ms (View: 6, DB: 0) | 200 OK [http://localhost/about] - - -Processing PagesController#about (for 127.0.0.1 at 2010-10-09 12:13:38) [GET] -Rendering template within layouts/photos -Rendering pages/about -Completed in 8ms (View: 6, DB: 0) | 200 OK [http://localhost/about] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 12:13:47) [GET] - Category Load (0.8ms) SELECT * FROM "categories"  - Photo Load (0.9ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 6 -Rendering template within layouts/photos -Rendering categories/index -Completed in 16ms (View: 5, DB: 2) | 200 OK [http://localhost/categories] - - -Processing PagesController#about (for 127.0.0.1 at 2010-10-09 12:13:48) [GET] -Rendering template within layouts/photos -Rendering pages/about -Completed in 4ms (View: 3, DB: 0) | 200 OK [http://localhost/about] - - -Processing PagesController#index (for 127.0.0.1 at 2010-10-09 12:13:49) [GET] - Photo Load (0.7ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -Completed in 12ms (View: 6, DB: 1) | 200 OK [http://localhost/] - - -Processing PagesController#about (for 127.0.0.1 at 2010-10-09 12:13:50) [GET] -Rendering template within layouts/photos -Rendering pages/about -Completed in 4ms (View: 3, DB: 0) | 200 OK [http://localhost/about] - - -Processing PagesController#contact (for 127.0.0.1 at 2010-10-09 12:13:56) [GET] - -ActionController::UnknownAction (No action responded to contact. Actions: index): - - -Rendering rescues/layout (not_found) - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 12:13:57) [GET] - Category Load (0.8ms) SELECT * FROM "categories"  - Photo Load (0.8ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 6 -Rendering template within layouts/photos -Rendering categories/index -Completed in 16ms (View: 5, DB: 2) | 200 OK [http://localhost/categories] - - -Processing PagesController#about (for 127.0.0.1 at 2010-10-09 12:13:59) [GET] -Rendering template within layouts/photos -Rendering pages/about -Completed in 4ms (View: 3, DB: 0) | 200 OK [http://localhost/about] - - -Processing PagesController#index (for 127.0.0.1 at 2010-10-09 12:13:59) [GET] - Photo Load (0.6ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -Completed in 12ms (View: 6, DB: 1) | 200 OK [http://localhost/] - - -Processing PagesController#about (for 127.0.0.1 at 2010-10-09 12:14:01) [GET] -Rendering template within layouts/photos -Rendering pages/about -Completed in 4ms (View: 3, DB: 0) | 200 OK [http://localhost/about] - - -Processing PagesController#index (for 127.0.0.1 at 2010-10-09 12:14:03) [GET] - Photo Load (0.8ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -Completed in 15ms (View: 6, DB: 1) | 200 OK [http://localhost/] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 12:14:04) [GET] - Category Load (0.8ms) SELECT * FROM "categories"  - Photo Load (0.8ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 6 -Rendering template within layouts/photos -Rendering categories/index -Completed in 16ms (View: 5, DB: 2) | 200 OK [http://localhost/categories] - - -Processing PagesController#index (for 127.0.0.1 at 2010-10-09 12:14:16) [GET] - Photo Load (0.6ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -Completed in 12ms (View: 6, DB: 1) | 200 OK [http://localhost/] - - -Processing PagesController#about (for 127.0.0.1 at 2010-10-09 12:14:20) [GET] -Rendering template within layouts/photos -Rendering pages/about -Completed in 4ms (View: 3, DB: 0) | 200 OK [http://localhost/about] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 12:14:22) [GET] - Category Load (0.9ms) SELECT * FROM "categories"  - Photo Load (1.1ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 6 -Rendering template within layouts/photos -Rendering categories/index -Completed in 16ms (View: 5, DB: 2) | 200 OK [http://localhost/categories] - - -Processing PagesController#index (for 127.0.0.1 at 2010-10-09 12:14:37) [GET] - Photo Load (0.6ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -Completed in 13ms (View: 6, DB: 1) | 200 OK [http://localhost/] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 12:14:39) [GET] - Category Load (0.8ms) SELECT * FROM "categories"  - Photo Load (0.8ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 6 -Rendering template within layouts/photos -Rendering categories/index -Completed in 16ms (View: 5, DB: 2) | 200 OK [http://localhost/categories] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 12:14:40) [GET] - Parameters: {"category_id"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (1.3ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 11 OFFSET 0 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )  -Rendering template within layouts/photos -Rendering photos/index -Completed in 76ms (View: 61, DB: 2) | 200 OK [http://localhost/categories/1/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 12:14:44) [GET] - Parameters: {"category_id"=>"1", "page"=>"2"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (0.6ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 11 OFFSET 11 -Rendering template within layouts/photos -Rendering photos/index -Completed in 22ms (View: 9, DB: 1) | 200 OK [http://localhost/categories/1/photos?page=2] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 12:14:45) [GET] - Parameters: {"category_id"=>"1", "page"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (1.3ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 11 OFFSET 0 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )  -Rendering template within layouts/photos -Rendering photos/index -Completed in 28ms (View: 13, DB: 2) | 200 OK [http://localhost/categories/1/photos?page=1] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 12:14:46) [GET] - Category Load (0.8ms) SELECT * FROM "categories"  - Photo Load (0.9ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 6 -Rendering template within layouts/photos -Rendering categories/index -Completed in 16ms (View: 5, DB: 2) | 200 OK [http://localhost/categories] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 12:14:46) [GET] - Parameters: {"category_id"=>"2"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '2') LIMIT 1 - Photo Load (0.6ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 2 ) LIMIT 11 OFFSET 0 -Rendering template within layouts/photos -Rendering photos/index -Completed in 22ms (View: 9, DB: 1) | 200 OK [http://localhost/categories/2/photos] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 12:14:48) [GET] - Category Load (0.8ms) SELECT * FROM "categories"  - Photo Load (0.8ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 6 -Rendering template within layouts/photos -Rendering categories/index -Completed in 16ms (View: 5, DB: 2) | 200 OK [http://localhost/categories] - - -Processing Admin::CategoriesController#update (for 127.0.0.1 at 2010-10-09 12:15:05) [PUT] - Parameters: {"category"=>{"name"=>"Landscapes", "sort"=>"", "base_colour"=>"#68af29", "photo_id"=>"", "description"=>""}, "commit"=>"Save Category", "action"=>"update", "_method"=>"put", "authenticity_token"=>"MRMA5jN8F+L8Qu/qxudBGU2lL/82P68aMbmoNbKb5zw=", "id"=>"1", "controller"=>"admin/categories"} - TypusUser Load (0.6ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = 1)  - Category Update (12.7ms) UPDATE "categories" SET "updated_at" = '2010-10-09 16:15:05', "base_colour" = '#68af29' WHERE "id" = 1 -Redirected to http://localhost:3000/admin/categories/edit/1 -Completed in 38ms (DB: 14) | 302 Found [http://localhost/admin/categories/update/1] - - -Processing Admin::CategoriesController#edit (for 127.0.0.1 at 2010-10-09 12:15:05) [GET] - Parameters: {"action"=>"edit", "id"=>"1", "controller"=>"admin/categories"} - TypusUser Load (0.6ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - Category Load (0.3ms) SELECT * FROM "categories" WHERE ("categories"."id" = 1)  -Rendering template within layouts/admin -Rendering admin/resources/edit -Rendered admin/helpers/_list (0.2ms) -Rendered admin/helpers/_search (0.8ms) -Rendered admin/templates/_string (1.8ms) -Rendered admin/templates/_text (0.7ms) -Rendered admin/templates/_string (0.9ms) -Rendered admin/templates/_string (0.8ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/resources/_form (8.6ms) - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos"  - Photo Load (2.0ms) SELECT * FROM "photos"  - Photo Load (1.6ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )  - CACHE (0.0ms) SELECT * FROM "categories" WHERE ("categories"."id" = 1)  - SQL (0.3ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )  - CACHE (0.0ms) SELECT * FROM "categories" WHERE ("categories"."id" = 1)  - Photo Load (1.5ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) ORDER BY photos.id ASC LIMIT 15 OFFSET 0 -Rendered admin/helpers/_table_header (0.1ms) -Rendered admin/helpers/_header (0.2ms) -Rendered admin/helpers/_login_info (0.4ms) -Rendered admin/helpers/_flash_message (0.1ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 93ms (View: 64, DB: 6) | 200 OK [http://localhost/admin/categories/edit/1] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 12:15:07) [GET] - Category Load (1.0ms) SELECT * FROM "categories"  - Photo Load (0.9ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 6 -Rendering template within layouts/photos -Rendering categories/index -Completed in 17ms (View: 5, DB: 2) | 200 OK [http://localhost/categories] - - -Processing PagesController#about (for 127.0.0.1 at 2010-10-09 12:15:29) [GET] -Rendering template within layouts/photos -Rendering pages/about -Completed in 5ms (View: 4, DB: 0) | 200 OK [http://localhost/about] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 12:15:38) [GET] - Category Load (0.9ms) SELECT * FROM "categories"  - Photo Load (1.0ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 6 -Rendering template within layouts/photos -Rendering categories/index -Completed in 16ms (View: 5, DB: 2) | 200 OK [http://localhost/categories] - - -Processing PagesController#about (for 127.0.0.1 at 2010-10-09 12:15:40) [GET] -Rendering template within layouts/photos -Rendering pages/about -Completed in 4ms (View: 3, DB: 0) | 200 OK [http://localhost/about] - - -Processing PagesController#index (for 127.0.0.1 at 2010-10-09 12:15:44) [GET] - Photo Load (0.8ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -Completed in 12ms (View: 6, DB: 1) | 200 OK [http://localhost/] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 12:15:48) [GET] - Category Load (0.8ms) SELECT * FROM "categories"  - Photo Load (0.8ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 6 -Rendering template within layouts/photos -Rendering categories/index -Completed in 17ms (View: 5, DB: 2) | 200 OK [http://localhost/categories] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 12:16:18) [GET] - Category Load (0.8ms) SELECT * FROM "categories"  - Photo Load (0.8ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 6 -Rendering template within layouts/photos -Rendering categories/index -Completed in 19ms (View: 8, DB: 2) | 200 OK [http://localhost/categories] - - -Processing PagesController#about (for 127.0.0.1 at 2010-10-09 12:16:30) [GET] -Rendering template within layouts/photos -Rendering pages/about -Completed in 5ms (View: 3, DB: 0) | 200 OK [http://localhost/about] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 12:16:52) [GET] - Category Load (0.8ms) SELECT * FROM "categories"  - Photo Load (1.0ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 6 -Rendering template within layouts/photos -Rendering categories/index -Completed in 75ms (View: 9, DB: 2) | 200 OK [http://localhost/categories] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 12:17:04) [GET] - Parameters: {"category_id"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (1.5ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 11 OFFSET 0 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )  -Rendering template within layouts/photos -Rendering photos/index -Completed in 78ms (View: 62, DB: 2) | 200 OK [http://localhost/categories/1/photos] - - -Processing PagesController#about (for 127.0.0.1 at 2010-10-09 12:17:09) [GET] -Rendering template within layouts/photos -Rendering pages/about -Completed in 7ms (View: 6, DB: 0) | 200 OK [http://localhost/about] - - -Processing PagesController#index (for 127.0.0.1 at 2010-10-09 12:17:14) [GET] - Photo Load (0.8ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -Completed in 75ms (View: 7, DB: 1) | 200 OK [http://localhost/] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 12:17:22) [GET] - Category Load (0.8ms) SELECT * FROM "categories"  - Photo Load (0.8ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 6 -Rendering template within layouts/photos -Rendering categories/index -Completed in 16ms (View: 5, DB: 2) | 200 OK [http://localhost/categories] - - -Processing PagesController#index (for 127.0.0.1 at 2010-10-09 12:17:30) [GET] - Photo Load (0.6ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -Completed in 12ms (View: 6, DB: 1) | 200 OK [http://localhost/] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 12:17:32) [GET] - Category Load (0.8ms) SELECT * FROM "categories"  - Photo Load (0.8ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 6 -Rendering template within layouts/photos -Rendering categories/index -Completed in 16ms (View: 5, DB: 2) | 200 OK [http://localhost/categories] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-09 12:17:56) [GET] - Parameters: {"category_id"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (1.3ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 11 OFFSET 0 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )  -Rendering template within layouts/photos -Rendering photos/index -Completed in 77ms (View: 61, DB: 2) | 200 OK [http://localhost/categories/1/photos] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 12:18:04) [GET] - Category Load (0.8ms) SELECT * FROM "categories"  - Photo Load (0.8ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 6 -Rendering template within layouts/photos -Rendering categories/index -Completed in 16ms (View: 5, DB: 2) | 200 OK [http://localhost/categories] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 12:18:26) [GET] - Category Load (0.8ms) SELECT * FROM "categories"  - Photo Load (0.8ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 6 -Rendering template within layouts/photos -Rendering categories/index -Completed in 20ms (View: 9, DB: 2) | 200 OK [http://localhost/categories] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 12:18:26) [GET] - Category Load (0.8ms) SELECT * FROM "categories"  - Photo Load (0.8ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 6 -Rendering template within layouts/photos -Rendering categories/index -Completed in 16ms (View: 5, DB: 2) | 200 OK [http://localhost/categories] - - -Processing PagesController#index (for 127.0.0.1 at 2010-10-09 12:19:05) [GET] - Photo Load (0.7ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -Completed in 13ms (View: 6, DB: 1) | 200 OK [http://localhost/] - - -Processing PagesController#about (for 127.0.0.1 at 2010-10-09 12:19:06) [GET] -Rendering template within layouts/photos -Rendering pages/about -Completed in 4ms (View: 3, DB: 0) | 200 OK [http://localhost/about] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 12:19:08) [GET] - Category Load (0.8ms) SELECT * FROM "categories"  - Photo Load (0.8ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 6 -Rendering template within layouts/photos -Rendering categories/index -Completed in 16ms (View: 5, DB: 2) | 200 OK [http://localhost/categories] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 12:19:17) [GET] - Category Load (0.8ms) SELECT * FROM "categories"  - Photo Load (0.8ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 6 -Rendering template within layouts/photos -Rendering categories/index -Completed in 19ms (View: 8, DB: 2) | 200 OK [http://localhost/categories] - - -Processing PagesController#index (for 127.0.0.1 at 2010-10-09 12:30:09) [GET] - Photo Load (0.7ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -Completed in 25ms (View: 19, DB: 1) | 200 OK [http://localhost/] - - -Processing PagesController#about (for 127.0.0.1 at 2010-10-09 12:30:11) [GET] -Rendering template within layouts/photos -Rendering pages/about -Completed in 4ms (View: 3, DB: 0) | 200 OK [http://localhost/about] - - -Processing PagesController#index (for 127.0.0.1 at 2010-10-09 12:30:19) [GET] - Photo Load (0.7ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -Completed in 13ms (View: 6, DB: 1) | 200 OK [http://localhost/] - - -Processing PagesController#index (for 127.0.0.1 at 2010-10-09 12:30:22) [GET] - Photo Load (0.7ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -Completed in 13ms (View: 6, DB: 1) | 200 OK [http://localhost/] - - -Processing PagesController#index (for 127.0.0.1 at 2010-10-09 12:30:24) [GET] - Photo Load (0.6ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -Completed in 13ms (View: 6, DB: 1) | 200 OK [http://localhost/] - - -Processing PagesController#index (for 127.0.0.1 at 2010-10-09 12:30:25) [GET] - Photo Load (0.7ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -Completed in 68ms (View: 6, DB: 1) | 200 OK [http://localhost/] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 12:30:38) [GET] - Category Load (0.8ms) SELECT * FROM "categories"  - Photo Load (0.9ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 6 -Rendering template within layouts/photos -Rendering categories/index -Completed in 59ms (View: 47, DB: 2) | 200 OK [http://localhost/categories] - - -Processing PagesController#about (for 127.0.0.1 at 2010-10-09 12:32:52) [GET] -Rendering template within layouts/photos -Rendering pages/about -Completed in 4ms (View: 3, DB: 0) | 200 OK [http://localhost/about] - - -Processing PagesController#index (for 127.0.0.1 at 2010-10-09 12:32:53) [GET] - Photo Load (0.6ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -Completed in 12ms (View: 6, DB: 1) | 200 OK [http://localhost/] - - -Processing PagesController#about (for 127.0.0.1 at 2010-10-09 12:32:54) [GET] -Rendering template within layouts/photos -Rendering pages/about -Completed in 5ms (View: 3, DB: 0) | 200 OK [http://localhost/about] - - -Processing PagesController#index (for 127.0.0.1 at 2010-10-09 12:32:55) [GET] - Photo Load (0.6ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -Completed in 13ms (View: 6, DB: 1) | 200 OK [http://localhost/] - - -Processing PagesController#about (for 127.0.0.1 at 2010-10-09 12:32:55) [GET] -Rendering template within layouts/photos -Rendering pages/about -Completed in 4ms (View: 3, DB: 0) | 200 OK [http://localhost/about] - - -Processing PagesController#index (for 127.0.0.1 at 2010-10-09 12:32:57) [GET] - Photo Load (0.6ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -Completed in 12ms (View: 6, DB: 1) | 200 OK [http://localhost/] - - -Processing PagesController#about (for 127.0.0.1 at 2010-10-09 12:32:58) [GET] -Rendering template within layouts/photos -Rendering pages/about -Completed in 4ms (View: 2, DB: 0) | 200 OK [http://localhost/about] - - -Processing PagesController#index (for 192.168.42.102 at 2010-10-09 12:36:36) [GET] - Photo Load (0.6ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -Completed in 14ms (View: 6, DB: 1) | 200 OK [http://junpei/] - - -Processing ApplicationController#index (for 192.168.42.102 at 2010-10-09 12:36:37) [GET] - -ActionController::RoutingError (No route matches "/images/sg_grid_sub.png" with {:method=>:get}): - - -Rendering rescues/layout (not_found) - - -Processing PagesController#index (for 192.168.42.102 at 2010-10-09 12:36:38) [GET] - Photo Load (0.6ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -Completed in 12ms (View: 6, DB: 1) | 200 OK [http://junpei/] - - -Processing ApplicationController#index (for 192.168.42.102 at 2010-10-09 12:36:38) [GET] - -ActionController::RoutingError (No route matches "/images/sg_grid_sub.png" with {:method=>:get}): - - -Rendering rescues/layout (not_found) - - -Processing CategoriesController#index (for 192.168.42.102 at 2010-10-09 12:36:40) [GET] - Category Load (0.8ms) SELECT * FROM "categories"  - Photo Load (0.8ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 6 -Rendering template within layouts/photos -Rendering categories/index -Completed in 17ms (View: 5, DB: 2) | 200 OK [http://junpei/categories] - - -Processing ApplicationController#index (for 192.168.42.102 at 2010-10-09 12:36:42) [GET] - -ActionController::RoutingError (No route matches "/images/sg_grid_sub.png" with {:method=>:get}): - - -Rendering rescues/layout (not_found) - - -Processing PagesController#about (for 192.168.42.102 at 2010-10-09 12:37:04) [GET] -Rendering template within layouts/photos -Rendering pages/about -Completed in 4ms (View: 3, DB: 0) | 200 OK [http://junpei/about] - - -Processing ApplicationController#index (for 192.168.42.102 at 2010-10-09 12:37:04) [GET] - -ActionController::RoutingError (No route matches "/images/sg_grid_sub.png" with {:method=>:get}): - - -Rendering rescues/layout (not_found) - - -Processing PagesController#index (for 192.168.42.102 at 2010-10-09 12:37:14) [GET] - Photo Load (0.6ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -Completed in 12ms (View: 6, DB: 1) | 200 OK [http://junpei/] - - -Processing ApplicationController#index (for 192.168.42.102 at 2010-10-09 12:37:14) [GET] - -ActionController::RoutingError (No route matches "/images/sg_grid_sub.png" with {:method=>:get}): - - -Rendering rescues/layout (not_found) - - -Processing CategoriesController#index (for 192.168.42.102 at 2010-10-09 12:37:17) [GET] - Category Load (0.8ms) SELECT * FROM "categories"  - Photo Load (0.8ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 6 -Rendering template within layouts/photos -Rendering categories/index -Completed in 16ms (View: 5, DB: 2) | 200 OK [http://junpei/categories] - - -Processing ApplicationController#index (for 192.168.42.102 at 2010-10-09 12:37:19) [GET] - -ActionController::RoutingError (No route matches "/images/sg_grid_sub.png" with {:method=>:get}): - - -Rendering rescues/layout (not_found) - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 12:38:18) [GET] - Category Load (0.8ms) SELECT * FROM "categories"  - Photo Load (0.8ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 6 -Rendering template within layouts/photos -Rendering categories/index -Completed in 20ms (View: 9, DB: 2) | 200 OK [http://localhost/categories] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-09 12:38:28) [GET] - Category Load (0.8ms) SELECT * FROM "categories"  - Photo Load (0.8ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 6 -Rendering template within layouts/photos -Rendering categories/index -Completed in 20ms (View: 8, DB: 2) | 200 OK [http://localhost/categories] - - -Processing CategoriesController#index (for 192.168.42.102 at 2010-10-09 12:38:41) [GET] - Category Load (0.8ms) SELECT * FROM "categories"  - Photo Load (0.8ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 6 -Rendering template within layouts/photos -Rendering categories/index -Completed in 16ms (View: 5, DB: 2) | 200 OK [http://junpei/categories] - - -Processing ApplicationController#index (for 192.168.42.102 at 2010-10-09 12:38:42) [GET] - -ActionController::RoutingError (No route matches "/images/sg_grid_sub.png" with {:method=>:get}): - - -Rendering rescues/layout (not_found) - - -Processing PhotosController#index (for 192.168.42.102 at 2010-10-09 13:03:55) [GET] - Parameters: {"category_id"=>"1"} - Category Load (14.9ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (11.8ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 11 OFFSET 0 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )  -Rendering template within layouts/photos -Rendering photos/index -Completed in 109ms (View: 16, DB: 27) | 200 OK [http://junpei/categories/1/photos] - - -Processing ApplicationController#index (for 192.168.42.102 at 2010-10-09 13:03:56) [GET] - -ActionController::RoutingError (No route matches "/images/sg_grid_sub.png" with {:method=>:get}): - - -Rendering rescues/layout (not_found) - - -Processing PhotosController#index (for 192.168.42.102 at 2010-10-09 13:04:02) [GET] - Parameters: {"category_id"=>"1", "page"=>"2"} - Category Load (0.4ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (0.8ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 11 OFFSET 11 -Rendering template within layouts/photos -Rendering photos/index -Completed in 32ms (View: 13, DB: 1) | 200 OK [http://junpei/categories/1/photos?page=2] - - -Processing ApplicationController#index (for 192.168.42.102 at 2010-10-09 13:04:03) [GET] - -ActionController::RoutingError (No route matches "/images/sg_grid_sub.png" with {:method=>:get}): - - -Rendering rescues/layout (not_found) - - -Processing PhotosController#index (for 192.168.42.102 at 2010-10-09 13:04:07) [GET] - Parameters: {"category_id"=>"1", "page"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (1.4ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 11 OFFSET 0 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )  -Rendering template within layouts/photos -Rendering photos/index -Completed in 30ms (View: 14, DB: 2) | 200 OK [http://junpei/categories/1/photos?page=1] - - -Processing ApplicationController#index (for 192.168.42.102 at 2010-10-09 13:04:08) [GET] - -ActionController::RoutingError (No route matches "/images/sg_grid_sub.png" with {:method=>:get}): - - -Rendering rescues/layout (not_found) - - -Processing PagesController#about (for 192.168.42.102 at 2010-10-09 13:04:10) [GET] -Rendering template within layouts/photos -Rendering pages/about -Completed in 5ms (View: 3, DB: 0) | 200 OK [http://junpei/about] - - -Processing ApplicationController#index (for 192.168.42.102 at 2010-10-09 13:04:10) [GET] - -ActionController::RoutingError (No route matches "/images/sg_grid_sub.png" with {:method=>:get}): - - -Rendering rescues/layout (not_found) - - -Processing CategoriesController#index (for 192.168.42.102 at 2010-10-09 13:04:12) [GET] - Category Load (1.3ms) SELECT * FROM "categories"  - Photo Load (1.3ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 6 -Rendering template within layouts/photos -Rendering categories/index -Completed in 24ms (View: 8, DB: 3) | 200 OK [http://junpei/categories] - - -Processing ApplicationController#index (for 192.168.42.102 at 2010-10-09 13:04:12) [GET] - -ActionController::RoutingError (No route matches "/images/sg_grid_sub.png" with {:method=>:get}): - - -Rendering rescues/layout (not_found) - - -Processing PhotosController#index (for 192.168.42.102 at 2010-10-09 13:04:14) [GET] - Parameters: {"category_id"=>"4"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '4') LIMIT 1 - Photo Load (1.2ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 4 ) LIMIT 11 OFFSET 0 -Rendering template within layouts/photos -Rendering photos/index -Completed in 88ms (View: 13, DB: 1) | 200 OK [http://junpei/categories/4/photos] - - -Processing ApplicationController#index (for 192.168.42.102 at 2010-10-09 13:04:15) [GET] - -ActionController::RoutingError (No route matches "/images/sg_grid_sub.png" with {:method=>:get}): - - -Rendering rescues/layout (not_found) - - -Processing CategoriesController#index (for 192.168.42.102 at 2010-10-09 13:05:06) [GET] - Category Load (0.9ms) SELECT * FROM "categories"  - Photo Load (1.4ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 6 -Rendering template within layouts/photos -Rendering categories/index -Completed in 22ms (View: 7, DB: 2) | 200 OK [http://junpei/categories] - - -Processing ApplicationController#index (for 192.168.42.102 at 2010-10-09 13:05:06) [GET] - -ActionController::RoutingError (No route matches "/images/sg_grid_sub.png" with {:method=>:get}): - - -Rendering rescues/layout (not_found) - - -Processing PhotosController#index (for 192.168.42.102 at 2010-10-09 13:05:08) [GET] - Parameters: {"category_id"=>"3"} - Category Load (0.4ms) SELECT * FROM "categories" WHERE ("categories"."id" = '3') LIMIT 1 - Photo Load (0.7ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 3 ) LIMIT 11 OFFSET 0 -Rendering template within layouts/photos -Rendering photos/index -Completed in 27ms (View: 9, DB: 1) | 200 OK [http://junpei/categories/3/photos] - - -Processing ApplicationController#index (for 192.168.42.102 at 2010-10-09 13:05:09) [GET] - -ActionController::RoutingError (No route matches "/images/sg_grid_sub.png" with {:method=>:get}): - - -Rendering rescues/layout (not_found) - - -Processing CategoriesController#index (for 192.168.42.102 at 2010-10-09 13:05:12) [GET] - Category Load (0.8ms) SELECT * FROM "categories"  - Photo Load (0.8ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 6 -Rendering template within layouts/photos -Rendering categories/index -Completed in 17ms (View: 5, DB: 2) | 200 OK [http://junpei/categories] - - -Processing ApplicationController#index (for 192.168.42.102 at 2010-10-09 13:05:12) [GET] - -ActionController::RoutingError (No route matches "/images/sg_grid_sub.png" with {:method=>:get}): - - -Rendering rescues/layout (not_found) - - -Processing PhotosController#index (for 192.168.42.102 at 2010-10-09 13:05:14) [GET] - Parameters: {"category_id"=>"6"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '6') LIMIT 1 - Photo Load (0.5ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 6 ) LIMIT 11 OFFSET 0 -Rendering template within layouts/photos -Rendering photos/index -Completed in 20ms (View: 8, DB: 1) | 200 OK [http://junpei/categories/6/photos] - - -Processing ApplicationController#index (for 192.168.42.102 at 2010-10-09 13:05:14) [GET] - -ActionController::RoutingError (No route matches "/images/sg_grid_sub.png" with {:method=>:get}): - - -Rendering rescues/layout (not_found) - - -Processing CategoriesController#index (for 192.168.42.102 at 2010-10-09 13:06:15) [GET] - Category Load (0.9ms) SELECT * FROM "categories"  - Photo Load (1.5ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 6 -Rendering template within layouts/photos -Rendering categories/index -Completed in 24ms (View: 8, DB: 2) | 200 OK [http://junpei/categories] - - -Processing ApplicationController#index (for 192.168.42.102 at 2010-10-09 13:06:16) [GET] - -ActionController::RoutingError (No route matches "/images/sg_grid_sub.png" with {:method=>:get}): - - -Rendering rescues/layout (not_found) - - -Processing PagesController#about (for 192.168.42.102 at 2010-10-09 13:06:22) [GET] -Rendering template within layouts/photos -Rendering pages/about -Completed in 4ms (View: 3, DB: 0) | 200 OK [http://junpei/about] - - -Processing ApplicationController#index (for 192.168.42.102 at 2010-10-09 13:06:22) [GET] - -ActionController::RoutingError (No route matches "/images/sg_grid_sub.png" with {:method=>:get}): - - -Rendering rescues/layout (not_found) - - -Processing PagesController#index (for 192.168.42.102 at 2010-10-09 13:06:24) [GET] - Photo Load (0.7ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -Completed in 12ms (View: 6, DB: 1) | 200 OK [http://junpei/] - - -Processing ApplicationController#index (for 192.168.42.102 at 2010-10-09 13:06:24) [GET] - -ActionController::RoutingError (No route matches "/images/sg_grid_sub.png" with {:method=>:get}): - - -Rendering rescues/layout (not_found) - - -Processing CategoriesController#index (for 192.168.42.102 at 2010-10-09 13:06:34) [GET] - Category Load (0.8ms) SELECT * FROM "categories"  - Photo Load (0.8ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 6 -Rendering template within layouts/photos -Rendering categories/index -Completed in 16ms (View: 5, DB: 2) | 200 OK [http://junpei/categories] - - -Processing ApplicationController#index (for 192.168.42.102 at 2010-10-09 13:06:34) [GET] - -ActionController::RoutingError (No route matches "/images/sg_grid_sub.png" with {:method=>:get}): - - -Rendering rescues/layout (not_found) - - -Processing PagesController#about (for 192.168.42.102 at 2010-10-09 13:07:04) [GET] -Rendering template within layouts/photos -Rendering pages/about -Completed in 4ms (View: 3, DB: 0) | 200 OK [http://junpei/about] - - -Processing ApplicationController#index (for 192.168.42.102 at 2010-10-09 13:07:05) [GET] - -ActionController::RoutingError (No route matches "/images/sg_grid_sub.png" with {:method=>:get}): - - -Rendering rescues/layout (not_found) - - -Processing PagesController#index (for 192.168.42.102 at 2010-10-09 15:16:24) [GET] - Photo Load (1.2ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -Completed in 27ms (View: 6, DB: 1) | 200 OK [http://junpei/] - - -Processing ApplicationController#index (for 192.168.42.102 at 2010-10-09 15:16:25) [GET] - -ActionController::RoutingError (No route matches "/images/sg_grid_sub.png" with {:method=>:get}): - - -Rendering rescues/layout (not_found) - - -Processing PagesController#about (for 192.168.42.102 at 2010-10-09 15:16:29) [GET] -Rendering template within layouts/photos -Rendering pages/about -Completed in 4ms (View: 3, DB: 0) | 200 OK [http://junpei/about] - - -Processing ApplicationController#index (for 192.168.42.102 at 2010-10-09 15:16:29) [GET] - -ActionController::RoutingError (No route matches "/images/sg_grid_sub.png" with {:method=>:get}): - - -Rendering rescues/layout (not_found) - - -Processing CategoriesController#index (for 192.168.42.102 at 2010-10-09 15:16:32) [GET] - Category Load (5.9ms) SELECT * FROM "categories"  - Photo Load (0.9ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 6 -Rendering template within layouts/photos -Rendering categories/index -Completed in 33ms (View: 6, DB: 7) | 200 OK [http://junpei/categories] - - -Processing ApplicationController#index (for 192.168.42.102 at 2010-10-09 15:16:32) [GET] - -ActionController::RoutingError (No route matches "/images/sg_grid_sub.png" with {:method=>:get}): - - -Rendering rescues/layout (not_found) - - -Processing PhotosController#index (for 192.168.42.102 at 2010-10-09 15:16:36) [GET] - Parameters: {"category_id"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (1.8ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 11 OFFSET 0 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )  -Rendering template within layouts/photos -Rendering photos/index -Completed in 29ms (View: 14, DB: 2) | 200 OK [http://junpei/categories/1/photos] - - -Processing ApplicationController#index (for 192.168.42.102 at 2010-10-09 15:16:37) [GET] - -ActionController::RoutingError (No route matches "/images/sg_grid_sub.png" with {:method=>:get}): - - -Rendering rescues/layout (not_found) - - -Processing PhotosController#index (for 192.168.42.102 at 2010-10-09 15:17:17) [GET] - Parameters: {"category_id"=>"1", "page"=>"2"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (0.6ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 11 OFFSET 11 -Rendering template within layouts/photos -Rendering photos/index -Completed in 23ms (View: 10, DB: 1) | 200 OK [http://junpei/categories/1/photos?page=2] - - -Processing ApplicationController#index (for 192.168.42.102 at 2010-10-09 15:17:18) [GET] - -ActionController::RoutingError (No route matches "/images/sg_grid_sub.png" with {:method=>:get}): - - -Rendering rescues/layout (not_found) - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-10 09:58:45) [GET] - Category Load (1.0ms) SELECT * FROM "categories"  - Photo Load (1.3ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 2 -Rendering template within layouts/photos -Rendering categories/index -Completed in 62ms (View: 16, DB: 2) | 200 OK [http://localhost/categories] - - -Processing PagesController#index (for 127.0.0.1 at 2010-10-10 09:58:51) [GET] - Photo Load (0.6ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -Completed in 13ms (View: 6, DB: 1) | 200 OK [http://localhost/] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-10 09:58:52) [GET] - Category Load (0.8ms) SELECT * FROM "categories"  - Photo Load (0.6ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 2 -Rendering template within layouts/photos -Rendering categories/index -Completed in 22ms (View: 11, DB: 1) | 200 OK [http://localhost/categories] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-10 09:59:16) [GET] - -ArgumentError (:page parameter required): - /Library/Ruby/Gems/1.8/gems/will_paginate-2.3.15/lib/will_paginate/finder.rb:244:in `wp_parse_options' - /Library/Ruby/Gems/1.8/gems/will_paginate-2.3.15/lib/will_paginate/finder.rb:66:in `paginate' +TypeError (can't convert nil into Array): app/controllers/categories_controller.rb:6:in `index' -Rendered rescues/_trace (28.3ms) -Rendered rescues/_request_and_response (0.3ms) -Rendering rescues/layout (internal_server_error) +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 (0.9ms) +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 (2.2ms) +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/diagnostics.erb within rescues/layout (5.9ms) -Processing ApplicationController#index (for 127.0.0.1 at 2010-10-10 09:59:26) [GET] +Started GET "/admin" for 127.0.0.1 at 2010-10-11 06:39:05 -0400 -SyntaxError (/Users/danbee/Sites/rails/photos/app/controllers/categories_controller.rb:6: syntax error, unexpected '=', expecting kEND -...ategory.paginate :all, :page = params[:page], :per_page => 4 - ^ -/Users/danbee/Sites/rails/photos/app/controllers/categories_controller.rb:6: syntax error, unexpected tASSOC, expecting tCOLON2 or '[' or '.' -... = params[:page], :per_page => 4 - ^): +AbstractController::ActionNotFound (The action 'admin' could not be found for PagesController): -Rendered rescues/_trace (26.0ms) -Rendered rescues/_request_and_response (0.3ms) -Rendering rescues/layout (internal_server_error) - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-10 09:59:31) [GET] - Category Load (0.7ms) SELECT * FROM "categories" LIMIT 4 OFFSET 0 - SQL (0.1ms) SELECT count(*) AS count_all FROM "categories"  - Photo Load (0.9ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 2 -Rendering template within layouts/photos -Rendering categories/index -Completed in 89ms (View: 11, DB: 2) | 200 OK [http://localhost/categories] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-10 09:59:48) [GET] - Category Load (0.7ms) SELECT * FROM "categories" LIMIT 4 OFFSET 0 - SQL (0.1ms) SELECT count(*) AS count_all FROM "categories"  - Photo Load (0.5ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 2 -Rendering template within layouts/photos -Rendering categories/index -Completed in 21ms (View: 8, DB: 1) | 200 OK [http://localhost/categories] - - -Processing PagesController#index (for 127.0.0.1 at 2010-10-10 09:59:56) [GET] - Photo Load (0.6ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -Completed in 13ms (View: 6, DB: 1) | 200 OK [http://localhost/] - - -Processing PagesController#about (for 127.0.0.1 at 2010-10-10 10:00:07) [GET] -Rendering template within layouts/photos -Rendering pages/about -Completed in 4ms (View: 2, DB: 0) | 200 OK [http://localhost/about] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-10 10:00:09) [GET] - Category Load (0.8ms) SELECT * FROM "categories" LIMIT 4 OFFSET 0 - SQL (0.1ms) SELECT count(*) AS count_all FROM "categories"  - Photo Load (0.5ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 2 -Rendering template within layouts/photos -Rendering categories/index -Completed in 22ms (View: 8, DB: 1) | 200 OK [http://localhost/categories] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-10 10:00:26) [GET] - Parameters: {"page"=>"2"} - Category Load (0.7ms) SELECT * FROM "categories" LIMIT 4 OFFSET 4 - Photo Load (1.0ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 2 -Rendering template within layouts/photos -Rendering categories/index -Completed in 23ms (View: 10, DB: 2) | 200 OK [http://localhost/categories?page=2] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-10 10:02:50) [GET] - Parameters: {"page"=>"2"} - Category Load (0.7ms) SELECT * FROM "categories" LIMIT 4 OFFSET 4 - Photo Load (0.5ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 2 -Rendering template within layouts/photos -Rendering categories/index -Completed in 23ms (View: 13, DB: 1) | 200 OK [http://localhost/categories?page=2] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-10 10:02:51) [GET] - Parameters: {"page"=>"1"} - Category Load (0.7ms) SELECT * FROM "categories" LIMIT 4 OFFSET 0 - SQL (0.1ms) SELECT count(*) AS count_all FROM "categories"  - Photo Load (0.5ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 2 -Rendering template within layouts/photos -Rendering categories/index -Completed in 21ms (View: 9, DB: 1) | 200 OK [http://localhost/categories?page=1] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-10 10:02:52) [GET] - Parameters: {"page"=>"2"} - Category Load (0.6ms) SELECT * FROM "categories" LIMIT 4 OFFSET 4 - Photo Load (0.5ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 2 -Rendering template within layouts/photos -Rendering categories/index -Completed in 19ms (View: 9, DB: 1) | 200 OK [http://localhost/categories?page=2] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-10 10:02:54) [GET] - Parameters: {"page"=>"1"} - Category Load (0.8ms) SELECT * FROM "categories" LIMIT 4 OFFSET 0 - SQL (0.1ms) SELECT count(*) AS count_all FROM "categories"  - Photo Load (0.5ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 2 -Rendering template within layouts/photos -Rendering categories/index -Completed in 20ms (View: 9, DB: 1) | 200 OK [http://localhost/categories?page=1] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-10 10:03:23) [GET] - Parameters: {"page"=>"2"} - Category Load (0.6ms) SELECT * FROM "categories" LIMIT 4 OFFSET 4 - Photo Load (0.5ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 2 -Rendering template within layouts/photos -Rendering categories/index -Completed in 21ms (View: 10, DB: 1) | 200 OK [http://localhost/categories?page=2] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-10 10:03:24) [GET] - Parameters: {"page"=>"1"} - Category Load (0.7ms) SELECT * FROM "categories" LIMIT 4 OFFSET 0 - SQL (0.1ms) SELECT count(*) AS count_all FROM "categories"  - Photo Load (0.5ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 2 -Rendering template within layouts/photos -Rendering categories/index -Completed in 20ms (View: 8, DB: 1) | 200 OK [http://localhost/categories?page=1] - - -Processing PagesController#index (for 127.0.0.1 at 2010-10-10 10:03:26) [GET] - Photo Load (0.6ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -Completed in 13ms (View: 6, DB: 1) | 200 OK [http://localhost/] - - -Processing PagesController#about (for 127.0.0.1 at 2010-10-10 10:03:27) [GET] -Rendering template within layouts/photos -Rendering pages/about -Completed in 4ms (View: 3, DB: 0) | 200 OK [http://localhost/about] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-10 10:03:29) [GET] - Category Load (0.7ms) SELECT * FROM "categories" LIMIT 4 OFFSET 0 - SQL (0.1ms) SELECT count(*) AS count_all FROM "categories"  - Photo Load (0.5ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 2 -Rendering template within layouts/photos -Rendering categories/index -Completed in 21ms (View: 8, DB: 1) | 200 OK [http://localhost/categories] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-10 10:03:33) [GET] - Parameters: {"page"=>"2"} - Category Load (0.7ms) SELECT * FROM "categories" LIMIT 4 OFFSET 4 - Photo Load (0.5ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 2 -Rendering template within layouts/photos -Rendering categories/index -Completed in 19ms (View: 9, DB: 1) | 200 OK [http://localhost/categories?page=2] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-10 10:03:34) [GET] - Parameters: {"page"=>"1"} - Category Load (0.7ms) SELECT * FROM "categories" LIMIT 4 OFFSET 0 - SQL (0.1ms) SELECT count(*) AS count_all FROM "categories"  - Photo Load (0.5ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 2 -Rendering template within layouts/photos -Rendering categories/index -Completed in 79ms (View: 66, DB: 1) | 200 OK [http://localhost/categories?page=1] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-10 10:04:07) [GET] - Parameters: {"page"=>"1"} - Category Load (0.7ms) SELECT * FROM "categories" LIMIT 4 OFFSET 0 - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories"  - Photo Load (0.5ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 2 -Rendering template within layouts/photos -Rendering categories/index -Completed in 22ms (View: 9, DB: 1) | 200 OK [http://localhost/categories?page=1] - - -Processing PagesController#index (for 127.0.0.1 at 2010-10-10 10:04:11) [GET] - Photo Load (0.7ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -Completed in 13ms (View: 6, DB: 1) | 200 OK [http://localhost/] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-10 10:04:12) [GET] - Category Load (0.7ms) SELECT * FROM "categories" LIMIT 4 OFFSET 0 - SQL (0.1ms) SELECT count(*) AS count_all FROM "categories"  - Photo Load (0.5ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 2 -Rendering template within layouts/photos -Rendering categories/index -Completed in 20ms (View: 8, DB: 1) | 200 OK [http://localhost/categories] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-10 10:04:24) [GET] - Category Load (0.7ms) SELECT * FROM "categories" LIMIT 4 OFFSET 0 - SQL (0.1ms) SELECT count(*) AS count_all FROM "categories"  - Photo Load (0.5ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 2 -Rendering template within layouts/photos -Rendering categories/index -Completed in 21ms (View: 8, DB: 1) | 200 OK [http://localhost/categories] - - -Processing PagesController#index (for 127.0.0.1 at 2010-10-10 10:04:27) [GET] - Photo Load (0.6ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -Completed in 13ms (View: 6, DB: 1) | 200 OK [http://localhost/] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-10 10:04:38) [GET] - Category Load (0.8ms) SELECT * FROM "categories" LIMIT 4 OFFSET 0 - SQL (0.1ms) SELECT count(*) AS count_all FROM "categories"  - Photo Load (0.9ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 2 -Rendering template within layouts/photos -Rendering categories/index -Completed in 24ms (View: 9, DB: 2) | 200 OK [http://localhost/categories] - - -Processing PagesController#about (for 127.0.0.1 at 2010-10-10 10:05:07) [GET] -Rendering template within layouts/photos -Rendering pages/about -Completed in 4ms (View: 3, DB: 0) | 200 OK [http://localhost/about] - - -Processing PagesController#about (for 127.0.0.1 at 2010-10-10 10:05:09) [GET] -Rendering template within layouts/photos -Rendering pages/about -Completed in 4ms (View: 3, DB: 0) | 200 OK [http://localhost/about] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-10 10:05:11) [GET] - Category Load (0.7ms) SELECT * FROM "categories" LIMIT 4 OFFSET 0 - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories"  - Photo Load (0.5ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 2 -Rendering template within layouts/photos -Rendering categories/index -Completed in 21ms (View: 8, DB: 1) | 200 OK [http://localhost/categories] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-10 10:05:14) [GET] - Parameters: {"category_id"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (8.6ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 11 OFFSET 0 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )  -Rendering template within layouts/photos -Rendering photos/index -Completed in 36ms (View: 14, DB: 9) | 200 OK [http://localhost/categories/1/photos] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-10 10:05:17) [GET] - Category Load (0.7ms) SELECT * FROM "categories" LIMIT 4 OFFSET 0 - SQL (0.1ms) SELECT count(*) AS count_all FROM "categories"  - Photo Load (0.5ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 2 -Rendering template within layouts/photos -Rendering categories/index -Completed in 21ms (View: 9, DB: 1) | 200 OK [http://localhost/categories] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-10 10:05:18) [GET] - Parameters: {"category_id"=>"2"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '2') LIMIT 1 - Photo Load (0.6ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 2 ) LIMIT 11 OFFSET 0 -Rendering template within layouts/photos -Rendering photos/index -Completed in 21ms (View: 9, DB: 1) | 200 OK [http://localhost/categories/2/photos] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-10 10:05:20) [GET] - Category Load (0.8ms) SELECT * FROM "categories" LIMIT 4 OFFSET 0 - SQL (0.1ms) SELECT count(*) AS count_all FROM "categories"  - Photo Load (0.5ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 2 -Rendering template within layouts/photos -Rendering categories/index -Completed in 76ms (View: 9, DB: 1) | 200 OK [http://localhost/categories] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-10 10:05:22) [GET] - Parameters: {"category_id"=>"3"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '3') LIMIT 1 - Photo Load (0.5ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 3 ) LIMIT 11 OFFSET 0 -Rendering template within layouts/photos -Rendering photos/index -Completed in 21ms (View: 8, DB: 1) | 200 OK [http://localhost/categories/3/photos] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-10 10:05:26) [GET] - Category Load (0.7ms) SELECT * FROM "categories" LIMIT 4 OFFSET 0 - SQL (0.1ms) SELECT count(*) AS count_all FROM "categories"  - Photo Load (0.5ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 2 -Rendering template within layouts/photos -Rendering categories/index -Completed in 20ms (View: 9, DB: 1) | 200 OK [http://localhost/categories] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-10 10:05:27) [GET] - Parameters: {"category_id"=>"3"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '3') LIMIT 1 - Photo Load (0.5ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 3 ) LIMIT 11 OFFSET 0 -Rendering template within layouts/photos -Rendering photos/index -Completed in 21ms (View: 8, DB: 1) | 200 OK [http://localhost/categories/3/photos] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-10 10:05:30) [GET] - Parameters: {"page"=>"2"} - Category Load (0.7ms) SELECT * FROM "categories" LIMIT 4 OFFSET 4 - Photo Load (0.5ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 2 -Rendering template within layouts/photos -Rendering categories/index -Completed in 19ms (View: 9, DB: 1) | 200 OK [http://localhost/categories?page=2] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-10 10:05:32) [GET] - Parameters: {"category_id"=>"5"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '5') LIMIT 1 - Photo Load (0.3ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 5 ) LIMIT 11 OFFSET 0 -Rendering template within layouts/photos -Rendering photos/index -Completed in 18ms (View: 7, DB: 1) | 200 OK [http://localhost/categories/5/photos] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-10 10:05:37) [GET] - Category Load (0.7ms) SELECT * FROM "categories" LIMIT 4 OFFSET 0 - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories"  - Photo Load (0.5ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 2 -Rendering template within layouts/photos -Rendering categories/index -Completed in 79ms (View: 9, DB: 1) | 200 OK [http://localhost/categories] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-10 10:06:08) [GET] - Parameters: {"category_id"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (1.4ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 11 OFFSET 0 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )  -Rendering template within layouts/photos -Rendering photos/index -Completed in 30ms (View: 13, DB: 2) | 200 OK [http://localhost/categories/1/photos] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-10 10:07:20) [GET] - Category Load (0.8ms) SELECT * FROM "categories" LIMIT 4 OFFSET 0 - SQL (0.1ms) SELECT count(*) AS count_all FROM "categories"  - Photo Load (0.5ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 2 -Rendering template within layouts/photos -Rendering categories/index -Completed in 21ms (View: 8, DB: 1) | 200 OK [http://localhost/categories] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-10 10:08:26) [GET] - Category Load (0.7ms) SELECT * FROM "categories" LIMIT 4 OFFSET 0 - SQL (0.3ms) SELECT count(*) AS count_all FROM "categories"  - Photo Load (0.5ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 2 -Rendering template within layouts/photos -Rendering categories/index -Completed in 21ms (View: 8, DB: 1) | 200 OK [http://localhost/categories] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-10 10:08:33) [GET] - Category Load (0.8ms) SELECT * FROM "categories" LIMIT 4 OFFSET 0 - SQL (0.1ms) SELECT count(*) AS count_all FROM "categories"  - Photo Load (0.5ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 2 -Rendering template within layouts/photos -Rendering categories/index -Completed in 77ms (View: 64, DB: 1) | 200 OK [http://localhost/categories] - - -Processing PagesController#index (for 127.0.0.1 at 2010-10-10 10:08:42) [GET] - Photo Load (0.8ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -Completed in 14ms (View: 7, DB: 1) | 200 OK [http://localhost/] - - -Processing PagesController#index (for 127.0.0.1 at 2010-10-10 10:09:00) [GET] - Photo Load (0.6ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -Completed in 13ms (View: 6, DB: 1) | 200 OK [http://localhost/] - - -Processing PagesController#index (for 127.0.0.1 at 2010-10-10 10:09:06) [GET] - Photo Load (0.6ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -Completed in 12ms (View: 6, DB: 1) | 200 OK [http://localhost/] - - -Processing PagesController#index (for 127.0.0.1 at 2010-10-10 10:09:12) [GET] - Photo Load (0.7ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -Completed in 13ms (View: 6, DB: 1) | 200 OK [http://localhost/] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-10 10:09:34) [GET] - Category Load (1.1ms) SELECT * FROM "categories" LIMIT 4 OFFSET 0 - SQL (0.1ms) SELECT count(*) AS count_all FROM "categories"  - Photo Load (0.6ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 2 -Rendering template within layouts/photos -Rendering categories/index -Completed in 24ms (View: 9, DB: 2) | 200 OK [http://localhost/categories] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-10 10:11:00) [GET] - Category Load (0.8ms) SELECT * FROM "categories" LIMIT 4 OFFSET 0 - SQL (0.1ms) SELECT count(*) AS count_all FROM "categories"  - Photo Load (0.6ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 2 -Rendering template within layouts/photos -Rendering categories/index -Completed in 25ms (View: 9, DB: 2) | 200 OK [http://localhost/categories] - - -Processing PagesController#index (for 127.0.0.1 at 2010-10-10 10:13:20) [GET] - Photo Load (0.6ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -Completed in 13ms (View: 6, DB: 1) | 200 OK [http://localhost/] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-10 10:13:24) [GET] - Category Load (0.7ms) SELECT * FROM "categories" LIMIT 4 OFFSET 0 - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories"  - Photo Load (0.5ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 2 -Rendering template within layouts/photos -Rendering categories/index -Completed in 23ms (View: 10, DB: 1) | 200 OK [http://localhost/categories] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-10 10:13:40) [GET] - Category Load (0.7ms) SELECT * FROM "categories" LIMIT 4 OFFSET 0 - SQL (0.1ms) SELECT count(*) AS count_all FROM "categories"  - Photo Load (0.6ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 2 -Rendering template within layouts/photos -Rendering categories/index -Completed in 21ms (View: 9, DB: 1) | 200 OK [http://localhost/categories] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-10 10:13:53) [GET] - Category Load (0.7ms) SELECT * FROM "categories" LIMIT 4 OFFSET 0 - SQL (0.1ms) SELECT count(*) AS count_all FROM "categories"  - Photo Load (0.5ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 2 -Rendering template within layouts/photos -Rendering categories/index -Completed in 81ms (View: 11, DB: 1) | 200 OK [http://localhost/categories] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-10 10:14:01) [GET] - Category Load (0.7ms) SELECT * FROM "categories" LIMIT 4 OFFSET 0 - SQL (0.1ms) SELECT count(*) AS count_all FROM "categories"  - Photo Load (0.5ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 2 -Rendering template within layouts/photos -Rendering categories/index -Completed in 21ms (View: 9, DB: 1) | 200 OK [http://localhost/categories] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-10 10:14:07) [GET] - Category Load (0.7ms) SELECT * FROM "categories" LIMIT 4 OFFSET 0 - SQL (0.1ms) SELECT count(*) AS count_all FROM "categories"  - Photo Load (0.5ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 2 -Rendering template within layouts/photos -Rendering categories/index -Completed in 21ms (View: 9, DB: 1) | 200 OK [http://localhost/categories] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-10 10:14:14) [GET] - Category Load (0.7ms) SELECT * FROM "categories" LIMIT 4 OFFSET 0 - SQL (0.1ms) SELECT count(*) AS count_all FROM "categories"  - Photo Load (0.5ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 2 -Rendering template within layouts/photos -Rendering categories/index -Completed in 22ms (View: 9, DB: 1) | 200 OK [http://localhost/categories] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-10 10:14:18) [GET] - Category Load (0.8ms) SELECT * FROM "categories" LIMIT 4 OFFSET 0 - SQL (0.1ms) SELECT count(*) AS count_all FROM "categories"  - Photo Load (0.5ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 2 -Rendering template within layouts/photos -Rendering categories/index -Completed in 21ms (View: 9, DB: 1) | 200 OK [http://localhost/categories] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-10 10:14:21) [GET] - Category Load (0.7ms) SELECT * FROM "categories" LIMIT 4 OFFSET 0 - SQL (0.1ms) SELECT count(*) AS count_all FROM "categories"  - Photo Load (0.5ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 2 -Rendering template within layouts/photos -Rendering categories/index -Completed in 20ms (View: 8, DB: 1) | 200 OK [http://localhost/categories] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-10 10:14:39) [GET] - Category Load (0.7ms) SELECT * FROM "categories" LIMIT 4 OFFSET 0 - SQL (0.1ms) SELECT count(*) AS count_all FROM "categories"  - Photo Load (0.5ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 2 -Rendering template within layouts/photos -Rendering categories/index -Completed in 25ms (View: 13, DB: 1) | 200 OK [http://localhost/categories] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-10 10:14:55) [GET] - Category Load (0.8ms) SELECT * FROM "categories" LIMIT 4 OFFSET 0 - SQL (0.1ms) SELECT count(*) AS count_all FROM "categories"  - Photo Load (0.5ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 2 -Rendering template within layouts/photos -Rendering categories/index -Completed in 21ms (View: 8, DB: 1) | 200 OK [http://localhost/categories] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-10 10:15:10) [GET] - Category Load (0.8ms) SELECT * FROM "categories" LIMIT 4 OFFSET 0 - SQL (0.1ms) SELECT count(*) AS count_all FROM "categories"  - Photo Load (0.5ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 2 -Rendering template within layouts/photos -Rendering categories/index -Completed in 21ms (View: 9, DB: 1) | 200 OK [http://localhost/categories] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-10 10:15:13) [GET] - Parameters: {"page"=>"2"} - Category Load (0.7ms) SELECT * FROM "categories" LIMIT 4 OFFSET 4 - Photo Load (0.7ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 2 -Rendering template within layouts/photos -Rendering categories/index -Completed in 20ms (View: 10, DB: 1) | 200 OK [http://localhost/categories?page=2] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-10 10:15:14) [GET] - Parameters: {"page"=>"1"} - Category Load (0.7ms) SELECT * FROM "categories" LIMIT 4 OFFSET 0 - SQL (0.1ms) SELECT count(*) AS count_all FROM "categories"  - Photo Load (0.5ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 2 -Rendering template within layouts/photos -Rendering categories/index -Completed in 20ms (View: 8, DB: 1) | 200 OK [http://localhost/categories?page=1] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-10 10:15:16) [GET] - Parameters: {"page"=>"2"} - Category Load (0.6ms) SELECT * FROM "categories" LIMIT 4 OFFSET 4 - Photo Load (0.5ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 2 -Rendering template within layouts/photos -Rendering categories/index -Completed in 19ms (View: 9, DB: 1) | 200 OK [http://localhost/categories?page=2] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-10 10:15:17) [GET] - Parameters: {"page"=>"1"} - Category Load (0.7ms) SELECT * FROM "categories" LIMIT 4 OFFSET 0 - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories"  - Photo Load (0.5ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 2 -Rendering template within layouts/photos -Rendering categories/index -Completed in 20ms (View: 8, DB: 1) | 200 OK [http://localhost/categories?page=1] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-10 10:15:18) [GET] - Parameters: {"page"=>"2"} - Category Load (0.6ms) SELECT * FROM "categories" LIMIT 4 OFFSET 4 - Photo Load (0.5ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 2 -Rendering template within layouts/photos -Rendering categories/index -Completed in 20ms (View: 9, DB: 1) | 200 OK [http://localhost/categories?page=2] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-10 10:15:19) [GET] - Parameters: {"page"=>"1"} - Category Load (0.7ms) SELECT * FROM "categories" LIMIT 4 OFFSET 0 - SQL (0.1ms) SELECT count(*) AS count_all FROM "categories"  - Photo Load (0.5ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 2 -Rendering template within layouts/photos -Rendering categories/index -Completed in 20ms (View: 8, DB: 1) | 200 OK [http://localhost/categories?page=1] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-10 10:15:20) [GET] - Parameters: {"category_id"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (1.8ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 11 OFFSET 0 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )  -Rendering template within layouts/photos -Rendering photos/index -Completed in 32ms (View: 15, DB: 2) | 200 OK [http://localhost/categories/1/photos] - - -Processing PagesController#index (for 127.0.0.1 at 2010-10-10 10:15:25) [GET] - Photo Load (0.7ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -Completed in 12ms (View: 6, DB: 1) | 200 OK [http://localhost/] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-10 10:15:26) [GET] - Category Load (0.7ms) SELECT * FROM "categories" LIMIT 4 OFFSET 0 - SQL (0.1ms) SELECT count(*) AS count_all FROM "categories"  - Photo Load (0.5ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 2 -Rendering template within layouts/photos -Rendering categories/index -Completed in 75ms (View: 64, DB: 1) | 200 OK [http://localhost/categories] - - -Processing PagesController#index (for 127.0.0.1 at 2010-10-10 10:15:30) [GET] - Photo Load (0.6ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -Completed in 13ms (View: 6, DB: 1) | 200 OK [http://localhost/] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-10 10:15:31) [GET] - Category Load (0.7ms) SELECT * FROM "categories" LIMIT 4 OFFSET 0 - SQL (0.1ms) SELECT count(*) AS count_all FROM "categories"  - Photo Load (0.5ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 2 -Rendering template within layouts/photos -Rendering categories/index -Completed in 20ms (View: 9, DB: 1) | 200 OK [http://localhost/categories] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-10 10:15:34) [GET] - Parameters: {"category_id"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (1.3ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 11 OFFSET 0 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )  -Rendering template within layouts/photos -Rendering photos/index -Completed in 29ms (View: 13, DB: 2) | 200 OK [http://localhost/categories/1/photos] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-10 10:15:36) [GET] - Category Load (0.7ms) SELECT * FROM "categories" LIMIT 4 OFFSET 0 - SQL (0.1ms) SELECT count(*) AS count_all FROM "categories"  - Photo Load (0.6ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 2 -Rendering template within layouts/photos -Rendering categories/index -Completed in 22ms (View: 9, DB: 1) | 200 OK [http://localhost/categories] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-10 10:15:42) [GET] - Category Load (0.7ms) SELECT * FROM "categories" LIMIT 4 OFFSET 0 - SQL (0.1ms) SELECT count(*) AS count_all FROM "categories"  - Photo Load (0.6ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 2 -Rendering template within layouts/photos -Rendering categories/index -Completed in 21ms (View: 8, DB: 1) | 200 OK [http://localhost/categories] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-10 10:15:54) [GET] - Category Load (0.7ms) SELECT * FROM "categories" LIMIT 4 OFFSET 0 - SQL (0.1ms) SELECT count(*) AS count_all FROM "categories"  - Photo Load (0.5ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 2 -Rendering template within layouts/photos -Rendering categories/index -Completed in 19ms (View: 8, DB: 1) | 200 OK [http://localhost/categories] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-10 10:16:09) [GET] - Parameters: {"page"=>"2"} - Category Load (0.6ms) SELECT * FROM "categories" LIMIT 4 OFFSET 4 - Photo Load (0.5ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 2 -Rendering template within layouts/photos -Rendering categories/index -Completed in 20ms (View: 9, DB: 1) | 200 OK [http://localhost/categories?page=2] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-10 10:16:10) [GET] - Parameters: {"page"=>"1"} - Category Load (0.7ms) SELECT * FROM "categories" LIMIT 4 OFFSET 0 - SQL (0.1ms) SELECT count(*) AS count_all FROM "categories"  - Photo Load (0.5ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 2 -Rendering template within layouts/photos -Rendering categories/index -Completed in 20ms (View: 8, DB: 1) | 200 OK [http://localhost/categories?page=1] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-10 10:16:11) [GET] - Parameters: {"page"=>"2"} - Category Load (0.6ms) SELECT * FROM "categories" LIMIT 4 OFFSET 4 - Photo Load (0.5ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 2 -Rendering template within layouts/photos -Rendering categories/index -Completed in 20ms (View: 9, DB: 1) | 200 OK [http://localhost/categories?page=2] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-10 10:16:11) [GET] - Parameters: {"page"=>"1"} - Category Load (0.7ms) SELECT * FROM "categories" LIMIT 4 OFFSET 0 - SQL (0.1ms) SELECT count(*) AS count_all FROM "categories"  - Photo Load (0.5ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 2 -Rendering template within layouts/photos -Rendering categories/index -Completed in 21ms (View: 9, DB: 1) | 200 OK [http://localhost/categories?page=1] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-10 10:16:23) [GET] - Parameters: {"page"=>"1"} - Category Load (0.7ms) SELECT * FROM "categories" LIMIT 4 OFFSET 0 - SQL (0.1ms) SELECT count(*) AS count_all FROM "categories"  - Photo Load (0.5ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 2 -Rendering template within layouts/photos -Rendering categories/index -Completed in 21ms (View: 9, DB: 1) | 200 OK [http://localhost/categories?page=1] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-10 10:16:23) [GET] - Parameters: {"category_id"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (1.3ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 11 OFFSET 0 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )  -Rendering template within layouts/photos -Rendering photos/index -Completed in 32ms (View: 17, DB: 2) | 200 OK [http://localhost/categories/1/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-10 10:16:24) [GET] - Parameters: {"category_id"=>"1", "page"=>"2"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (0.5ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 11 OFFSET 11 -Rendering template within layouts/photos -Rendering photos/index -Completed in 21ms (View: 8, DB: 1) | 200 OK [http://localhost/categories/1/photos?page=2] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-10 10:16:26) [GET] - Parameters: {"category_id"=>"1", "page"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (1.5ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 11 OFFSET 0 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )  -Rendering template within layouts/photos -Rendering photos/index -Completed in 29ms (View: 13, DB: 2) | 200 OK [http://localhost/categories/1/photos?page=1] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-10 10:16:26) [GET] - Parameters: {"category_id"=>"1", "page"=>"2"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (0.6ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 11 OFFSET 11 -Rendering template within layouts/photos -Rendering photos/index -Completed in 79ms (View: 67, DB: 1) | 200 OK [http://localhost/categories/1/photos?page=2] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-10 10:16:27) [GET] - Parameters: {"category_id"=>"1", "page"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (1.3ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 11 OFFSET 0 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )  -Rendering template within layouts/photos -Rendering photos/index -Completed in 30ms (View: 14, DB: 2) | 200 OK [http://localhost/categories/1/photos?page=1] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-10 10:16:27) [GET] - Category Load (0.7ms) SELECT * FROM "categories" LIMIT 4 OFFSET 0 - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories"  - Photo Load (0.5ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 2 -Rendering template within layouts/photos -Rendering categories/index -Completed in 20ms (View: 8, DB: 1) | 200 OK [http://localhost/categories] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-10 10:16:30) [GET] - Parameters: {"category_id"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (1.3ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 11 OFFSET 0 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )  -Rendering template within layouts/photos -Rendering photos/index -Completed in 88ms (View: 73, DB: 2) | 200 OK [http://localhost/categories/1/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-10 10:16:46) [GET] - Parameters: {"category_id"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (1.3ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 11 OFFSET 0 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )  -Rendering template within layouts/photos -Rendering photos/index -Completed in 40ms (View: 23, DB: 2) | 200 OK [http://localhost/categories/1/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-10 10:16:53) [GET] - Parameters: {"category_id"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (1.3ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 11 OFFSET 0 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )  -Rendering template within layouts/photos -Rendering photos/index -Completed in 29ms (View: 13, DB: 2) | 200 OK [http://localhost/categories/1/photos] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-10 10:17:00) [GET] - Category Load (0.7ms) SELECT * FROM "categories" LIMIT 4 OFFSET 0 - SQL (0.1ms) SELECT count(*) AS count_all FROM "categories"  - Photo Load (0.5ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 2 -Rendering template within layouts/photos -Rendering categories/index -Completed in 21ms (View: 9, DB: 1) | 200 OK [http://localhost/categories] - - -Processing PagesController#index (for 127.0.0.1 at 2010-10-10 10:17:01) [GET] - Photo Load (0.6ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -Completed in 13ms (View: 6, DB: 1) | 200 OK [http://localhost/] - - -Processing PagesController#about (for 127.0.0.1 at 2010-10-10 10:17:02) [GET] -Rendering template within layouts/photos -Rendering pages/about -Completed in 4ms (View: 3, DB: 0) | 200 OK [http://localhost/about] - - -Processing PagesController#index (for 127.0.0.1 at 2010-10-10 10:17:04) [GET] - Photo Load (0.7ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -Completed in 68ms (View: 61, DB: 1) | 200 OK [http://localhost/] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-10 10:17:04) [GET] - Category Load (0.7ms) SELECT * FROM "categories" LIMIT 4 OFFSET 0 - SQL (0.1ms) SELECT count(*) AS count_all FROM "categories"  - Photo Load (0.5ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 2 -Rendering template within layouts/photos -Rendering categories/index -Completed in 20ms (View: 8, DB: 1) | 200 OK [http://localhost/categories] - - -Processing PagesController#index (for 127.0.0.1 at 2010-10-10 10:17:08) [GET] - Photo Load (0.7ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -Completed in 13ms (View: 6, DB: 1) | 200 OK [http://localhost/] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-10 10:26:08) [GET] - Category Load (1.1ms) SELECT * FROM "categories" LIMIT 4 OFFSET 0 - SQL (0.1ms) SELECT count(*) AS count_all FROM "categories"  - Photo Load (1.2ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 2 -Rendering template within layouts/photos -Rendering categories/index -Completed in 35ms (View: 10, DB: 2) | 200 OK [http://localhost/categories] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-10 10:26:12) [GET] - Parameters: {"page"=>"2"} - Category Load (0.6ms) SELECT * FROM "categories" LIMIT 4 OFFSET 4 - Photo Load (0.5ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 2 -Rendering template within layouts/photos -Rendering categories/index -Completed in 20ms (View: 9, DB: 1) | 200 OK [http://localhost/categories?page=2] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-10 10:26:14) [GET] - Parameters: {"page"=>"1"} - Category Load (0.7ms) SELECT * FROM "categories" LIMIT 4 OFFSET 0 - SQL (0.1ms) SELECT count(*) AS count_all FROM "categories"  - Photo Load (0.6ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 2 -Rendering template within layouts/photos -Rendering categories/index -Completed in 20ms (View: 8, DB: 1) | 200 OK [http://localhost/categories?page=1] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-10 10:26:16) [GET] - Parameters: {"category_id"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (8.9ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 11 OFFSET 0 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )  -Rendering template within layouts/photos -Rendering photos/index -Completed in 94ms (View: 70, DB: 9) | 200 OK [http://localhost/categories/1/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-10 10:26:17) [GET] - Parameters: {"category_id"=>"1", "page"=>"2"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (0.6ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 11 OFFSET 11 -Rendering template within layouts/photos -Rendering photos/index -Completed in 21ms (View: 9, DB: 1) | 200 OK [http://localhost/categories/1/photos?page=2] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-10 10:26:18) [GET] - Parameters: {"category_id"=>"1", "page"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (1.3ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 11 OFFSET 0 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )  -Rendering template within layouts/photos -Rendering photos/index -Completed in 28ms (View: 13, DB: 2) | 200 OK [http://localhost/categories/1/photos?page=1] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-10 10:26:19) [GET] - Category Load (0.7ms) SELECT * FROM "categories" LIMIT 4 OFFSET 0 - SQL (0.1ms) SELECT count(*) AS count_all FROM "categories"  - Photo Load (0.5ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 2 -Rendering template within layouts/photos -Rendering categories/index -Completed in 20ms (View: 8, DB: 1) | 200 OK [http://localhost/categories] - - -Processing PagesController#index (for 127.0.0.1 at 2010-10-10 10:26:27) [GET] - Photo Load (0.6ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -Completed in 12ms (View: 6, DB: 1) | 200 OK [http://localhost/] - - -Processing PagesController#about (for 127.0.0.1 at 2010-10-10 10:30:57) [GET] -Rendering template within layouts/photos -Rendering pages/about -Completed in 4ms (View: 3, DB: 0) | 200 OK [http://localhost/about] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-10 10:31:03) [GET] - Category Load (0.7ms) SELECT * FROM "categories" LIMIT 4 OFFSET 0 - SQL (0.1ms) SELECT count(*) AS count_all FROM "categories"  - Photo Load (0.6ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 2 -Rendering template within layouts/photos -Rendering categories/index -Completed in 20ms (View: 8, DB: 1) | 200 OK [http://localhost/categories] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-10 10:31:05) [GET] - Parameters: {"page"=>"2"} - Category Load (0.6ms) SELECT * FROM "categories" LIMIT 4 OFFSET 4 - Photo Load (0.5ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 2 -Rendering template within layouts/photos -Rendering categories/index -Completed in 20ms (View: 9, DB: 1) | 200 OK [http://localhost/categories?page=2] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-10 10:31:06) [GET] - Parameters: {"page"=>"1"} - Category Load (0.8ms) SELECT * FROM "categories" LIMIT 4 OFFSET 0 - SQL (0.1ms) SELECT count(*) AS count_all FROM "categories"  - Photo Load (0.6ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 2 -Rendering template within layouts/photos -Rendering categories/index -Completed in 23ms (View: 8, DB: 2) | 200 OK [http://localhost/categories?page=1] - - -Processing PagesController#index (for 127.0.0.1 at 2010-10-10 10:31:08) [GET] - Photo Load (0.6ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -Completed in 13ms (View: 6, DB: 1) | 200 OK [http://localhost/] - - -Processing PagesController#contact (for 127.0.0.1 at 2010-10-10 10:43:43) [GET] - -ActionController::UnknownAction (No action responded to contact. Actions: index): +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/unknown_action.erb within rescues/layout (1.2ms) +DEPRECATION WARNING: Use toplevel init.rb; rails/init.rb is deprecated: /Users/danbee/Sites/rails/photos/vendor/plugins/jrails/rails/init.rb. (called from 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 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 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 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 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 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 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 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 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 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 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 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 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 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 at /Users/danbee/Sites/rails/photos/config/initializers/cookie_verification_secret.rb:7) + + +Started GET "/admin" for 127.0.0.1 at 2010-10-11 06:57:51 -0400 + +AbstractController::ActionNotFound (The action 'admin' could not be found for PagesController): -Rendering rescues/layout (not_found) +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/unknown_action.erb within rescues/layout (0.7ms) -Processing PagesController#index (for 192.168.42.200 at 2010-10-10 11:04:09) [GET] - Photo Load (67.5ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -Completed in 510ms (View: 288, DB: 67) | 200 OK [http://192.168.42.240/] +Started GET "/photos" for 127.0.0.1 at 2010-10-11 06:57:58 -0400 + Processing by PhotosController#index as HTML + SQL (0.2ms)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + Photo Load (6.2ms) SELECT "photos".* FROM "photos" +Completed in 116ms + +TypeError (can't convert nil into Array): + app/controllers/photos_controller.rb:13:in `index' + +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 (0.9ms) +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 (2.1ms) +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/diagnostics.erb within rescues/layout (6.4ms) -Processing CategoriesController#index (for 192.168.42.200 at 2010-10-10 11:04:19) [GET] - Category Load (16.7ms) SELECT * FROM "categories" LIMIT 4 OFFSET 0 - SQL (0.3ms) SELECT count(*) AS count_all FROM "categories"  - Photo Load (0.7ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 2 -Rendering template within layouts/photos -Rendering categories/index -Completed in 289ms (View: 95, DB: 18) | 200 OK [http://192.168.42.240/categories] +Started GET "/" for 127.0.0.1 at 2010-10-11 06:59:07 -0400 + Processing by PagesController#index as HTML + Photo Load (14.3ms) SELECT "photos".* FROM "photos" ORDER BY RANDOM() LIMIT 1 +Rendered pages/index.html.erb within layouts/photos (3.3ms) +Completed 200 OK in 125ms (Views: 64.3ms | ActiveRecord: 14.3ms) -Processing CategoriesController#index (for 192.168.42.200 at 2010-10-10 11:04:20) [GET] - Parameters: {"page"=>"2"} - Category Load (0.7ms) SELECT * FROM "categories" LIMIT 4 OFFSET 4 - Photo Load (19.0ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 2 -Rendering template within layouts/photos -Rendering categories/index -Completed in 3814ms (View: 11, DB: 20) | 200 OK [http://192.168.42.240/categories?page=2] +Started GET "/" for 127.0.0.1 at 2010-10-11 06:59:08 -0400 + Processing by PagesController#index as HTML + Photo Load (0.2ms) SELECT "photos".* FROM "photos" ORDER BY RANDOM() LIMIT 1 +Rendered pages/index.html.erb within layouts/photos (2.5ms) +Completed 200 OK in 44ms (Views: 4.6ms | ActiveRecord: 0.2ms) -Processing CategoriesController#index (for 192.168.42.200 at 2010-10-10 11:04:26) [GET] - Parameters: {"page"=>"1"} - Category Load (16.8ms) SELECT * FROM "categories" LIMIT 4 OFFSET 0 - SQL (0.1ms) SELECT count(*) AS count_all FROM "categories"  - Photo Load (0.5ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 2 -Rendering template within layouts/photos -Rendering categories/index -Completed in 39ms (View: 10, DB: 17) | 200 OK [http://192.168.42.240/categories?page=1] +Started GET "/" for 127.0.0.1 at 2010-10-11 06:59:14 -0400 + Processing by PagesController#index as HTML + Photo Load (0.2ms) SELECT "photos".* FROM "photos" ORDER BY RANDOM() LIMIT 1 +Rendered pages/index.html.erb within layouts/photos (2.5ms) +Completed 200 OK in 17ms (Views: 4.7ms | ActiveRecord: 0.2ms) -Processing PhotosController#index (for 192.168.42.200 at 2010-10-10 11:04:27) [GET] +Started GET "/" for 127.0.0.1 at 2010-10-11 06:59:14 -0400 + Processing by PagesController#index as HTML + Photo Load (0.2ms) SELECT "photos".* FROM "photos" ORDER BY RANDOM() LIMIT 1 +Rendered pages/index.html.erb within layouts/photos (2.8ms) +Completed 200 OK in 17ms (Views: 5.2ms | ActiveRecord: 0.2ms) + + +Started GET "/categories" for 127.0.0.1 at 2010-10-11 06:59:17 -0400 + Processing by CategoriesController#index as HTML + Category Load (15.9ms) SELECT "categories".* FROM "categories" +Completed in 44ms + +TypeError (can't convert nil into Array): + app/controllers/categories_controller.rb:6:in `index' + +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.1ms) +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 (2.1ms) +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/diagnostics.erb within rescues/layout (6.4ms) + + +Started GET "/" for 127.0.0.1 at 2010-10-11 07:00:03 -0400 + Processing by PagesController#index as HTML + Photo Load (0.2ms) SELECT "photos".* FROM "photos" ORDER BY RANDOM() LIMIT 1 +Rendered pages/index.html.erb within layouts/photos (78.5ms) +Completed in 94ms + +ActionView::Template::Error (undefined method `div' for #<#:0x00000100b46df0>): + 2: <%= link_to '
about
', :action => 'about' %> + 3:
+ 4:
+ 5: <%= link_to div('portfolio'), :controller => 'categories' %> + 6:
+ 7: + 8: + app/views/pages/index.html.erb:5:in `_app_views_pages_index_html_erb___2506487286841623973_2153391160_1818122197383825995' + +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) +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 (2.2ms) +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 (6.6ms) + + +Started GET "/" for 127.0.0.1 at 2010-10-11 07:00:14 -0400 + Processing by PagesController#index as HTML + Photo Load (0.2ms) SELECT "photos".* FROM "photos" ORDER BY RANDOM() LIMIT 1 +Rendered pages/index.html.erb within layouts/photos (2.7ms) +Completed 200 OK in 17ms (Views: 4.7ms | ActiveRecord: 0.2ms) + + +Started GET "/" for 127.0.0.1 at 2010-10-11 07:00:14 -0400 + Processing by PagesController#index as HTML + Photo Load (0.2ms) SELECT "photos".* FROM "photos" ORDER BY RANDOM() LIMIT 1 +Rendered pages/index.html.erb within layouts/photos (2.9ms) +Completed 200 OK in 22ms (Views: 5.3ms | ActiveRecord: 0.2ms) + + +Started GET "/about" for 127.0.0.1 at 2010-10-11 07:03:11 -0400 + Processing by PagesController#about as HTML +Rendered pages/about.html.erb within layouts/photos (3.0ms) +Completed 200 OK in 6ms (Views: 5.3ms | ActiveRecord: 0.0ms) + + +Started GET "/" for 127.0.0.1 at 2010-10-11 07:04:36 -0400 + Processing by PagesController#index as HTML + Photo Load (21.7ms) SELECT "photos".* FROM "photos" ORDER BY RANDOM() LIMIT 1 +Rendered pages/index.html.erb within layouts/photos (2.7ms) +Completed 200 OK in 145ms (Views: 4.7ms | ActiveRecord: 21.7ms) + + +Started GET "/" for 127.0.0.1 at 2010-10-11 07:04:37 -0400 + Processing by PagesController#index as HTML + Photo Load (0.2ms) SELECT "photos".* FROM "photos" ORDER BY RANDOM() LIMIT 1 +Rendered pages/index.html.erb within layouts/photos (2.6ms) +Completed 200 OK in 17ms (Views: 4.5ms | ActiveRecord: 0.2ms) + + +Started GET "/" for 127.0.0.1 at 2010-10-11 07:04:50 -0400 + Processing by PagesController#index as HTML + Photo Load (0.2ms) SELECT "photos".* FROM "photos" ORDER BY RANDOM() LIMIT 1 +Rendered pages/index.html.erb within layouts/photos (7.3ms) +Completed in 22ms + +ActionView::Template::Error (undefined local variable or method `html' for #<#:0x000001015a2538>): + 19:
+ 20: + 21: + 24: + 25: <%= yield %> + app/views/layouts/photos.html.erb:22:in `_app_views_layouts_photos_html_erb__1462035183969257867_2158739340_1818122197383825995' + +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) +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 (2.4ms) +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 (6.9ms) + + +Started GET "/" for 127.0.0.1 at 2010-10-11 07:04:59 -0400 + Processing by PagesController#index as HTML + Photo Load (0.2ms) SELECT "photos".* FROM "photos" ORDER BY RANDOM() LIMIT 1 +Rendered pages/index.html.erb within layouts/photos (2.3ms) +Completed 200 OK in 17ms (Views: 4.3ms | ActiveRecord: 0.2ms) + + +Started GET "/" for 127.0.0.1 at 2010-10-11 07:04:59 -0400 + Processing by PagesController#index as HTML + Photo Load (0.2ms) SELECT "photos".* FROM "photos" ORDER BY RANDOM() LIMIT 1 +Rendered pages/index.html.erb within layouts/photos (2.2ms) +Completed 200 OK in 17ms (Views: 4.1ms | ActiveRecord: 0.2ms) + + +Started GET "/" for 127.0.0.1 at 2010-10-11 07:05:25 -0400 + Processing by PagesController#index as HTML + Photo Load (0.2ms) SELECT "photos".* FROM "photos" ORDER BY RANDOM() LIMIT 1 +Rendered pages/index.html.erb within layouts/photos (2.4ms) +Completed 200 OK in 17ms (Views: 4.4ms | ActiveRecord: 0.2ms) + + +Started GET "/" for 127.0.0.1 at 2010-10-11 07:05:25 -0400 + Processing by PagesController#index as HTML + Photo Load (0.2ms) SELECT "photos".* FROM "photos" ORDER BY RANDOM() LIMIT 1 +Rendered pages/index.html.erb within layouts/photos (2.3ms) +Completed 200 OK in 18ms (Views: 4.2ms | ActiveRecord: 0.2ms) + + +Started GET "/" for 127.0.0.1 at 2010-10-11 07:08:19 -0400 + Processing by PagesController#index as HTML + Photo Load (20.2ms) SELECT "photos".* FROM "photos" ORDER BY RANDOM() LIMIT 1 +Rendered pages/index.html.erb within layouts/photos (2.7ms) +Completed 200 OK in 38ms (Views: 5.4ms | ActiveRecord: 20.2ms) + + +Started GET "/" for 127.0.0.1 at 2010-10-11 07:08:20 -0400 + Processing by PagesController#index as HTML + Photo Load (0.2ms) SELECT "photos".* FROM "photos" ORDER BY RANDOM() LIMIT 1 +Rendered pages/index.html.erb within layouts/photos (2.5ms) +Completed 200 OK in 17ms (Views: 4.7ms | ActiveRecord: 0.2ms) + + +Started GET "/" for 127.0.0.1 at 2010-10-11 07:08:32 -0400 + Processing by PagesController#index as HTML + Photo Load (0.2ms) SELECT "photos".* FROM "photos" ORDER BY RANDOM() LIMIT 1 +Rendered pages/index.html.erb within layouts/photos (2.5ms) +Completed 200 OK in 32ms (Views: 4.5ms | ActiveRecord: 0.2ms) + + +Started GET "/" for 127.0.0.1 at 2010-10-11 07:08:32 -0400 + Processing by PagesController#index as HTML + Photo Load (0.2ms) SELECT "photos".* FROM "photos" ORDER BY RANDOM() LIMIT 1 +Rendered pages/index.html.erb within layouts/photos (2.5ms) +Completed 200 OK in 18ms (Views: 4.5ms | ActiveRecord: 0.2ms) + + +Started GET "/" for 127.0.0.1 at 2010-10-11 07:08:46 -0400 + Processing by PagesController#index as HTML + Photo Load (18.5ms) SELECT "photos".* FROM "photos" ORDER BY RANDOM() LIMIT 1 +Rendered pages/index.html.erb within layouts/photos (2.4ms) +Completed 200 OK in 35ms (Views: 4.6ms | ActiveRecord: 18.5ms) + + +Started GET "/" for 127.0.0.1 at 2010-10-11 07:08:46 -0400 + Processing by PagesController#index as HTML + Photo Load (0.2ms) SELECT "photos".* FROM "photos" ORDER BY RANDOM() LIMIT 1 +Rendered pages/index.html.erb within layouts/photos (2.4ms) +Completed 200 OK in 17ms (Views: 4.2ms | ActiveRecord: 0.2ms) + + +Started GET "/" for 127.0.0.1 at 2010-10-11 07:08:51 -0400 + Processing by PagesController#index as HTML + Photo Load (0.2ms) SELECT "photos".* FROM "photos" ORDER BY RANDOM() LIMIT 1 +Rendered pages/index.html.erb within layouts/photos (2.4ms) +Completed 200 OK in 27ms (Views: 4.4ms | ActiveRecord: 0.2ms) + + +Started GET "/" for 127.0.0.1 at 2010-10-11 07:08:51 -0400 + Processing by PagesController#index as HTML + Photo Load (0.2ms) SELECT "photos".* FROM "photos" ORDER BY RANDOM() LIMIT 1 +Rendered pages/index.html.erb within layouts/photos (2.7ms) +Completed 200 OK in 24ms (Views: 4.7ms | ActiveRecord: 0.2ms) + + +Started GET "/" for 127.0.0.1 at 2010-10-11 07:10:22 -0400 + Processing by PagesController#index as HTML + Photo Load (0.2ms) SELECT "photos".* FROM "photos" ORDER BY RANDOM() LIMIT 1 +Rendered pages/index.html.erb within layouts/photos (65.9ms) +Completed 200 OK in 80ms (Views: 68.0ms | ActiveRecord: 0.2ms) + + +Started GET "/" for 127.0.0.1 at 2010-10-11 07:10:22 -0400 + Processing by PagesController#index as HTML + Photo Load (0.2ms) SELECT "photos".* FROM "photos" ORDER BY RANDOM() LIMIT 1 +Rendered pages/index.html.erb within layouts/photos (2.5ms) +Completed 200 OK in 16ms (Views: 4.4ms | ActiveRecord: 0.2ms) + + +Started GET "/" for 127.0.0.1 at 2010-10-11 07:10:49 -0400 + Processing by PagesController#index as HTML + Photo Load (0.2ms) SELECT "photos".* FROM "photos" ORDER BY RANDOM() LIMIT 1 +Rendered pages/index.html.erb within layouts/photos (2.5ms) +Completed 200 OK in 48ms (Views: 4.3ms | ActiveRecord: 0.2ms) + + +Started GET "/" for 127.0.0.1 at 2010-10-11 07:10:49 -0400 + Processing by PagesController#index as HTML + Photo Load (0.2ms) SELECT "photos".* FROM "photos" ORDER BY RANDOM() LIMIT 1 +Rendered pages/index.html.erb within layouts/photos (2.5ms) +Completed 200 OK in 17ms (Views: 4.9ms | ActiveRecord: 0.2ms) + + +Started GET "/about" for 127.0.0.1 at 2010-10-11 07:10:50 -0400 + Processing by PagesController#about as HTML +Rendered pages/about.html.erb within layouts/photos (2.4ms) +Completed 200 OK in 5ms (Views: 4.6ms | ActiveRecord: 0.0ms) + + +Started GET "/about" for 127.0.0.1 at 2010-10-11 07:11:19 -0400 + Processing by PagesController#about as HTML +Rendered pages/about.html.erb within layouts/photos (2.1ms) +Completed 200 OK in 4ms (Views: 3.8ms | ActiveRecord: 0.0ms) + + +Started GET "/categories" for 127.0.0.1 at 2010-10-11 07:11:23 -0400 + Processing by CategoriesController#index as HTML + Category Load (17.4ms) SELECT "categories".* FROM "categories" +Completed in 44ms + +TypeError (can't convert nil into Array): + app/controllers/categories_controller.rb:6:in `index' + +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 (0.9ms) +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 (2.1ms) +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/diagnostics.erb within rescues/layout (6.1ms) + + +Started GET "/categories" for 127.0.0.1 at 2010-10-11 07:12:16 -0400 + Processing by CategoriesController#index as HTML + Category Load (1.3ms) SELECT "categories".* FROM "categories" + Photo Load (0.2ms) SELECT "photos".* FROM "photos" ORDER BY RANDOM() LIMIT 2 +Rendered categories/index.html.erb within layouts/photos (37.9ms) +Completed in 105ms + +ActionView::Template::Error (undefined method `previous_page' for #): + 1: + app/views/categories/index.html.erb:2:in `_app_views_categories_index_html_erb___59549059433098026_2158483720_1818122197383825995' + app/controllers/categories_controller.rb:13:in `index' + +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 (0.9ms) +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 (3.2ms) +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 (7.7ms) + + +Started GET "/categories" for 127.0.0.1 at 2010-10-11 07:12:39 -0400 + Processing by CategoriesController#index as HTML + Category Load (1.6ms) SELECT "categories".* FROM "categories" +Completed in 40ms + +TypeError (can't convert nil into Array): + app/controllers/categories_controller.rb:6:in `index' + +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.2ms) +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 (3.6ms) +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/diagnostics.erb within rescues/layout (8.2ms) +DEPRECATION WARNING: Use toplevel init.rb; rails/init.rb is deprecated: /Users/danbee/Sites/rails/photos/vendor/plugins/jrails/rails/init.rb. (called from 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 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 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 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 at /Users/danbee/Sites/rails/photos/config/initializers/cookie_verification_secret.rb:7) + + +Started GET "/categories" for 127.0.0.1 at 2010-10-11 07:13:54 -0400 + Processing by CategoriesController#index as HTML + SQL (0.2ms)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + Category Load (7.5ms) SELECT "categories".* FROM "categories" LIMIT 4 OFFSET 0 + SQL (0.1ms) SELECT COUNT(*) AS count_id FROM "categories" + Photo Load (0.4ms) SELECT "photos".* FROM "photos" ORDER BY RANDOM() LIMIT 2 +Rendered categories/index.html.erb within layouts/photos (20.6ms) +Completed in 116ms + +ActionView::Template::Error (No route matches {:action=>"contact", :controller=>"categories"}): + 40:
+ 41:
+ 42:
+ 43: <%= link_to '
contact
', :action => 'contact' %> + 44:
--> + 45: + 46:
+ app/views/categories/index.html.erb:43:in `_app_views_categories_index_html_erb__2102391404743009556_2165084080__1068162546463467793' + app/controllers/categories_controller.rb:12:in `index' + +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) +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 (3.1ms) +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 (7.5ms) + + +Started GET "/categories" for 127.0.0.1 at 2010-10-11 07:14:30 -0400 + +NameError (undefined local variable or method `map' for #): + config/routes.rb:69:in `block in ' + config/routes.rb:1:in `' + +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 (0.9ms) +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 (1.0ms) +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/diagnostics.erb within rescues/layout (4.8ms) + + +Started GET "/categories" for 127.0.0.1 at 2010-10-11 07:14:48 -0400 + Processing by CategoriesController#index as HTML + Category Load (1.2ms) SELECT "categories".* FROM "categories" LIMIT 4 OFFSET 0 + SQL (0.1ms) SELECT COUNT(*) AS count_id FROM "categories" + Photo Load (0.3ms) SELECT "photos".* FROM "photos" ORDER BY RANDOM() LIMIT 2 +Rendered categories/index.html.erb within layouts/photos (8.4ms) +Completed 200 OK in 38ms (Views: 10.4ms | ActiveRecord: 1.6ms) + + +Started GET "/categories/1/photos" for 127.0.0.1 at 2010-10-11 07:14:53 -0400 + Processing by PhotosController#index as HTML Parameters: {"category_id"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (7.4ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 11 OFFSET 0 - SQL (18.7ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )  -Rendering template within layouts/photos -Rendering photos/index -Completed in 80ms (View: 39, DB: 26) | 200 OK [http://192.168.42.240/categories/1/photos] + Category Load (0.4ms) SELECT "categories".* FROM "categories" WHERE ("categories"."id" = 1) LIMIT 1 + Photo Load (0.2ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 11 OFFSET 0 +Rendered photos/index.html.erb within layouts/photos (2.8ms) +Completed 200 OK in 168ms (Views: 57.4ms | ActiveRecord: 0.7ms) -Processing CategoriesController#index (for 192.168.42.200 at 2010-10-10 11:04:46) [GET] - Category Load (42.0ms) SELECT * FROM "categories" LIMIT 4 OFFSET 0 - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories"  - Photo Load (0.8ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 2 -Rendering template within layouts/photos -Rendering categories/index -Completed in 68ms (View: 11, DB: 43) | 200 OK [http://192.168.42.240/categories] +Started GET "/categories" for 127.0.0.1 at 2010-10-11 07:14:54 -0400 + Processing by CategoriesController#index as HTML + Category Load (1.0ms) SELECT "categories".* FROM "categories" LIMIT 4 OFFSET 0 + SQL (0.1ms) SELECT COUNT(*) AS count_id FROM "categories" + Photo Load (0.2ms) SELECT "photos".* FROM "photos" ORDER BY RANDOM() LIMIT 2 +Rendered categories/index.html.erb within layouts/photos (8.1ms) +Completed 200 OK in 66ms (Views: 10.0ms | ActiveRecord: 1.3ms) -Processing CategoriesController#index (for 192.168.42.200 at 2010-10-10 11:06:46) [GET] - Parameters: {"page"=>"2"} - Category Load (32.7ms) SELECT * FROM "categories" LIMIT 4 OFFSET 4 - Photo Load (18.6ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 2 -Rendering template within layouts/photos -Rendering categories/index -Completed in 114ms (View: 51, DB: 51) | 200 OK [http://192.168.42.240/categories?page=2] +Started GET "/" for 127.0.0.1 at 2010-10-11 07:14:55 -0400 + Processing by PagesController#index as HTML + Photo Load (0.2ms) SELECT "photos".* FROM "photos" ORDER BY RANDOM() LIMIT 1 +Rendered pages/index.html.erb within layouts/photos (2.4ms) +Completed 200 OK in 16ms (Views: 4.4ms | ActiveRecord: 0.2ms) -Processing CategoriesController#index (for 192.168.42.200 at 2010-10-10 11:06:49) [GET] - Parameters: {"page"=>"1"} - Category Load (0.7ms) SELECT * FROM "categories" LIMIT 4 OFFSET 0 - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories"  - Photo Load (0.6ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 2 -Rendering template within layouts/photos -Rendering categories/index -Completed in 26ms (View: 9, DB: 1) | 200 OK [http://192.168.42.240/categories?page=1] +Started GET "/" for 127.0.0.1 at 2010-10-11 07:14:55 -0400 + Processing by PagesController#index as HTML + Photo Load (0.2ms) SELECT "photos".* FROM "photos" ORDER BY RANDOM() LIMIT 1 +Rendered pages/index.html.erb within layouts/photos (2.5ms) +Completed 200 OK in 17ms (Views: 4.6ms | ActiveRecord: 0.2ms) -Processing PhotosController#index (for 192.168.42.200 at 2010-10-10 11:06:52) [GET] +Started GET "/admin" for 127.0.0.1 at 2010-10-11 07:14:59 -0400 + +AbstractController::ActionNotFound (The action 'admin' could not be found for PagesController): + + +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/unknown_action.erb within rescues/layout (0.7ms) + + +Started GET "/" for 127.0.0.1 at 2010-10-11 07:15:10 -0400 + Processing by PagesController#index as HTML + Photo Load (0.2ms) SELECT "photos".* FROM "photos" ORDER BY RANDOM() LIMIT 1 +Rendered pages/index.html.erb within layouts/photos (2.6ms) +Completed 200 OK in 18ms (Views: 4.5ms | ActiveRecord: 0.2ms) + + +Started GET "/" for 127.0.0.1 at 2010-10-11 07:15:10 -0400 + Processing by PagesController#index as HTML + Photo Load (0.2ms) SELECT "photos".* FROM "photos" ORDER BY RANDOM() LIMIT 1 +Rendered pages/index.html.erb within layouts/photos (2.5ms) +Completed 200 OK in 18ms (Views: 4.5ms | ActiveRecord: 0.2ms) + + +Started GET "/admin" for 127.0.0.1 at 2010-10-11 07:15:11 -0400 + + +Started GET "/admin/dashboard" for 127.0.0.1 at 2010-10-11 07:15:12 -0400 + Processing by Admin::DashboardController#show as HTML +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 (3.7ms) +Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/dashboard/show.html.erb within layouts/admin/base (98.1ms) +Completed in 111ms + +ActionView::Template::Error (uninitialized constant TypusUser): + 11: <% @current_user.application(app).each do |model| %> + 12: + 13: <% + 14: klass = model.constantize + 15: klass_human_name = klass.model_name.human.gsub("/", " ").pluralize + 16: admin_items_path = { :controller => "admin/#{klass.to_resource}" } + 17: %> + + +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 (0.9ms) +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 (2.3ms) +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 (6.4ms) + + +Started GET "/pages/about" for 127.0.0.1 at 2010-10-11 07:16:52 -0400 + Processing by PagesController#about as HTML +Rendered pages/about.html.erb within layouts/photos (2.2ms) +Completed 200 OK in 5ms (Views: 4.4ms | ActiveRecord: 0.0ms) + + +Started GET "/contact" for 127.0.0.1 at 2010-10-11 07:16:53 -0400 + +AbstractController::ActionNotFound (The action 'contact' could not be found for PagesController): + + +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/unknown_action.erb within rescues/layout (0.7ms) + + +Started GET "/admin" for 127.0.0.1 at 2010-10-11 07:16:58 -0400 + +AbstractController::ActionNotFound (The action 'admin' could not be found for PagesController): + + +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/unknown_action.erb within rescues/layout (0.7ms) + + +Started GET "/admin" for 127.0.0.1 at 2010-10-11 07:17:58 -0400 + + +Started GET "/admin/dashboard" for 127.0.0.1 at 2010-10-11 07:17:58 -0400 + Processing by Admin::DashboardController#show as HTML +Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/dashboard/_sidebar.html.erb (0.4ms) +Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/helpers/dashboard/_applications.html.erb (32.3ms) +Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/dashboard/show.html.erb within layouts/admin/base (38.7ms) +Completed in 87ms + +ActionView::Template::Error (uninitialized constant TypusUser): + 11: <% @current_user.application(app).each do |model| %> + 12: + 13: <% + 14: klass = model.constantize + 15: klass_human_name = klass.model_name.human.gsub("/", " ").pluralize + 16: admin_items_path = { :controller => "admin/#{klass.to_resource}" } + 17: %> + + +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 (0.9ms) +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 (2.3ms) +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 (6.6ms) + + +Started GET "/about" for 127.0.0.1 at 2010-10-11 07:18:03 -0400 + Processing by PagesController#about as HTML +Rendered pages/about.html.erb within layouts/photos (2.6ms) +Completed 200 OK in 5ms (Views: 4.8ms | ActiveRecord: 0.0ms) + + +Started GET "/" for 127.0.0.1 at 2010-10-11 07:18:05 -0400 + Processing by PagesController#index as HTML + Photo Load (16.8ms) SELECT "photos".* FROM "photos" ORDER BY RANDOM() LIMIT 1 +Rendered pages/index.html.erb within layouts/photos (2.7ms) +Completed 200 OK in 62ms (Views: 5.1ms | ActiveRecord: 16.8ms) + + +Started GET "/" for 127.0.0.1 at 2010-10-11 07:18:05 -0400 + Processing by PagesController#index as HTML + Photo Load (0.2ms) SELECT "photos".* FROM "photos" ORDER BY RANDOM() LIMIT 1 +Rendered pages/index.html.erb within layouts/photos (2.6ms) +Completed 200 OK in 17ms (Views: 4.5ms | ActiveRecord: 0.2ms) + + +Started GET "/about" for 127.0.0.1 at 2010-10-11 07:18:08 -0400 + Processing by PagesController#about as HTML +Rendered pages/about.html.erb within layouts/photos (2.2ms) +Completed 200 OK in 4ms (Views: 3.9ms | ActiveRecord: 0.0ms) + + +Started GET "/contact" for 127.0.0.1 at 2010-10-11 07:18:09 -0400 + +AbstractController::ActionNotFound (The action 'contact' could not be found for PagesController): + + +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/unknown_action.erb within rescues/layout (0.7ms) + + +Started GET "/categories" for 127.0.0.1 at 2010-10-11 07:18:10 -0400 + Processing by CategoriesController#index as HTML + Category Load (1.5ms) SELECT "categories".* FROM "categories" LIMIT 4 OFFSET 0 + SQL (0.2ms) SELECT COUNT(*) AS count_id FROM "categories" + Photo Load (0.2ms) SELECT "photos".* FROM "photos" ORDER BY RANDOM() LIMIT 2 +Rendered categories/index.html.erb within layouts/photos (8.2ms) +Completed 200 OK in 88ms (Views: 32.7ms | ActiveRecord: 1.9ms) + + +Started GET "/categories" for 127.0.0.1 at 2010-10-11 07:19:14 -0400 + Processing by CategoriesController#index as HTML + Category Load (0.9ms) SELECT "categories".* FROM "categories" LIMIT 4 OFFSET 0 + SQL (0.1ms) SELECT COUNT(*) AS count_id FROM "categories" + Photo Load (0.2ms) SELECT "photos".* FROM "photos" ORDER BY RANDOM() LIMIT 2 +Rendered categories/index.html.erb within layouts/photos (7.9ms) +Completed 200 OK in 67ms (Views: 9.8ms | ActiveRecord: 1.3ms) + + +Started GET "/categories/1/photos" for 127.0.0.1 at 2010-10-11 07:19:37 -0400 + Processing by PhotosController#index as HTML Parameters: {"category_id"=>"1"} - Category Load (0.5ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (48.8ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 11 OFFSET 0 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )  -Rendering template within layouts/photos -Rendering photos/index -Completed in 279ms (View: 144, DB: 50) | 200 OK [http://192.168.42.240/categories/1/photos] + Category Load (0.4ms) SELECT "categories".* FROM "categories" WHERE ("categories"."id" = 1) LIMIT 1 + Photo Load (0.2ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 11 OFFSET 0 +Rendered photos/index.html.erb within layouts/photos (2.5ms) +Completed 200 OK in 68ms (Views: 4.9ms | ActiveRecord: 0.6ms) -Processing PhotosController#index (for 192.168.42.200 at 2010-10-10 11:06:54) [GET] - Parameters: {"category_id"=>"1", "page"=>"2"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (0.9ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 11 OFFSET 11 -Rendering template within layouts/photos -Rendering photos/index -Completed in 29ms (View: 13, DB: 1) | 200 OK [http://192.168.42.240/categories/1/photos?page=2] +Started GET "/categories" for 127.0.0.1 at 2010-10-11 07:19:38 -0400 + Processing by CategoriesController#index as HTML + Category Load (1.2ms) SELECT "categories".* FROM "categories" LIMIT 4 OFFSET 0 + SQL (0.1ms) SELECT COUNT(*) AS count_id FROM "categories" + Photo Load (0.2ms) SELECT "photos".* FROM "photos" ORDER BY RANDOM() LIMIT 2 +Rendered categories/index.html.erb within layouts/photos (10.0ms) +Completed 200 OK in 68ms (Views: 12.2ms | ActiveRecord: 1.6ms) -Processing CategoriesController#index (for 192.168.42.200 at 2010-10-10 11:07:31) [GET] - Category Load (54.1ms) SELECT * FROM "categories" LIMIT 4 OFFSET 0 - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories"  - Photo Load (22.7ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 2 -Rendering template within layouts/photos -Rendering categories/index -Completed in 146ms (View: 42, DB: 77) | 200 OK [http://192.168.42.240/categories] +Started GET "/" for 127.0.0.1 at 2010-10-11 07:19:40 -0400 + Processing by PagesController#index as HTML + Photo Load (0.2ms) SELECT "photos".* FROM "photos" ORDER BY RANDOM() LIMIT 1 +Rendered pages/index.html.erb within layouts/photos (2.7ms) +Completed 200 OK in 18ms (Views: 4.9ms | ActiveRecord: 0.2ms) -Processing PhotosController#index (for 192.168.42.200 at 2010-10-10 11:07:33) [GET] +Started GET "/" for 127.0.0.1 at 2010-10-11 07:19:40 -0400 + Processing by PagesController#index as HTML + Photo Load (0.2ms) SELECT "photos".* FROM "photos" ORDER BY RANDOM() LIMIT 1 +Rendered pages/index.html.erb within layouts/photos (2.4ms) +Completed 200 OK in 19ms (Views: 4.4ms | ActiveRecord: 0.2ms) + + +Started GET "/categories/2/photos" for 127.0.0.1 at 2010-10-11 07:19:41 -0400 + Processing by PhotosController#index as HTML Parameters: {"category_id"=>"2"} - Category Load (0.3ms) SELECT * FROM "categories" WHERE ("categories"."id" = '2') LIMIT 1 - Photo Load (1.0ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 2 ) LIMIT 11 OFFSET 0 -Rendering template within layouts/photos -Rendering photos/index -Completed in 52ms (View: 35, DB: 1) | 200 OK [http://192.168.42.240/categories/2/photos] + Category Load (0.5ms) SELECT "categories".* FROM "categories" WHERE ("categories"."id" = 2) LIMIT 1 + Photo Load (0.3ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 2 ) LIMIT 11 OFFSET 0 +Rendered photos/index.html.erb within layouts/photos (2.7ms) +Completed 200 OK in 75ms (Views: 5.3ms | ActiveRecord: 0.7ms) -Processing CategoriesController#index (for 192.168.42.200 at 2010-10-10 11:07:40) [GET] - Category Load (31.0ms) SELECT * FROM "categories" LIMIT 4 OFFSET 0 - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories"  - Photo Load (6.7ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 2 -Rendering template within layouts/photos -Rendering categories/index -Completed in 62ms (View: 12, DB: 38) | 200 OK [http://192.168.42.240/categories] +Started GET "/categories" for 127.0.0.1 at 2010-10-11 07:19:42 -0400 + Processing by CategoriesController#index as HTML + Category Load (0.9ms) SELECT "categories".* FROM "categories" LIMIT 4 OFFSET 0 + SQL (0.1ms) SELECT COUNT(*) AS count_id FROM "categories" + Photo Load (0.2ms) SELECT "photos".* FROM "photos" ORDER BY RANDOM() LIMIT 2 +Rendered categories/index.html.erb within layouts/photos (36.8ms) +Completed 200 OK in 65ms (Views: 38.8ms | ActiveRecord: 1.2ms) -Processing PhotosController#index (for 192.168.42.200 at 2010-10-10 11:07:40) [GET] +Started GET "/categories/1/photos" for 127.0.0.1 at 2010-10-11 07:19:43 -0400 + Processing by PhotosController#index as HTML Parameters: {"category_id"=>"1"} - Category Load (0.3ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (1.4ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 11 OFFSET 0 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )  -Rendering template within layouts/photos -Rendering photos/index -Completed in 38ms (View: 20, DB: 2) | 200 OK [http://192.168.42.240/categories/1/photos] + Category Load (0.4ms) SELECT "categories".* FROM "categories" WHERE ("categories"."id" = 1) LIMIT 1 + Photo Load (0.2ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 11 OFFSET 0 +Rendered photos/index.html.erb within layouts/photos (2.5ms) +Completed 200 OK in 68ms (Views: 5.0ms | ActiveRecord: 0.7ms) -Processing PhotosController#index (for 192.168.42.200 at 2010-10-10 11:07:42) [GET] - Parameters: {"category_id"=>"1", "page"=>"2"} - Category Load (0.4ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (0.6ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 11 OFFSET 11 -Rendering template within layouts/photos -Rendering photos/index -Completed in 27ms (View: 10, DB: 1) | 200 OK [http://192.168.42.240/categories/1/photos?page=2] +Started GET "/" for 127.0.0.1 at 2010-10-11 07:19:43 -0400 + Processing by PagesController#index as HTML + Photo Load (0.2ms) SELECT "photos".* FROM "photos" ORDER BY RANDOM() LIMIT 1 +Rendered pages/index.html.erb within layouts/photos (2.2ms) +Completed 200 OK in 17ms (Views: 4.1ms | ActiveRecord: 0.2ms) -Processing CategoriesController#index (for 192.168.42.200 at 2010-10-10 11:07:51) [GET] - Category Load (35.5ms) SELECT * FROM "categories" LIMIT 4 OFFSET 0 - SQL (0.3ms) SELECT count(*) AS count_all FROM "categories"  - Photo Load (11.7ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 2 -Rendering template within layouts/photos -Rendering categories/index -Completed in 142ms (View: 10, DB: 48) | 200 OK [http://192.168.42.240/categories] +Started GET "/" for 127.0.0.1 at 2010-10-11 07:19:43 -0400 + Processing by PagesController#index as HTML + Photo Load (0.2ms) SELECT "photos".* FROM "photos" ORDER BY RANDOM() LIMIT 1 +Rendered pages/index.html.erb within layouts/photos (2.5ms) +Completed 200 OK in 17ms (Views: 4.3ms | ActiveRecord: 0.2ms) -Processing PagesController#index (for 192.168.42.200 at 2010-10-10 11:15:14) [GET] - Photo Load (16.9ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -Completed in 57ms (View: 31, DB: 17) | 200 OK [http://192.168.42.240/] +Started GET "/categories" for 127.0.0.1 at 2010-10-11 07:19:45 -0400 + Processing by CategoriesController#index as HTML + Category Load (0.9ms) SELECT "categories".* FROM "categories" LIMIT 4 OFFSET 0 + SQL (0.1ms) SELECT COUNT(*) AS count_id FROM "categories" + Photo Load (0.2ms) SELECT "photos".* FROM "photos" ORDER BY RANDOM() LIMIT 2 +Rendered categories/index.html.erb within layouts/photos (7.7ms) +Completed 200 OK in 36ms (Views: 9.9ms | ActiveRecord: 1.2ms) -Processing PagesController#about (for 127.0.0.1 at 2010-10-10 11:16:19) [GET] -Rendering template within layouts/photos -Rendering pages/about -Completed in 43ms (View: 42, DB: 0) | 200 OK [http://localhost/about] +Started GET "/" for 127.0.0.1 at 2010-10-11 07:19:46 -0400 + Processing by PagesController#index as HTML + Photo Load (0.2ms) SELECT "photos".* FROM "photos" ORDER BY RANDOM() LIMIT 1 +Rendered pages/index.html.erb within layouts/photos (2.4ms) +Completed 200 OK in 17ms (Views: 4.4ms | ActiveRecord: 0.2ms) -Processing Admin::CategoriesController#index (for 127.0.0.1 at 2010-10-10 11:35:13) [GET] - Parameters: {"action"=>"index", "controller"=>"admin/categories"} - TypusUser Load (17.4ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - SQL (0.6ms) SELECT count(*) AS count_all FROM "categories"  -Rendering template within layouts/admin -Rendering admin/resources/index -Rendered admin/helpers/_list (0.1ms) -Rendered admin/helpers/_search (0.6ms) - Category Load (0.6ms) SELECT "categories".* FROM "categories" ORDER BY categories.id ASC LIMIT 15 OFFSET 0 -Rendered admin/helpers/_table_header (0.1ms) -Rendered admin/helpers/_header (0.3ms) -Rendered admin/helpers/_login_info (0.4ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 402ms (View: 127, DB: 19) | 200 OK [http://localhost/admin/categories] +Started GET "/" for 127.0.0.1 at 2010-10-11 07:19:46 -0400 + Processing by PagesController#index as HTML + Photo Load (0.2ms) SELECT "photos".* FROM "photos" ORDER BY RANDOM() LIMIT 1 +Rendered pages/index.html.erb within layouts/photos (2.4ms) +Completed 200 OK in 54ms (Views: 4.7ms | ActiveRecord: 0.2ms) -Processing PagesController#index (for 127.0.0.1 at 2010-10-10 11:35:15) [GET] - Photo Load (31.8ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -Completed in 78ms (View: 39, DB: 32) | 200 OK [http://localhost/] +Started GET "/about" for 127.0.0.1 at 2010-10-11 07:19:47 -0400 + Processing by PagesController#about as HTML +Rendered pages/about.html.erb within layouts/photos (2.0ms) +Completed 200 OK in 4ms (Views: 3.7ms | ActiveRecord: 0.0ms) -Processing TypusController#dashboard (for 127.0.0.1 at 2010-10-10 11:35:20) [GET] - Parameters: {"action"=>"dashboard", "controller"=>"typus"} - TypusUser Load (0.6ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  -Rendering template within layouts/admin -Rendering typus/dashboard -Rendered admin/dashboard/_sidebar (1.0ms) -Rendered admin/helpers/_applications (4.6ms) -Rendered admin/helpers/_header (0.2ms) -Rendered admin/helpers/_login_info (0.4ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 105ms (View: 98, DB: 1) | 200 OK [http://localhost/admin] +Started GET "/categories" for 127.0.0.1 at 2010-10-11 07:19:48 -0400 + Processing by CategoriesController#index as HTML + Category Load (1.1ms) SELECT "categories".* FROM "categories" LIMIT 4 OFFSET 0 + SQL (0.1ms) SELECT COUNT(*) AS count_id FROM "categories" + Photo Load (0.2ms) SELECT "photos".* FROM "photos" ORDER BY RANDOM() LIMIT 2 +Rendered categories/index.html.erb within layouts/photos (7.6ms) +Completed 200 OK in 65ms (Views: 9.5ms | ActiveRecord: 1.4ms) -Processing Admin::PhotosController#index (for 127.0.0.1 at 2010-10-10 11:35:23) [GET] - Parameters: {"action"=>"index", "controller"=>"admin/photos"} - TypusUser Load (0.5ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos"  -Rendering template within layouts/admin -Rendering admin/resources/index -Rendered admin/helpers/_list (0.1ms) -Rendered admin/helpers/_search (0.6ms) - Photo Load (1.6ms) SELECT "photos".* FROM "photos" ORDER BY photos.id ASC LIMIT 15 OFFSET 0 -Rendered admin/helpers/_table_header (0.1ms) - Category Load (0.4ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 1 )  - Category Load (0.4ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 2 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 3 )  - Category Load (0.2ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 4 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 5 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 6 )  - Category Load (0.4ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 7 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 8 )  - Category Load (0.2ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 10 )  - Category Load (0.2ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 11 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 12 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 13 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 14 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 15 )  - Category Load (0.2ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 17 )  -Rendered admin/helpers/_pagination (17.6ms) -Rendered admin/helpers/_header (0.2ms) -Rendered admin/helpers/_login_info (0.4ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 110ms (View: 80, DB: 7) | 200 OK [http://localhost/admin/photos] - - -Processing Admin::PhotosController#edit (for 127.0.0.1 at 2010-10-10 11:35:26) [GET] - Parameters: {"action"=>"edit", "id"=>"3", "controller"=>"admin/photos"} - TypusUser Load (0.6ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - Photo Load (0.3ms) SELECT * FROM "photos" WHERE ("photos"."id" = 3)  -Rendering template within layouts/admin -Rendering admin/resources/edit -Rendered admin/helpers/_list (0.1ms) -Rendered admin/helpers/_search (0.6ms) -Rendered admin/helpers/_preview (1.3ms) -Rendered admin/templates/_file (52.1ms) -Rendered admin/templates/_string (0.8ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/templates/_text (0.6ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/resources/_form (61.5ms) - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories"  - Category Load (0.6ms) SELECT * FROM "categories"  - Category Load (0.4ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 3 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 3)  - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 3 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 3)  - Category Load (0.4ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 3 ) ORDER BY categories.id ASC LIMIT 15 OFFSET 0 -Rendered admin/helpers/_table_header (0.1ms) -Rendered admin/helpers/_header (0.2ms) -Rendered admin/helpers/_login_info (0.4ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 119ms (View: 94, DB: 3) | 200 OK [http://localhost/admin/photos/edit/3] - - -Processing Admin::PhotosController#edit (for 127.0.0.1 at 2010-10-10 11:35:30) [GET] - Parameters: {"action"=>"edit", "id"=>"6", "controller"=>"admin/photos"} - TypusUser Load (0.5ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - Photo Load (0.3ms) SELECT * FROM "photos" WHERE ("photos"."id" = 6)  -Rendering template within layouts/admin -Rendering admin/resources/edit -Rendered admin/helpers/_list (0.1ms) -Rendered admin/helpers/_search (0.6ms) -Rendered admin/helpers/_preview (0.2ms) -Rendered admin/templates/_file (4.9ms) -Rendered admin/templates/_string (0.7ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/templates/_text (0.4ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/resources/_form (11.1ms) - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories"  - Category Load (0.5ms) SELECT * FROM "categories"  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 6 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 6)  - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 6 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 6)  - Category Load (0.4ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 6 ) ORDER BY categories.id ASC LIMIT 15 OFFSET 0 -Rendered admin/helpers/_table_header (0.1ms) -Rendered admin/helpers/_header (0.2ms) -Rendered admin/helpers/_login_info (0.5ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 63ms (View: 37, DB: 2) | 200 OK [http://localhost/admin/photos/edit/6] - - -Processing Admin::PhotosController#edit (for 127.0.0.1 at 2010-10-10 11:35:33) [GET] - Parameters: {"action"=>"edit", "id"=>"14", "controller"=>"admin/photos"} - TypusUser Load (0.6ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - Photo Load (0.3ms) SELECT * FROM "photos" WHERE ("photos"."id" = 14)  -Rendering template within layouts/admin -Rendering admin/resources/edit -Rendered admin/helpers/_list (0.1ms) -Rendered admin/helpers/_search (0.5ms) -Rendered admin/helpers/_preview (0.2ms) -Rendered admin/templates/_file (4.9ms) -Rendered admin/templates/_string (0.7ms) -Rendered admin/templates/_string (0.7ms) -Rendered admin/templates/_text (0.5ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/resources/_form (11.6ms) - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories"  - Category Load (0.5ms) SELECT * FROM "categories"  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 14 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 14)  - SQL (0.3ms) SELECT count(*) AS count_all FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 14 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 14)  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 14 ) ORDER BY categories.id ASC LIMIT 15 OFFSET 0 -Rendered admin/helpers/_table_header (0.1ms) -Rendered admin/helpers/_header (0.2ms) -Rendered admin/helpers/_login_info (0.4ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 120ms (View: 97, DB: 2) | 200 OK [http://localhost/admin/photos/edit/14] - - -Processing Admin::PhotosController#index (for 127.0.0.1 at 2010-10-10 11:39:06) [GET] - Parameters: {"action"=>"index", "sort_order"=>"desc", "page"=>"2", "controller"=>"admin/photos"} - TypusUser Load (0.6ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos"  -Rendering template within layouts/admin -Rendering admin/resources/index -Rendered admin/helpers/_list (0.1ms) -Rendered admin/helpers/_search (0.8ms) -Rendered admin/helpers/_remove_filter_link (14.8ms) - Photo Load (1.0ms) SELECT "photos".* FROM "photos" ORDER BY photos.id ASC LIMIT 15 OFFSET 15 -Rendered admin/helpers/_table_header (0.1ms) - Category Load (0.4ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 18 )  - Category Load (0.4ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 19 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 20 )  - Category Load (0.4ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 21 )  - Category Load (0.6ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 22 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 23 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 24 )  -Rendered admin/helpers/_pagination (0.6ms) -Rendered admin/helpers/_header (0.2ms) -Rendered admin/helpers/_login_info (0.4ms) -Rendered admin/shared/_footer (0.3ms) -Completed in 150ms (View: 123, DB: 4) | 200 OK [http://localhost/admin/photos?page=2&sort_order=desc] - - -Processing Admin::PhotosController#index (for 127.0.0.1 at 2010-10-10 11:39:11) [GET] - Parameters: {"action"=>"index", "sort_order"=>"desc", "page"=>"1", "controller"=>"admin/photos"} - TypusUser Load (0.6ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos"  -Rendering template within layouts/admin -Rendering admin/resources/index -Rendered admin/helpers/_list (0.1ms) -Rendered admin/helpers/_search (0.5ms) -Rendered admin/helpers/_remove_filter_link (0.2ms) - Photo Load (1.4ms) SELECT "photos".* FROM "photos" ORDER BY photos.id ASC LIMIT 15 OFFSET 0 -Rendered admin/helpers/_table_header (0.1ms) - Category Load (0.4ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 1 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 2 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 3 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 4 )  - Category Load (0.5ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 5 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 6 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 7 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 8 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 10 )  - Category Load (0.2ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 11 )  - Category Load (0.2ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 12 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 13 )  - Category Load (0.2ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 14 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 15 )  - Category Load (0.2ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 17 )  -Rendered admin/helpers/_pagination (0.5ms) -Rendered admin/helpers/_header (60.8ms) -Rendered admin/helpers/_login_info (0.4ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 148ms (View: 119, DB: 7) | 200 OK [http://localhost/admin/photos?page=1&sort_order=desc] - - -Processing Admin::PhotosController#new (for 127.0.0.1 at 2010-10-10 11:42:28) [GET] - Parameters: {"action"=>"new", "controller"=>"admin/photos"} - TypusUser Load (0.6ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - -MissingSourceFile (no such file to load -- mini_exiftool): - app/models/photo.rb:1 - vendor/plugins/typus/app/controllers/admin/master_controller.rb:277:in `set_resource' - -Rendered rescues/_trace (36.1ms) -Rendered rescues/_request_and_response (0.3ms) -Rendering rescues/layout (internal_server_error) - - -Processing Admin::PhotosController#new (for 127.0.0.1 at 2010-10-10 11:42:38) [GET] - Parameters: {"action"=>"new", "controller"=>"admin/photos"} - TypusUser Load (0.3ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  -Rendering template within layouts/admin -Rendering admin/resources/new -Rendered admin/helpers/_list (1.1ms) -Rendered admin/templates/_file (2.7ms) -Rendered admin/templates/_string (1.8ms) -Rendered admin/templates/_string (0.7ms) -Rendered admin/templates/_text (1.5ms) -Rendered admin/templates/_string (0.7ms) -Rendered admin/resources/_form (23.1ms) -Rendered admin/helpers/_header (1.4ms) -Rendered admin/helpers/_login_info (1.3ms) -Rendered admin/shared/_footer (0.9ms) -Completed in 131ms (View: 66, DB: 0) | 200 OK [http://localhost/admin/photos/new] - - -Processing Admin::PhotosController#index (for 127.0.0.1 at 2010-10-10 11:42:54) [GET] - Parameters: {"action"=>"index", "controller"=>"admin/photos"} - TypusUser Load (0.6ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos"  -Rendering template within layouts/admin -Rendering admin/resources/index -Rendered admin/helpers/_list (0.1ms) -Rendered admin/helpers/_search (1.9ms) - Photo Load (1.5ms) SELECT "photos".* FROM "photos" ORDER BY photos.id ASC LIMIT 15 OFFSET 0 -Rendered admin/helpers/_table_header (1.0ms) - Category Load (0.4ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 1 )  - Category Load (0.4ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 2 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 3 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 4 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 5 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 6 )  - Category Load (0.5ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 7 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 8 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 10 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 11 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 12 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 13 )  - Category Load (0.4ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 14 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 15 )  - Category Load (0.2ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 17 )  -Rendered admin/helpers/_pagination (1.6ms) -Rendered admin/helpers/_header (0.2ms) -Rendered admin/helpers/_login_info (0.4ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 131ms (View: 103, DB: 7) | 200 OK [http://localhost/admin/photos] - - -Processing Admin::PhotosController#destroy (for 127.0.0.1 at 2010-10-10 11:43:01) [GET] - Parameters: {"action"=>"destroy", "id"=>"15", "controller"=>"admin/photos"} - TypusUser Load (0.6ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - Photo Load (0.3ms) SELECT * FROM "photos" WHERE ("photos"."id" = 15)  -[paperclip] Deleting attachments. -[paperclip] deleting /Users/danbee/Sites/rails/photos/public/system/photos/15/original/Croagh Patrick Sunset.jpg -[paperclip] deleting /Users/danbee/Sites/rails/photos/public/system/photos/15/size11/Croagh Patrick Sunset.jpg -[paperclip] deleting /Users/danbee/Sites/rails/photos/public/system/photos/15/size8/Croagh Patrick Sunset.jpg -[paperclip] deleting /Users/danbee/Sites/rails/photos/public/system/photos/15/size5/Croagh Patrick Sunset.jpg -[paperclip] deleting /Users/danbee/Sites/rails/photos/public/system/photos/15/size3/Croagh Patrick Sunset.jpg -[paperclip] deleting /Users/danbee/Sites/rails/photos/public/system/photos/15/size2/Croagh Patrick Sunset.jpg -[paperclip] deleting /Users/danbee/Sites/rails/photos/public/system/photos/15/size17/Croagh Patrick Sunset.jpg - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 15 )  - SQL (0.3ms) DELETE FROM "categories_photos" WHERE photo_id = 15 AND category_id IN (1) - Photo Destroy (0.1ms) DELETE FROM "photos" WHERE "id" = 15 -Redirected to http://localhost:3000/admin/photos -Completed in 101ms (DB: 2) | 302 Found [http://localhost/admin/photos/destroy/15] - - -Processing Admin::PhotosController#index (for 127.0.0.1 at 2010-10-10 11:43:01) [GET] - Parameters: {"action"=>"index", "controller"=>"admin/photos"} - TypusUser Load (0.6ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos"  -Rendering template within layouts/admin -Rendering admin/resources/index -Rendered admin/helpers/_list (0.1ms) -Rendered admin/helpers/_search (0.5ms) - Photo Load (1.5ms) SELECT "photos".* FROM "photos" ORDER BY photos.id ASC LIMIT 15 OFFSET 0 -Rendered admin/helpers/_table_header (0.2ms) - Category Load (0.4ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 1 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 2 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 3 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 4 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 5 )  - Category Load (0.4ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 6 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 7 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 8 )  - Category Load (0.2ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 10 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 11 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 12 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 13 )  - Category Load (0.4ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 14 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 17 )  - Category Load (0.2ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 18 )  -Rendered admin/helpers/_pagination (0.5ms) -Rendered admin/helpers/_header (0.2ms) -Rendered admin/helpers/_login_info (0.4ms) -Rendered admin/helpers/_flash_message (11.1ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 158ms (View: 130, DB: 7) | 200 OK [http://localhost/admin/photos] - - -Processing Admin::PhotosController#new (for 127.0.0.1 at 2010-10-10 11:43:03) [GET] - Parameters: {"action"=>"new", "controller"=>"admin/photos"} - TypusUser Load (0.5ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  -Rendering template within layouts/admin -Rendering admin/resources/new -Rendered admin/helpers/_list (0.1ms) -Rendered admin/templates/_file (1.9ms) -Rendered admin/templates/_string (0.7ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/templates/_text (0.6ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/resources/_form (8.1ms) -Rendered admin/helpers/_header (0.3ms) -Rendered admin/helpers/_login_info (0.4ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 98ms (View: 78, DB: 1) | 200 OK [http://localhost/admin/photos/new] - - -Processing Admin::PhotosController#create (for 127.0.0.1 at 2010-10-10 11:43:10) [POST] - Parameters: {"photo"=>{"photo"=>#, "title"=>"", "flickr_url"=>"", "sort"=>"", "description"=>""}, "commit"=>"Create Photo", "action"=>"create", "authenticity_token"=>"MRMA5jN8F+L8Qu/qxudBGU2lL/82P68aMbmoNbKb5zw=", "controller"=>"admin/photos"} - TypusUser Load (0.6ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101010-6110-1knzjx0-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101010-6110-1knzjx0-0.jpg[0]' -resize "x308" -crop "308x308+147+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101010-6110-1knzjx0-020101010-6110-1gqzy8g-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101010-6110-1knzjx0-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101010-6110-1knzjx0-0.jpg[0]' -resize "1024x1024>" '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101010-6110-1knzjx0-020101010-6110-43ntfm-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101010-6110-1knzjx0-020101010-6110-43ntfm-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101010-6110-1knzjx0-020101010-6110-43ntfm-0[0]' -resize "x224" -crop "224x224+107+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101010-6110-1knzjx0-020101010-6110-43ntfm-020101010-6110-16bju8w-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101010-6110-1knzjx0-020101010-6110-43ntfm-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101010-6110-1knzjx0-020101010-6110-43ntfm-0[0]' -resize "x140" -crop "140x140+67+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101010-6110-1knzjx0-020101010-6110-43ntfm-020101010-6110-v146xo-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101010-6110-1knzjx0-020101010-6110-43ntfm-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101010-6110-1knzjx0-020101010-6110-43ntfm-0[0]' -resize "x84" -crop "84x84+40+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101010-6110-1knzjx0-020101010-6110-43ntfm-020101010-6110-gsgypc-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101010-6110-1knzjx0-020101010-6110-43ntfm-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101010-6110-1knzjx0-020101010-6110-43ntfm-0[0]' -resize "x56" -crop "56x56+26+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101010-6110-1knzjx0-020101010-6110-43ntfm-020101010-6110-bs36b1-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101010-6110-1knzjx0-020101010-6110-43ntfm-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101010-6110-1knzjx0-020101010-6110-43ntfm-0[0]' -resize "x476" -crop "476x476+227+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101010-6110-1knzjx0-020101010-6110-43ntfm-020101010-6110-8krcq-0' 2>/dev/null - Photo Create (0.5ms) INSERT INTO "photos" ("photo_file_size", "created_at", "title", "flickr_url", "photo_file_name", "updated_at", "photo_content_type", "photo_updated_at", "description", "sort") VALUES(133140, '2010-10-10 15:43:13', '', '', 'Croagh Patrick Sunset.jpg', '2010-10-10 15:43:13', 'image/jpeg', '2010-10-10 15:43:10', '', NULL) - Photo Update (0.3ms) UPDATE "photos" SET "updated_at" = '2010-10-10 15:43:23', "created_at" = '2010-10-10 15:43:13', "photo_file_name" = 'Croagh Patrick Sunset.jpg', "title" = 'Croagh Patrick Sunset', "photo_file_size" = 133140, "photo_updated_at" = '2010-10-10 15:43:10', "flickr_url" = '', "description" = 'The west of Ireland is so photogenic!', "photo_content_type" = 'image/jpeg' WHERE "id" = 25 -[paperclip] Saving attachments. -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/25/size11/Croagh Patrick Sunset.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/25/original/Croagh Patrick Sunset.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/25/size8/Croagh Patrick Sunset.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/25/size5/Croagh Patrick Sunset.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/25/size3/Croagh Patrick Sunset.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/25/size2/Croagh Patrick Sunset.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/25/size17/Croagh Patrick Sunset.jpg -[paperclip] Saving attachments. -Redirected to http://localhost:3000/admin/photos/edit/25 -Completed in 14877ms (DB: 1) | 302 Found [http://localhost/admin/photos/create] - - -Processing Admin::PhotosController#edit (for 127.0.0.1 at 2010-10-10 11:43:25) [GET] - Parameters: {"action"=>"edit", "id"=>"25", "controller"=>"admin/photos"} - TypusUser Load (0.6ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - Photo Load (0.3ms) SELECT * FROM "photos" WHERE ("photos"."id" = 25)  -Rendering template within layouts/admin -Rendering admin/resources/edit -Rendered admin/helpers/_list (0.1ms) -Rendered admin/helpers/_search (0.7ms) -Rendered admin/helpers/_preview (1.0ms) -Rendered admin/templates/_file (9.3ms) -Rendered admin/templates/_string (0.8ms) -Rendered admin/templates/_string (0.7ms) -Rendered admin/templates/_text (0.5ms) -Rendered admin/templates/_string (0.7ms) -Rendered admin/resources/_form (16.1ms) - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories"  - Category Load (0.5ms) SELECT * FROM "categories"  - Category Load (0.1ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 25 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 25)  - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 25 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 25)  - Category Load (0.1ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 25 ) ORDER BY categories.id ASC LIMIT 15 OFFSET 0 -Rendered admin/helpers/_header (0.2ms) -Rendered admin/helpers/_login_info (0.4ms) -Rendered admin/helpers/_flash_message (0.1ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 82ms (View: 56, DB: 2) | 200 OK [http://localhost/admin/photos/edit/25] - - -Processing Admin::PhotosController#index (for 127.0.0.1 at 2010-10-10 11:43:35) [GET] - Parameters: {"action"=>"index", "controller"=>"admin/photos"} - TypusUser Load (0.5ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos"  -Rendering template within layouts/admin -Rendering admin/resources/index -Rendered admin/helpers/_list (0.1ms) -Rendered admin/helpers/_search (0.5ms) - Photo Load (1.5ms) SELECT "photos".* FROM "photos" ORDER BY photos.id ASC LIMIT 15 OFFSET 0 -Rendered admin/helpers/_table_header (0.1ms) - Category Load (0.5ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 1 )  - Category Load (0.4ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 2 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 3 )  - Category Load (0.4ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 4 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 5 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 6 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 7 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 8 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 10 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 11 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 12 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 13 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 14 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 17 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 18 )  -Rendered admin/helpers/_pagination (0.6ms) -Rendered admin/helpers/_header (0.2ms) -Rendered admin/helpers/_login_info (0.4ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 89ms (View: 61, DB: 7) | 200 OK [http://localhost/admin/photos] - - -Processing Admin::PhotosController#index (for 127.0.0.1 at 2010-10-10 11:43:43) [GET] - Parameters: {"action"=>"index", "sort_order"=>"desc", "page"=>"2", "controller"=>"admin/photos"} - TypusUser Load (1.0ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos"  -Rendering template within layouts/admin -Rendering admin/resources/index -Rendered admin/helpers/_list (0.1ms) -Rendered admin/helpers/_search (0.7ms) -Rendered admin/helpers/_remove_filter_link (0.8ms) - Photo Load (0.8ms) SELECT "photos".* FROM "photos" ORDER BY photos.id ASC LIMIT 15 OFFSET 15 -Rendered admin/helpers/_table_header (0.1ms) - Category Load (0.4ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 19 )  - Category Load (0.7ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 20 )  - Category Load (0.7ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 21 )  - Category Load (0.5ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 22 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 23 )  - Category Load (0.4ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 24 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 25 )  -Rendered admin/helpers/_pagination (0.6ms) -Rendered admin/helpers/_header (0.2ms) -Rendered admin/helpers/_login_info (0.4ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 76ms (View: 48, DB: 5) | 200 OK [http://localhost/admin/photos?page=2&sort_order=desc] - - -Processing Admin::PhotosController#destroy (for 127.0.0.1 at 2010-10-10 11:43:46) [GET] - Parameters: {"action"=>"destroy", "id"=>"25", "controller"=>"admin/photos"} - TypusUser Load (0.5ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - Photo Load (0.4ms) SELECT * FROM "photos" WHERE ("photos"."id" = 25)  -[paperclip] Deleting attachments. -[paperclip] deleting /Users/danbee/Sites/rails/photos/public/system/photos/25/original/Croagh Patrick Sunset.jpg -[paperclip] deleting /Users/danbee/Sites/rails/photos/public/system/photos/25/size11/Croagh Patrick Sunset.jpg -[paperclip] deleting /Users/danbee/Sites/rails/photos/public/system/photos/25/size8/Croagh Patrick Sunset.jpg -[paperclip] deleting /Users/danbee/Sites/rails/photos/public/system/photos/25/size5/Croagh Patrick Sunset.jpg -[paperclip] deleting /Users/danbee/Sites/rails/photos/public/system/photos/25/size3/Croagh Patrick Sunset.jpg -[paperclip] deleting /Users/danbee/Sites/rails/photos/public/system/photos/25/size2/Croagh Patrick Sunset.jpg -[paperclip] deleting /Users/danbee/Sites/rails/photos/public/system/photos/25/size17/Croagh Patrick Sunset.jpg - Category Load (0.2ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 25 )  - Photo Destroy (0.2ms) DELETE FROM "photos" WHERE "id" = 25 -Redirected to http://localhost:3000/admin/photos?page=2&sort_order=desc -Completed in 102ms (DB: 1) | 302 Found [http://localhost/admin/photos/destroy/25] - - -Processing Admin::PhotosController#index (for 127.0.0.1 at 2010-10-10 11:43:46) [GET] - Parameters: {"action"=>"index", "sort_order"=>"desc", "page"=>"2", "controller"=>"admin/photos"} - TypusUser Load (0.9ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos"  -Rendering template within layouts/admin -Rendering admin/resources/index -Rendered admin/helpers/_list (0.1ms) -Rendered admin/helpers/_search (0.5ms) -Rendered admin/helpers/_remove_filter_link (0.4ms) - Photo Load (0.7ms) SELECT "photos".* FROM "photos" ORDER BY photos.id ASC LIMIT 15 OFFSET 15 -Rendered admin/helpers/_table_header (0.1ms) - Category Load (0.4ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 19 )  - Category Load (0.4ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 20 )  - Category Load (0.4ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 21 )  - Category Load (0.4ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 22 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 23 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 24 )  -Rendered admin/helpers/_pagination (0.6ms) -Rendered admin/helpers/_header (0.2ms) -Rendered admin/helpers/_login_info (0.4ms) -Rendered admin/helpers/_flash_message (0.1ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 73ms (View: 40, DB: 4) | 200 OK [http://localhost/admin/photos?page=2&sort_order=desc] - - -Processing Admin::PhotosController#new (for 127.0.0.1 at 2010-10-10 11:43:48) [GET] - Parameters: {"action"=>"new", "controller"=>"admin/photos"} - TypusUser Load (0.6ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  -Rendering template within layouts/admin -Rendering admin/resources/new -Rendered admin/helpers/_list (0.1ms) -Rendered admin/templates/_file (1.9ms) -Rendered admin/templates/_string (0.7ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/templates/_text (0.6ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/resources/_form (8.2ms) -Rendered admin/helpers/_header (0.2ms) -Rendered admin/helpers/_login_info (0.4ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 40ms (View: 19, DB: 1) | 200 OK [http://localhost/admin/photos/new] - - -Processing Admin::PhotosController#create (for 127.0.0.1 at 2010-10-10 11:43:53) [POST] - Parameters: {"photo"=>{"photo"=>#, "title"=>"", "flickr_url"=>"", "sort"=>"", "description"=>""}, "commit"=>"Create Photo", "action"=>"create", "authenticity_token"=>"MRMA5jN8F+L8Qu/qxudBGU2lL/82P68aMbmoNbKb5zw=", "controller"=>"admin/photos"} - TypusUser Load (0.6ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101010-6110-ulq4o4-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101010-6110-ulq4o4-0.jpg[0]' -resize "x308" -crop "308x308+147+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101010-6110-ulq4o4-020101010-6110-1irc9od-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101010-6110-ulq4o4-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101010-6110-ulq4o4-0.jpg[0]' -resize "1024x1024>" '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101010-6110-ulq4o4-020101010-6110-feor4n-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101010-6110-ulq4o4-020101010-6110-feor4n-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101010-6110-ulq4o4-020101010-6110-feor4n-0[0]' -resize "x224" -crop "224x224+107+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101010-6110-ulq4o4-020101010-6110-feor4n-020101010-6110-pmdsrb-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101010-6110-ulq4o4-020101010-6110-feor4n-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101010-6110-ulq4o4-020101010-6110-feor4n-0[0]' -resize "x140" -crop "140x140+67+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101010-6110-ulq4o4-020101010-6110-feor4n-020101010-6110-fsm27w-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101010-6110-ulq4o4-020101010-6110-feor4n-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101010-6110-ulq4o4-020101010-6110-feor4n-0[0]' -resize "x84" -crop "84x84+40+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101010-6110-ulq4o4-020101010-6110-feor4n-020101010-6110-zzh8oq-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101010-6110-ulq4o4-020101010-6110-feor4n-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101010-6110-ulq4o4-020101010-6110-feor4n-0[0]' -resize "x56" -crop "56x56+26+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101010-6110-ulq4o4-020101010-6110-feor4n-020101010-6110-1yy5ent-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101010-6110-ulq4o4-020101010-6110-feor4n-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101010-6110-ulq4o4-020101010-6110-feor4n-0[0]' -resize "x476" -crop "476x476+227+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101010-6110-ulq4o4-020101010-6110-feor4n-020101010-6110-194xhw8-0' 2>/dev/null - Photo Create (0.4ms) INSERT INTO "photos" ("photo_file_size", "created_at", "title", "flickr_url", "photo_file_name", "updated_at", "photo_content_type", "photo_updated_at", "description", "sort") VALUES(133140, '2010-10-10 15:43:55', '', '', 'Croagh Patrick Sunset.jpg', '2010-10-10 15:43:55', 'image/jpeg', '2010-10-10 15:43:53', '', NULL) -[paperclip] Saving attachments. -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/26/size11/Croagh Patrick Sunset.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/26/original/Croagh Patrick Sunset.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/26/size8/Croagh Patrick Sunset.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/26/size5/Croagh Patrick Sunset.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/26/size3/Croagh Patrick Sunset.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/26/size2/Croagh Patrick Sunset.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/26/size17/Croagh Patrick Sunset.jpg -Redirected to http://localhost:3000/admin/photos/edit/26 -Completed in 3320ms (DB: 1) | 302 Found [http://localhost/admin/photos/create] - - -Processing Admin::PhotosController#edit (for 127.0.0.1 at 2010-10-10 11:43:56) [GET] - Parameters: {"action"=>"edit", "id"=>"26", "controller"=>"admin/photos"} - TypusUser Load (0.6ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - Photo Load (0.3ms) SELECT * FROM "photos" WHERE ("photos"."id" = 26)  -Rendering template within layouts/admin -Rendering admin/resources/edit -Rendered admin/helpers/_list (0.1ms) -Rendered admin/helpers/_search (0.6ms) -Rendered admin/helpers/_preview (0.2ms) -Rendered admin/templates/_file (5.6ms) -Rendered admin/templates/_string (0.8ms) -Rendered admin/templates/_string (0.8ms) -Rendered admin/templates/_text (0.6ms) -Rendered admin/templates/_string (0.8ms) -Rendered admin/resources/_form (96.9ms) - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories"  - Category Load (0.5ms) SELECT * FROM "categories"  - Category Load (0.1ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 26 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 26)  - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 26 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 26)  - Category Load (0.1ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 26 ) ORDER BY categories.id ASC LIMIT 15 OFFSET 0 -Rendered admin/helpers/_header (0.2ms) -Rendered admin/helpers/_login_info (0.4ms) -Rendered admin/helpers/_flash_message (0.1ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 146ms (View: 120, DB: 2) | 200 OK [http://localhost/admin/photos/edit/26] - - -Processing Admin::PhotosController#index (for 127.0.0.1 at 2010-10-10 11:44:01) [GET] - Parameters: {"action"=>"index", "controller"=>"admin/photos"} - TypusUser Load (0.6ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos"  -Rendering template within layouts/admin -Rendering admin/resources/index -Rendered admin/helpers/_list (0.1ms) -Rendered admin/helpers/_search (0.7ms) - Photo Load (1.5ms) SELECT "photos".* FROM "photos" ORDER BY photos.id ASC LIMIT 15 OFFSET 0 -Rendered admin/helpers/_table_header (0.1ms) - Category Load (0.4ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 1 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 2 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 3 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 4 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 5 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 6 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 7 )  - Category Load (0.4ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 8 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 10 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 11 )  - Category Load (0.2ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 12 )  - Category Load (0.4ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 13 )  - Category Load (0.2ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 14 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 17 )  - Category Load (0.4ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 18 )  -Rendered admin/helpers/_pagination (0.8ms) -Rendered admin/helpers/_header (0.2ms) -Rendered admin/helpers/_login_info (0.4ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 150ms (View: 121, DB: 7) | 200 OK [http://localhost/admin/photos] - - -Processing Admin::PhotosController#index (for 127.0.0.1 at 2010-10-10 11:44:03) [GET] - Parameters: {"action"=>"index", "sort_order"=>"desc", "page"=>"2", "controller"=>"admin/photos"} - TypusUser Load (0.6ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos"  -Rendering template within layouts/admin -Rendering admin/resources/index -Rendered admin/helpers/_list (0.1ms) -Rendered admin/helpers/_search (0.6ms) -Rendered admin/helpers/_remove_filter_link (0.2ms) - Photo Load (0.8ms) SELECT "photos".* FROM "photos" ORDER BY photos.id ASC LIMIT 15 OFFSET 15 -Rendered admin/helpers/_table_header (0.1ms) - Category Load (0.4ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 19 )  - Category Load (0.9ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 20 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 21 )  - Category Load (0.4ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 22 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 23 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 24 )  - Category Load (0.1ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 26 )  -Rendered admin/helpers/_pagination (0.7ms) -Rendered admin/helpers/_header (0.2ms) -Rendered admin/helpers/_login_info (0.4ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 68ms (View: 43, DB: 4) | 200 OK [http://localhost/admin/photos?page=2&sort_order=desc] - - -Processing Admin::PhotosController#destroy (for 127.0.0.1 at 2010-10-10 11:44:07) [GET] - Parameters: {"action"=>"destroy", "id"=>"26", "controller"=>"admin/photos"} - TypusUser Load (0.5ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - Photo Load (0.3ms) SELECT * FROM "photos" WHERE ("photos"."id" = 26)  -[paperclip] Deleting attachments. -[paperclip] deleting /Users/danbee/Sites/rails/photos/public/system/photos/26/original/Croagh Patrick Sunset.jpg -[paperclip] deleting /Users/danbee/Sites/rails/photos/public/system/photos/26/size11/Croagh Patrick Sunset.jpg -[paperclip] deleting /Users/danbee/Sites/rails/photos/public/system/photos/26/size8/Croagh Patrick Sunset.jpg -[paperclip] deleting /Users/danbee/Sites/rails/photos/public/system/photos/26/size5/Croagh Patrick Sunset.jpg -[paperclip] deleting /Users/danbee/Sites/rails/photos/public/system/photos/26/size3/Croagh Patrick Sunset.jpg -[paperclip] deleting /Users/danbee/Sites/rails/photos/public/system/photos/26/size2/Croagh Patrick Sunset.jpg -[paperclip] deleting /Users/danbee/Sites/rails/photos/public/system/photos/26/size17/Croagh Patrick Sunset.jpg - Category Load (0.2ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 26 )  - Photo Destroy (0.2ms) DELETE FROM "photos" WHERE "id" = 26 -Redirected to http://localhost:3000/admin/photos?page=2&sort_order=desc -Completed in 39ms (DB: 1) | 302 Found [http://localhost/admin/photos/destroy/26] - - -Processing Admin::PhotosController#index (for 127.0.0.1 at 2010-10-10 11:44:07) [GET] - Parameters: {"action"=>"index", "sort_order"=>"desc", "page"=>"2", "controller"=>"admin/photos"} - TypusUser Load (0.8ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos"  -Rendering template within layouts/admin -Rendering admin/resources/index -Rendered admin/helpers/_list (0.1ms) -Rendered admin/helpers/_search (0.6ms) -Rendered admin/helpers/_remove_filter_link (0.2ms) - Photo Load (0.8ms) SELECT "photos".* FROM "photos" ORDER BY photos.id ASC LIMIT 15 OFFSET 15 -Rendered admin/helpers/_table_header (0.1ms) - Category Load (0.4ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 19 )  - Category Load (0.5ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 20 )  - Category Load (0.5ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 21 )  - Category Load (0.5ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 22 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 23 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 24 )  -Rendered admin/helpers/_pagination (0.8ms) -Rendered admin/helpers/_header (0.2ms) -Rendered admin/helpers/_login_info (0.4ms) -Rendered admin/helpers/_flash_message (0.1ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 129ms (View: 100, DB: 4) | 200 OK [http://localhost/admin/photos?page=2&sort_order=desc] - - -Processing Admin::PhotosController#new (for 127.0.0.1 at 2010-10-10 11:44:25) [GET] - Parameters: {"action"=>"new", "controller"=>"admin/photos"} - TypusUser Load (0.5ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  -Rendering template within layouts/admin -Rendering admin/resources/new -Rendered admin/helpers/_list (0.1ms) -Rendered admin/templates/_file (1.9ms) -Rendered admin/templates/_string (0.7ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/templates/_text (0.5ms) -Rendered admin/templates/_string (0.6ms) -Rendered admin/resources/_form (8.0ms) -Rendered admin/helpers/_header (0.2ms) -Rendered admin/helpers/_login_info (0.4ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 38ms (View: 19, DB: 1) | 200 OK [http://localhost/admin/photos/new] - - -Processing Admin::PhotosController#create (for 127.0.0.1 at 2010-10-10 11:44:29) [POST] - Parameters: {"photo"=>{"photo"=>#, "title"=>"", "flickr_url"=>"", "sort"=>"", "description"=>""}, "commit"=>"Create Photo", "action"=>"create", "authenticity_token"=>"MRMA5jN8F+L8Qu/qxudBGU2lL/82P68aMbmoNbKb5zw=", "controller"=>"admin/photos"} - TypusUser Load (0.6ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101010-6110-4hhab7-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101010-6110-4hhab7-0.jpg[0]' -resize "x308" -crop "308x308+147+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101010-6110-4hhab7-020101010-6110-w3qmu1-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101010-6110-4hhab7-0.jpg[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101010-6110-4hhab7-0.jpg[0]' -resize "1024x1024>" '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101010-6110-4hhab7-020101010-6110-alx72q-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101010-6110-4hhab7-020101010-6110-alx72q-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101010-6110-4hhab7-020101010-6110-alx72q-0[0]' -resize "x224" -crop "224x224+107+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101010-6110-4hhab7-020101010-6110-alx72q-020101010-6110-4vzp15-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101010-6110-4hhab7-020101010-6110-alx72q-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101010-6110-4hhab7-020101010-6110-alx72q-0[0]' -resize "x140" -crop "140x140+67+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101010-6110-4hhab7-020101010-6110-alx72q-020101010-6110-1rl749k-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101010-6110-4hhab7-020101010-6110-alx72q-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101010-6110-4hhab7-020101010-6110-alx72q-0[0]' -resize "x84" -crop "84x84+40+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101010-6110-4hhab7-020101010-6110-alx72q-020101010-6110-t3n77n-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101010-6110-4hhab7-020101010-6110-alx72q-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101010-6110-4hhab7-020101010-6110-alx72q-0[0]' -resize "x56" -crop "56x56+26+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101010-6110-4hhab7-020101010-6110-alx72q-020101010-6110-1rcu0ei-0' 2>/dev/null -[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101010-6110-4hhab7-020101010-6110-alx72q-0[0]' 2>/dev/null -[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101010-6110-4hhab7-020101010-6110-alx72q-0[0]' -resize "x476" -crop "476x476+227+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101010-6110-4hhab7-020101010-6110-alx72q-020101010-6110-1vr8goa-0' 2>/dev/null - Photo Create (0.4ms) INSERT INTO "photos" ("photo_file_size", "created_at", "title", "flickr_url", "photo_file_name", "updated_at", "photo_content_type", "photo_updated_at", "description", "sort") VALUES(133140, '2010-10-10 15:44:30', '', '', 'Croagh Patrick Sunset.jpg', '2010-10-10 15:44:30', 'image/jpeg', '2010-10-10 15:44:29', '', NULL) - Photo Update (0.2ms) UPDATE "photos" SET "updated_at" = '2010-10-10 15:44:30', "created_at" = '2010-10-10 15:44:30', "photo_file_name" = 'Croagh Patrick Sunset.jpg', "title" = 'Croagh Patrick Sunset', "photo_file_size" = 133140, "photo_updated_at" = '2010-10-10 15:44:29', "flickr_url" = '', "description" = 'The west of Ireland is so photogenic!', "photo_content_type" = 'image/jpeg' WHERE "id" = 27 -[paperclip] Saving attachments. -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/27/size11/Croagh Patrick Sunset.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/27/original/Croagh Patrick Sunset.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/27/size8/Croagh Patrick Sunset.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/27/size5/Croagh Patrick Sunset.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/27/size3/Croagh Patrick Sunset.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/27/size2/Croagh Patrick Sunset.jpg -[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/27/size17/Croagh Patrick Sunset.jpg -[paperclip] Saving attachments. -Redirected to http://localhost:3000/admin/photos/edit/27 -Completed in 1651ms (DB: 1) | 302 Found [http://localhost/admin/photos/create] - - -Processing Admin::PhotosController#edit (for 127.0.0.1 at 2010-10-10 11:44:30) [GET] - Parameters: {"action"=>"edit", "id"=>"27", "controller"=>"admin/photos"} - TypusUser Load (0.7ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - Photo Load (0.3ms) SELECT * FROM "photos" WHERE ("photos"."id" = 27)  -Rendering template within layouts/admin -Rendering admin/resources/edit -Rendered admin/helpers/_list (0.1ms) -Rendered admin/helpers/_search (0.6ms) -Rendered admin/helpers/_preview (0.3ms) -Rendered admin/templates/_file (6.4ms) -Rendered admin/templates/_string (0.9ms) -Rendered admin/templates/_string (0.8ms) -Rendered admin/templates/_text (0.6ms) -Rendered admin/templates/_string (0.7ms) -Rendered admin/resources/_form (13.6ms) - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories"  - Category Load (0.8ms) SELECT * FROM "categories"  - Category Load (0.2ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 27 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 27)  - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 27 )  - CACHE (0.0ms) SELECT * FROM "photos" WHERE ("photos"."id" = 27)  - Category Load (0.2ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 27 ) ORDER BY categories.id ASC LIMIT 15 OFFSET 0 -Rendered admin/helpers/_header (0.3ms) -Rendered admin/helpers/_login_info (0.5ms) -Rendered admin/helpers/_flash_message (0.1ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 149ms (View: 40, DB: 3) | 200 OK [http://localhost/admin/photos/edit/27] - - -Processing Admin::PhotosController#index (for 127.0.0.1 at 2010-10-10 11:44:33) [GET] - Parameters: {"action"=>"index", "controller"=>"admin/photos"} - TypusUser Load (0.7ms) SELECT * FROM "typus_users" WHERE ("typus_users"."id" = 1)  - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos"  -Rendering template within layouts/admin -Rendering admin/resources/index -Rendered admin/helpers/_list (0.1ms) -Rendered admin/helpers/_search (0.6ms) - Photo Load (1.5ms) SELECT "photos".* FROM "photos" ORDER BY photos.id ASC LIMIT 15 OFFSET 0 -Rendered admin/helpers/_table_header (0.1ms) - Category Load (0.5ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 1 )  - Category Load (0.4ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 2 )  - Category Load (0.4ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 3 )  - Category Load (0.5ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 4 )  - Category Load (0.4ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 5 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 6 )  - Category Load (0.4ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 7 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 8 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 10 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 11 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 12 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 13 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 14 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 17 )  - Category Load (0.3ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 18 )  -Rendered admin/helpers/_pagination (0.5ms) -Rendered admin/helpers/_header (0.2ms) -Rendered admin/helpers/_login_info (0.4ms) -Rendered admin/shared/_footer (0.2ms) -Completed in 148ms (View: 120, DB: 7) | 200 OK [http://localhost/admin/photos] - - -Processing PagesController#index (for 127.0.0.1 at 2010-10-10 11:44:49) [GET] - Photo Load (0.7ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -Completed in 41ms (View: 34, DB: 1) | 200 OK [http://localhost/] - - -Processing PagesController#index (for 127.0.0.1 at 2010-10-10 11:44:50) [GET] - Photo Load (0.7ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -Completed in 14ms (View: 6, DB: 1) | 200 OK [http://localhost/] - - -Processing PagesController#index (for 127.0.0.1 at 2010-10-10 11:44:52) [GET] - Photo Load (0.6ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -Completed in 12ms (View: 6, DB: 1) | 200 OK [http://localhost/] - - -Processing PagesController#index (for 127.0.0.1 at 2010-10-10 11:44:53) [GET] - Photo Load (0.7ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -Completed in 15ms (View: 7, DB: 1) | 200 OK [http://localhost/] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-10 11:46:26) [GET] - Photo Load (1.3ms) SELECT * FROM "photos" LIMIT 11 OFFSET 0 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 29ms (View: 17, DB: 2) | 200 OK [http://localhost/photos] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-10 11:46:30) [GET] +Started GET "/categories?page=2" for 127.0.0.1 at 2010-10-11 07:19:48 -0400 + Processing by CategoriesController#index as HTML Parameters: {"page"=>"2"} - Photo Load (1.4ms) SELECT * FROM "photos" LIMIT 11 OFFSET 11 - SQL (0.1ms) SELECT count(*) AS count_all FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 23ms (View: 13, DB: 2) | 200 OK [http://localhost/photos?page=2] + Category Load (0.6ms) SELECT "categories".* FROM "categories" LIMIT 4 OFFSET 4 + Photo Load (0.2ms) SELECT "photos".* FROM "photos" ORDER BY RANDOM() LIMIT 2 +Rendered categories/index.html.erb within layouts/photos (38.8ms) +Completed 200 OK in 63ms (Views: 40.9ms | ActiveRecord: 0.8ms) -Processing PhotosController#index (for 127.0.0.1 at 2010-10-10 11:46:33) [GET] +Started GET "/categories?page=1" for 127.0.0.1 at 2010-10-11 07:19:49 -0400 + Processing by CategoriesController#index as HTML Parameters: {"page"=>"1"} - Photo Load (1.5ms) SELECT * FROM "photos" LIMIT 11 OFFSET 0 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 24ms (View: 12, DB: 2) | 200 OK [http://localhost/photos?page=1] + Category Load (1.0ms) SELECT "categories".* FROM "categories" LIMIT 4 OFFSET 0 + SQL (0.1ms) SELECT COUNT(*) AS count_id FROM "categories" + Photo Load (0.2ms) SELECT "photos".* FROM "photos" ORDER BY RANDOM() LIMIT 2 +Rendered categories/index.html.erb within layouts/photos (7.9ms) +Completed 200 OK in 65ms (Views: 10.0ms | ActiveRecord: 1.3ms) -Processing PhotosController#index (for 127.0.0.1 at 2010-10-10 11:46:34) [GET] +Started GET "/" for 127.0.0.1 at 2010-10-11 07:19:51 -0400 + Processing by PagesController#index as HTML + Photo Load (18.4ms) SELECT "photos".* FROM "photos" ORDER BY RANDOM() LIMIT 1 +Rendered pages/index.html.erb within layouts/photos (2.3ms) +Completed 200 OK in 36ms (Views: 4.6ms | ActiveRecord: 18.4ms) + + +Started GET "/" for 127.0.0.1 at 2010-10-11 07:19:51 -0400 + Processing by PagesController#index as HTML + Photo Load (0.3ms) SELECT "photos".* FROM "photos" ORDER BY RANDOM() LIMIT 1 +Rendered pages/index.html.erb within layouts/photos (3.0ms) +Completed 200 OK in 19ms (Views: 5.3ms | ActiveRecord: 0.3ms) + + +Started GET "/categories" for 127.0.0.1 at 2010-10-11 07:20:10 -0400 + Processing by CategoriesController#index as HTML + Category Load (17.9ms) SELECT "categories".* FROM "categories" LIMIT 4 OFFSET 0 + SQL (0.1ms) SELECT COUNT(*) AS count_id FROM "categories" + Photo Load (0.2ms) SELECT "photos".* FROM "photos" ORDER BY RANDOM() LIMIT 2 +Rendered categories/index.html.erb within layouts/photos (36.7ms) +Completed 200 OK in 83ms (Views: 39.1ms | ActiveRecord: 18.2ms) + + +Started GET "/categories/1/photos" for 127.0.0.1 at 2010-10-11 07:20:14 -0400 + Processing by PhotosController#index as HTML + Parameters: {"category_id"=>"1"} + Category Load (0.4ms) SELECT "categories".* FROM "categories" WHERE ("categories"."id" = 1) LIMIT 1 + Photo Load (0.2ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 11 OFFSET 0 +Rendered photos/index.html.erb within layouts/photos (2.6ms) +Completed 200 OK in 71ms (Views: 5.0ms | ActiveRecord: 0.6ms) + + +Started GET "/categories" for 127.0.0.1 at 2010-10-11 07:20:16 -0400 + Processing by CategoriesController#index as HTML + Category Load (0.9ms) SELECT "categories".* FROM "categories" LIMIT 4 OFFSET 0 + SQL (0.1ms) SELECT COUNT(*) AS count_id FROM "categories" + Photo Load (0.2ms) SELECT "photos".* FROM "photos" ORDER BY RANDOM() LIMIT 2 +Rendered categories/index.html.erb within layouts/photos (36.9ms) +Completed 200 OK in 65ms (Views: 39.0ms | ActiveRecord: 1.2ms) + + +Started GET "/" for 127.0.0.1 at 2010-10-11 07:20:17 -0400 + Processing by PagesController#index as HTML + Photo Load (0.2ms) SELECT "photos".* FROM "photos" ORDER BY RANDOM() LIMIT 1 +Rendered pages/index.html.erb within layouts/photos (2.3ms) +Completed 200 OK in 18ms (Views: 4.3ms | ActiveRecord: 0.2ms) + + +Started GET "/" for 127.0.0.1 at 2010-10-11 07:20:18 -0400 + Processing by PagesController#index as HTML + Photo Load (0.2ms) SELECT "photos".* FROM "photos" ORDER BY RANDOM() LIMIT 1 +Rendered pages/index.html.erb within layouts/photos (2.4ms) +Completed 200 OK in 47ms (Views: 4.5ms | ActiveRecord: 0.2ms) + + +Started GET "/about" for 127.0.0.1 at 2010-10-11 07:20:19 -0400 + Processing by PagesController#about as HTML +Rendered pages/about.html.erb within layouts/photos (2.3ms) +Completed 200 OK in 4ms (Views: 4.2ms | ActiveRecord: 0.0ms) + + +Started GET "/" for 127.0.0.1 at 2010-10-11 07:20:25 -0400 + Processing by PagesController#index as HTML + Photo Load (0.2ms) SELECT "photos".* FROM "photos" ORDER BY RANDOM() LIMIT 1 +Rendered pages/index.html.erb within layouts/photos (29.6ms) +Completed 200 OK in 44ms (Views: 31.8ms | ActiveRecord: 0.2ms) + + +Started GET "/" for 127.0.0.1 at 2010-10-11 07:20:25 -0400 + Processing by PagesController#index as HTML + Photo Load (0.2ms) SELECT "photos".* FROM "photos" ORDER BY RANDOM() LIMIT 1 +Rendered pages/index.html.erb within layouts/photos (2.3ms) +Completed 200 OK in 17ms (Views: 4.3ms | ActiveRecord: 0.2ms) + + +Started GET "/categories" for 127.0.0.1 at 2010-10-11 07:20:27 -0400 + Processing by CategoriesController#index as HTML + Category Load (1.1ms) SELECT "categories".* FROM "categories" LIMIT 4 OFFSET 0 + SQL (0.2ms) SELECT COUNT(*) AS count_id FROM "categories" + Photo Load (0.2ms) SELECT "photos".* FROM "photos" ORDER BY RANDOM() LIMIT 2 +Rendered categories/index.html.erb within layouts/photos (9.7ms) +Completed 200 OK in 72ms (Views: 11.7ms | ActiveRecord: 1.5ms) + + +Started GET "/" for 127.0.0.1 at 2010-10-11 07:20:29 -0400 + Processing by PagesController#index as HTML + Photo Load (0.2ms) SELECT "photos".* FROM "photos" ORDER BY RANDOM() LIMIT 1 +Rendered pages/index.html.erb within layouts/photos (2.3ms) +Completed 200 OK in 16ms (Views: 4.2ms | ActiveRecord: 0.2ms) + + +Started GET "/" for 127.0.0.1 at 2010-10-11 07:20:29 -0400 + Processing by PagesController#index as HTML + Photo Load (0.2ms) SELECT "photos".* FROM "photos" ORDER BY RANDOM() LIMIT 1 +Rendered pages/index.html.erb within layouts/photos (2.2ms) +Completed 200 OK in 17ms (Views: 4.2ms | ActiveRecord: 0.2ms) + + +Started GET "/about" for 127.0.0.1 at 2010-10-11 07:20:29 -0400 + Processing by PagesController#about as HTML +Rendered pages/about.html.erb within layouts/photos (2.0ms) +Completed 200 OK in 4ms (Views: 3.8ms | ActiveRecord: 0.0ms) + + +Started GET "/" for 127.0.0.1 at 2010-10-11 07:20:31 -0400 + Processing by PagesController#index as HTML + Photo Load (0.2ms) SELECT "photos".* FROM "photos" ORDER BY RANDOM() LIMIT 1 +Rendered pages/index.html.erb within layouts/photos (2.2ms) +Completed 200 OK in 16ms (Views: 4.2ms | ActiveRecord: 0.2ms) + + +Started GET "/" for 127.0.0.1 at 2010-10-11 07:20:32 -0400 + Processing by PagesController#index as HTML + Photo Load (0.2ms) SELECT "photos".* FROM "photos" ORDER BY RANDOM() LIMIT 1 +Rendered pages/index.html.erb within layouts/photos (2.3ms) +Completed 200 OK in 16ms (Views: 4.2ms | ActiveRecord: 0.2ms) + + +Started GET "/admin" for 127.0.0.1 at 2010-10-11 07:20:44 -0400 + + +Started GET "/admin/dashboard" for 127.0.0.1 at 2010-10-11 07:20:44 -0400 + Processing by Admin::DashboardController#show as HTML +Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/dashboard/_sidebar.html.erb (0.4ms) +Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/helpers/dashboard/_applications.html.erb (4.1ms) +Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/dashboard/show.html.erb within layouts/admin/base (10.1ms) +Completed in 43ms + +ActionView::Template::Error (uninitialized constant TypusUser): + 11: <% @current_user.application(app).each do |model| %> + 12: + 13: <% + 14: klass = model.constantize + 15: klass_human_name = klass.model_name.human.gsub("/", " ").pluralize + 16: admin_items_path = { :controller => "admin/#{klass.to_resource}" } + 17: %> + + +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) +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 (2.3ms) +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 (6.6ms) +DEPRECATION WARNING: Use toplevel init.rb; rails/init.rb is deprecated: /Users/danbee/Sites/rails/photos/vendor/plugins/jrails/rails/init.rb. (called from 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 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 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 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 at /Users/danbee/Sites/rails/photos/config/initializers/cookie_verification_secret.rb:7) + SQL (0.5ms)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.2ms) SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + SQL (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" + SQL (51.9ms) DROP TABLE "typus_users" + SQL (1.7ms) DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20101008175640' + SQL (0.1ms) select sqlite_version(*) + SQL (0.2ms)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" + SQL (0.1ms)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.0ms) PRAGMA index_list("categories") + SQL (0.0ms) PRAGMA index_list("categories_photos") + SQL (0.0ms) PRAGMA index_list("photos") +DEPRECATION WARNING: Use toplevel init.rb; rails/init.rb is deprecated: /Users/danbee/Sites/rails/photos/vendor/plugins/jrails/rails/init.rb. (called from 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 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 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 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 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 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 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 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 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 at /Users/danbee/Sites/rails/photos/config/initializers/cookie_verification_secret.rb:7) + SQL (0.4ms)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.1ms) SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + SQL (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" +Migrating to CreateCategories (20101006095323) +Migrating to CreatePhotos (20101006095457) +Migrating to AddPhotoToCategory (20101008101157) +Migrating to AddDetailsToPhoto (20101008103053) +Migrating to AddColourToCategory (20101008105348) +Migrating to AddSortOrders (20101008122736) +Migrating to MoveToManyToMany (20101008172319) + SQL (0.1ms) select sqlite_version(*) + SQL (0.1ms)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" + SQL (0.1ms)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.0ms) PRAGMA index_list("categories") + SQL (0.0ms) PRAGMA index_list("categories_photos") + SQL (0.0ms) PRAGMA index_list("photos") +DEPRECATION WARNING: Use toplevel init.rb; rails/init.rb is deprecated: /Users/danbee/Sites/rails/photos/vendor/plugins/jrails/rails/init.rb. (called from 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 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 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 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 at /Users/danbee/Sites/rails/photos/config/initializers/cookie_verification_secret.rb:7) + + +Started GET "/admin" for 127.0.0.1 at 2010-10-11 07:26:08 -0400 + + +Started GET "/admin/dashboard" for 127.0.0.1 at 2010-10-11 07:26:08 -0400 + Processing by Admin::DashboardController#show as HTML +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 (15.5ms) +Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/dashboard/show.html.erb within layouts/admin/base (35.8ms) +Completed in 49ms + +ActionView::Template::Error (uninitialized constant TypusUser): + 11: <% @current_user.application(app).each do |model| %> + 12: + 13: <% + 14: klass = model.constantize + 15: klass_human_name = klass.model_name.human.gsub("/", " ").pluralize + 16: admin_items_path = { :controller => "admin/#{klass.to_resource}" } + 17: %> + + +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) +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 (2.5ms) +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 (7.2ms) +DEPRECATION WARNING: Use toplevel init.rb; rails/init.rb is deprecated: /Users/danbee/Sites/rails/photos/vendor/plugins/jrails/rails/init.rb. (called from 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 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 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 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 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 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 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 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 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 at /Users/danbee/Sites/rails/photos/config/initializers/cookie_verification_secret.rb:7) + + +Started GET "/admin" for 127.0.0.1 at 2010-10-11 07:28:56 -0400 + + +Started GET "/admin/dashboard" for 127.0.0.1 at 2010-10-11 07:28:56 -0400 + Processing by Admin::DashboardController#show as HTML +Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/dashboard/_sidebar.html.erb (0.3ms) +Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/helpers/dashboard/_applications.html.erb (25.8ms) +Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/helpers/dashboard/_resources.html.erb (0.6ms) +Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/helpers/_header.html.erb (0.7ms) +Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/helpers/_apps.html.erb (1.8ms) +Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/dashboard/show.html.erb within layouts/admin/base (45.5ms) +Completed 200 OK in 58ms (Views: 54.6ms | ActiveRecord: 0.0ms) + + +Started GET "/admin/photos" for 127.0.0.1 at 2010-10-11 07:29:08 -0400 + Processing by Admin::PhotosController#index as HTML + SQL (0.3ms)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.1ms) SELECT COUNT(*) AS count_id FROM "photos" +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/_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) + CACHE (0.0ms) SELECT COUNT(*) AS count_id FROM "photos" + CACHE (0.0ms) SELECT COUNT(*) AS count_id FROM "photos" + Photo Load (0.2ms) SELECT "photos".* FROM "photos" LIMIT 15 OFFSET 0 + CACHE (0.0ms) SELECT COUNT(*) AS count_id FROM "photos" +Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/helpers/_header.html.erb (0.9ms) +Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/helpers/_apps.html.erb (1.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 (61.7ms) +Completed 200 OK in 122ms (Views: 73.3ms | ActiveRecord: 0.5ms) + + +Started GET "/admin/photos/new" for 127.0.0.1 at 2010-10-11 07:29:11 -0400 + Processing by Admin::PhotosController#new as HTML +Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/helpers/sidebar/_sidebar.html.erb (1.4ms) +Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/resources/_new.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.2ms) +Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/templates/_string.html.erb (1.2ms) +Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/templates/_string.html.erb (1.2ms) +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/resources/_form.html.erb (56.7ms) +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.7ms) +Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/resources/new.html.erb within layouts/admin/base (84.3ms) +Completed 200 OK in 115ms (Views: 95.7ms | ActiveRecord: 0.0ms) + + +Started GET "/admin/categories" for 127.0.0.1 at 2010-10-11 07:29:17 -0400 + Processing by Admin::CategoriesController#index as HTML + SQL (0.2ms) 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 (1.7ms) +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.0ms) + CACHE (0.0ms) 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.9ms) + CACHE (0.0ms) SELECT COUNT(*) AS count_id FROM "categories" + Category Load (1.8ms) 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.5ms) +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.4ms) +Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/resources/index.html.erb within layouts/admin/base (105.9ms) +Completed 200 OK in 138ms (Views: 114.9ms | ActiveRecord: 2.0ms) + + +Started GET "/admin/dashboard" for 127.0.0.1 at 2010-10-11 07:29:17 -0400 + Processing by Admin::DashboardController#show as HTML +Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/dashboard/_sidebar.html.erb (0.6ms) +Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/helpers/dashboard/_applications.html.erb (50.0ms) +Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/helpers/dashboard/_resources.html.erb (0.6ms) +Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/helpers/_header.html.erb (0.7ms) +Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/helpers/_apps.html.erb (1.5ms) +Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/dashboard/show.html.erb within layouts/admin/base (71.1ms) +Completed 200 OK in 89ms (Views: 84.7ms | ActiveRecord: 0.0ms) + + +Started GET "/admin/dashboard" for 127.0.0.1 at 2010-10-11 07:29:36 -0400 + Processing by Admin::DashboardController#show as HTML +Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/dashboard/_sidebar.html.erb (0.3ms) +Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/helpers/dashboard/_applications.html.erb (51.3ms) +Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/helpers/dashboard/_resources.html.erb (0.6ms) +Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/helpers/_header.html.erb (0.7ms) +Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/helpers/_apps.html.erb (1.5ms) +Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/dashboard/show.html.erb within layouts/admin/base (70.0ms) +Completed 200 OK in 82ms (Views: 79.0ms | ActiveRecord: 0.0ms) + + +Started GET "/admin" for 127.0.0.1 at 2010-10-11 07:29:38 -0400 + + +Started GET "/admin/dashboard" for 127.0.0.1 at 2010-10-11 07:29:38 -0400 + Processing by Admin::DashboardController#show as HTML +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 (49.2ms) +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 (0.6ms) +Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/helpers/_apps.html.erb (1.4ms) +Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/dashboard/show.html.erb within layouts/admin/base (66.7ms) +Completed 200 OK in 85ms (Views: 78.0ms | ActiveRecord: 0.0ms) +DEPRECATION WARNING: Use toplevel init.rb; rails/init.rb is deprecated: /Users/danbee/Sites/rails/photos/vendor/plugins/jrails/rails/init.rb. (called from 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 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 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 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 at /Users/danbee/Sites/rails/photos/config/initializers/cookie_verification_secret.rb:7) + + +Started GET "/admin" for 127.0.0.1 at 2010-10-11 07:29:49 -0400 + + +Started GET "/admin/dashboard" for 127.0.0.1 at 2010-10-11 07:29:49 -0400 + Processing by Admin::DashboardController#show as HTML +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 (25.7ms) +Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/helpers/dashboard/_resources.html.erb (0.6ms) +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.6ms) +Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/dashboard/show.html.erb within layouts/admin/base (46.2ms) +Completed 200 OK in 62ms (Views: 56.9ms | ActiveRecord: 0.0ms) +DEPRECATION WARNING: Use toplevel init.rb; rails/init.rb is deprecated: /Users/danbee/Sites/rails/photos/vendor/plugins/jrails/rails/init.rb. (called from 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 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 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 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 at /Users/danbee/Sites/rails/photos/config/initializers/cookie_verification_secret.rb:7) + + +Started GET "/admin/dashboard" for 127.0.0.1 at 2010-10-11 07:30:25 -0400 + Processing by Admin::DashboardController#show as HTML +Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/dashboard/_sidebar.html.erb (0.3ms) +Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/helpers/dashboard/_applications.html.erb (26.4ms) +Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/helpers/dashboard/_resources.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.8ms) +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/dashboard/show.html.erb within layouts/admin/base (46.8ms) +Completed 200 OK in 60ms (Views: 56.0ms | ActiveRecord: 0.0ms) + + +Started GET "/admin/categories" for 127.0.0.1 at 2010-10-11 07:30:27 -0400 + Processing by Admin::CategoriesController#index as HTML + SQL (0.2ms)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.1ms) 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 (1.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) + CACHE (0.0ms) 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.9ms) + CACHE (0.0ms) SELECT COUNT(*) AS count_id FROM "categories" + Category Load (2.0ms) 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 (38.6ms) +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.4ms) +Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/resources/index.html.erb within layouts/admin/base (98.1ms) +Completed 200 OK in 134ms (Views: 107.0ms | ActiveRecord: 2.3ms) + + +Started GET "/admin/photos" for 127.0.0.1 at 2010-10-11 07:30:35 -0400 + Processing by Admin::PhotosController#index as HTML + SQL (0.2ms) SELECT COUNT(*) AS count_id FROM "photos" +Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/helpers/sidebar/_sidebar.html.erb (1.4ms) +Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/resources/_index.html.erb (0.2ms) +Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/helpers/search/_search.html.erb (0.9ms) + CACHE (0.0ms) SELECT COUNT(*) AS count_id FROM "photos" + CACHE (0.0ms) SELECT COUNT(*) AS count_id FROM "photos" + Photo Load (0.2ms) SELECT "photos".* FROM "photos" LIMIT 15 OFFSET 0 + CACHE (0.0ms) SELECT COUNT(*) AS count_id FROM "photos" +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 (1.5ms) +Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/resources/index.html.erb within layouts/admin/base (61.0ms) +Completed 200 OK in 94ms (Views: 71.7ms | ActiveRecord: 0.3ms) + + +Started GET "/admin/photos/new" for 127.0.0.1 at 2010-10-11 07:30:54 -0400 + Processing by Admin::PhotosController#new as HTML +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/_new.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.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/_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 (1.1ms) +Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/resources/_form.html.erb (54.7ms) +Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/helpers/_header.html.erb (0.7ms) +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/resources/new.html.erb within layouts/admin/base (84.1ms) +Completed 200 OK in 113ms (Views: 95.0ms | ActiveRecord: 0.0ms) +DEPRECATION WARNING: Use toplevel init.rb; rails/init.rb is deprecated: /Users/danbee/Sites/rails/photos/vendor/plugins/jrails/rails/init.rb. (called from 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 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 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 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 at /Users/danbee/Sites/rails/photos/config/initializers/cookie_verification_secret.rb:7) + + +Started GET "/admin/photos/new" for 127.0.0.1 at 2010-10-11 07:31:02 -0400 + Processing by Admin::PhotosController#new as HTML +Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/helpers/sidebar/_sidebar.html.erb (1.4ms) +Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/resources/_new.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/_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/_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 (28.7ms) +Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/resources/_form.html.erb (56.1ms) +Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/helpers/_header.html.erb (0.7ms) +Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/helpers/_apps.html.erb (1.5ms) +Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/resources/new.html.erb within layouts/admin/base (85.8ms) +Completed 200 OK in 123ms (Views: 96.7ms | ActiveRecord: 0.0ms) +DEPRECATION WARNING: Use toplevel init.rb; rails/init.rb is deprecated: /Users/danbee/Sites/rails/photos/vendor/plugins/jrails/rails/init.rb. (called from 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 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 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 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 at /Users/danbee/Sites/rails/photos/config/initializers/cookie_verification_secret.rb:7) + + +Started GET "/admin/photos/new" for 127.0.0.1 at 2010-10-11 07:31:44 -0400 + Processing by Admin::PhotosController#new as HTML +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/_new.html.erb (0.3ms) +Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/templates/_file.html.erb (1.1ms) +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.7ms) +Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/templates/_string.html.erb (1.4ms) +Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/templates/_string.html.erb (27.5ms) +Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/resources/_form.html.erb (55.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 (1.4ms) +Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/resources/new.html.erb within layouts/admin/base (85.5ms) +Completed 200 OK in 124ms (Views: 97.0ms | ActiveRecord: 0.0ms) + + +Started GET "/admin/photos" for 127.0.0.1 at 2010-10-11 07:31:47 -0400 + Processing by Admin::PhotosController#index as HTML + SQL (0.2ms)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.1ms) SELECT COUNT(*) AS count_id FROM "photos" +Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/helpers/sidebar/_sidebar.html.erb (1.4ms) +Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/resources/_index.html.erb (0.2ms) +Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/helpers/search/_search.html.erb (0.9ms) + CACHE (0.0ms) SELECT COUNT(*) AS count_id FROM "photos" + CACHE (0.0ms) SELECT COUNT(*) AS count_id FROM "photos" + Photo Load (0.2ms) SELECT "photos".* FROM "photos" LIMIT 15 OFFSET 0 + CACHE (0.0ms) SELECT COUNT(*) AS count_id FROM "photos" +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 (30.0ms) +Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/resources/index.html.erb within layouts/admin/base (61.5ms) +Completed 200 OK in 100ms (Views: 72.2ms | ActiveRecord: 0.5ms) + + +Started GET "/admin/photos/new" for 127.0.0.1 at 2010-10-11 07:31:48 -0400 + Processing by Admin::PhotosController#new as HTML +Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/helpers/sidebar/_sidebar.html.erb (1.4ms) +Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/resources/_new.html.erb (0.3ms) +Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/templates/_file.html.erb (1.3ms) +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/_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.1ms) +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/resources/_form.html.erb (54.0ms) +Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/helpers/_header.html.erb (0.9ms) +Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/helpers/_apps.html.erb (1.6ms) +Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/resources/new.html.erb within layouts/admin/base (83.0ms) +Completed 200 OK in 112ms (Views: 93.6ms | ActiveRecord: 0.0ms) + + +Started GET "/admin/dashboard" for 127.0.0.1 at 2010-10-11 07:31:53 -0400 + Processing by Admin::DashboardController#show as HTML +Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/dashboard/_sidebar.html.erb (0.7ms) +Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/helpers/dashboard/_applications.html.erb (25.8ms) +Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/helpers/dashboard/_resources.html.erb (0.9ms) +Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/helpers/_header.html.erb (1.0ms) +Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/helpers/_apps.html.erb (1.5ms) +Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/dashboard/show.html.erb within layouts/admin/base (77.8ms) +Completed 200 OK in 273ms (Views: 267.6ms | ActiveRecord: 0.0ms) + + +Started GET "/admin/photos" for 127.0.0.1 at 2010-10-11 07:32:09 -0400 + Processing by Admin::PhotosController#index as HTML + SQL (0.2ms) SELECT COUNT(*) AS count_id FROM "photos" +Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/helpers/sidebar/_sidebar.html.erb (1.4ms) +Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/resources/_index.html.erb (0.2ms) +Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/helpers/search/_search.html.erb (0.8ms) + CACHE (0.0ms) SELECT COUNT(*) AS count_id FROM "photos" + CACHE (0.0ms) SELECT COUNT(*) AS count_id FROM "photos" + Photo Load (0.2ms) SELECT "photos".* FROM "photos" LIMIT 15 OFFSET 0 + CACHE (0.0ms) SELECT COUNT(*) AS count_id FROM "photos" +Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/helpers/_header.html.erb (0.7ms) +Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/helpers/_apps.html.erb (1.4ms) +Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/resources/index.html.erb within layouts/admin/base (31.7ms) +Completed 200 OK in 63ms (Views: 42.5ms | ActiveRecord: 0.3ms) + + +Started GET "/admin/photos/new" for 127.0.0.1 at 2010-10-11 07:32:10 -0400 + Processing by Admin::PhotosController#new as HTML +Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/helpers/sidebar/_sidebar.html.erb (1.5ms) +Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/resources/_new.html.erb (0.3ms) +Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/templates/_file.html.erb (1.1ms) +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/resources/_form.html.erb (26.5ms) +Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/helpers/_header.html.erb (0.9ms) +Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/helpers/_apps.html.erb (1.5ms) +Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/resources/new.html.erb within layouts/admin/base (83.5ms) +Completed 200 OK in 115ms (Views: 95.1ms | ActiveRecord: 0.0ms) + + +Started POST "/admin/photos/create" for 127.0.0.1 at 2010-10-11 07:32:19 -0400 + Processing by Admin::PhotosController#create as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"qXI/EVGrai3ZKvzFWeagi05czgp8I0TF8vdeWdEkaMs=", "photo"=>{"photo"=>#, "title"=>"", "description"=>"", "flickr_url"=>"", "sort"=>""}, "commit"=>"Create Photo"} +[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101011-58086-1i6lo8l.jpg[0]' 2>/dev/null +[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101011-58086-1i6lo8l.jpg[0]' -resize "1024x1024>" '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101011-58086-1i6lo8l20101011-58086-t1ah87' 2>/dev/null +[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101011-58086-1i6lo8l20101011-58086-t1ah87[0]' 2>/dev/null +[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101011-58086-1i6lo8l20101011-58086-t1ah87[0]' -resize "x476" -crop "476x476+227+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101011-58086-1i6lo8l20101011-58086-t1ah8720101011-58086-lc7veb' 2>/dev/null +[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101011-58086-1i6lo8l20101011-58086-t1ah87[0]' 2>/dev/null +[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101011-58086-1i6lo8l20101011-58086-t1ah87[0]' -resize "x308" -crop "308x308+147+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101011-58086-1i6lo8l20101011-58086-t1ah8720101011-58086-12qv3hr' 2>/dev/null +[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101011-58086-1i6lo8l20101011-58086-t1ah87[0]' 2>/dev/null +[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101011-58086-1i6lo8l20101011-58086-t1ah87[0]' -resize "x224" -crop "224x224+107+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101011-58086-1i6lo8l20101011-58086-t1ah8720101011-58086-18cq6uw' 2>/dev/null +[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101011-58086-1i6lo8l20101011-58086-t1ah87[0]' 2>/dev/null +[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101011-58086-1i6lo8l20101011-58086-t1ah87[0]' -resize "x140" -crop "140x140+67+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101011-58086-1i6lo8l20101011-58086-t1ah8720101011-58086-1sj7r6y' 2>/dev/null +[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101011-58086-1i6lo8l20101011-58086-t1ah87[0]' 2>/dev/null +[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101011-58086-1i6lo8l20101011-58086-t1ah87[0]' -resize "x84" -crop "84x84+40+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101011-58086-1i6lo8l20101011-58086-t1ah8720101011-58086-7c7cd0' 2>/dev/null +[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101011-58086-1i6lo8l20101011-58086-t1ah87[0]' 2>/dev/null +[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101011-58086-1i6lo8l20101011-58086-t1ah87[0]' -resize "x56" -crop "56x56+26+0" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101011-58086-1i6lo8l20101011-58086-t1ah8720101011-58086-vtlt1r' 2>/dev/null + SQL (0.5ms) INSERT INTO "photos" ("created_at", "description", "flickr_url", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "sort", "title", "updated_at") VALUES ('2010-10-11 11:32:22.087994', '', '', 'image/jpeg', 'Croagh Patrick Sunset.jpg', 133140, '2010-10-11 11:32:19.752234', NULL, '', '2010-10-11 11:32:22.087994') + SQL (0.2ms) UPDATE "photos" SET "created_at" = '2010-10-11 11:32:22.087994', "description" = 'The west of Ireland is so photogenic!', "flickr_url" = '', "photo_content_type" = 'image/jpeg', "photo_file_name" = 'Croagh Patrick Sunset.jpg', "photo_file_size" = 133140, "photo_updated_at" = '2010-10-11 11:32:19.752234', "title" = 'Croagh Patrick Sunset', "updated_at" = '2010-10-11 11:32:22.087994' WHERE ("photos"."id" = 28) +[paperclip] Saving attachments. +[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/28/original/Croagh Patrick Sunset.jpg +[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/28/size17/Croagh Patrick Sunset.jpg +[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/28/size11/Croagh Patrick Sunset.jpg +[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/28/size8/Croagh Patrick Sunset.jpg +[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/28/size5/Croagh Patrick Sunset.jpg +[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/28/size3/Croagh Patrick Sunset.jpg +[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/28/size2/Croagh Patrick Sunset.jpg +[paperclip] Saving attachments. +Redirected to http://localhost:3000/admin/photos/edit/28 +Completed 302 Found in 3412ms + + +Started GET "/admin/photos/edit/28" for 127.0.0.1 at 2010-10-11 07:32:23 -0400 + Processing by Admin::PhotosController#edit as HTML + Parameters: {"id"=>"28"} + Photo Load (0.4ms) SELECT "photos".* FROM "photos" WHERE ("photos"."id" = 28) LIMIT 1 +Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/helpers/sidebar/_sidebar.html.erb (1.4ms) +Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/helpers/_flash_message.html.erb (0.4ms) +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/helpers/_preview.html.erb (2.2ms) +Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/templates/_file.html.erb (9.0ms) +Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/templates/_string.html.erb (1.2ms) +Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/templates/_text.html.erb (0.7ms) +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/_string.html.erb (1.1ms) +Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/resources/_form.html.erb (28.5ms) + Category Load (30.5ms) SELECT "categories".* FROM "categories" + Category Load (0.2ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 28 ) +Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/templates/_relate_form.html.erb (1.8ms) + CACHE (0.0ms) SELECT "photos".* FROM "photos" WHERE ("photos"."id" = 28) LIMIT 1 + SQL (0.2ms) SELECT COUNT(*) AS count_id FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 28 ) + CACHE (0.0ms) SELECT "photos".* FROM "photos" WHERE ("photos"."id" = 28) LIMIT 1 + Category Load (0.2ms) SELECT "categories".* FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 28 ) 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 (2.3ms) +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.7ms) +Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/helpers/_apps.html.erb (1.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 (230.3ms) +Completed 200 OK in 305ms (Views: 212.4ms | ActiveRecord: 31.6ms) + + +Started GET "/" for 127.0.0.1 at 2010-10-11 07:32:28 -0400 + Processing by PagesController#index as HTML + Photo Load (0.4ms) SELECT "photos".* FROM "photos" ORDER BY RANDOM() LIMIT 1 +Rendered pages/index.html.erb within layouts/photos (15.4ms) +Completed 200 OK in 49ms (Views: 35.7ms | ActiveRecord: 1.2ms) + + +Started GET "/about" for 127.0.0.1 at 2010-10-11 07:32:32 -0400 + Processing by PagesController#about as HTML +Rendered pages/about.html.erb within layouts/photos (2.3ms) +Completed 200 OK in 4ms (Views: 4.1ms | ActiveRecord: 0.0ms) + + +Started GET "/categories" for 127.0.0.1 at 2010-10-11 07:32:34 -0400 + Processing by CategoriesController#index as HTML + Category Load (1.1ms) SELECT "categories".* FROM "categories" LIMIT 4 OFFSET 0 + SQL (0.1ms) SELECT COUNT(*) AS count_id FROM "categories" + Photo Load (0.4ms) SELECT "photos".* FROM "photos" ORDER BY RANDOM() LIMIT 2 +Rendered categories/index.html.erb within layouts/photos (49.5ms) +Completed 200 OK in 96ms (Views: 68.4ms | ActiveRecord: 1.6ms) + + +Started GET "/categories?page=2" for 127.0.0.1 at 2010-10-11 07:32:38 -0400 + Processing by CategoriesController#index as HTML Parameters: {"page"=>"2"} - Photo Load (1.4ms) SELECT * FROM "photos" LIMIT 11 OFFSET 11 - SQL (0.1ms) SELECT count(*) AS count_all FROM "photos"  -Rendering template within layouts/photos -Rendering photos/index -Completed in 22ms (View: 12, DB: 2) | 200 OK [http://localhost/photos?page=2] + Category Load (0.7ms) 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 (25.8ms) +Completed 200 OK in 79ms (Views: 27.9ms | ActiveRecord: 1.2ms) -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-10 11:46:42) [GET] - Category Load (0.7ms) SELECT * FROM "categories" LIMIT 4 OFFSET 0 - SQL (0.1ms) SELECT count(*) AS count_all FROM "categories"  - Photo Load (0.5ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 2 -Rendering template within layouts/photos -Rendering categories/index -Completed in 27ms (View: 13, DB: 1) | 200 OK [http://localhost/categories] +Started GET "/categories?page=1" for 127.0.0.1 at 2010-10-11 07:32:39 -0400 + Processing by CategoriesController#index as HTML + Parameters: {"page"=>"1"} + Category Load (1.0ms) SELECT "categories".* FROM "categories" LIMIT 4 OFFSET 0 + SQL (0.1ms) SELECT COUNT(*) AS count_id FROM "categories" + Photo Load (0.4ms) SELECT "photos".* FROM "photos" ORDER BY RANDOM() LIMIT 2 +Rendered categories/index.html.erb within layouts/photos (48.7ms) +Completed 200 OK in 79ms (Views: 50.8ms | ActiveRecord: 1.5ms) -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-10 11:46:45) [GET] +Started GET "/" for 127.0.0.1 at 2010-10-11 07:32:43 -0400 + Processing by PagesController#index as HTML + Photo Load (0.4ms) SELECT "photos".* FROM "photos" ORDER BY RANDOM() LIMIT 1 +Rendered pages/index.html.erb within layouts/photos (46.0ms) +Completed 200 OK in 61ms (Views: 48.0ms | ActiveRecord: 0.4ms) + + +Started GET "/about" for 127.0.0.1 at 2010-10-11 07:32:44 -0400 + Processing by PagesController#about as HTML +Rendered pages/about.html.erb within layouts/photos (2.0ms) +Completed 200 OK in 4ms (Views: 3.8ms | ActiveRecord: 0.0ms) + + +Started GET "/categories" for 127.0.0.1 at 2010-10-11 07:32:45 -0400 + Processing by CategoriesController#index as HTML + Category Load (1.3ms) SELECT "categories".* FROM "categories" LIMIT 4 OFFSET 0 + SQL (0.1ms) SELECT COUNT(*) AS count_id FROM "categories" + Photo Load (0.4ms) SELECT "photos".* FROM "photos" ORDER BY RANDOM() LIMIT 2 +Rendered categories/index.html.erb within layouts/photos (20.6ms) +Completed 200 OK in 79ms (Views: 22.6ms | ActiveRecord: 1.8ms) + + +Started GET "/categories?page=2" for 127.0.0.1 at 2010-10-11 07:32:57 -0400 + Processing by CategoriesController#index as HTML Parameters: {"page"=>"2"} - Category Load (0.6ms) SELECT * FROM "categories" LIMIT 4 OFFSET 4 - Photo Load (0.5ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 2 -Rendering template within layouts/photos -Rendering categories/index -Completed in 20ms (View: 9, DB: 1) | 200 OK [http://localhost/categories?page=2] + Category Load (0.7ms) SELECT "categories".* FROM "categories" LIMIT 4 OFFSET 4 + Photo Load (0.4ms) SELECT "photos".* FROM "photos" ORDER BY RANDOM() LIMIT 2 +Rendered categories/index.html.erb within layouts/photos (54.0ms) +Completed 200 OK in 78ms (Views: 56.0ms | ActiveRecord: 1.1ms) -Processing PhotosController#index (for 127.0.0.1 at 2010-10-10 11:46:48) [GET] +Started GET "/categories/6/photos" for 127.0.0.1 at 2010-10-11 07:32:58 -0400 + Processing by PhotosController#index as HTML Parameters: {"category_id"=>"6"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '6') LIMIT 1 - Photo Load (0.6ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 6 ) LIMIT 11 OFFSET 0 -Rendering template within layouts/photos -Rendering photos/index -Completed in 22ms (View: 8, DB: 1) | 200 OK [http://localhost/categories/6/photos] + Category Load (0.4ms) SELECT "categories".* FROM "categories" WHERE ("categories"."id" = 6) LIMIT 1 + Photo Load (0.2ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 6 ) LIMIT 11 OFFSET 0 +Rendered photos/index.html.erb within layouts/photos (2.7ms) +Completed 200 OK in 116ms (Views: 10.3ms | ActiveRecord: 0.7ms) -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-10 11:46:52) [GET] - Category Load (0.7ms) SELECT * FROM "categories" LIMIT 4 OFFSET 0 - SQL (0.1ms) SELECT count(*) AS count_all FROM "categories"  - Photo Load (0.5ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 2 -Rendering template within layouts/photos -Rendering categories/index -Completed in 20ms (View: 9, DB: 1) | 200 OK [http://localhost/categories] +Started GET "/categories" for 127.0.0.1 at 2010-10-11 07:33:00 -0400 + Processing by CategoriesController#index as HTML + Category Load (1.1ms) SELECT "categories".* FROM "categories" LIMIT 4 OFFSET 0 + SQL (0.1ms) SELECT COUNT(*) AS count_id FROM "categories" + Photo Load (0.4ms) SELECT "photos".* FROM "photos" ORDER BY RANDOM() LIMIT 2 +Rendered categories/index.html.erb within layouts/photos (21.0ms) +Completed 200 OK in 79ms (Views: 23.2ms | ActiveRecord: 1.7ms) -Processing PagesController#index (for 127.0.0.1 at 2010-10-10 11:46:55) [GET] - Photo Load (0.6ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -Completed in 66ms (View: 59, DB: 1) | 200 OK [http://localhost/] - - -Processing PagesController#index (for 192.168.42.102 at 2010-10-10 11:47:27) [GET] - Photo Load (0.7ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -Completed in 13ms (View: 6, DB: 1) | 200 OK [http://junpei/] - - -Processing ApplicationController#index (for 192.168.42.102 at 2010-10-10 11:47:28) [GET] - -ActionController::RoutingError (No route matches "/images/sg_grid_sub.png" with {:method=>:get}): - - -Rendering rescues/layout (not_found) - - -Processing CategoriesController#index (for 192.168.42.102 at 2010-10-10 11:47:40) [GET] - Category Load (0.9ms) SELECT * FROM "categories" LIMIT 4 OFFSET 0 - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories"  - Photo Load (0.6ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 2 -Rendering template within layouts/photos -Rendering categories/index -Completed in 31ms (View: 16, DB: 2) | 200 OK [http://junpei/categories] - - -Processing ApplicationController#index (for 192.168.42.102 at 2010-10-10 11:47:41) [GET] - -ActionController::RoutingError (No route matches "/images/sg_grid_sub.png" with {:method=>:get}): - - -Rendering rescues/layout (not_found) - - -Processing CategoriesController#index (for 192.168.42.102 at 2010-10-10 11:47:45) [GET] - Parameters: {"page"=>"2"} - Category Load (0.6ms) SELECT * FROM "categories" LIMIT 4 OFFSET 4 - Photo Load (0.5ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 2 -Rendering template within layouts/photos -Rendering categories/index -Completed in 77ms (View: 10, DB: 1) | 200 OK [http://junpei/categories?page=2] - - -Processing ApplicationController#index (for 192.168.42.102 at 2010-10-10 11:47:46) [GET] - -ActionController::RoutingError (No route matches "/images/sg_grid_sub.png" with {:method=>:get}): - - -Rendering rescues/layout (not_found) - - -Processing CategoriesController#index (for 192.168.42.102 at 2010-10-10 11:47:47) [GET] - Parameters: {"page"=>"1"} - Category Load (0.7ms) SELECT * FROM "categories" LIMIT 4 OFFSET 0 - SQL (0.1ms) SELECT count(*) AS count_all FROM "categories"  - Photo Load (0.5ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 2 -Rendering template within layouts/photos -Rendering categories/index -Completed in 20ms (View: 9, DB: 1) | 200 OK [http://junpei/categories?page=1] - - -Processing ApplicationController#index (for 192.168.42.102 at 2010-10-10 11:47:47) [GET] - -ActionController::RoutingError (No route matches "/images/sg_grid_sub.png" with {:method=>:get}): - - -Rendering rescues/layout (not_found) - - -Processing CategoriesController#index (for 192.168.42.102 at 2010-10-10 11:47:50) [GET] - Parameters: {"page"=>"2"} - Category Load (0.6ms) SELECT * FROM "categories" LIMIT 4 OFFSET 4 - Photo Load (0.5ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 2 -Rendering template within layouts/photos -Rendering categories/index -Completed in 19ms (View: 9, DB: 1) | 200 OK [http://junpei/categories?page=2] - - -Processing ApplicationController#index (for 192.168.42.102 at 2010-10-10 11:47:51) [GET] - -ActionController::RoutingError (No route matches "/images/sg_grid_sub.png" with {:method=>:get}): - - -Rendering rescues/layout (not_found) - - -Processing CategoriesController#index (for 192.168.42.102 at 2010-10-10 11:47:53) [GET] - Parameters: {"page"=>"1"} - Category Load (0.7ms) SELECT * FROM "categories" LIMIT 4 OFFSET 0 - SQL (0.1ms) SELECT count(*) AS count_all FROM "categories"  - Photo Load (0.5ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 2 -Rendering template within layouts/photos -Rendering categories/index -Completed in 21ms (View: 8, DB: 1) | 200 OK [http://junpei/categories?page=1] - - -Processing ApplicationController#index (for 192.168.42.102 at 2010-10-10 11:47:53) [GET] - -ActionController::RoutingError (No route matches "/images/sg_grid_sub.png" with {:method=>:get}): - - -Rendering rescues/layout (not_found) - - -Processing PhotosController#index (for 192.168.42.102 at 2010-10-10 11:47:58) [GET] +Started GET "/categories/1/photos" for 127.0.0.1 at 2010-10-11 07:33:01 -0400 + Processing by PhotosController#index as HTML Parameters: {"category_id"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (1.3ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 11 OFFSET 0 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )  -Rendering template within layouts/photos -Rendering photos/index -Completed in 30ms (View: 14, DB: 2) | 200 OK [http://junpei/categories/1/photos] + Category Load (0.4ms) SELECT "categories".* FROM "categories" WHERE ("categories"."id" = 1) LIMIT 1 + Photo Load (0.2ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 11 OFFSET 0 +Rendered photos/index.html.erb within layouts/photos (2.6ms) +Completed 200 OK in 71ms (Views: 5.1ms | ActiveRecord: 0.6ms) -Processing ApplicationController#index (for 192.168.42.102 at 2010-10-10 11:47:58) [GET] - -ActionController::RoutingError (No route matches "/images/sg_grid_sub.png" with {:method=>:get}): - - -Rendering rescues/layout (not_found) +Started GET "/categories" for 127.0.0.1 at 2010-10-11 07:33:01 -0400 + Processing by CategoriesController#index as HTML + Category Load (1.1ms) SELECT "categories".* FROM "categories" LIMIT 4 OFFSET 0 + SQL (0.1ms) 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 (20.6ms) +Completed 200 OK in 79ms (Views: 22.7ms | ActiveRecord: 1.7ms) -Processing PagesController#index (for 192.168.42.102 at 2010-10-10 11:48:04) [GET] - Photo Load (0.6ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -Completed in 12ms (View: 6, DB: 1) | 200 OK [http://junpei/] +Started GET "/" for 127.0.0.1 at 2010-10-11 07:33:02 -0400 + Processing by PagesController#index as HTML + Photo Load (0.4ms) SELECT "photos".* FROM "photos" ORDER BY RANDOM() LIMIT 1 +Rendered pages/index.html.erb within layouts/photos (15.1ms) +Completed 200 OK in 30ms (Views: 17.1ms | ActiveRecord: 0.4ms) -Processing ApplicationController#index (for 192.168.42.102 at 2010-10-10 11:48:05) [GET] - -ActionController::RoutingError (No route matches "/images/sg_grid_sub.png" with {:method=>:get}): - - -Rendering rescues/layout (not_found) +Started GET "/about" for 127.0.0.1 at 2010-10-11 07:36:21 -0400 + Processing by PagesController#about as HTML +Rendered pages/about.html.erb within layouts/photos (2.1ms) +Completed 200 OK in 4ms (Views: 3.8ms | ActiveRecord: 0.0ms) -Processing PagesController#about (for 192.168.42.102 at 2010-10-10 11:48:11) [GET] -Rendering template within layouts/photos -Rendering pages/about -Completed in 7ms (View: 5, DB: 0) | 200 OK [http://junpei/about] +Started GET "/categories" for 127.0.0.1 at 2010-10-11 07:36:23 -0400 + Processing by CategoriesController#index as HTML + Category Load (1.0ms) SELECT "categories".* FROM "categories" LIMIT 4 OFFSET 0 + SQL (0.1ms) 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 80ms (Views: 23.5ms | ActiveRecord: 1.7ms) -Processing ApplicationController#index (for 192.168.42.102 at 2010-10-10 11:48:12) [GET] - -ActionController::RoutingError (No route matches "/images/sg_grid_sub.png" with {:method=>:get}): - - -Rendering rescues/layout (not_found) +Started GET "/categories" for 127.0.0.1 at 2010-10-11 07:36:53 -0400 + Processing by CategoriesController#index as HTML + Category Load (1.2ms) 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 (20.7ms) +Completed 200 OK in 86ms (Views: 22.7ms | ActiveRecord: 1.9ms) -Processing PagesController#index (for 192.168.42.102 at 2010-10-10 11:48:21) [GET] - Photo Load (0.7ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -Completed in 13ms (View: 6, DB: 1) | 200 OK [http://junpei/] +Started GET "/categories" for 127.0.0.1 at 2010-10-11 07:37:30 -0400 + Processing by CategoriesController#index as HTML + Category Load (1.0ms) SELECT "categories".* FROM "categories" LIMIT 4 OFFSET 0 + SQL (0.1ms) SELECT COUNT(*) AS count_id FROM "categories" + Photo Load (0.4ms) SELECT "photos".* FROM "photos" ORDER BY RANDOM() LIMIT 2 +Rendered categories/index.html.erb within layouts/photos (49.7ms) +Completed 200 OK in 79ms (Views: 51.7ms | ActiveRecord: 1.5ms) -Processing ApplicationController#index (for 192.168.42.102 at 2010-10-10 11:48:22) [GET] - -ActionController::RoutingError (No route matches "/images/sg_grid_sub.png" with {:method=>:get}): - - -Rendering rescues/layout (not_found) +Started GET "/categories" for 127.0.0.1 at 2010-10-11 07:38:05 -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 (20.6ms) +Completed 200 OK in 78ms (Views: 22.7ms | ActiveRecord: 1.6ms) -Processing CategoriesController#index (for 192.168.42.102 at 2010-10-10 13:47:43) [GET] - Category Load (1.1ms) SELECT * FROM "categories" LIMIT 4 OFFSET 0 - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories"  - Photo Load (1.0ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 2 -Rendering template within layouts/photos -Rendering categories/index -Completed in 103ms (View: 9, DB: 2) | 200 OK [http://junpei/categories] +Started POST "/admin/photos/relate/28" for 127.0.0.1 at 2010-10-11 07:38:24 -0400 + Processing by Admin::PhotosController#relate as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"qXI/EVGrai3ZKvzFWeagi05czgp8I0TF8vdeWdEkaMs=", "related"=>{"model"=>"Category", "id"=>"1"}, "commit"=>"Add", "id"=>"28"} + Photo Load (0.3ms) SELECT "photos".* FROM "photos" WHERE ("photos"."id" = 28) LIMIT 1 + Category Load (0.4ms) SELECT "categories".* FROM "categories" WHERE ("categories"."id" = 1) LIMIT 1 + SQL (0.3ms) INSERT INTO "categories_photos" ("category_id", "photo_id") VALUES (1, 28) +Redirected to http://localhost:3000/admin/photos/edit/28 +Completed 302 Found in 123ms -Processing ApplicationController#index (for 192.168.42.102 at 2010-10-10 13:47:44) [GET] - -ActionController::RoutingError (No route matches "/images/sg_grid_sub.png" with {:method=>:get}): - - -Rendering rescues/layout (not_found) +Started GET "/admin/photos/edit/28" for 127.0.0.1 at 2010-10-11 07:38:24 -0400 + Processing by Admin::PhotosController#edit as HTML + Parameters: {"id"=>"28"} + Photo Load (0.3ms) SELECT "photos".* FROM "photos" WHERE ("photos"."id" = 28) LIMIT 1 +Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/helpers/sidebar/_sidebar.html.erb (1.5ms) +Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/helpers/_flash_message.html.erb (0.3ms) +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/helpers/_preview.html.erb (2.2ms) +Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/templates/_file.html.erb (38.0ms) +Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/templates/_string.html.erb (1.2ms) +Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/templates/_text.html.erb (0.7ms) +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 (56.5ms) + Category Load (1.8ms) SELECT "categories".* FROM "categories" + Category Load (0.5ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 28 ) +Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/templates/_relate_form.html.erb (2.0ms) + CACHE (0.0ms) SELECT "photos".* FROM "photos" WHERE ("photos"."id" = 28) LIMIT 1 + SQL (0.2ms) SELECT COUNT(*) AS count_id FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 28 ) + CACHE (0.0ms) SELECT "photos".* FROM "photos" WHERE ("photos"."id" = 28) LIMIT 1 + Category Load (0.5ms) SELECT "categories".* FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 28 ) 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 (3.7ms) +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.9ms) +Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/helpers/_apps.html.erb (1.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 (130.6ms) +Completed 200 OK in 166ms (Views: 138.5ms | ActiveRecord: 3.3ms) -Processing PhotosController#index (for 192.168.42.102 at 2010-10-10 13:47:45) [GET] +Started GET "/categories/1/photos" for 127.0.0.1 at 2010-10-11 07:38:28 -0400 + Processing by PhotosController#index as HTML Parameters: {"category_id"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (16.6ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 11 OFFSET 0 - SQL (0.3ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )  -Rendering template within layouts/photos -Rendering photos/index -Completed in 48ms (View: 15, DB: 17) | 200 OK [http://junpei/categories/1/photos] - - -Processing ApplicationController#index (for 192.168.42.102 at 2010-10-10 13:47:46) [GET] - -ActionController::RoutingError (No route matches "/images/sg_grid_sub.png" with {:method=>:get}): - - -Rendering rescues/layout (not_found) - - -Processing PhotosController#index (for 192.168.42.102 at 2010-10-10 13:48:06) [GET] - Parameters: {"category_id"=>"1", "page"=>"2"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (0.4ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 11 OFFSET 11 -Rendering template within layouts/photos -Rendering photos/index -Completed in 20ms (View: 8, DB: 1) | 200 OK [http://junpei/categories/1/photos?page=2] - - -Processing ApplicationController#index (for 192.168.42.102 at 2010-10-10 13:48:07) [GET] - -ActionController::RoutingError (No route matches "/images/sg_grid_sub.png" with {:method=>:get}): - - -Rendering rescues/layout (not_found) - - -Processing PhotosController#index (for 192.168.42.102 at 2010-10-10 13:48:28) [GET] - Parameters: {"category_id"=>"1", "page"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (1.3ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 11 OFFSET 0 - SQL (0.2ms) SELECT count(*) AS count_all FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 )  -Rendering template within layouts/photos -Rendering photos/index -Completed in 31ms (View: 14, DB: 2) | 200 OK [http://junpei/categories/1/photos?page=1] - - -Processing ApplicationController#index (for 192.168.42.102 at 2010-10-10 13:48:29) [GET] - -ActionController::RoutingError (No route matches "/images/sg_grid_sub.png" with {:method=>:get}): - - -Rendering rescues/layout (not_found) - - -Processing CategoriesController#index (for 192.168.42.102 at 2010-10-10 13:48:29) [GET] - Category Load (0.7ms) SELECT * FROM "categories" LIMIT 4 OFFSET 0 - SQL (0.1ms) SELECT count(*) AS count_all FROM "categories"  - Photo Load (0.5ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 2 -Rendering template within layouts/photos -Rendering categories/index -Completed in 87ms (View: 9, DB: 1) | 200 OK [http://junpei/categories] - - -Processing ApplicationController#index (for 192.168.42.102 at 2010-10-10 13:48:30) [GET] - -ActionController::RoutingError (No route matches "/images/sg_grid_sub.png" with {:method=>:get}): - - -Rendering rescues/layout (not_found) - - -Processing PhotosController#index (for 192.168.42.102 at 2010-10-10 13:48:31) [GET] - Parameters: {"category_id"=>"2"} - Category Load (0.4ms) SELECT * FROM "categories" WHERE ("categories"."id" = '2') LIMIT 1 - Photo Load (0.7ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 2 ) LIMIT 11 OFFSET 0 -Rendering template within layouts/photos -Rendering photos/index -Completed in 26ms (View: 10, DB: 1) | 200 OK [http://junpei/categories/2/photos] - - -Processing ApplicationController#index (for 192.168.42.102 at 2010-10-10 13:48:32) [GET] - -ActionController::RoutingError (No route matches "/images/sg_grid_sub.png" with {:method=>:get}): - - -Rendering rescues/layout (not_found) - - -Processing CategoriesController#index (for 192.168.42.102 at 2010-10-10 13:48:37) [GET] - Category Load (0.7ms) SELECT * FROM "categories" LIMIT 4 OFFSET 0 - SQL (0.1ms) SELECT count(*) AS count_all FROM "categories"  - Photo Load (0.5ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 2 -Rendering template within layouts/photos -Rendering categories/index -Completed in 20ms (View: 8, DB: 1) | 200 OK [http://junpei/categories] - - -Processing ApplicationController#index (for 192.168.42.102 at 2010-10-10 13:48:37) [GET] - -ActionController::RoutingError (No route matches "/images/sg_grid_sub.png" with {:method=>:get}): - - -Rendering rescues/layout (not_found) - - -Processing CategoriesController#index (for 192.168.42.102 at 2010-10-10 13:48:41) [GET] - Parameters: {"page"=>"2"} - Category Load (0.6ms) SELECT * FROM "categories" LIMIT 4 OFFSET 4 - Photo Load (0.5ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 2 -Rendering template within layouts/photos -Rendering categories/index -Completed in 20ms (View: 9, DB: 1) | 200 OK [http://junpei/categories?page=2] - - -Processing ApplicationController#index (for 192.168.42.102 at 2010-10-10 13:48:41) [GET] - -ActionController::RoutingError (No route matches "/images/sg_grid_sub.png" with {:method=>:get}): - - -Rendering rescues/layout (not_found) - - -Processing PhotosController#index (for 192.168.42.102 at 2010-10-10 13:48:49) [GET] - Parameters: {"category_id"=>"5"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '5') LIMIT 1 - Photo Load (0.3ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 5 ) LIMIT 11 OFFSET 0 -Rendering template within layouts/photos -Rendering photos/index -Completed in 18ms (View: 7, DB: 1) | 200 OK [http://junpei/categories/5/photos] - - -Processing ApplicationController#index (for 192.168.42.102 at 2010-10-10 13:48:50) [GET] - -ActionController::RoutingError (No route matches "/images/sg_grid_sub.png" with {:method=>:get}): - - -Rendering rescues/layout (not_found) - - -Processing CategoriesController#index (for 192.168.42.102 at 2010-10-10 13:48:56) [GET] - Category Load (0.7ms) SELECT * FROM "categories" LIMIT 4 OFFSET 0 - SQL (0.1ms) SELECT count(*) AS count_all FROM "categories"  - Photo Load (0.6ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 2 -Rendering template within layouts/photos -Rendering categories/index -Completed in 77ms (View: 8, DB: 1) | 200 OK [http://junpei/categories] - - -Processing ApplicationController#index (for 192.168.42.102 at 2010-10-10 13:48:57) [GET] - -ActionController::RoutingError (No route matches "/images/sg_grid_sub.png" with {:method=>:get}): - - -Rendering rescues/layout (not_found) - - -Processing PhotosController#index (for 192.168.42.102 at 2010-10-10 13:49:05) [GET] - Parameters: {"category_id"=>"2"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '2') LIMIT 1 - Photo Load (0.7ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 2 ) LIMIT 11 OFFSET 0 -Rendering template within layouts/photos -Rendering photos/index -Completed in 21ms (View: 9, DB: 1) | 200 OK [http://junpei/categories/2/photos] - - -Processing ApplicationController#index (for 192.168.42.102 at 2010-10-10 13:49:06) [GET] - -ActionController::RoutingError (No route matches "/images/sg_grid_sub.png" with {:method=>:get}): - - -Rendering rescues/layout (not_found) - - -Processing CategoriesController#index (for 192.168.42.102 at 2010-10-10 13:49:44) [GET] - Category Load (0.9ms) SELECT * FROM "categories" LIMIT 4 OFFSET 0 - SQL (0.2ms) SELECT count(*) AS count_all FROM "categories"  - Photo Load (0.6ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 2 -Rendering template within layouts/photos -Rendering categories/index -Completed in 26ms (View: 11, DB: 2) | 200 OK [http://junpei/categories] - - -Processing ApplicationController#index (for 192.168.42.102 at 2010-10-10 13:49:45) [GET] - -ActionController::RoutingError (No route matches "/images/sg_grid_sub.png" with {:method=>:get}): - - -Rendering rescues/layout (not_found) - - -Processing CategoriesController#index (for 192.168.42.102 at 2010-10-10 13:49:48) [GET] - Parameters: {"page"=>"2"} - Category Load (0.6ms) SELECT * FROM "categories" LIMIT 4 OFFSET 4 - Photo Load (0.8ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 2 -Rendering template within layouts/photos -Rendering categories/index -Completed in 23ms (View: 11, DB: 1) | 200 OK [http://junpei/categories?page=2] - - -Processing ApplicationController#index (for 192.168.42.102 at 2010-10-10 13:49:49) [GET] - -ActionController::RoutingError (No route matches "/images/sg_grid_sub.png" with {:method=>:get}): - - -Rendering rescues/layout (not_found) - - -Processing PhotosController#index (for 192.168.42.102 at 2010-10-10 13:49:50) [GET] - Parameters: {"category_id"=>"6"} - Category Load (0.4ms) SELECT * FROM "categories" WHERE ("categories"."id" = '6') LIMIT 1 - Photo Load (0.6ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 6 ) LIMIT 11 OFFSET 0 -Rendering template within layouts/photos -Rendering photos/index -Completed in 24ms (View: 9, DB: 1) | 200 OK [http://junpei/categories/6/photos] - - -Processing ApplicationController#index (for 192.168.42.102 at 2010-10-10 13:49:52) [GET] - -ActionController::RoutingError (No route matches "/images/sg_grid_sub.png" with {:method=>:get}): - - -Rendering rescues/layout (not_found) - - -Processing CategoriesController#index (for 192.168.42.102 at 2010-10-10 13:50:07) [GET] - Category Load (0.7ms) SELECT * FROM "categories" LIMIT 4 OFFSET 0 - SQL (0.1ms) SELECT count(*) AS count_all FROM "categories"  - Photo Load (0.5ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 2 -Rendering template within layouts/photos -Rendering categories/index -Completed in 21ms (View: 9, DB: 1) | 200 OK [http://junpei/categories] - - -Processing ApplicationController#index (for 192.168.42.102 at 2010-10-10 13:50:08) [GET] - -ActionController::RoutingError (No route matches "/images/sg_grid_sub.png" with {:method=>:get}): - - -Rendering rescues/layout (not_found) - - -Processing PhotosController#index (for 192.168.42.102 at 2010-10-10 13:50:14) [GET] + Category Load (0.4ms) SELECT "categories".* FROM "categories" WHERE ("categories"."id" = 1) LIMIT 1 + Photo Load (0.4ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 11 OFFSET 0 +Rendered photos/index.html.erb within layouts/photos (47.4ms) +Completed 200 OK in 86ms (Views: 50.0ms | ActiveRecord: 0.7ms) + + +Started GET "/categories/1/photos" for 127.0.0.1 at 2010-10-11 07:38:47 -0400 + Processing by PhotosController#index as HTML + Parameters: {"category_id"=>"1"} + Category Load (0.4ms) SELECT "categories".* FROM "categories" WHERE ("categories"."id" = 1) LIMIT 1 + Photo Load (0.4ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 11 OFFSET 0 +Rendered photos/index.html.erb within layouts/photos (16.0ms) +Completed 200 OK in 84ms (Views: 18.5ms | ActiveRecord: 0.8ms) + + +Started GET "/categories" for 127.0.0.1 at 2010-10-11 07:38:50 -0400 + Processing by CategoriesController#index as HTML + Category Load (1.2ms) 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 (63.9ms) +Completed 200 OK in 99ms (Views: 66.0ms | ActiveRecord: 1.8ms) + + +Started GET "/admin/photos/new" for 127.0.0.1 at 2010-10-11 07:38:55 -0400 + Processing by Admin::PhotosController#new as HTML +Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/helpers/sidebar/_sidebar.html.erb (1.5ms) +Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/resources/_new.html.erb (0.2ms) +Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/templates/_file.html.erb (1.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 (1.2ms) +Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/templates/_string.html.erb (1.4ms) +Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/resources/_form.html.erb (58.2ms) +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.5ms) +Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/resources/new.html.erb within layouts/admin/base (87.3ms) +Completed 200 OK in 117ms (Views: 98.5ms | ActiveRecord: 0.0ms) + + +Started POST "/admin/photos/create" for 127.0.0.1 at 2010-10-11 07:39:13 -0400 + Processing by Admin::PhotosController#create as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"qXI/EVGrai3ZKvzFWeagi05czgp8I0TF8vdeWdEkaMs=", "photo"=>{"photo"=>#, "title"=>"", "description"=>"", "flickr_url"=>"", "sort"=>""}, "commit"=>"Create Photo"} +[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101011-58086-r0vtci.jpg[0]' 2>/dev/null +[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101011-58086-r0vtci.jpg[0]' -resize "1024x1024>" '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101011-58086-r0vtci20101011-58086-1r2h9j4' 2>/dev/null +[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101011-58086-r0vtci20101011-58086-1r2h9j4[0]' 2>/dev/null +[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101011-58086-r0vtci20101011-58086-1r2h9j4[0]' -resize "476x" -crop "476x476+0+118" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101011-58086-r0vtci20101011-58086-1r2h9j420101011-58086-1hw2ehq' 2>/dev/null +[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101011-58086-r0vtci20101011-58086-1r2h9j4[0]' 2>/dev/null +[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101011-58086-r0vtci20101011-58086-1r2h9j4[0]' -resize "308x" -crop "308x308+0+76" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101011-58086-r0vtci20101011-58086-1r2h9j420101011-58086-sdlk69' 2>/dev/null +[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101011-58086-r0vtci20101011-58086-1r2h9j4[0]' 2>/dev/null +[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101011-58086-r0vtci20101011-58086-1r2h9j4[0]' -resize "224x" -crop "224x224+0+55" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101011-58086-r0vtci20101011-58086-1r2h9j420101011-58086-3vhdea' 2>/dev/null +[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101011-58086-r0vtci20101011-58086-1r2h9j4[0]' 2>/dev/null +[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101011-58086-r0vtci20101011-58086-1r2h9j4[0]' -resize "140x" -crop "140x140+0+34" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101011-58086-r0vtci20101011-58086-1r2h9j420101011-58086-1o5p0no' 2>/dev/null +[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101011-58086-r0vtci20101011-58086-1r2h9j4[0]' 2>/dev/null +[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101011-58086-r0vtci20101011-58086-1r2h9j4[0]' -resize "84x" -crop "84x84+0+20" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101011-58086-r0vtci20101011-58086-1r2h9j420101011-58086-mf32mj' 2>/dev/null +[paperclip] identify -format %wx%h '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101011-58086-r0vtci20101011-58086-1r2h9j4[0]' 2>/dev/null +[paperclip] convert '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101011-58086-r0vtci20101011-58086-1r2h9j4[0]' -resize "56x" -crop "56x56+0+13" +repage '/var/folders/B2/B2qStFgNHj4CjwOiJRPQ+++++TI/-Tmp-/stream20101011-58086-r0vtci20101011-58086-1r2h9j420101011-58086-1p0mtre' 2>/dev/null + SQL (0.5ms) INSERT INTO "photos" ("created_at", "description", "flickr_url", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "sort", "title", "updated_at") VALUES ('2010-10-11 11:39:16.070414', '', '', 'image/jpeg', 'Church of Ireland.jpg', 498517, '2010-10-11 11:39:14.296232', NULL, '', '2010-10-11 11:39:16.070414') + SQL (0.3ms) UPDATE "photos" SET "created_at" = '2010-10-11 11:39:16.070414', "description" = 'Ruins of a Protestant church in Tourmakeady, Co. Mayo.', "flickr_url" = '', "photo_content_type" = 'image/jpeg', "photo_file_name" = 'Church of Ireland.jpg', "photo_file_size" = 498517, "photo_updated_at" = '2010-10-11 11:39:14.296232', "title" = 'Church of Ireland', "updated_at" = '2010-10-11 11:39:16.070414' WHERE ("photos"."id" = 29) +[paperclip] Saving attachments. +[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/29/original/Church of Ireland.jpg +[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/29/size17/Church of Ireland.jpg +[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/29/size11/Church of Ireland.jpg +[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/29/size8/Church of Ireland.jpg +[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/29/size5/Church of Ireland.jpg +[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/29/size3/Church of Ireland.jpg +[paperclip] saving /Users/danbee/Sites/rails/photos/public/system/photos/29/size2/Church of Ireland.jpg +[paperclip] Saving attachments. +Redirected to http://localhost:3000/admin/photos/edit/29 +Completed 302 Found in 2743ms + + +Started GET "/admin/photos/edit/29" for 127.0.0.1 at 2010-10-11 07:39:16 -0400 + Processing by Admin::PhotosController#edit as HTML + Parameters: {"id"=>"29"} + Photo Load (0.3ms) SELECT "photos".* FROM "photos" WHERE ("photos"."id" = 29) 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/helpers/_flash_message.html.erb (0.3ms) +Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/resources/_edit.html.erb (0.4ms) +Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/helpers/_preview.html.erb (2.1ms) +Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/templates/_file.html.erb (8.8ms) +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.5ms) +Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/templates/_string.html.erb (1.2ms) +Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/resources/_form.html.erb (37.7ms) + Category Load (1.8ms) SELECT "categories".* FROM "categories" + Category Load (0.2ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 29 ) +Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/templates/_relate_form.html.erb (1.9ms) + CACHE (0.0ms) SELECT "photos".* FROM "photos" WHERE ("photos"."id" = 29) LIMIT 1 + SQL (0.3ms) SELECT COUNT(*) AS count_id FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 29 ) + CACHE (0.0ms) SELECT "photos".* FROM "photos" WHERE ("photos"."id" = 29) LIMIT 1 + Category Load (0.2ms) SELECT "categories".* FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 29 ) 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 (2.2ms) +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.9ms) +Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/helpers/_apps.html.erb (1.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 (142.6ms) +Completed 200 OK in 180ms (Views: 151.6ms | ActiveRecord: 2.7ms) + + +Started GET "/admin/photos" for 127.0.0.1 at 2010-10-11 07:39:20 -0400 + Processing by Admin::PhotosController#index as HTML + SQL (0.2ms) SELECT COUNT(*) AS count_id FROM "photos" +Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/helpers/sidebar/_sidebar.html.erb (1.4ms) +Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/resources/_index.html.erb (0.2ms) +Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/helpers/search/_search.html.erb (0.9ms) + CACHE (0.0ms) SELECT COUNT(*) AS count_id FROM "photos" +Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/helpers/search/_search.html.erb (1.1ms) + CACHE (0.0ms) SELECT COUNT(*) AS count_id FROM "photos" + Photo Load (0.7ms) SELECT "photos".* FROM "photos" 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 (43.8ms) +Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/helpers/_header.html.erb (0.7ms) +Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/helpers/_apps.html.erb (1.4ms) +Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/resources/index.html.erb within layouts/admin/base (120.0ms) +Completed 200 OK in 152ms (Views: 130.3ms | ActiveRecord: 1.6ms) + + +Started GET "/admin/photos/edit/29" for 127.0.0.1 at 2010-10-11 07:39:30 -0400 + Processing by Admin::PhotosController#edit as HTML + Parameters: {"id"=>"29"} + Photo Load (0.4ms) SELECT "photos".* FROM "photos" WHERE ("photos"."id" = 29) 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/helpers/_preview.html.erb (2.1ms) +Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/templates/_file.html.erb (9.4ms) +Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/templates/_string.html.erb (1.6ms) +Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/templates/_text.html.erb (0.7ms) +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/_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 (30.1ms) + Category Load (1.9ms) SELECT "categories".* FROM "categories" + Category Load (0.2ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 29 ) +Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/templates/_relate_form.html.erb (1.8ms) + CACHE (0.0ms) SELECT "photos".* FROM "photos" WHERE ("photos"."id" = 29) LIMIT 1 + SQL (0.2ms) SELECT COUNT(*) AS count_id FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 29 ) + CACHE (0.0ms) SELECT "photos".* FROM "photos" WHERE ("photos"."id" = 29) LIMIT 1 + Category Load (0.2ms) SELECT "categories".* FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 29 ) 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 (2.2ms) +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.9ms) +Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/helpers/_apps.html.erb (1.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 (163.0ms) +Completed 200 OK in 203ms (Views: 173.9ms | ActiveRecord: 2.9ms) + + +Started POST "/admin/photos/relate/29" for 127.0.0.1 at 2010-10-11 07:39:34 -0400 + Processing by Admin::PhotosController#relate as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"qXI/EVGrai3ZKvzFWeagi05czgp8I0TF8vdeWdEkaMs=", "related"=>{"model"=>"Category", "id"=>"3"}, "commit"=>"Add", "id"=>"29"} + Photo Load (0.3ms) SELECT "photos".* FROM "photos" WHERE ("photos"."id" = 29) LIMIT 1 + Category Load (0.5ms) SELECT "categories".* FROM "categories" WHERE ("categories"."id" = 3) LIMIT 1 + SQL (0.3ms) INSERT INTO "categories_photos" ("category_id", "photo_id") VALUES (3, 29) +Redirected to http://localhost:3000/admin/photos/edit/29 +Completed 302 Found in 93ms + + +Started GET "/admin/photos/edit/29" for 127.0.0.1 at 2010-10-11 07:39:34 -0400 + Processing by Admin::PhotosController#edit as HTML + Parameters: {"id"=>"29"} + Photo Load (0.3ms) SELECT "photos".* FROM "photos" WHERE ("photos"."id" = 29) LIMIT 1 +Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/helpers/sidebar/_sidebar.html.erb (1.7ms) +Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/helpers/_flash_message.html.erb (0.3ms) +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/helpers/_preview.html.erb (2.4ms) +Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/templates/_file.html.erb (9.5ms) +Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/templates/_string.html.erb (1.2ms) +Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/templates/_text.html.erb (1.2ms) +Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/templates/_string.html.erb (1.2ms) +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 (29.6ms) + Category Load (1.7ms) SELECT "categories".* FROM "categories" + Category Load (0.5ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 29 ) +Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/templates/_relate_form.html.erb (1.8ms) + CACHE (0.0ms) SELECT "photos".* FROM "photos" WHERE ("photos"."id" = 29) LIMIT 1 + SQL (0.2ms) SELECT COUNT(*) AS count_id FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 29 ) + CACHE (0.0ms) SELECT "photos".* FROM "photos" WHERE ("photos"."id" = 29) LIMIT 1 + Category Load (0.7ms) SELECT "categories".* FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 29 ) 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 (4.3ms) +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.8ms) +Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/helpers/_apps.html.erb (1.5ms) +Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/resources/edit.html.erb within layouts/admin/base (179.7ms) +Completed 200 OK in 220ms (Views: 190.2ms | ActiveRecord: 3.5ms) + + +Started POST "/admin/photos/relate/29" for 127.0.0.1 at 2010-10-11 07:39:37 -0400 + Processing by Admin::PhotosController#relate as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"qXI/EVGrai3ZKvzFWeagi05czgp8I0TF8vdeWdEkaMs=", "related"=>{"model"=>"Category", "id"=>"1"}, "commit"=>"Add", "id"=>"29"} + Photo Load (0.4ms) SELECT "photos".* FROM "photos" WHERE ("photos"."id" = 29) LIMIT 1 + Category Load (0.4ms) SELECT "categories".* FROM "categories" WHERE ("categories"."id" = 1) LIMIT 1 + SQL (0.4ms) INSERT INTO "categories_photos" ("category_id", "photo_id") VALUES (1, 29) +Redirected to http://localhost:3000/admin/photos/edit/29 +Completed 302 Found in 97ms + + +Started GET "/admin/photos/edit/29" for 127.0.0.1 at 2010-10-11 07:39:38 -0400 + Processing by Admin::PhotosController#edit as HTML + Parameters: {"id"=>"29"} + Photo Load (0.3ms) SELECT "photos".* FROM "photos" WHERE ("photos"."id" = 29) 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/helpers/_flash_message.html.erb (0.4ms) +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/helpers/_preview.html.erb (1.9ms) +Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/templates/_file.html.erb (9.2ms) +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.7ms) +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/_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 (29.7ms) + Category Load (1.7ms) SELECT "categories".* FROM "categories" + Category Load (0.7ms) SELECT * FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 29 ) +Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/templates/_relate_form.html.erb (1.7ms) + CACHE (0.0ms) SELECT "photos".* FROM "photos" WHERE ("photos"."id" = 29) LIMIT 1 + SQL (0.2ms) SELECT COUNT(*) AS count_id FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 29 ) + CACHE (0.0ms) SELECT "photos".* FROM "photos" WHERE ("photos"."id" = 29) LIMIT 1 + Category Load (0.9ms) SELECT "categories".* FROM "categories" INNER JOIN "categories_photos" ON "categories".id = "categories_photos".category_id WHERE ("categories_photos".photo_id = 29 ) 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 (33.3ms) +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 (1.5ms) +Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/typus-e0ce90d39989/app/views/admin/resources/edit.html.erb within layouts/admin/base (165.6ms) +Completed 200 OK in 202ms (Views: 174.0ms | ActiveRecord: 3.8ms) + + +Started GET "/categories" for 127.0.0.1 at 2010-10-11 07:39:41 -0400 + Processing by CategoriesController#index as HTML + Category Load (1.0ms) SELECT "categories".* FROM "categories" LIMIT 4 OFFSET 0 + SQL (0.1ms) SELECT COUNT(*) AS count_id FROM "categories" + Photo Load (0.7ms) SELECT "photos".* FROM "photos" ORDER BY RANDOM() LIMIT 2 +Rendered categories/index.html.erb within layouts/photos (25.9ms) +Completed 200 OK in 87ms (Views: 28.9ms | ActiveRecord: 3.1ms) + + +Started GET "/categories" for 127.0.0.1 at 2010-10-11 07:39:43 -0400 + Processing by CategoriesController#index as HTML + Category Load (1.1ms) 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 (50.1ms) +Completed 200 OK in 81ms (Views: 52.1ms | ActiveRecord: 2.9ms) + + +Started GET "/categories" for 127.0.0.1 at 2010-10-11 07:39:44 -0400 + Processing by CategoriesController#index as HTML + Category Load (1.0ms) SELECT "categories".* FROM "categories" LIMIT 4 OFFSET 0 + SQL (0.1ms) SELECT COUNT(*) AS count_id FROM "categories" + Photo Load (0.6ms) SELECT "photos".* FROM "photos" ORDER BY RANDOM() LIMIT 2 +Rendered categories/index.html.erb within layouts/photos (58.2ms) +Completed 200 OK in 88ms (Views: 60.3ms | ActiveRecord: 1.7ms) + + +Started GET "/categories/1/photos" for 127.0.0.1 at 2010-10-11 07:39:47 -0400 + Processing by PhotosController#index as HTML + Parameters: {"category_id"=>"1"} + Category Load (0.4ms) SELECT "categories".* FROM "categories" WHERE ("categories"."id" = 1) LIMIT 1 + Photo Load (0.6ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 11 OFFSET 0 +Rendered photos/index.html.erb within layouts/photos (17.8ms) +Completed 200 OK in 87ms (Views: 20.9ms | ActiveRecord: 2.1ms) + + +Started GET "/categories" for 127.0.0.1 at 2010-10-11 07:39:50 -0400 + Processing by CategoriesController#index as HTML + Category Load (1.1ms) SELECT "categories".* FROM "categories" LIMIT 4 OFFSET 0 + SQL (0.1ms) 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 (50.0ms) +Completed 200 OK in 80ms (Views: 52.0ms | ActiveRecord: 1.7ms) + + +Started GET "/categories/3/photos" for 127.0.0.1 at 2010-10-11 07:39:51 -0400 + Processing by PhotosController#index as HTML Parameters: {"category_id"=>"3"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '3') LIMIT 1 - Photo Load (0.6ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 3 ) LIMIT 11 OFFSET 0 -Rendering template within layouts/photos -Rendering photos/index -Completed in 20ms (View: 8, DB: 1) | 200 OK [http://junpei/categories/3/photos] + Category Load (0.4ms) SELECT "categories".* FROM "categories" WHERE ("categories"."id" = 3) LIMIT 1 + Photo Load (0.4ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 3 ) LIMIT 11 OFFSET 0 +Rendered photos/index.html.erb within layouts/photos (15.6ms) +Completed 200 OK in 82ms (Views: 18.1ms | ActiveRecord: 0.8ms) -Processing ApplicationController#index (for 192.168.42.102 at 2010-10-10 13:50:15) [GET] +Started GET "/categories" for 127.0.0.1 at 2010-10-11 07:39:55 -0400 + Processing by CategoriesController#index as HTML + Category Load (1.2ms) SELECT "categories".* FROM "categories" LIMIT 4 OFFSET 0 + SQL (0.1ms) 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 (52.5ms) +Completed 200 OK in 85ms (Views: 54.5ms | ActiveRecord: 1.8ms) -ActionController::RoutingError (No route matches "/images/sg_grid_sub.png" with {:method=>:get}): - -Rendering rescues/layout (not_found) - - -Processing PagesController#index (for 192.168.42.102 at 2010-10-10 13:50:21) [GET] - Photo Load (0.6ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -Completed in 12ms (View: 6, DB: 1) | 200 OK [http://junpei/] - - -Processing ApplicationController#index (for 192.168.42.102 at 2010-10-10 13:50:23) [GET] - -ActionController::RoutingError (No route matches "/images/sg_grid_sub.png" with {:method=>:get}): - - -Rendering rescues/layout (not_found) - - -Processing PagesController#about (for 192.168.42.102 at 2010-10-10 13:50:30) [GET] -Rendering template within layouts/photos -Rendering pages/about -Completed in 4ms (View: 3, DB: 0) | 200 OK [http://junpei/about] - - -Processing ApplicationController#index (for 192.168.42.102 at 2010-10-10 13:50:31) [GET] - -ActionController::RoutingError (No route matches "/images/sg_grid_sub.png" with {:method=>:get}): - - -Rendering rescues/layout (not_found) - - -Processing PagesController#about (for 127.0.0.1 at 2010-10-11 03:01:12) [GET] -Rendering template within layouts/photos -Rendering pages/about -Completed in 5ms (View: 4, DB: 0) | 200 OK [http://localhost/about] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-11 03:01:14) [GET] - Category Load (19.3ms) SELECT * FROM "categories" LIMIT 4 OFFSET 0 - SQL (0.3ms) SELECT count(*) AS count_all FROM "categories"  - Photo Load (1.0ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 2 -Rendering template within layouts/photos -Rendering categories/index -Completed in 83ms (View: 10, DB: 21) | 200 OK [http://localhost/categories] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-11 03:01:16) [GET] - Parameters: {"page"=>"2"} - Category Load (0.7ms) SELECT * FROM "categories" LIMIT 4 OFFSET 4 - Photo Load (0.8ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 2 -Rendering template within layouts/photos -Rendering categories/index -Completed in 23ms (View: 10, DB: 1) | 200 OK [http://localhost/categories?page=2] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-11 03:01:19) [GET] - Parameters: {"page"=>"1"} - Category Load (0.7ms) SELECT * FROM "categories" LIMIT 4 OFFSET 0 - SQL (0.1ms) SELECT count(*) AS count_all FROM "categories"  - Photo Load (0.5ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 2 -Rendering template within layouts/photos -Rendering categories/index -Completed in 24ms (View: 11, DB: 1) | 200 OK [http://localhost/categories?page=1] - - -Processing PagesController#index (for 127.0.0.1 at 2010-10-11 03:01:22) [GET] - Photo Load (0.8ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -Completed in 15ms (View: 7, DB: 1) | 200 OK [http://localhost/] - - -Processing PagesController#index (for 127.0.0.1 at 2010-10-11 04:10:48) [GET] - Photo Load (0.5ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index - -ActionView::TemplateError (undefined method `photo' for nil:NilClass) on line #9 of app/views/pages/index.html.erb: -6: -7: -8: -9:
-10:
-11: -12:
- - app/views/pages/index.html.erb:9 - -Rendered rescues/_trace (28.6ms) -Rendered rescues/_request_and_response (1.1ms) -Rendering rescues/layout (internal_server_error) - - -Processing PagesController#index (for 127.0.0.1 at 2010-10-11 04:11:15) [GET] - Photo Load (0.4ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index - -ActionView::TemplateError (undefined method `photo' for nil:NilClass) on line #9 of app/views/pages/index.html.erb: -6:
-7: -8: -9:
-10:
-11: -12:
- - app/views/pages/index.html.erb:9 - -Rendered rescues/_trace (26.2ms) -Rendered rescues/_request_and_response (0.4ms) -Rendering rescues/layout (internal_server_error) - - -Processing PagesController#index (for 127.0.0.1 at 2010-10-11 04:11:35) [GET] - Photo Load (0.4ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -ERROR: compiling _run_erb_app47views47pages47index46html46erb RAISED compile error -/Users/danbee/Sites/rails/photos/app/views/pages/index.html.erb:9: syntax error, unexpected tIVAR, expecting kTHEN or ':' or '\n' or ';' -...fer.concat(( if @photos @photo.photo.url(:size17) ).to_s); @... - ^ -Function body: def _run_erb_app47views47pages47index46html46erb(local_assigns) - old_output_buffer = output_buffer;;@output_buffer = ''; __in_erb_template=true ; @output_buffer.concat "\t
\n\t\t" -; @output_buffer.concat(( link_to '
about
', :action => 'about' ).to_s); @output_buffer.concat "\n\t
\n\t
\n\t\t" - - -; @output_buffer.concat(( link_to '
portfolio
', :controller => 'categories' ).to_s); @output_buffer.concat "\n\t
\n
\n\n
\n
\n\n
\n
\n
\n
\n
\n\t" - - - - - - - -; @output_buffer.concat(( link_to '
contact
', :action => 'contact' ).to_s); @output_buffer.concat "\n
\n" - -; @output_buffer - ensure - self.output_buffer = old_output_buffer - end -Backtrace: /Users/danbee/Sites/rails/photos/app/views/pages/index.html.erb:22:in `compile!' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_view/renderable.rb:61:in `compile' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_view/renderable.rb:28:in `render' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_view/template.rb:205:in `render_template' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_view/base.rb:265:in `render_without_parent' -/Users/danbee/Sites/rails/photos/vendor/plugins/typus/lib/vendor/inherit_views.rb:193:in `render' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_view/base.rb:348:in `_render_with_layout' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_view/base.rb:262:in `render_without_parent' -/Users/danbee/Sites/rails/photos/vendor/plugins/typus/lib/vendor/inherit_views.rb:193:in `render' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/base.rb:1250:in `render_for_file' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/base.rb:936:in `render_without_benchmark' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/benchmarking.rb:51:in `render' -/Library/Ruby/Gems/1.8/gems/activesupport-2.3.8/lib/active_support/core_ext/benchmark.rb:17:in `ms' -/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/benchmark.rb:308:in `realtime' -/Library/Ruby/Gems/1.8/gems/activesupport-2.3.8/lib/active_support/core_ext/benchmark.rb:17:in `ms' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/benchmarking.rb:51:in `render' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/base.rb:1326:in `default_render' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/base.rb:1332:in `perform_action_without_filters' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/filters.rb:617:in `call_filters' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/filters.rb:610:in `perform_action_without_benchmark' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue' -/Library/Ruby/Gems/1.8/gems/activesupport-2.3.8/lib/active_support/core_ext/benchmark.rb:17:in `ms' -/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/benchmark.rb:308:in `realtime' -/Library/Ruby/Gems/1.8/gems/activesupport-2.3.8/lib/active_support/core_ext/benchmark.rb:17:in `ms' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/rescue.rb:160:in `perform_action_without_flash' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/flash.rb:151:in `perform_action' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/base.rb:532:in `send' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/base.rb:532:in `process_without_filters' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/filters.rb:606:in `process' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/base.rb:391:in `process' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/base.rb:386:in `call' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/routing/route_set.rb:438:in `call' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/dispatcher.rb:87:in `dispatch' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/dispatcher.rb:121:in `_call' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/dispatcher.rb:130:in `build_middleware_stack' -/Library/Ruby/Gems/1.8/gems/activerecord-2.3.8/lib/active_record/query_cache.rb:29:in `call' -/Library/Ruby/Gems/1.8/gems/activerecord-2.3.8/lib/active_record/query_cache.rb:29:in `call' -/Library/Ruby/Gems/1.8/gems/activerecord-2.3.8/lib/active_record/connection_adapters/abstract/query_cache.rb:34:in `cache' -/Library/Ruby/Gems/1.8/gems/activerecord-2.3.8/lib/active_record/query_cache.rb:9:in `cache' -/Library/Ruby/Gems/1.8/gems/activerecord-2.3.8/lib/active_record/query_cache.rb:28:in `call' -/Library/Ruby/Gems/1.8/gems/activerecord-2.3.8/lib/active_record/connection_adapters/abstract/connection_pool.rb:361:in `call' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/string_coercion.rb:25:in `call' -/Library/Ruby/Gems/1.8/gems/rack-1.1.0/lib/rack/head.rb:9:in `call' -/Library/Ruby/Gems/1.8/gems/rack-1.1.0/lib/rack/methodoverride.rb:24:in `call' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/params_parser.rb:15:in `call' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/session/cookie_store.rb:99:in `call' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/failsafe.rb:26:in `call' -/Library/Ruby/Gems/1.8/gems/rack-1.1.0/lib/rack/lock.rb:11:in `call' -/Library/Ruby/Gems/1.8/gems/rack-1.1.0/lib/rack/lock.rb:11:in `synchronize' -/Library/Ruby/Gems/1.8/gems/rack-1.1.0/lib/rack/lock.rb:11:in `call' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/dispatcher.rb:114:in `call' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/reloader.rb:34:in `run' -/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/dispatcher.rb:108:in `call' -/Library/Ruby/Gems/1.8/gems/rails-2.3.8/lib/rails/rack/static.rb:31:in `call' -/Library/Ruby/Gems/1.8/gems/rack-1.1.0/lib/rack/urlmap.rb:47:in `call' -/Library/Ruby/Gems/1.8/gems/rack-1.1.0/lib/rack/urlmap.rb:41:in `each' -/Library/Ruby/Gems/1.8/gems/rack-1.1.0/lib/rack/urlmap.rb:41:in `call' -/Library/Ruby/Gems/1.8/gems/rails-2.3.8/lib/rails/rack/log_tailer.rb:17:in `call' -/Library/Ruby/Gems/1.8/gems/rack-1.1.0/lib/rack/content_length.rb:13:in `call' -/Library/Ruby/Gems/1.8/gems/rack-1.1.0/lib/rack/chunked.rb:15:in `call' -/Library/Ruby/Gems/1.8/gems/rack-1.1.0/lib/rack/handler/mongrel.rb:67:in `process' -/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:159:in `process_client' -/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in `each' -/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in `process_client' -/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `run' -/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `initialize' -/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `new' -/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `run' -/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `initialize' -/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `new' -/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `run' -/Library/Ruby/Gems/1.8/gems/rack-1.1.0/lib/rack/handler/mongrel.rb:38:in `run' -/Library/Ruby/Gems/1.8/gems/rails-2.3.8/lib/commands/server.rb:111 -/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gem_original_require' -/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require' -script/server:3 - -ActionView::TemplateError (compile error -/Users/danbee/Sites/rails/photos/app/views/pages/index.html.erb:9: syntax error, unexpected tIVAR, expecting kTHEN or ':' or '\n' or ';' -...fer.concat(( if @photos @photo.photo.url(:size17) ).to_s); @... - ^) on line #9 of app/views/pages/index.html.erb: -6: -7: -8: -9:
-10:
-11: -12:
- - app/views/pages/index.html.erb:22:in `compile!' - -Rendered rescues/_trace (23.5ms) -Rendered rescues/_request_and_response (0.3ms) -Rendering rescues/layout (internal_server_error) - - -Processing PagesController#index (for 127.0.0.1 at 2010-10-11 04:11:56) [GET] - Photo Load (0.4ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index - -ActionView::TemplateError (You have a nil object when you didn't expect it! -You might have expected an instance of Array. -The error occurred while evaluating nil.empty?) on line #9 of app/views/pages/index.html.erb: -6:
-7: -8: -9:
-10:
-11: -12:
- - app/views/pages/index.html.erb:9 - -Rendered rescues/_trace (25.9ms) -Rendered rescues/_request_and_response (0.2ms) -Rendering rescues/layout (internal_server_error) - - -Processing PagesController#index (for 127.0.0.1 at 2010-10-11 04:12:07) [GET] - Photo Load (0.4ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -Completed in 35ms (View: 29, DB: 0) | 200 OK [http://localhost/] - - -Processing PagesController#index (for 127.0.0.1 at 2010-10-11 04:12:07) [GET] - Photo Load (0.4ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -Completed in 11ms (View: 3, DB: 0) | 200 OK [http://localhost/] - - -Processing PagesController#about (for 127.0.0.1 at 2010-10-11 04:12:42) [GET] -Rendering template within layouts/photos -Rendering pages/about -Completed in 22ms (View: 21, DB: 0) | 200 OK [http://localhost/about] - - -Processing PagesController#index (for 127.0.0.1 at 2010-10-11 04:12:44) [GET] - Photo Load (0.4ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -Completed in 7ms (View: 2, DB: 0) | 200 OK [http://localhost/] - - -Processing PagesController#index (for 127.0.0.1 at 2010-10-11 04:12:44) [GET] - Photo Load (0.4ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -Completed in 10ms (View: 3, DB: 0) | 200 OK [http://localhost/] - - -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-11 04:12:44) [GET] - Category Load (0.6ms) SELECT * FROM "categories" LIMIT 4 OFFSET 0 - SQL (0.1ms) SELECT count(*) AS count_all FROM "categories"  - Photo Load (0.2ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 2 -Rendering template within layouts/photos -Rendering categories/index -Completed in 17ms (View: 8, DB: 1) | 200 OK [http://localhost/categories] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-11 04:12:46) [GET] +Started GET "/categories/1/photos" for 127.0.0.1 at 2010-10-11 07:39:56 -0400 + Processing by PhotosController#index as HTML Parameters: {"category_id"=>"1"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '1') LIMIT 1 - Photo Load (0.2ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 11 OFFSET 0 -Rendering template within layouts/photos -Rendering photos/index -Completed in 23ms (View: 13, DB: 0) | 200 OK [http://localhost/categories/1/photos] + Category Load (0.4ms) SELECT "categories".* FROM "categories" WHERE ("categories"."id" = 1) LIMIT 1 + Photo Load (0.5ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 1 ) LIMIT 11 OFFSET 0 +Rendered photos/index.html.erb within layouts/photos (17.6ms) +Completed 200 OK in 85ms (Views: 20.1ms | ActiveRecord: 0.9ms) -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-11 04:12:51) [GET] - Category Load (0.6ms) SELECT * FROM "categories" LIMIT 4 OFFSET 0 - SQL (0.1ms) SELECT count(*) AS count_all FROM "categories"  - Photo Load (0.2ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 2 -Rendering template within layouts/photos -Rendering categories/index -Completed in 13ms (View: 4, DB: 1) | 200 OK [http://localhost/categories] +Started GET "/" for 127.0.0.1 at 2010-10-11 07:40:02 -0400 + Processing by PagesController#index as HTML + Photo Load (0.5ms) SELECT "photos".* FROM "photos" ORDER BY RANDOM() LIMIT 1 +Rendered pages/index.html.erb within layouts/photos (15.2ms) +Completed 200 OK in 88ms (Views: 41.2ms | ActiveRecord: 0.5ms) -Processing CategoriesController#index (for 127.0.0.1 at 2010-10-11 04:12:55) [GET] - Parameters: {"page"=>"2"} - Category Load (0.6ms) SELECT * FROM "categories" LIMIT 4 OFFSET 4 - Photo Load (0.1ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 2 -Rendering template within layouts/photos -Rendering categories/index -Completed in 12ms (View: 4, DB: 1) | 200 OK [http://localhost/categories?page=2] - - -Processing PhotosController#index (for 127.0.0.1 at 2010-10-11 04:12:56) [GET] - Parameters: {"category_id"=>"5"} - Category Load (0.2ms) SELECT * FROM "categories" WHERE ("categories"."id" = '5') LIMIT 1 - Photo Load (0.2ms) SELECT * FROM "photos" INNER JOIN "categories_photos" ON "photos".id = "categories_photos".photo_id WHERE ("categories_photos".category_id = 5 ) LIMIT 11 OFFSET 0 -Rendering template within layouts/photos -Rendering photos/index -Completed in 63ms (View: 54, DB: 0) | 200 OK [http://localhost/categories/5/photos] - - -Processing PagesController#index (for 127.0.0.1 at 2010-10-11 04:12:57) [GET] - Photo Load (0.5ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -Completed in 12ms (View: 4, DB: 0) | 200 OK [http://localhost/] - - -Processing PagesController#index (for 127.0.0.1 at 2010-10-11 04:12:57) [GET] - Photo Load (0.4ms) SELECT * FROM "photos" ORDER BY RANDOM() LIMIT 1 -Rendering template within layouts/photos -Rendering pages/index -Completed in 8ms (View: 2, DB: 0) | 200 OK [http://localhost/] +Started GET "/about" for 127.0.0.1 at 2010-10-11 07:40:04 -0400 + Processing by PagesController#about as HTML +Rendered pages/about.html.erb within layouts/photos (2.1ms) +Completed 200 OK in 4ms (Views: 3.7ms | ActiveRecord: 0.0ms) diff --git a/public/404.html b/public/404.html index eff660b..9a48320 100644 --- a/public/404.html +++ b/public/404.html @@ -1,23 +1,19 @@ - - - - + + - The page you were looking for doesn't exist (404) - + @@ -27,4 +23,4 @@

You may have mistyped the address or the page may have moved.

- \ No newline at end of file + diff --git a/public/422.html b/public/422.html index b54e4a3..83660ab 100644 --- a/public/422.html +++ b/public/422.html @@ -1,23 +1,19 @@ - - - - + + - The change you wanted was rejected (422) - + @@ -27,4 +23,4 @@

Maybe you tried to change something you didn't have access to.

- \ No newline at end of file + diff --git a/public/500.html b/public/500.html index ec3bbf0..b80307f 100644 --- a/public/500.html +++ b/public/500.html @@ -1,23 +1,19 @@ - - - - + + - We're sorry, but something went wrong (500) - + diff --git a/public/index.html_ b/public/index.html_ index 0dd5189..75d5edd 100644 --- a/public/index.html_ +++ b/public/index.html_ @@ -1,8 +1,6 @@ - + - Ruby on Rails: Welcome aboard - - @@ -206,23 +187,6 @@
- +

Getting started

Here’s how to get rolling:

- -
    + +
    1. -

      Use script/generate to create your models and controllers

      +

      Use rails generate to create your models and controllers

      To see all available options, run it without parameters.

    2. - +
    3. Set up a default route and remove or rename this file

      Routes are set up in config/routes.rb.

      @@ -263,13 +227,13 @@
    4. Create your database

      -

      Run rake db:migrate to create your database. If you're not using SQLite (the default), edit config/database.yml with your username and password.

      +

      Run rake db:migrate to create your database. If you're not using SQLite (the default), edit config/database.yml with your username and password.

- + - \ No newline at end of file + diff --git a/public/javascripts/controls.js b/public/javascripts/controls.js index ca29aef..7392fb6 100644 --- a/public/javascripts/controls.js +++ b/public/javascripts/controls.js @@ -1,6 +1,8 @@ -// Copyright (c) 2005-2008 Thomas Fuchs (http://script.aculo.us, http://mir.aculo.us) -// (c) 2005-2008 Ivan Krstic (http://blogs.law.harvard.edu/ivan) -// (c) 2005-2008 Jon Tirsen (http://www.tirsen.com) +// script.aculo.us controls.js v1.8.3, Thu Oct 08 11:23:33 +0200 2009 + +// Copyright (c) 2005-2009 Thomas Fuchs (http://script.aculo.us, http://mir.aculo.us) +// (c) 2005-2009 Ivan Krstic (http://blogs.law.harvard.edu/ivan) +// (c) 2005-2009 Jon Tirsen (http://www.tirsen.com) // Contributors: // Richard Livsey // Rahul Bhargava diff --git a/public/javascripts/dragdrop.js b/public/javascripts/dragdrop.js index 07229f9..15c6dbc 100644 --- a/public/javascripts/dragdrop.js +++ b/public/javascripts/dragdrop.js @@ -1,5 +1,6 @@ -// Copyright (c) 2005-2008 Thomas Fuchs (http://script.aculo.us, http://mir.aculo.us) -// (c) 2005-2008 Sammi Williams (http://www.oriontransfer.co.nz, sammi@oriontransfer.co.nz) +// script.aculo.us dragdrop.js v1.8.3, Thu Oct 08 11:23:33 +0200 2009 + +// Copyright (c) 2005-2009 Thomas Fuchs (http://script.aculo.us, http://mir.aculo.us) // // script.aculo.us is freely distributable under the terms of an MIT-style license. // For details, see the script.aculo.us web site: http://script.aculo.us/ @@ -311,7 +312,7 @@ var Draggable = Class.create({ tag_name=='TEXTAREA')) return; var pointer = [Event.pointerX(event), Event.pointerY(event)]; - var pos = Position.cumulativeOffset(this.element); + var pos = this.element.cumulativeOffset(); this.offset = [0,1].map( function(i) { return (pointer[i] - pos[i]) }); Draggables.activate(this); @@ -454,7 +455,7 @@ var Draggable = Class.create({ }, draw: function(point) { - var pos = Position.cumulativeOffset(this.element); + var pos = this.element.cumulativeOffset(); if(this.options.ghosting) { var r = Position.realOffset(this.element); pos[0] += r[0] - Position.deltaX; pos[1] += r[1] - Position.deltaY; @@ -730,7 +731,7 @@ var Sortable = { } // keep reference - this.sortables[element.id] = options; + this.sortables[element.identify()] = options; // for onupdate Draggables.addObserver(new SortableObserver(element, options.onUpdate)); @@ -825,7 +826,7 @@ var Sortable = { hide().addClassName('dropmarker').setStyle({position:'absolute'}); document.getElementsByTagName("body").item(0).appendChild(Sortable._marker); } - var offsets = Position.cumulativeOffset(dropon); + var offsets = dropon.cumulativeOffset(); Sortable._marker.setStyle({left: offsets[0]+'px', top: offsets[1] + 'px'}); if(position=='after') diff --git a/public/javascripts/effects.js b/public/javascripts/effects.js index 5a639d2..c81e6c7 100644 --- a/public/javascripts/effects.js +++ b/public/javascripts/effects.js @@ -1,4 +1,6 @@ -// Copyright (c) 2005-2008 Thomas Fuchs (http://script.aculo.us, http://mir.aculo.us) +// script.aculo.us effects.js v1.8.3, Thu Oct 08 11:23:33 +0200 2009 + +// Copyright (c) 2005-2009 Thomas Fuchs (http://script.aculo.us, http://mir.aculo.us) // Contributors: // Justin Palmer (http://encytemedia.com/) // Mark Pilgrim (http://diveintomark.org/) @@ -145,14 +147,13 @@ var Effect = { 'blind': ['BlindDown','BlindUp'], 'appear': ['Appear','Fade'] }, - toggle: function(element, effect) { + toggle: function(element, effect, options) { element = $(element); - effect = (effect || 'appear').toLowerCase(); - var options = Object.extend({ + effect = (effect || 'appear').toLowerCase(); + + return Effect[ Effect.PAIRS[ effect ][ element.visible() ? 1 : 0 ] ](element, Object.extend({ queue: { position:'end', scope:(element.id || 'global'), limit: 1 } - }, arguments[2] || { }); - Effect[element.visible() ? - Effect.PAIRS[effect][1] : Effect.PAIRS[effect][0]](element, options); + }, options || {})); } }; @@ -228,12 +229,6 @@ Effect.Queue = Effect.Queues.get('global'); Effect.Base = Class.create({ position: null, start: function(options) { - function codeForEvent(options,eventName){ - return ( - (options[eventName+'Internal'] ? 'this.options.'+eventName+'Internal(this);' : '') + - (options[eventName] ? 'this.options.'+eventName+'(this);' : '') - ); - } if (options && options.transition === false) options.transition = Effect.Transitions.linear; this.options = Object.extend(Object.extend({ },Effect.DefaultOptions), options || { }); this.currentFrame = 0; diff --git a/public/javascripts/prototype.js b/public/javascripts/prototype.js index dfe8ab4..06249a6 100644 --- a/public/javascripts/prototype.js +++ b/public/javascripts/prototype.js @@ -1,5 +1,5 @@ -/* Prototype JavaScript framework, version 1.6.0.3 - * (c) 2005-2008 Sam Stephenson +/* Prototype JavaScript framework, version 1.7_rc2 + * (c) 2005-2010 Sam Stephenson * * Prototype is freely distributable under the terms of an MIT-style license. * For details, see the Prototype web site: http://www.prototypejs.org/ @@ -7,32 +7,53 @@ *--------------------------------------------------------------------------*/ var Prototype = { - Version: '1.6.0.3', - Browser: { - IE: !!(window.attachEvent && - navigator.userAgent.indexOf('Opera') === -1), - Opera: navigator.userAgent.indexOf('Opera') > -1, - WebKit: navigator.userAgent.indexOf('AppleWebKit/') > -1, - Gecko: navigator.userAgent.indexOf('Gecko') > -1 && - navigator.userAgent.indexOf('KHTML') === -1, - MobileSafari: !!navigator.userAgent.match(/Apple.*Mobile.*Safari/) - }, + Version: '1.7_rc2', + + Browser: (function(){ + var ua = navigator.userAgent; + var isOpera = Object.prototype.toString.call(window.opera) == '[object Opera]'; + return { + IE: !!window.attachEvent && !isOpera, + Opera: isOpera, + WebKit: ua.indexOf('AppleWebKit/') > -1, + Gecko: ua.indexOf('Gecko') > -1 && ua.indexOf('KHTML') === -1, + MobileSafari: /Apple.*Mobile/.test(ua) + } + })(), BrowserFeatures: { XPath: !!document.evaluate, + SelectorsAPI: !!document.querySelector, - ElementExtensions: !!window.HTMLElement, - SpecificElementExtensions: - document.createElement('div')['__proto__'] && - document.createElement('div')['__proto__'] !== - document.createElement('form')['__proto__'] + + ElementExtensions: (function() { + var constructor = window.Element || window.HTMLElement; + return !!(constructor && constructor.prototype); + })(), + SpecificElementExtensions: (function() { + if (typeof window.HTMLDivElement !== 'undefined') + return true; + + var div = document.createElement('div'), + form = document.createElement('form'), + isSupported = false; + + if (div['__proto__'] && (div['__proto__'] !== form['__proto__'])) { + isSupported = true; + } + + div = form = null; + + return isSupported; + })() }, ScriptFragment: ']*>([\\S\\s]*?)<\/script>', JSONFilter: /^\/\*-secure-([\s\S]*)\*\/\s*$/, emptyFunction: function() { }, + K: function(x) { return x } }; @@ -40,232 +61,8 @@ if (Prototype.Browser.MobileSafari) Prototype.BrowserFeatures.SpecificElementExtensions = false; -/* Based on Alex Arnell's inheritance implementation. */ -var Class = { - create: function() { - var parent = null, properties = $A(arguments); - if (Object.isFunction(properties[0])) - parent = properties.shift(); - - function klass() { - this.initialize.apply(this, arguments); - } - - Object.extend(klass, Class.Methods); - klass.superclass = parent; - klass.subclasses = []; - - if (parent) { - var subclass = function() { }; - subclass.prototype = parent.prototype; - klass.prototype = new subclass; - parent.subclasses.push(klass); - } - - for (var i = 0; i < properties.length; i++) - klass.addMethods(properties[i]); - - if (!klass.prototype.initialize) - klass.prototype.initialize = Prototype.emptyFunction; - - klass.prototype.constructor = klass; - - return klass; - } -}; - -Class.Methods = { - addMethods: function(source) { - var ancestor = this.superclass && this.superclass.prototype; - var properties = Object.keys(source); - - if (!Object.keys({ toString: true }).length) - properties.push("toString", "valueOf"); - - for (var i = 0, length = properties.length; i < length; i++) { - var property = properties[i], value = source[property]; - if (ancestor && Object.isFunction(value) && - value.argumentNames().first() == "$super") { - var method = value; - value = (function(m) { - return function() { return ancestor[m].apply(this, arguments) }; - })(property).wrap(method); - - value.valueOf = method.valueOf.bind(method); - value.toString = method.toString.bind(method); - } - this.prototype[property] = value; - } - - return this; - } -}; - var Abstract = { }; -Object.extend = function(destination, source) { - for (var property in source) - destination[property] = source[property]; - return destination; -}; - -Object.extend(Object, { - inspect: function(object) { - try { - if (Object.isUndefined(object)) return 'undefined'; - if (object === null) return 'null'; - return object.inspect ? object.inspect() : String(object); - } catch (e) { - if (e instanceof RangeError) return '...'; - throw e; - } - }, - - toJSON: function(object) { - var type = typeof object; - switch (type) { - case 'undefined': - case 'function': - case 'unknown': return; - case 'boolean': return object.toString(); - } - - if (object === null) return 'null'; - if (object.toJSON) return object.toJSON(); - if (Object.isElement(object)) return; - - var results = []; - for (var property in object) { - var value = Object.toJSON(object[property]); - if (!Object.isUndefined(value)) - results.push(property.toJSON() + ': ' + value); - } - - return '{' + results.join(', ') + '}'; - }, - - toQueryString: function(object) { - return $H(object).toQueryString(); - }, - - toHTML: function(object) { - return object && object.toHTML ? object.toHTML() : String.interpret(object); - }, - - keys: function(object) { - var keys = []; - for (var property in object) - keys.push(property); - return keys; - }, - - values: function(object) { - var values = []; - for (var property in object) - values.push(object[property]); - return values; - }, - - clone: function(object) { - return Object.extend({ }, object); - }, - - isElement: function(object) { - return !!(object && object.nodeType == 1); - }, - - isArray: function(object) { - return object != null && typeof object == "object" && - 'splice' in object && 'join' in object; - }, - - isHash: function(object) { - return object instanceof Hash; - }, - - isFunction: function(object) { - return typeof object == "function"; - }, - - isString: function(object) { - return typeof object == "string"; - }, - - isNumber: function(object) { - return typeof object == "number"; - }, - - isUndefined: function(object) { - return typeof object == "undefined"; - } -}); - -Object.extend(Function.prototype, { - argumentNames: function() { - var names = this.toString().match(/^[\s\(]*function[^(]*\(([^\)]*)\)/)[1] - .replace(/\s+/g, '').split(','); - return names.length == 1 && !names[0] ? [] : names; - }, - - bind: function() { - if (arguments.length < 2 && Object.isUndefined(arguments[0])) return this; - var __method = this, args = $A(arguments), object = args.shift(); - return function() { - return __method.apply(object, args.concat($A(arguments))); - } - }, - - bindAsEventListener: function() { - var __method = this, args = $A(arguments), object = args.shift(); - return function(event) { - return __method.apply(object, [event || window.event].concat(args)); - } - }, - - curry: function() { - if (!arguments.length) return this; - var __method = this, args = $A(arguments); - return function() { - return __method.apply(this, args.concat($A(arguments))); - } - }, - - delay: function() { - var __method = this, args = $A(arguments), timeout = args.shift() * 1000; - return window.setTimeout(function() { - return __method.apply(__method, args); - }, timeout); - }, - - defer: function() { - var args = [0.01].concat($A(arguments)); - return this.delay.apply(this, args); - }, - - wrap: function(wrapper) { - var __method = this; - return function() { - return wrapper.apply(this, [__method.bind(this)].concat($A(arguments))); - } - }, - - methodize: function() { - if (this._methodized) return this._methodized; - var __method = this; - return this._methodized = function() { - return __method.apply(null, [this].concat($A(arguments))); - }; - } -}); - -Date.prototype.toJSON = function() { - return '"' + this.getUTCFullYear() + '-' + - (this.getUTCMonth() + 1).toPaddedString(2) + '-' + - this.getUTCDate().toPaddedString(2) + 'T' + - this.getUTCHours().toPaddedString(2) + ':' + - this.getUTCMinutes().toPaddedString(2) + ':' + - this.getUTCSeconds().toPaddedString(2) + 'Z"'; -}; var Try = { these: function() { @@ -283,14 +80,400 @@ var Try = { } }; +/* Based on Alex Arnell's inheritance implementation. */ + +var Class = (function() { + + var IS_DONTENUM_BUGGY = (function(){ + for (var p in { toString: 1 }) { + if (p === 'toString') return false; + } + return true; + })(); + + function subclass() {}; + function create() { + var parent = null, properties = $A(arguments); + if (Object.isFunction(properties[0])) + parent = properties.shift(); + + function klass() { + this.initialize.apply(this, arguments); + } + + Object.extend(klass, Class.Methods); + klass.superclass = parent; + klass.subclasses = []; + + if (parent) { + subclass.prototype = parent.prototype; + klass.prototype = new subclass; + parent.subclasses.push(klass); + } + + for (var i = 0, length = properties.length; i < length; i++) + klass.addMethods(properties[i]); + + if (!klass.prototype.initialize) + klass.prototype.initialize = Prototype.emptyFunction; + + klass.prototype.constructor = klass; + return klass; + } + + function addMethods(source) { + var ancestor = this.superclass && this.superclass.prototype, + properties = Object.keys(source); + + if (IS_DONTENUM_BUGGY) { + if (source.toString != Object.prototype.toString) + properties.push("toString"); + if (source.valueOf != Object.prototype.valueOf) + properties.push("valueOf"); + } + + for (var i = 0, length = properties.length; i < length; i++) { + var property = properties[i], value = source[property]; + if (ancestor && Object.isFunction(value) && + value.argumentNames()[0] == "$super") { + var method = value; + value = (function(m) { + return function() { return ancestor[m].apply(this, arguments); }; + })(property).wrap(method); + + value.valueOf = method.valueOf.bind(method); + value.toString = method.toString.bind(method); + } + this.prototype[property] = value; + } + + return this; + } + + return { + create: create, + Methods: { + addMethods: addMethods + } + }; +})(); +(function() { + + var _toString = Object.prototype.toString, + NULL_TYPE = 'Null', + UNDEFINED_TYPE = 'Undefined', + BOOLEAN_TYPE = 'Boolean', + NUMBER_TYPE = 'Number', + STRING_TYPE = 'String', + OBJECT_TYPE = 'Object', + BOOLEAN_CLASS = '[object Boolean]', + NUMBER_CLASS = '[object Number]', + STRING_CLASS = '[object String]', + ARRAY_CLASS = '[object Array]', + NATIVE_JSON_STRINGIFY_SUPPORT = window.JSON && + typeof JSON.stringify === 'function' && + JSON.stringify(0) === '0' && + typeof JSON.stringify(Prototype.K) === 'undefined'; + + function Type(o) { + switch(o) { + case null: return NULL_TYPE; + case (void 0): return UNDEFINED_TYPE; + } + var type = typeof o; + switch(type) { + case 'boolean': return BOOLEAN_TYPE; + case 'number': return NUMBER_TYPE; + case 'string': return STRING_TYPE; + } + return OBJECT_TYPE; + } + + function extend(destination, source) { + for (var property in source) + destination[property] = source[property]; + return destination; + } + + function inspect(object) { + try { + if (isUndefined(object)) return 'undefined'; + if (object === null) return 'null'; + return object.inspect ? object.inspect() : String(object); + } catch (e) { + if (e instanceof RangeError) return '...'; + throw e; + } + } + + function toJSON(value) { + return Str('', { '': value }, []); + } + + function Str(key, holder, stack) { + var value = holder[key], + type = typeof value; + + if (Type(value) === OBJECT_TYPE && typeof value.toJSON === 'function') { + value = value.toJSON(key); + } + + var _class = _toString.call(value); + + switch (_class) { + case NUMBER_CLASS: + case BOOLEAN_CLASS: + case STRING_CLASS: + value = value.valueOf(); + } + + switch (value) { + case null: return 'null'; + case true: return 'true'; + case false: return 'false'; + } + + type = typeof value; + switch (type) { + case 'string': + return value.inspect(true); + case 'number': + return isFinite(value) ? String(value) : 'null'; + case 'object': + + for (var i = 0, length = stack.length; i < length; i++) { + if (stack[i] === value) { throw new TypeError(); } + } + stack.push(value); + + var partial = []; + if (_class === ARRAY_CLASS) { + for (var i = 0, length = value.length; i < length; i++) { + var str = Str(i, value, stack); + partial.push(typeof str === 'undefined' ? 'null' : str); + } + partial = '[' + partial.join(',') + ']'; + } else { + var keys = Object.keys(value); + for (var i = 0, length = keys.length; i < length; i++) { + var key = keys[i], str = Str(key, value, stack); + if (typeof str !== "undefined") { + partial.push(key.inspect(true)+ ':' + str); + } + } + partial = '{' + partial.join(',') + '}'; + } + stack.pop(); + return partial; + } + } + + function stringify(object) { + return JSON.stringify(object); + } + + function toQueryString(object) { + return $H(object).toQueryString(); + } + + function toHTML(object) { + return object && object.toHTML ? object.toHTML() : String.interpret(object); + } + + function keys(object) { + if (Type(object) !== OBJECT_TYPE) { throw new TypeError(); } + var results = []; + for (var property in object) { + if (object.hasOwnProperty(property)) { + results.push(property); + } + } + return results; + } + + function values(object) { + var results = []; + for (var property in object) + results.push(object[property]); + return results; + } + + function clone(object) { + return extend({ }, object); + } + + function isElement(object) { + return !!(object && object.nodeType == 1); + } + + function isArray(object) { + return _toString.call(object) === ARRAY_CLASS; + } + + var hasNativeIsArray = (typeof Array.isArray == 'function') + && Array.isArray([]) && !Array.isArray({}); + + if (hasNativeIsArray) { + isArray = Array.isArray; + } + + function isHash(object) { + return object instanceof Hash; + } + + function isFunction(object) { + return typeof object === "function"; + } + + function isString(object) { + return _toString.call(object) === STRING_CLASS; + } + + function isNumber(object) { + return _toString.call(object) === NUMBER_CLASS; + } + + function isUndefined(object) { + return typeof object === "undefined"; + } + + extend(Object, { + extend: extend, + inspect: inspect, + toJSON: NATIVE_JSON_STRINGIFY_SUPPORT ? stringify : toJSON, + toQueryString: toQueryString, + toHTML: toHTML, + keys: Object.keys || keys, + values: values, + clone: clone, + isElement: isElement, + isArray: isArray, + isHash: isHash, + isFunction: isFunction, + isString: isString, + isNumber: isNumber, + isUndefined: isUndefined + }); +})(); +Object.extend(Function.prototype, (function() { + var slice = Array.prototype.slice; + + function update(array, args) { + var arrayLength = array.length, length = args.length; + while (length--) array[arrayLength + length] = args[length]; + return array; + } + + function merge(array, args) { + array = slice.call(array, 0); + return update(array, args); + } + + function argumentNames() { + var names = this.toString().match(/^[\s\(]*function[^(]*\(([^)]*)\)/)[1] + .replace(/\/\/.*?[\r\n]|\/\*(?:.|[\r\n])*?\*\//g, '') + .replace(/\s+/g, '').split(','); + return names.length == 1 && !names[0] ? [] : names; + } + + function bind(context) { + if (arguments.length < 2 && Object.isUndefined(arguments[0])) return this; + var __method = this, args = slice.call(arguments, 1); + return function() { + var a = merge(args, arguments); + return __method.apply(context, a); + } + } + + function bindAsEventListener(context) { + var __method = this, args = slice.call(arguments, 1); + return function(event) { + var a = update([event || window.event], args); + return __method.apply(context, a); + } + } + + function curry() { + if (!arguments.length) return this; + var __method = this, args = slice.call(arguments, 0); + return function() { + var a = merge(args, arguments); + return __method.apply(this, a); + } + } + + function delay(timeout) { + var __method = this, args = slice.call(arguments, 1); + timeout = timeout * 1000; + return window.setTimeout(function() { + return __method.apply(__method, args); + }, timeout); + } + + function defer() { + var args = update([0.01], arguments); + return this.delay.apply(this, args); + } + + function wrap(wrapper) { + var __method = this; + return function() { + var a = update([__method.bind(this)], arguments); + return wrapper.apply(this, a); + } + } + + function methodize() { + if (this._methodized) return this._methodized; + var __method = this; + return this._methodized = function() { + var a = update([this], arguments); + return __method.apply(null, a); + }; + } + + return { + argumentNames: argumentNames, + bind: bind, + bindAsEventListener: bindAsEventListener, + curry: curry, + delay: delay, + defer: defer, + wrap: wrap, + methodize: methodize + } +})()); + + + +(function(proto) { + + + function toISOString() { + return this.getUTCFullYear() + '-' + + (this.getUTCMonth() + 1).toPaddedString(2) + '-' + + this.getUTCDate().toPaddedString(2) + 'T' + + this.getUTCHours().toPaddedString(2) + ':' + + this.getUTCMinutes().toPaddedString(2) + ':' + + this.getUTCSeconds().toPaddedString(2) + 'Z'; + } + + + function toJSON() { + return this.toISOString(); + } + + if (!proto.toISOString) proto.toISOString = toISOString; + if (!proto.toJSON) proto.toJSON = toJSON; + +})(Date.prototype); + + RegExp.prototype.match = RegExp.prototype.test; RegExp.escape = function(str) { return String(str).replace(/([.*+?^=!:${}()|[\]\/\\])/g, '\\$1'); }; - -/*--------------------------------------------------------------------------*/ - var PeriodicalExecuter = Class.create({ initialize: function(callback, frequency) { this.callback = callback; @@ -319,8 +502,10 @@ var PeriodicalExecuter = Class.create({ try { this.currentlyExecuting = true; this.execute(); - } finally { this.currentlyExecuting = false; + } catch(e) { + this.currentlyExecuting = false; + throw e; } } } @@ -339,10 +524,28 @@ Object.extend(String, { } }); -Object.extend(String.prototype, { - gsub: function(pattern, replacement) { +Object.extend(String.prototype, (function() { + var NATIVE_JSON_PARSE_SUPPORT = window.JSON && + typeof JSON.parse === 'function' && + JSON.parse('{"test": true}').test; + + function prepareReplacement(replacement) { + if (Object.isFunction(replacement)) return replacement; + var template = new Template(replacement); + return function(match) { return template.evaluate(match) }; + } + + function gsub(pattern, replacement) { var result = '', source = this, match; - replacement = arguments.callee.prepareReplacement(replacement); + replacement = prepareReplacement(replacement); + + if (Object.isString(pattern)) + pattern = RegExp.escape(pattern); + + if (!(pattern.length || pattern.source)) { + replacement = replacement(''); + return replacement + source.split('').join(replacement) + replacement; + } while (source.length > 0) { if (match = source.match(pattern)) { @@ -354,76 +557,72 @@ Object.extend(String.prototype, { } } return result; - }, + } - sub: function(pattern, replacement, count) { - replacement = this.gsub.prepareReplacement(replacement); + function sub(pattern, replacement, count) { + replacement = prepareReplacement(replacement); count = Object.isUndefined(count) ? 1 : count; return this.gsub(pattern, function(match) { if (--count < 0) return match[0]; return replacement(match); }); - }, + } - scan: function(pattern, iterator) { + function scan(pattern, iterator) { this.gsub(pattern, iterator); return String(this); - }, + } - truncate: function(length, truncation) { + function truncate(length, truncation) { length = length || 30; truncation = Object.isUndefined(truncation) ? '...' : truncation; return this.length > length ? this.slice(0, length - truncation.length) + truncation : String(this); - }, + } - strip: function() { + function strip() { return this.replace(/^\s+/, '').replace(/\s+$/, ''); - }, + } - stripTags: function() { - return this.replace(/<\/?[^>]+>/gi, ''); - }, + function stripTags() { + return this.replace(/<\w+(\s+("[^"]*"|'[^']*'|[^>])+)?>|<\/\w+>/gi, ''); + } - stripScripts: function() { + function stripScripts() { return this.replace(new RegExp(Prototype.ScriptFragment, 'img'), ''); - }, + } - extractScripts: function() { - var matchAll = new RegExp(Prototype.ScriptFragment, 'img'); - var matchOne = new RegExp(Prototype.ScriptFragment, 'im'); + function extractScripts() { + var matchAll = new RegExp(Prototype.ScriptFragment, 'img'), + matchOne = new RegExp(Prototype.ScriptFragment, 'im'); return (this.match(matchAll) || []).map(function(scriptTag) { return (scriptTag.match(matchOne) || ['', ''])[1]; }); - }, + } - evalScripts: function() { + function evalScripts() { return this.extractScripts().map(function(script) { return eval(script) }); - }, + } - escapeHTML: function() { - var self = arguments.callee; - self.text.data = this; - return self.div.innerHTML; - }, + function escapeHTML() { + return this.replace(/&/g,'&').replace(//g,'>'); + } - unescapeHTML: function() { - var div = new Element('div'); - div.innerHTML = this.stripTags(); - return div.childNodes[0] ? (div.childNodes.length > 1 ? - $A(div.childNodes).inject('', function(memo, node) { return memo+node.nodeValue }) : - div.childNodes[0].nodeValue) : ''; - }, + function unescapeHTML() { + return this.stripTags().replace(/</g,'<').replace(/>/g,'>').replace(/&/g,'&'); + } - toQueryParams: function(separator) { + + function toQueryParams(separator) { var match = this.strip().match(/([^?#]*)(#.*)?$/); if (!match) return { }; return match[1].split(separator || '&').inject({ }, function(hash, pair) { if ((pair = pair.split('='))[0]) { - var key = decodeURIComponent(pair.shift()); - var value = pair.length > 1 ? pair.join('=') : pair[0]; + var key = decodeURIComponent(pair.shift()), + value = pair.length > 1 ? pair.join('=') : pair[0]; + if (value != undefined) value = decodeURIComponent(value); if (key in hash) { @@ -434,128 +633,144 @@ Object.extend(String.prototype, { } return hash; }); - }, + } - toArray: function() { + function toArray() { return this.split(''); - }, + } - succ: function() { + function succ() { return this.slice(0, this.length - 1) + String.fromCharCode(this.charCodeAt(this.length - 1) + 1); - }, + } - times: function(count) { + function times(count) { return count < 1 ? '' : new Array(count + 1).join(this); - }, + } - camelize: function() { - var parts = this.split('-'), len = parts.length; - if (len == 1) return parts[0]; + function camelize() { + return this.replace(/-+(.)?/g, function(match, chr) { + return chr ? chr.toUpperCase() : ''; + }); + } - var camelized = this.charAt(0) == '-' - ? parts[0].charAt(0).toUpperCase() + parts[0].substring(1) - : parts[0]; - - for (var i = 1; i < len; i++) - camelized += parts[i].charAt(0).toUpperCase() + parts[i].substring(1); - - return camelized; - }, - - capitalize: function() { + function capitalize() { return this.charAt(0).toUpperCase() + this.substring(1).toLowerCase(); - }, + } - underscore: function() { - return this.gsub(/::/, '/').gsub(/([A-Z]+)([A-Z][a-z])/,'#{1}_#{2}').gsub(/([a-z\d])([A-Z])/,'#{1}_#{2}').gsub(/-/,'_').toLowerCase(); - }, + function underscore() { + return this.replace(/::/g, '/') + .replace(/([A-Z]+)([A-Z][a-z])/g, '$1_$2') + .replace(/([a-z\d])([A-Z])/g, '$1_$2') + .replace(/-/g, '_') + .toLowerCase(); + } - dasherize: function() { - return this.gsub(/_/,'-'); - }, + function dasherize() { + return this.replace(/_/g, '-'); + } - inspect: function(useDoubleQuotes) { - var escapedString = this.gsub(/[\x00-\x1f\\]/, function(match) { - var character = String.specialChar[match[0]]; - return character ? character : '\\u00' + match[0].charCodeAt().toPaddedString(2, 16); + function inspect(useDoubleQuotes) { + var escapedString = this.replace(/[\x00-\x1f\\]/g, function(character) { + if (character in String.specialChar) { + return String.specialChar[character]; + } + return '\\u00' + character.charCodeAt().toPaddedString(2, 16); }); if (useDoubleQuotes) return '"' + escapedString.replace(/"/g, '\\"') + '"'; return "'" + escapedString.replace(/'/g, '\\\'') + "'"; - }, + } - toJSON: function() { - return this.inspect(true); - }, + function unfilterJSON(filter) { + return this.replace(filter || Prototype.JSONFilter, '$1'); + } - unfilterJSON: function(filter) { - return this.sub(filter || Prototype.JSONFilter, '#{1}'); - }, - - isJSON: function() { + function isJSON() { var str = this; if (str.blank()) return false; - str = this.replace(/\\./g, '@').replace(/"[^"\\\n\r]*"/g, ''); - return (/^[,:{}\[\]0-9.\-+Eaeflnr-u \n\r\t]*$/).test(str); - }, + str = str.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g, '@'); + str = str.replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g, ']'); + str = str.replace(/(?:^|:|,)(?:\s*\[)+/g, ''); + return (/^[\],:{}\s]*$/).test(str); + } - evalJSON: function(sanitize) { - var json = this.unfilterJSON(); + function evalJSON(sanitize) { + var json = this.unfilterJSON(), + cx = /[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g; + if (cx.test(json)) { + json = json.replace(cx, function (a) { + return '\\u' + ('0000' + a.charCodeAt(0).toString(16)).slice(-4); + }); + } try { if (!sanitize || json.isJSON()) return eval('(' + json + ')'); } catch (e) { } throw new SyntaxError('Badly formed JSON string: ' + this.inspect()); - }, + } - include: function(pattern) { + function parseJSON() { + var json = this.unfilterJSON(); + return JSON.parse(json); + } + + function include(pattern) { return this.indexOf(pattern) > -1; - }, + } - startsWith: function(pattern) { - return this.indexOf(pattern) === 0; - }, + function startsWith(pattern) { + return this.lastIndexOf(pattern, 0) === 0; + } - endsWith: function(pattern) { + function endsWith(pattern) { var d = this.length - pattern.length; - return d >= 0 && this.lastIndexOf(pattern) === d; - }, + return d >= 0 && this.indexOf(pattern, d) === d; + } - empty: function() { + function empty() { return this == ''; - }, + } - blank: function() { + function blank() { return /^\s*$/.test(this); - }, + } - interpolate: function(object, pattern) { + function interpolate(object, pattern) { return new Template(this, pattern).evaluate(object); } -}); -if (Prototype.Browser.WebKit || Prototype.Browser.IE) Object.extend(String.prototype, { - escapeHTML: function() { - return this.replace(/&/g,'&').replace(//g,'>'); - }, - unescapeHTML: function() { - return this.stripTags().replace(/&/g,'&').replace(/</g,'<').replace(/>/g,'>'); - } -}); - -String.prototype.gsub.prepareReplacement = function(replacement) { - if (Object.isFunction(replacement)) return replacement; - var template = new Template(replacement); - return function(match) { return template.evaluate(match) }; -}; - -String.prototype.parseQuery = String.prototype.toQueryParams; - -Object.extend(String.prototype.escapeHTML, { - div: document.createElement('div'), - text: document.createTextNode('') -}); - -String.prototype.escapeHTML.div.appendChild(String.prototype.escapeHTML.text); + return { + gsub: gsub, + sub: sub, + scan: scan, + truncate: truncate, + strip: String.prototype.trim || strip, + stripTags: stripTags, + stripScripts: stripScripts, + extractScripts: extractScripts, + evalScripts: evalScripts, + escapeHTML: escapeHTML, + unescapeHTML: unescapeHTML, + toQueryParams: toQueryParams, + parseQuery: toQueryParams, + toArray: toArray, + succ: succ, + times: times, + camelize: camelize, + capitalize: capitalize, + underscore: underscore, + dasherize: dasherize, + inspect: inspect, + unfilterJSON: unfilterJSON, + isJSON: isJSON, + evalJSON: NATIVE_JSON_PARSE_SUPPORT ? parseJSON : evalJSON, + include: include, + startsWith: startsWith, + endsWith: endsWith, + empty: empty, + blank: blank, + interpolate: interpolate + }; +})()); var Template = Class.create({ initialize: function(template, pattern) { @@ -564,22 +779,23 @@ var Template = Class.create({ }, evaluate: function(object) { - if (Object.isFunction(object.toTemplateReplacements)) + if (object && Object.isFunction(object.toTemplateReplacements)) object = object.toTemplateReplacements(); return this.template.gsub(this.pattern, function(match) { - if (object == null) return ''; + if (object == null) return (match[1] + ''); var before = match[1] || ''; if (before == '\\') return match[2]; - var ctx = object, expr = match[3]; - var pattern = /^([^.[]+|\[((?:.*?[^\\])?)\])(\.|\[|$)/; + var ctx = object, expr = match[3], + pattern = /^([^.[]+|\[((?:.*?[^\\])?)\])(\.|\[|$)/; + match = pattern.exec(expr); if (match == null) return before; while (match != null) { - var comp = match[1].startsWith('[') ? match[2].gsub('\\\\]', ']') : match[1]; + var comp = match[1].startsWith('[') ? match[2].replace(/\\\\]/g, ']') : match[1]; ctx = ctx[comp]; if (null == ctx || '' == match[3]) break; expr = expr.substring('[' == match[3] ? match[1].length : match[0].length); @@ -594,8 +810,8 @@ Template.Pattern = /(^|.|\r|\n)(#\{(.*?)\})/; var $break = { }; -var Enumerable = { - each: function(iterator, context) { +var Enumerable = (function() { + function each(iterator, context) { var index = 0; try { this._each(function(value) { @@ -605,17 +821,17 @@ var Enumerable = { if (e != $break) throw e; } return this; - }, + } - eachSlice: function(number, iterator, context) { + function eachSlice(number, iterator, context) { var index = -number, slices = [], array = this.toArray(); if (number < 1) return array; while ((index += number) < array.length) slices.push(array.slice(index, index+number)); return slices.collect(iterator, context); - }, + } - all: function(iterator, context) { + function all(iterator, context) { iterator = iterator || Prototype.K; var result = true; this.each(function(value, index) { @@ -623,9 +839,9 @@ var Enumerable = { if (!result) throw $break; }); return result; - }, + } - any: function(iterator, context) { + function any(iterator, context) { iterator = iterator || Prototype.K; var result = false; this.each(function(value, index) { @@ -633,18 +849,18 @@ var Enumerable = { throw $break; }); return result; - }, + } - collect: function(iterator, context) { + function collect(iterator, context) { iterator = iterator || Prototype.K; var results = []; this.each(function(value, index) { results.push(iterator.call(context, value, index)); }); return results; - }, + } - detect: function(iterator, context) { + function detect(iterator, context) { var result; this.each(function(value, index) { if (iterator.call(context, value, index)) { @@ -653,32 +869,32 @@ var Enumerable = { } }); return result; - }, + } - findAll: function(iterator, context) { + function findAll(iterator, context) { var results = []; this.each(function(value, index) { if (iterator.call(context, value, index)) results.push(value); }); return results; - }, + } - grep: function(filter, iterator, context) { + function grep(filter, iterator, context) { iterator = iterator || Prototype.K; var results = []; if (Object.isString(filter)) - filter = new RegExp(filter); + filter = new RegExp(RegExp.escape(filter)); this.each(function(value, index) { if (filter.match(value)) results.push(iterator.call(context, value, index)); }); return results; - }, + } - include: function(object) { + function include(object) { if (Object.isFunction(this.indexOf)) if (this.indexOf(object) != -1) return true; @@ -690,31 +906,31 @@ var Enumerable = { } }); return found; - }, + } - inGroupsOf: function(number, fillWith) { + function inGroupsOf(number, fillWith) { fillWith = Object.isUndefined(fillWith) ? null : fillWith; return this.eachSlice(number, function(slice) { while(slice.length < number) slice.push(fillWith); return slice; }); - }, + } - inject: function(memo, iterator, context) { + function inject(memo, iterator, context) { this.each(function(value, index) { memo = iterator.call(context, memo, value, index); }); return memo; - }, + } - invoke: function(method) { + function invoke(method) { var args = $A(arguments).slice(1); return this.map(function(value) { return value[method].apply(value, args); }); - }, + } - max: function(iterator, context) { + function max(iterator, context) { iterator = iterator || Prototype.K; var result; this.each(function(value, index) { @@ -723,9 +939,9 @@ var Enumerable = { result = value; }); return result; - }, + } - min: function(iterator, context) { + function min(iterator, context) { iterator = iterator || Prototype.K; var result; this.each(function(value, index) { @@ -734,9 +950,9 @@ var Enumerable = { result = value; }); return result; - }, + } - partition: function(iterator, context) { + function partition(iterator, context) { iterator = iterator || Prototype.K; var trues = [], falses = []; this.each(function(value, index) { @@ -744,26 +960,26 @@ var Enumerable = { trues : falses).push(value); }); return [trues, falses]; - }, + } - pluck: function(property) { + function pluck(property) { var results = []; this.each(function(value) { results.push(value[property]); }); return results; - }, + } - reject: function(iterator, context) { + function reject(iterator, context) { var results = []; this.each(function(value, index) { if (!iterator.call(context, value, index)) results.push(value); }); return results; - }, + } - sortBy: function(iterator, context) { + function sortBy(iterator, context) { return this.map(function(value, index) { return { value: value, @@ -773,13 +989,13 @@ var Enumerable = { var a = left.criteria, b = right.criteria; return a < b ? -1 : a > b ? 1 : 0; }).pluck('value'); - }, + } - toArray: function() { + function toArray() { return this.map(); - }, + } - zip: function() { + function zip() { var iterator = Prototype.K, args = $A(arguments); if (Object.isFunction(args.last())) iterator = args.pop(); @@ -788,159 +1004,66 @@ var Enumerable = { return this.map(function(value, index) { return iterator(collections.pluck(index)); }); - }, + } - size: function() { + function size() { return this.toArray().length; - }, + } - inspect: function() { + function inspect() { return '#'; } -}; -Object.extend(Enumerable, { - map: Enumerable.collect, - find: Enumerable.detect, - select: Enumerable.findAll, - filter: Enumerable.findAll, - member: Enumerable.include, - entries: Enumerable.toArray, - every: Enumerable.all, - some: Enumerable.any -}); + + + + + + + + + return { + each: each, + eachSlice: eachSlice, + all: all, + every: all, + any: any, + some: any, + collect: collect, + map: collect, + detect: detect, + findAll: findAll, + select: findAll, + filter: findAll, + grep: grep, + include: include, + member: include, + inGroupsOf: inGroupsOf, + inject: inject, + invoke: invoke, + max: max, + min: min, + partition: partition, + pluck: pluck, + reject: reject, + sortBy: sortBy, + toArray: toArray, + entries: toArray, + zip: zip, + size: size, + inspect: inspect, + find: detect + }; +})(); + function $A(iterable) { if (!iterable) return []; - if (iterable.toArray) return iterable.toArray(); + if ('toArray' in Object(iterable)) return iterable.toArray(); var length = iterable.length || 0, results = new Array(length); while (length--) results[length] = iterable[length]; return results; } -if (Prototype.Browser.WebKit) { - $A = function(iterable) { - if (!iterable) return []; - // In Safari, only use the `toArray` method if it's not a NodeList. - // A NodeList is a function, has an function `item` property, and a numeric - // `length` property. Adapted from Google Doctype. - if (!(typeof iterable === 'function' && typeof iterable.length === - 'number' && typeof iterable.item === 'function') && iterable.toArray) - return iterable.toArray(); - var length = iterable.length || 0, results = new Array(length); - while (length--) results[length] = iterable[length]; - return results; - }; -} - -Array.from = $A; - -Object.extend(Array.prototype, Enumerable); - -if (!Array.prototype._reverse) Array.prototype._reverse = Array.prototype.reverse; - -Object.extend(Array.prototype, { - _each: function(iterator) { - for (var i = 0, length = this.length; i < length; i++) - iterator(this[i]); - }, - - clear: function() { - this.length = 0; - return this; - }, - - first: function() { - return this[0]; - }, - - last: function() { - return this[this.length - 1]; - }, - - compact: function() { - return this.select(function(value) { - return value != null; - }); - }, - - flatten: function() { - return this.inject([], function(array, value) { - return array.concat(Object.isArray(value) ? - value.flatten() : [value]); - }); - }, - - without: function() { - var values = $A(arguments); - return this.select(function(value) { - return !values.include(value); - }); - }, - - reverse: function(inline) { - return (inline !== false ? this : this.toArray())._reverse(); - }, - - reduce: function() { - return this.length > 1 ? this : this[0]; - }, - - uniq: function(sorted) { - return this.inject([], function(array, value, index) { - if (0 == index || (sorted ? array.last() != value : !array.include(value))) - array.push(value); - return array; - }); - }, - - intersect: function(array) { - return this.uniq().findAll(function(item) { - return array.detect(function(value) { return item === value }); - }); - }, - - clone: function() { - return [].concat(this); - }, - - size: function() { - return this.length; - }, - - inspect: function() { - return '[' + this.map(Object.inspect).join(', ') + ']'; - }, - - toJSON: function() { - var results = []; - this.each(function(object) { - var value = Object.toJSON(object); - if (!Object.isUndefined(value)) results.push(value); - }); - return '[' + results.join(', ') + ']'; - } -}); - -// use native browser JS 1.6 implementation if available -if (Object.isFunction(Array.prototype.forEach)) - Array.prototype._each = Array.prototype.forEach; - -if (!Array.prototype.indexOf) Array.prototype.indexOf = function(item, i) { - i || (i = 0); - var length = this.length; - if (i < 0) i = length + i; - for (; i < length; i++) - if (this[i] === item) return i; - return -1; -}; - -if (!Array.prototype.lastIndexOf) Array.prototype.lastIndexOf = function(item, i) { - i = isNaN(i) ? this.length : (i < 0 ? this.length + i : i) + 1; - var n = this.slice(0, i).reverse().indexOf(item); - return (n < 0) ? n : i - n - 1; -}; - -Array.prototype.toArray = Array.prototype.clone; function $w(string) { if (!Object.isString(string)) return []; @@ -948,176 +1071,342 @@ function $w(string) { return string ? string.split(/\s+/) : []; } -if (Prototype.Browser.Opera){ - Array.prototype.concat = function() { - var array = []; - for (var i = 0, length = this.length; i < length; i++) array.push(this[i]); +Array.from = $A; + + +(function() { + var arrayProto = Array.prototype, + slice = arrayProto.slice, + _each = arrayProto.forEach; // use native browser JS 1.6 implementation if available + + function each(iterator) { + for (var i = 0, length = this.length; i < length; i++) + iterator(this[i]); + } + if (!_each) _each = each; + + function clear() { + this.length = 0; + return this; + } + + function first() { + return this[0]; + } + + function last() { + return this[this.length - 1]; + } + + function compact() { + return this.select(function(value) { + return value != null; + }); + } + + function flatten() { + return this.inject([], function(array, value) { + if (Object.isArray(value)) + return array.concat(value.flatten()); + array.push(value); + return array; + }); + } + + function without() { + var values = slice.call(arguments, 0); + return this.select(function(value) { + return !values.include(value); + }); + } + + function reverse(inline) { + return (inline === false ? this.toArray() : this)._reverse(); + } + + function uniq(sorted) { + return this.inject([], function(array, value, index) { + if (0 == index || (sorted ? array.last() != value : !array.include(value))) + array.push(value); + return array; + }); + } + + function intersect(array) { + return this.uniq().findAll(function(item) { + return array.detect(function(value) { return item === value }); + }); + } + + + function clone() { + return slice.call(this, 0); + } + + function size() { + return this.length; + } + + function inspect() { + return '[' + this.map(Object.inspect).join(', ') + ']'; + } + + function indexOf(item, i) { + i || (i = 0); + var length = this.length; + if (i < 0) i = length + i; + for (; i < length; i++) + if (this[i] === item) return i; + return -1; + } + + function lastIndexOf(item, i) { + i = isNaN(i) ? this.length : (i < 0 ? this.length + i : i) + 1; + var n = this.slice(0, i).reverse().indexOf(item); + return (n < 0) ? n : i - n - 1; + } + + function concat() { + var array = slice.call(this, 0), item; for (var i = 0, length = arguments.length; i < length; i++) { - if (Object.isArray(arguments[i])) { - for (var j = 0, arrayLength = arguments[i].length; j < arrayLength; j++) - array.push(arguments[i][j]); + item = arguments[i]; + if (Object.isArray(item) && !('callee' in item)) { + for (var j = 0, arrayLength = item.length; j < arrayLength; j++) + array.push(item[j]); } else { - array.push(arguments[i]); + array.push(item); } } return array; - }; -} -Object.extend(Number.prototype, { - toColorPart: function() { - return this.toPaddedString(2, 16); - }, - - succ: function() { - return this + 1; - }, - - times: function(iterator, context) { - $R(0, this, true).each(iterator, context); - return this; - }, - - toPaddedString: function(length, radix) { - var string = this.toString(radix || 10); - return '0'.times(length - string.length) + string; - }, - - toJSON: function() { - return isFinite(this) ? this.toString() : 'null'; } -}); -$w('abs round ceil floor').each(function(method){ - Number.prototype[method] = Math[method].methodize(); -}); + Object.extend(arrayProto, Enumerable); + + if (!arrayProto._reverse) + arrayProto._reverse = arrayProto.reverse; + + Object.extend(arrayProto, { + _each: _each, + clear: clear, + first: first, + last: last, + compact: compact, + flatten: flatten, + without: without, + reverse: reverse, + uniq: uniq, + intersect: intersect, + clone: clone, + toArray: clone, + size: size, + inspect: inspect + }); + + var CONCAT_ARGUMENTS_BUGGY = (function() { + return [].concat(arguments)[0][0] !== 1; + })(1,2) + + if (CONCAT_ARGUMENTS_BUGGY) arrayProto.concat = concat; + + if (!arrayProto.indexOf) arrayProto.indexOf = indexOf; + if (!arrayProto.lastIndexOf) arrayProto.lastIndexOf = lastIndexOf; +})(); function $H(object) { return new Hash(object); }; var Hash = Class.create(Enumerable, (function() { + function initialize(object) { + this._object = Object.isHash(object) ? object.toObject() : Object.clone(object); + } + + + function _each(iterator) { + for (var key in this._object) { + var value = this._object[key], pair = [key, value]; + pair.key = key; + pair.value = value; + iterator(pair); + } + } + + function set(key, value) { + return this._object[key] = value; + } + + function get(key) { + if (this._object[key] !== Object.prototype[key]) + return this._object[key]; + } + + function unset(key) { + var value = this._object[key]; + delete this._object[key]; + return value; + } + + function toObject() { + return Object.clone(this._object); + } + + + + function keys() { + return this.pluck('key'); + } + + function values() { + return this.pluck('value'); + } + + function index(value) { + var match = this.detect(function(pair) { + return pair.value === value; + }); + return match && match.key; + } + + function merge(object) { + return this.clone().update(object); + } + + function update(object) { + return new Hash(object).inject(this, function(result, pair) { + result.set(pair.key, pair.value); + return result; + }); + } function toQueryPair(key, value) { if (Object.isUndefined(value)) return key; return key + '=' + encodeURIComponent(String.interpret(value)); } - return { - initialize: function(object) { - this._object = Object.isHash(object) ? object.toObject() : Object.clone(object); - }, + function toQueryString() { + return this.inject([], function(results, pair) { + var key = encodeURIComponent(pair.key), values = pair.value; - _each: function(iterator) { - for (var key in this._object) { - var value = this._object[key], pair = [key, value]; - pair.key = key; - pair.value = value; - iterator(pair); - } - }, - - set: function(key, value) { - return this._object[key] = value; - }, - - get: function(key) { - // simulating poorly supported hasOwnProperty - if (this._object[key] !== Object.prototype[key]) - return this._object[key]; - }, - - unset: function(key) { - var value = this._object[key]; - delete this._object[key]; - return value; - }, - - toObject: function() { - return Object.clone(this._object); - }, - - keys: function() { - return this.pluck('key'); - }, - - values: function() { - return this.pluck('value'); - }, - - index: function(value) { - var match = this.detect(function(pair) { - return pair.value === value; - }); - return match && match.key; - }, - - merge: function(object) { - return this.clone().update(object); - }, - - update: function(object) { - return new Hash(object).inject(this, function(result, pair) { - result.set(pair.key, pair.value); - return result; - }); - }, - - toQueryString: function() { - return this.inject([], function(results, pair) { - var key = encodeURIComponent(pair.key), values = pair.value; - - if (values && typeof values == 'object') { - if (Object.isArray(values)) - return results.concat(values.map(toQueryPair.curry(key))); - } else results.push(toQueryPair(key, values)); - return results; - }).join('&'); - }, - - inspect: function() { - return '#'; - }, - - toJSON: function() { - return Object.toJSON(this.toObject()); - }, - - clone: function() { - return new Hash(this); - } + if (values && typeof values == 'object') { + if (Object.isArray(values)) + return results.concat(values.map(toQueryPair.curry(key))); + } else results.push(toQueryPair(key, values)); + return results; + }).join('&'); } + + function inspect() { + return '#'; + } + + function clone() { + return new Hash(this); + } + + return { + initialize: initialize, + _each: _each, + set: set, + get: get, + unset: unset, + toObject: toObject, + toTemplateReplacements: toObject, + keys: keys, + values: values, + index: index, + merge: merge, + update: update, + toQueryString: toQueryString, + inspect: inspect, + toJSON: toObject, + clone: clone + }; })()); -Hash.prototype.toTemplateReplacements = Hash.prototype.toObject; Hash.from = $H; -var ObjectRange = Class.create(Enumerable, { - initialize: function(start, end, exclusive) { +Object.extend(Number.prototype, (function() { + function toColorPart() { + return this.toPaddedString(2, 16); + } + + function succ() { + return this + 1; + } + + function times(iterator, context) { + $R(0, this, true).each(iterator, context); + return this; + } + + function toPaddedString(length, radix) { + var string = this.toString(radix || 10); + return '0'.times(length - string.length) + string; + } + + function abs() { + return Math.abs(this); + } + + function round() { + return Math.round(this); + } + + function ceil() { + return Math.ceil(this); + } + + function floor() { + return Math.floor(this); + } + + return { + toColorPart: toColorPart, + succ: succ, + times: times, + toPaddedString: toPaddedString, + abs: abs, + round: round, + ceil: ceil, + floor: floor + }; +})()); + +function $R(start, end, exclusive) { + return new ObjectRange(start, end, exclusive); +} + +var ObjectRange = Class.create(Enumerable, (function() { + function initialize(start, end, exclusive) { this.start = start; this.end = end; this.exclusive = exclusive; - }, + } - _each: function(iterator) { + function _each(iterator) { var value = this.start; while (this.include(value)) { iterator(value); value = value.succ(); } - }, + } - include: function(value) { + function include(value) { if (value < this.start) return false; if (this.exclusive) return value < this.end; return value <= this.end; } -}); -var $R = function(start, end, exclusive) { - return new ObjectRange(start, end, exclusive); -}; + return { + initialize: initialize, + _each: _each, + include: include + }; +})()); + + var Ajax = { getTransport: function() { @@ -1164,7 +1453,6 @@ Ajax.Responders.register({ onCreate: function() { Ajax.activeRequestCount++ }, onComplete: function() { Ajax.activeRequestCount-- } }); - Ajax.Base = Class.create({ initialize: function(options) { this.options = { @@ -1186,7 +1474,6 @@ Ajax.Base = Class.create({ this.options.parameters = this.options.parameters.toObject(); } }); - Ajax.Request = Class.create(Ajax.Base, { _complete: false, @@ -1202,7 +1489,6 @@ Ajax.Request = Class.create(Ajax.Base, { var params = Object.clone(this.options.parameters); if (!['get', 'post'].include(this.method)) { - // simulate other verbs over post params['_method'] = this.method; this.method = 'post'; } @@ -1210,7 +1496,6 @@ Ajax.Request = Class.create(Ajax.Base, { this.parameters = params; if (params = Object.toQueryString(params)) { - // when GET, append parameters to URL if (this.method == 'get') this.url += (this.url.include('?') ? '&' : '?') + params; else if (/Konqueror|Safari|KHTML/.test(navigator.userAgent)) @@ -1269,7 +1554,6 @@ Ajax.Request = Class.create(Ajax.Base, { headers['Connection'] = 'close'; } - // user-defined headers if (typeof this.options.requestHeaders == 'object') { var extras = this.options.requestHeaders; @@ -1323,7 +1607,6 @@ Ajax.Request = Class.create(Ajax.Base, { } if (state == 'Complete') { - // avoid memory leak in MSIE: clean up this.transport.onreadystatechange = Prototype.emptyFunction; } }, @@ -1340,7 +1623,7 @@ Ajax.Request = Class.create(Ajax.Base, { getHeader: function(name) { try { return this.transport.getResponseHeader(name) || null; - } catch (e) { return null } + } catch (e) { return null; } }, evalResponse: function() { @@ -1360,20 +1643,27 @@ Ajax.Request = Class.create(Ajax.Base, { Ajax.Request.Events = ['Uninitialized', 'Loading', 'Loaded', 'Interactive', 'Complete']; + + + + + + + Ajax.Response = Class.create({ initialize: function(request){ this.request = request; var transport = this.transport = request.transport, readyState = this.readyState = transport.readyState; - if((readyState > 2 && !Prototype.Browser.IE) || readyState == 4) { + if ((readyState > 2 && !Prototype.Browser.IE) || readyState == 4) { this.status = this.getStatus(); this.statusText = this.getStatusText(); this.responseText = String.interpret(transport.responseText); this.headerJSON = this._getHeaderJSON(); } - if(readyState == 4) { + if (readyState == 4) { var xml = transport.responseXML; this.responseXML = Object.isUndefined(xml) ? null : xml; this.responseJSON = this._getResponseJSON(); @@ -1381,6 +1671,7 @@ Ajax.Response = Class.create({ }, status: 0, + statusText: '', getStatus: Ajax.Request.prototype.getStatus, @@ -1510,6 +1801,8 @@ Ajax.PeriodicalUpdater = Class.create(Ajax.Base, { this.updater = new Ajax.Updater(this.container, this.url, this.options); } }); + + function $(element) { if (arguments.length > 1) { for (var i = 0, elements = [], length = arguments.length; i < length; i++) @@ -1534,10 +1827,9 @@ if (Prototype.BrowserFeatures.XPath) { /*--------------------------------------------------------------------------*/ -if (!window.Node) var Node = { }; +if (!Node) var Node = { }; if (!Node.ELEMENT_NODE) { - // DOM level 2 ECMAScript Language Binding Object.extend(Node, { ELEMENT_NODE: 1, ATTRIBUTE_NODE: 2, @@ -1554,13 +1846,27 @@ if (!Node.ELEMENT_NODE) { }); } -(function() { - var element = this.Element; - this.Element = function(tagName, attributes) { + + +(function(global) { + + var HAS_EXTENDED_CREATE_ELEMENT_SYNTAX = (function(){ + try { + var el = document.createElement(''); + return el.tagName.toLowerCase() === 'input' && el.name === 'x'; + } + catch(err) { + return false; + } + })(); + + var element = global.Element; + + global.Element = function(tagName, attributes) { attributes = attributes || { }; tagName = tagName.toLowerCase(); var cache = Element.cache; - if (Prototype.Browser.IE && attributes.name) { + if (HAS_EXTENDED_CREATE_ELEMENT_SYNTAX && attributes.name) { tagName = '<' + tagName + ' name="' + attributes.name + '">'; delete attributes.name; return Element.writeAttribute(document.createElement(tagName), attributes); @@ -1568,12 +1874,24 @@ if (!Node.ELEMENT_NODE) { if (!cache[tagName]) cache[tagName] = Element.extend(document.createElement(tagName)); return Element.writeAttribute(cache[tagName].cloneNode(false), attributes); }; - Object.extend(this.Element, element || { }); - if (element) this.Element.prototype = element.prototype; -}).call(window); + Object.extend(global.Element, element || { }); + if (element) global.Element.prototype = element.prototype; + +})(this); + +Element.idCounter = 1; Element.cache = { }; +function purgeElement(element) { + var uid = element._prototypeUID; + if (uid) { + Element.stopObserving(element); + element._prototypeUID = void 0; + delete Element.Storage[uid]; + } +} + Element.Methods = { visible: function(element) { return $(element).style.display != 'none'; @@ -1603,15 +1921,93 @@ Element.Methods = { return element; }, - update: function(element, content) { - element = $(element); - if (content && content.toElement) content = content.toElement(); - if (Object.isElement(content)) return element.update().insert(content); - content = Object.toHTML(content); - element.innerHTML = content.stripScripts(); - content.evalScripts.bind(content).defer(); - return element; - }, + update: (function(){ + + var SELECT_ELEMENT_INNERHTML_BUGGY = (function(){ + var el = document.createElement("select"), + isBuggy = true; + el.innerHTML = ""; + if (el.options && el.options[0]) { + isBuggy = el.options[0].nodeName.toUpperCase() !== "OPTION"; + } + el = null; + return isBuggy; + })(); + + var TABLE_ELEMENT_INNERHTML_BUGGY = (function(){ + try { + var el = document.createElement("table"); + if (el && el.tBodies) { + el.innerHTML = "test"; + var isBuggy = typeof el.tBodies[0] == "undefined"; + el = null; + return isBuggy; + } + } catch (e) { + return true; + } + })(); + + var SCRIPT_ELEMENT_REJECTS_TEXTNODE_APPENDING = (function () { + var s = document.createElement("script"), + isBuggy = false; + try { + s.appendChild(document.createTextNode("")); + isBuggy = !s.firstChild || + s.firstChild && s.firstChild.nodeType !== 3; + } catch (e) { + isBuggy = true; + } + s = null; + return isBuggy; + })(); + + function update(element, content) { + element = $(element); + + var descendants = element.getElementsByTagName('*'), + i = descendants.length; + while (i--) purgeElement(descendants[i]); + + if (content && content.toElement) + content = content.toElement(); + + if (Object.isElement(content)) + return element.update().insert(content); + + content = Object.toHTML(content); + + var tagName = element.tagName.toUpperCase(); + + if (tagName === 'SCRIPT' && SCRIPT_ELEMENT_REJECTS_TEXTNODE_APPENDING) { + element.text = content; + return element; + } + + if (SELECT_ELEMENT_INNERHTML_BUGGY || TABLE_ELEMENT_INNERHTML_BUGGY) { + if (tagName in Element._insertionTranslations.tags) { + while (element.firstChild) { + element.removeChild(element.firstChild); + } + Element._getContentFromAnonymousElement(tagName, content.stripScripts()) + .each(function(node) { + element.appendChild(node) + }); + } + else { + element.innerHTML = content.stripScripts(); + } + } + else { + element.innerHTML = content.stripScripts(); + } + + content.evalScripts.bind(content).defer(); + return element; + } + + return update; + })(), replace: function(element, content) { element = $(element); @@ -1679,28 +2075,35 @@ Element.Methods = { element = $(element); var result = '<' + element.tagName.toLowerCase(); $H({'id': 'id', 'className': 'class'}).each(function(pair) { - var property = pair.first(), attribute = pair.last(); - var value = (element[property] || '').toString(); + var property = pair.first(), + attribute = pair.last(), + value = (element[property] || '').toString(); if (value) result += ' ' + attribute + '=' + value.inspect(true); }); return result + '>'; }, - recursivelyCollect: function(element, property) { + recursivelyCollect: function(element, property, maximumLength) { element = $(element); + maximumLength = maximumLength || -1; var elements = []; - while (element = element[property]) + + while (element = element[property]) { if (element.nodeType == 1) elements.push(Element.extend(element)); + if (elements.length == maximumLength) + break; + } + return elements; }, ancestors: function(element) { - return $(element).recursivelyCollect('parentNode'); + return Element.recursivelyCollect(element, 'parentNode'); }, descendants: function(element) { - return $(element).select("*"); + return Element.select(element, "*"); }, firstDescendant: function(element) { @@ -1710,78 +2113,96 @@ Element.Methods = { }, immediateDescendants: function(element) { - if (!(element = $(element).firstChild)) return []; - while (element && element.nodeType != 1) element = element.nextSibling; - if (element) return [element].concat($(element).nextSiblings()); - return []; + var results = [], child = $(element).firstChild; + while (child) { + if (child.nodeType === 1) { + results.push(Element.extend(child)); + } + child = child.nextSibling; + } + return results; }, - previousSiblings: function(element) { - return $(element).recursivelyCollect('previousSibling'); + previousSiblings: function(element, maximumLength) { + return Element.recursivelyCollect(element, 'previousSibling'); }, nextSiblings: function(element) { - return $(element).recursivelyCollect('nextSibling'); + return Element.recursivelyCollect(element, 'nextSibling'); }, siblings: function(element) { element = $(element); - return element.previousSiblings().reverse().concat(element.nextSiblings()); + return Element.previousSiblings(element).reverse() + .concat(Element.nextSiblings(element)); }, match: function(element, selector) { + element = $(element); if (Object.isString(selector)) - selector = new Selector(selector); - return selector.match($(element)); + return Prototype.Selector.match(element, selector); + return selector.match(element); }, up: function(element, expression, index) { element = $(element); if (arguments.length == 1) return $(element.parentNode); - var ancestors = element.ancestors(); + var ancestors = Element.ancestors(element); return Object.isNumber(expression) ? ancestors[expression] : - Selector.findElement(ancestors, expression, index); + Prototype.Selector.find(ancestors, expression, index); }, down: function(element, expression, index) { element = $(element); - if (arguments.length == 1) return element.firstDescendant(); - return Object.isNumber(expression) ? element.descendants()[expression] : + if (arguments.length == 1) return Element.firstDescendant(element); + return Object.isNumber(expression) ? Element.descendants(element)[expression] : Element.select(element, expression)[index || 0]; }, previous: function(element, expression, index) { element = $(element); - if (arguments.length == 1) return $(Selector.handlers.previousElementSibling(element)); - var previousSiblings = element.previousSiblings(); - return Object.isNumber(expression) ? previousSiblings[expression] : - Selector.findElement(previousSiblings, expression, index); + if (Object.isNumber(expression)) index = expression, expression = false; + if (!Object.isNumber(index)) index = 0; + + if (expression) { + return Prototype.Selector.find(element.previousSiblings(), expression, index); + } else { + return element.recursivelyCollect("previousSibling", index + 1)[index]; + } }, next: function(element, expression, index) { element = $(element); - if (arguments.length == 1) return $(Selector.handlers.nextElementSibling(element)); - var nextSiblings = element.nextSiblings(); - return Object.isNumber(expression) ? nextSiblings[expression] : - Selector.findElement(nextSiblings, expression, index); + if (Object.isNumber(expression)) index = expression, expression = false; + if (!Object.isNumber(index)) index = 0; + + if (expression) { + return Prototype.Selector.find(element.nextSiblings(), expression, index); + } else { + var maximumLength = Object.isNumber(index) ? index + 1 : 1; + return element.recursivelyCollect("nextSibling", index + 1)[index]; + } }, - select: function() { - var args = $A(arguments), element = $(args.shift()); - return Selector.findChildElements(element, args); + + select: function(element) { + element = $(element); + var expressions = Array.prototype.slice.call(arguments, 1).join(', '); + return Prototype.Selector.select(expressions, element); }, - adjacent: function() { - var args = $A(arguments), element = $(args.shift()); - return Selector.findChildElements(element.parentNode, args).without(element); + adjacent: function(element) { + element = $(element); + var expressions = Array.prototype.slice.call(arguments, 1).join(', '); + return Prototype.Selector.select(expressions, element.parentNode).without(element); }, identify: function(element) { element = $(element); - var id = element.readAttribute('id'), self = arguments.callee; + var id = Element.readAttribute(element, 'id'); if (id) return id; - do { id = 'anonymous_element_' + self.counter++ } while ($(id)); - element.writeAttribute('id', id); + do { id = 'anonymous_element_' + Element.idCounter++ } while ($(id)); + Element.writeAttribute(element, 'id', id); return id; }, @@ -1820,11 +2241,11 @@ Element.Methods = { }, getHeight: function(element) { - return $(element).getDimensions().height; + return Element.getDimensions(element).height; }, getWidth: function(element) { - return $(element).getDimensions().width; + return Element.getDimensions(element).width; }, classNames: function(element) { @@ -1840,7 +2261,7 @@ Element.Methods = { addClassName: function(element, className) { if (!(element = $(element))) return; - if (!element.hasClassName(className)) + if (!Element.hasClassName(element, className)) element.className += (element.className ? ' ' : '') + className; return element; }, @@ -1854,11 +2275,10 @@ Element.Methods = { toggleClassName: function(element, className) { if (!(element = $(element))) return; - return element[element.hasClassName(className) ? - 'removeClassName' : 'addClassName'](className); + return Element[Element.hasClassName(element, className) ? + 'removeClassName' : 'addClassName'](element, className); }, - // removes whitespace-only text node children cleanWhitespace: function(element) { element = $(element); var node = element.firstChild; @@ -1892,7 +2312,7 @@ Element.Methods = { scrollTo: function(element) { element = $(element); - var pos = element.cumulativeOffset(); + var pos = Element.cumulativeOffset(element); window.scrollTo(pos[0], pos[1]); return element; }, @@ -1938,37 +2358,12 @@ Element.Methods = { return element; }, - getDimensions: function(element) { - element = $(element); - var display = element.getStyle('display'); - if (display != 'none' && display != null) // Safari bug - return {width: element.offsetWidth, height: element.offsetHeight}; - - // All *Width and *Height properties give 0 on elements with display none, - // so enable the element temporarily - var els = element.style; - var originalVisibility = els.visibility; - var originalPosition = els.position; - var originalDisplay = els.display; - els.visibility = 'hidden'; - els.position = 'absolute'; - els.display = 'block'; - var originalWidth = element.clientWidth; - var originalHeight = element.clientHeight; - els.display = originalDisplay; - els.position = originalPosition; - els.visibility = originalVisibility; - return {width: originalWidth, height: originalHeight}; - }, - makePositioned: function(element) { element = $(element); var pos = Element.getStyle(element, 'position'); if (pos == 'static' || !pos) { element._madePositioned = true; element.style.position = 'relative'; - // Opera returns the offset relative to the positioning context, when an - // element is position relative but top and left have not been defined if (Prototype.Browser.Opera) { element.style.top = 0; element.style.left = 0; @@ -2009,11 +2404,13 @@ Element.Methods = { cumulativeOffset: function(element) { var valueT = 0, valueL = 0; - do { - valueT += element.offsetTop || 0; - valueL += element.offsetLeft || 0; - element = element.offsetParent; - } while (element); + if (element.parentNode) { + do { + valueT += element.offsetTop || 0; + valueL += element.offsetLeft || 0; + element = element.offsetParent; + } while (element); + } return Element._returnOffset(valueL, valueT); }, @@ -2034,14 +2431,13 @@ Element.Methods = { absolutize: function(element) { element = $(element); - if (element.getStyle('position') == 'absolute') return element; - // Position.prepare(); // To be done manually by Scripty when it needs it. + if (Element.getStyle(element, 'position') == 'absolute') return element; - var offsets = element.positionedOffset(); - var top = offsets[1]; - var left = offsets[0]; - var width = element.clientWidth; - var height = element.clientHeight; + var offsets = Element.positionedOffset(element), + top = offsets[1], + left = offsets[0], + width = element.clientWidth, + height = element.clientHeight; element._originalLeft = left - parseFloat(element.style.left || 0); element._originalTop = top - parseFloat(element.style.top || 0); @@ -2058,12 +2454,11 @@ Element.Methods = { relativize: function(element) { element = $(element); - if (element.getStyle('position') == 'relative') return element; - // Position.prepare(); // To be done manually by Scripty when it needs it. + if (Element.getStyle(element, 'position') == 'relative') return element; element.style.position = 'relative'; - var top = parseFloat(element.style.top || 0) - (element._originalTop || 0); - var left = parseFloat(element.style.left || 0) - (element._originalLeft || 0); + var top = parseFloat(element.style.top || 0) - (element._originalTop || 0), + left = parseFloat(element.style.left || 0) - (element._originalLeft || 0); element.style.top = top + 'px'; element.style.left = left + 'px'; @@ -2094,14 +2489,14 @@ Element.Methods = { }, viewportOffset: function(forElement) { - var valueT = 0, valueL = 0; + var valueT = 0, + valueL = 0, + element = forElement; - var element = forElement; do { valueT += element.offsetTop || 0; valueL += element.offsetLeft || 0; - // Safari fix if (element.offsetParent == document.body && Element.getStyle(element, 'position') == 'absolute') break; @@ -2128,28 +2523,21 @@ Element.Methods = { offsetLeft: 0 }, arguments[2] || { }); - // find page position of source source = $(source); - var p = source.viewportOffset(); + var p = Element.viewportOffset(source), delta = [0, 0], parent = null; - // find coordinate system to use element = $(element); - var delta = [0, 0]; - var parent = null; - // delta [0,0] will do fine with position: fixed elements, - // position:absolute needs offsetParent deltas + if (Element.getStyle(element, 'position') == 'absolute') { - parent = element.getOffsetParent(); - delta = parent.viewportOffset(); + parent = Element.getOffsetParent(element); + delta = Element.viewportOffset(parent); } - // correct by body offsets (fixes Safari) if (parent == document.body) { delta[0] -= document.body.offsetLeft; delta[1] -= document.body.offsetTop; } - // set position if (options.setLeft) element.style.left = (p[0] - delta[0] + options.offsetLeft) + 'px'; if (options.setTop) element.style.top = (p[1] - delta[1] + options.offsetTop) + 'px'; if (options.setWidth) element.style.width = source.offsetWidth + 'px'; @@ -2158,10 +2546,9 @@ Element.Methods = { } }; -Element.Methods.identify.counter = 1; - Object.extend(Element.Methods, { getElementsBySelector: Element.Methods.select, + childElements: Element.Methods.immediateDescendants }); @@ -2182,11 +2569,8 @@ if (Prototype.Browser.Opera) { case 'left': case 'top': case 'right': case 'bottom': if (proceed(element, 'position') === 'static') return null; case 'height': case 'width': - // returns '0px' for hidden elements; we want it to return null if (!Element.visible(element)) return null; - // returns the border-box dimensions rather than the content-box - // dimensions, so we subtract padding and borders from the value var dim = parseInt(proceed(element, style), 10); if (dim !== element['offset' + style.capitalize()]) @@ -2219,14 +2603,10 @@ if (Prototype.Browser.Opera) { } else if (Prototype.Browser.IE) { - // IE doesn't report offsets correctly for static elements, so we change them - // to "relative" to get the values, then change them back. Element.Methods.getOffsetParent = Element.Methods.getOffsetParent.wrap( function(proceed, element) { element = $(element); - // IE throws an error if element is not in document - try { element.offsetParent } - catch(e) { return $(document.body) } + if (!element.parentNode) return $(document.body); var position = element.getStyle('position'); if (position !== 'static') return proceed(element); element.setStyle({ position: 'relative' }); @@ -2240,12 +2620,9 @@ else if (Prototype.Browser.IE) { Element.Methods[method] = Element.Methods[method].wrap( function(proceed, element) { element = $(element); - try { element.offsetParent } - catch(e) { return Element._returnOffset(0,0) } + if (!element.parentNode) return Element._returnOffset(0, 0); var position = element.getStyle('position'); if (position !== 'static') return proceed(element); - // Trigger hasLayout on the offset parent so that IE6 reports - // accurate offsetTop and offsetLeft values for position: fixed. var offsetParent = element.getOffsetParent(); if (offsetParent && offsetParent.getStyle('position') === 'fixed') offsetParent.setStyle({ zoom: 1 }); @@ -2257,14 +2634,6 @@ else if (Prototype.Browser.IE) { ); }); - Element.Methods.cumulativeOffset = Element.Methods.cumulativeOffset.wrap( - function(proceed, element) { - try { element.offsetParent } - catch(e) { return Element._returnOffset(0,0) } - return proceed(element); - } - ); - Element.Methods.getStyle = function(element, style) { element = $(element); style = (style == 'float' || style == 'cssFloat') ? 'styleFloat' : style.camelize(); @@ -2306,36 +2675,90 @@ else if (Prototype.Browser.IE) { return element; }; - Element._attributeTranslations = { - read: { - names: { - 'class': 'className', - 'for': 'htmlFor' - }, - values: { - _getAttr: function(element, attribute) { - return element.getAttribute(attribute, 2); + Element._attributeTranslations = (function(){ + + var classProp = 'className', + forProp = 'for', + el = document.createElement('div'); + + el.setAttribute(classProp, 'x'); + + if (el.className !== 'x') { + el.setAttribute('class', 'x'); + if (el.className === 'x') { + classProp = 'class'; + } + } + el = null; + + el = document.createElement('label'); + el.setAttribute(forProp, 'x'); + if (el.htmlFor !== 'x') { + el.setAttribute('htmlFor', 'x'); + if (el.htmlFor === 'x') { + forProp = 'htmlFor'; + } + } + el = null; + + return { + read: { + names: { + 'class': classProp, + 'className': classProp, + 'for': forProp, + 'htmlFor': forProp }, - _getAttrNode: function(element, attribute) { - var node = element.getAttributeNode(attribute); - return node ? node.value : ""; - }, - _getEv: function(element, attribute) { - attribute = element.getAttribute(attribute); - return attribute ? attribute.toString().slice(23, -2) : null; - }, - _flag: function(element, attribute) { - return $(element).hasAttribute(attribute) ? attribute : null; - }, - style: function(element) { - return element.style.cssText.toLowerCase(); - }, - title: function(element) { - return element.title; + values: { + _getAttr: function(element, attribute) { + return element.getAttribute(attribute); + }, + _getAttr2: function(element, attribute) { + return element.getAttribute(attribute, 2); + }, + _getAttrNode: function(element, attribute) { + var node = element.getAttributeNode(attribute); + return node ? node.value : ""; + }, + _getEv: (function(){ + + var el = document.createElement('div'), f; + el.onclick = Prototype.emptyFunction; + var value = el.getAttribute('onclick'); + + if (String(value).indexOf('{') > -1) { + f = function(element, attribute) { + attribute = element.getAttribute(attribute); + if (!attribute) return null; + attribute = attribute.toString(); + attribute = attribute.split('{')[1]; + attribute = attribute.split('}')[0]; + return attribute.strip(); + }; + } + else if (value === '') { + f = function(element, attribute) { + attribute = element.getAttribute(attribute); + if (!attribute) return null; + return attribute.strip(); + }; + } + el = null; + return f; + })(), + _flag: function(element, attribute) { + return $(element).hasAttribute(attribute) ? attribute : null; + }, + style: function(element) { + return element.style.cssText.toLowerCase(); + }, + title: function(element) { + return element.title; + } } } } - }; + })(); Element._attributeTranslations.write = { names: Object.extend({ @@ -2363,8 +2786,8 @@ else if (Prototype.Browser.IE) { (function(v) { Object.extend(v, { - href: v._getAttr, - src: v._getAttr, + href: v._getAttr2, + src: v._getAttr2, type: v._getAttr, action: v._getAttrNode, disabled: v._flag, @@ -2391,6 +2814,26 @@ else if (Prototype.Browser.IE) { onchange: v._getEv }); })(Element._attributeTranslations.read.values); + + if (Prototype.BrowserFeatures.ElementExtensions) { + (function() { + function _descendants(element) { + var nodes = element.getElementsByTagName('*'), results = []; + for (var i = 0, node; node = nodes[i]; i++) + if (node.tagName !== "!") // Filter out comment nodes. + results.push(node); + return results; + } + + Element.Methods.down = function(element, expression, index) { + element = $(element); + if (arguments.length == 1) return element.firstDescendant(); + return Object.isNumber(expression) ? _descendants(element)[expression] : + Element.select(element, expression)[index || 0]; + } + })(); + } + } else if (Prototype.Browser.Gecko && /rv:1\.8\.0/.test(navigator.userAgent)) { @@ -2409,7 +2852,7 @@ else if (Prototype.Browser.WebKit) { (value < 0.00001) ? 0 : value; if (value == 1) - if(element.tagName.toUpperCase() == 'IMG' && element.width) { + if (element.tagName.toUpperCase() == 'IMG' && element.width) { element.width++; element.width--; } else try { var n = document.createTextNode(' '); @@ -2420,9 +2863,6 @@ else if (Prototype.Browser.WebKit) { return element; }; - // Safari returns margins on body which is incorrect if the child is absolutely - // positioned. For performance reasons, redefine Element#cumulativeOffset for - // KHTML/WebKit only. Element.Methods.cumulativeOffset = function(element) { var valueT = 0, valueL = 0; do { @@ -2438,30 +2878,7 @@ else if (Prototype.Browser.WebKit) { }; } -if (Prototype.Browser.IE || Prototype.Browser.Opera) { - // IE and Opera are missing .innerHTML support for TABLE-related and SELECT elements - Element.Methods.update = function(element, content) { - element = $(element); - - if (content && content.toElement) content = content.toElement(); - if (Object.isElement(content)) return element.update().insert(content); - - content = Object.toHTML(content); - var tagName = element.tagName.toUpperCase(); - - if (tagName in Element._insertionTranslations.tags) { - $A(element.childNodes).each(function(node) { element.removeChild(node) }); - Element._getContentFromAnonymousElement(tagName, content.stripScripts()) - .each(function(node) { element.appendChild(node) }); - } - else element.innerHTML = content.stripScripts(); - - content.evalScripts.bind(content).defer(); - return element; - }; -} - -if ('outerHTML' in document.createElement('div')) { +if ('outerHTML' in document.documentElement) { Element.Methods.replace = function(element, content) { element = $(element); @@ -2475,8 +2892,8 @@ if ('outerHTML' in document.createElement('div')) { var parent = element.parentNode, tagName = parent.tagName.toUpperCase(); if (Element._insertionTranslations.tags[tagName]) { - var nextSibling = element.next(); - var fragments = Element._getContentFromAnonymousElement(tagName, content.stripScripts()); + var nextSibling = element.next(), + fragments = Element._getContentFromAnonymousElement(tagName, content.stripScripts()); parent.removeChild(element); if (nextSibling) fragments.each(function(node) { parent.insertBefore(node, nextSibling) }); @@ -2498,11 +2915,17 @@ Element._returnOffset = function(l, t) { }; Element._getContentFromAnonymousElement = function(tagName, html) { - var div = new Element('div'), t = Element._insertionTranslations.tags[tagName]; + var div = new Element('div'), + t = Element._insertionTranslations.tags[tagName]; if (t) { div.innerHTML = t[0] + html + t[1]; - t[2].times(function() { div = div.firstChild }); - } else div.innerHTML = html; + for (var i = t[2]; i--; ) { + div = div.firstChild; + } + } + else { + div.innerHTML = html; + } return $A(div.childNodes); }; @@ -2529,12 +2952,13 @@ Element._insertionTranslations = { }; (function() { - Object.extend(this.tags, { - THEAD: this.tags.TBODY, - TFOOT: this.tags.TBODY, - TH: this.tags.TD + var tags = Element._insertionTranslations.tags; + Object.extend(tags, { + THEAD: tags.TBODY, + TFOOT: tags.TBODY, + TH: tags.TD }); -}).call(Element._insertionTranslations); +})(); Element.Methods.Simulated = { hasAttribute: function(element, attribute) { @@ -2548,41 +2972,81 @@ Element.Methods.ByTag = { }; Object.extend(Element, Element.Methods); -if (!Prototype.BrowserFeatures.ElementExtensions && - document.createElement('div')['__proto__']) { - window.HTMLElement = { }; - window.HTMLElement.prototype = document.createElement('div')['__proto__']; - Prototype.BrowserFeatures.ElementExtensions = true; -} +(function(div) { + + if (!Prototype.BrowserFeatures.ElementExtensions && div['__proto__']) { + window.HTMLElement = { }; + window.HTMLElement.prototype = div['__proto__']; + Prototype.BrowserFeatures.ElementExtensions = true; + } + + div = null; + +})(document.createElement('div')); Element.extend = (function() { - if (Prototype.BrowserFeatures.SpecificElementExtensions) + + function checkDeficiency(tagName) { + if (typeof window.Element != 'undefined') { + var proto = window.Element.prototype; + if (proto) { + var id = '_' + (Math.random()+'').slice(2), + el = document.createElement(tagName); + proto[id] = 'x'; + var isBuggy = (el[id] !== 'x'); + delete proto[id]; + el = null; + return isBuggy; + } + } + return false; + } + + function extendElementWith(element, methods) { + for (var property in methods) { + var value = methods[property]; + if (Object.isFunction(value) && !(property in element)) + element[property] = value.methodize(); + } + } + + var HTMLOBJECTELEMENT_PROTOTYPE_BUGGY = checkDeficiency('object'); + + if (Prototype.BrowserFeatures.SpecificElementExtensions) { + if (HTMLOBJECTELEMENT_PROTOTYPE_BUGGY) { + return function(element) { + if (element && typeof element._extendedByPrototype == 'undefined') { + var t = element.tagName; + if (t && (/^(?:object|applet|embed)$/i.test(t))) { + extendElementWith(element, Element.Methods); + extendElementWith(element, Element.Methods.Simulated); + extendElementWith(element, Element.Methods.ByTag[t.toUpperCase()]); + } + } + return element; + } + } return Prototype.K; + } var Methods = { }, ByTag = Element.Methods.ByTag; var extend = Object.extend(function(element) { - if (!element || element._extendedByPrototype || + if (!element || typeof element._extendedByPrototype != 'undefined' || element.nodeType != 1 || element == window) return element; var methods = Object.clone(Methods), - tagName = element.tagName.toUpperCase(), property, value; + tagName = element.tagName.toUpperCase(); - // extend methods for specific tags if (ByTag[tagName]) Object.extend(methods, ByTag[tagName]); - for (property in methods) { - value = methods[property]; - if (Object.isFunction(value) && !(property in element)) - element[property] = value.methodize(); - } + extendElementWith(element, methods); element._extendedByPrototype = Prototype.emptyFunction; return element; }, { refresh: function() { - // extend methods for all tags (Safari doesn't need this) if (!Prototype.BrowserFeatures.ElementExtensions) { Object.extend(Methods, Element.Methods); Object.extend(Methods, Element.Methods.Simulated); @@ -2594,10 +3058,14 @@ Element.extend = (function() { return extend; })(); -Element.hasAttribute = function(element, attribute) { - if (element.hasAttribute) return element.hasAttribute(attribute); - return Element.Methods.Simulated.hasAttribute(element, attribute); -}; +if (document.documentElement.hasAttribute) { + Element.hasAttribute = function(element, attribute) { + return element.hasAttribute(attribute); + }; +} +else { + Element.hasAttribute = Element.Methods.Simulated.hasAttribute; +} Element.addMethods = function(methods) { var F = Prototype.BrowserFeatures, T = Element.Methods.ByTag; @@ -2661,14 +3129,19 @@ Element.addMethods = function(methods) { klass = 'HTML' + tagName.capitalize() + 'Element'; if (window[klass]) return window[klass]; - window[klass] = { }; - window[klass].prototype = document.createElement(tagName)['__proto__']; - return window[klass]; + var element = document.createElement(tagName), + proto = element['__proto__'] || element.constructor.prototype; + + element = null; + return proto; } + var elementPrototype = window.HTMLElement ? HTMLElement.prototype : + Element.prototype; + if (F.ElementExtensions) { - copy(Element.Methods, HTMLElement.prototype); - copy(Element.Methods.Simulated, HTMLElement.prototype, true); + copy(Element.Methods, elementPrototype); + copy(Element.Methods.Simulated, elementPrototype, true); } if (F.SpecificElementExtensions) { @@ -2686,766 +3159,1803 @@ Element.addMethods = function(methods) { Element.cache = { }; }; + document.viewport = { + getDimensions: function() { - var dimensions = { }, B = Prototype.Browser; - $w('width height').each(function(d) { - var D = d.capitalize(); - if (B.WebKit && !document.evaluate) { - // Safari <3.0 needs self.innerWidth/Height - dimensions[d] = self['inner' + D]; - } else if (B.Opera && parseFloat(window.opera.version()) < 9.5) { - // Opera <9.5 needs document.body.clientWidth/Height - dimensions[d] = document.body['client' + D] - } else { - dimensions[d] = document.documentElement['client' + D]; - } - }); - return dimensions; - }, - - getWidth: function() { - return this.getDimensions().width; - }, - - getHeight: function() { - return this.getDimensions().height; + return { width: this.getWidth(), height: this.getHeight() }; }, getScrollOffsets: function() { return Element._returnOffset( window.pageXOffset || document.documentElement.scrollLeft || document.body.scrollLeft, - window.pageYOffset || document.documentElement.scrollTop || document.body.scrollTop); + window.pageYOffset || document.documentElement.scrollTop || document.body.scrollTop); } }; -/* Portions of the Selector class are derived from Jack Slocum's DomQuery, - * part of YUI-Ext version 0.40, distributed under the terms of an MIT-style - * license. Please see http://www.yui-ext.com/ for more information. */ -var Selector = Class.create({ - initialize: function(expression) { - this.expression = expression.strip(); +(function(viewport) { + var B = Prototype.Browser, doc = document, element, property = {}; - if (this.shouldUseSelectorsAPI()) { - this.mode = 'selectorsAPI'; - } else if (this.shouldUseXPath()) { - this.mode = 'xpath'; - this.compileXPathMatcher(); + function getRootElement() { + if (B.WebKit && !doc.evaluate) + return document; + + if (B.Opera && window.parseFloat(window.opera.version()) < 9.5) + return document.body; + + return document.documentElement; + } + + function define(D) { + if (!element) element = getRootElement(); + + property[D] = 'client' + D; + + viewport['get' + D] = function() { return element[property[D]] }; + return viewport['get' + D](); + } + + viewport.getWidth = define.curry('Width'); + + viewport.getHeight = define.curry('Height'); +})(document.viewport); + + +Element.Storage = { + UID: 1 +}; + +Element.addMethods({ + getStorage: function(element) { + if (!(element = $(element))) return; + + var uid; + if (element === window) { + uid = 0; } else { - this.mode = "normal"; - this.compileMatcher(); + if (typeof element._prototypeUID === "undefined") + element._prototypeUID = Element.Storage.UID++; + uid = element._prototypeUID; } + if (!Element.Storage[uid]) + Element.Storage[uid] = $H(); + + return Element.Storage[uid]; }, - shouldUseXPath: function() { - if (!Prototype.BrowserFeatures.XPath) return false; + store: function(element, key, value) { + if (!(element = $(element))) return; - var e = this.expression; - - // Safari 3 chokes on :*-of-type and :empty - if (Prototype.Browser.WebKit && - (e.include("-of-type") || e.include(":empty"))) - return false; - - // XPath can't do namespaced attributes, nor can it read - // the "checked" property from DOM nodes - if ((/(\[[\w-]*?:|:checked)/).test(e)) - return false; - - return true; - }, - - shouldUseSelectorsAPI: function() { - if (!Prototype.BrowserFeatures.SelectorsAPI) return false; - - if (!Selector._div) Selector._div = new Element('div'); - - // Make sure the browser treats the selector as valid. Test on an - // isolated element to minimize cost of this check. - try { - Selector._div.querySelector(this.expression); - } catch(e) { - return false; + if (arguments.length === 2) { + Element.getStorage(element).update(key); + } else { + Element.getStorage(element).set(key, value); } - return true; + return element; }, - compileMatcher: function() { - var e = this.expression, ps = Selector.patterns, h = Selector.handlers, - c = Selector.criteria, le, p, m; + retrieve: function(element, key, defaultValue) { + if (!(element = $(element))) return; + var hash = Element.getStorage(element), value = hash.get(key); - if (Selector._cache[e]) { - this.matcher = Selector._cache[e]; - return; + if (Object.isUndefined(value)) { + hash.set(key, defaultValue); + value = defaultValue; } - this.matcher = ["this.matcher = function(root) {", - "var r = root, h = Selector.handlers, c = false, n;"]; + return value; + }, - while (e && le != e && (/\S/).test(e)) { - le = e; - for (var i in ps) { - p = ps[i]; - if (m = e.match(p)) { - this.matcher.push(Object.isFunction(c[i]) ? c[i](m) : - new Template(c[i]).evaluate(m)); - e = e.replace(m[0], ''); - break; - } + clone: function(element, deep) { + if (!(element = $(element))) return; + var clone = element.cloneNode(deep); + clone._prototypeUID = void 0; + if (deep) { + var descendants = Element.select(clone, '*'), + i = descendants.length; + while (i--) { + descendants[i]._prototypeUID = void 0; } } - - this.matcher.push("return h.unique(n);\n}"); - eval(this.matcher.join('\n')); - Selector._cache[this.expression] = this.matcher; + return Element.extend(clone); }, - compileXPathMatcher: function() { - var e = this.expression, ps = Selector.patterns, - x = Selector.xpath, le, m; + purge: function(element) { + if (!(element = $(element))) return; + purgeElement(element); - if (Selector._cache[e]) { - this.xpath = Selector._cache[e]; return; - } + var descendants = element.getElementsByTagName('*'), + i = descendants.length; - this.matcher = ['.//*']; - while (e && le != e && (/\S/).test(e)) { - le = e; - for (var i in ps) { - if (m = e.match(ps[i])) { - this.matcher.push(Object.isFunction(x[i]) ? x[i](m) : - new Template(x[i]).evaluate(m)); - e = e.replace(m[0], ''); - break; - } - } - } + while (i--) purgeElement(descendants[i]); - this.xpath = this.matcher.join(''); - Selector._cache[this.expression] = this.xpath; - }, - - findElements: function(root) { - root = root || document; - var e = this.expression, results; - - switch (this.mode) { - case 'selectorsAPI': - // querySelectorAll queries document-wide, then filters to descendants - // of the context element. That's not what we want. - // Add an explicit context to the selector if necessary. - if (root !== document) { - var oldId = root.id, id = $(root).identify(); - e = "#" + id + " " + e; - } - - results = $A(root.querySelectorAll(e)).map(Element.extend); - root.id = oldId; - - return results; - case 'xpath': - return document._getElementsByXPath(this.xpath, root); - default: - return this.matcher(root); - } - }, - - match: function(element) { - this.tokens = []; - - var e = this.expression, ps = Selector.patterns, as = Selector.assertions; - var le, p, m; - - while (e && le !== e && (/\S/).test(e)) { - le = e; - for (var i in ps) { - p = ps[i]; - if (m = e.match(p)) { - // use the Selector.assertions methods unless the selector - // is too complex. - if (as[i]) { - this.tokens.push([i, Object.clone(m)]); - e = e.replace(m[0], ''); - } else { - // reluctantly do a document-wide search - // and look for a match in the array - return this.findElements(document).include(element); - } - } - } - } - - var match = true, name, matches; - for (var i = 0, token; token = this.tokens[i]; i++) { - name = token[0], matches = token[1]; - if (!Selector.assertions[name](element, matches)) { - match = false; break; - } - } - - return match; - }, - - toString: function() { - return this.expression; - }, - - inspect: function() { - return "#"; + return null; } }); -Object.extend(Selector, { - _cache: { }, +(function() { - xpath: { - descendant: "//*", - child: "/*", - adjacent: "/following-sibling::*[1]", - laterSibling: '/following-sibling::*', - tagName: function(m) { - if (m[1] == '*') return ''; - return "[local-name()='" + m[1].toLowerCase() + - "' or local-name()='" + m[1].toUpperCase() + "']"; - }, - className: "[contains(concat(' ', @class, ' '), ' #{1} ')]", - id: "[@id='#{1}']", - attrPresence: function(m) { - m[1] = m[1].toLowerCase(); - return new Template("[@#{1}]").evaluate(m); - }, - attr: function(m) { - m[1] = m[1].toLowerCase(); - m[3] = m[5] || m[6]; - return new Template(Selector.xpath.operators[m[2]]).evaluate(m); - }, - pseudo: function(m) { - var h = Selector.xpath.pseudos[m[1]]; - if (!h) return ''; - if (Object.isFunction(h)) return h(m); - return new Template(Selector.xpath.pseudos[m[1]]).evaluate(m); - }, - operators: { - '=': "[@#{1}='#{3}']", - '!=': "[@#{1}!='#{3}']", - '^=': "[starts-with(@#{1}, '#{3}')]", - '$=': "[substring(@#{1}, (string-length(@#{1}) - string-length('#{3}') + 1))='#{3}']", - '*=': "[contains(@#{1}, '#{3}')]", - '~=': "[contains(concat(' ', @#{1}, ' '), ' #{3} ')]", - '|=': "[contains(concat('-', @#{1}, '-'), '-#{3}-')]" - }, - pseudos: { - 'first-child': '[not(preceding-sibling::*)]', - 'last-child': '[not(following-sibling::*)]', - 'only-child': '[not(preceding-sibling::* or following-sibling::*)]', - 'empty': "[count(*) = 0 and (count(text()) = 0)]", - 'checked': "[@checked]", - 'disabled': "[(@disabled) and (@type!='hidden')]", - 'enabled': "[not(@disabled) and (@type!='hidden')]", - 'not': function(m) { - var e = m[6], p = Selector.patterns, - x = Selector.xpath, le, v; + function toDecimal(pctString) { + var match = pctString.match(/^(\d+)%?$/i); + if (!match) return null; + return (Number(match[1]) / 100); + } - var exclusion = []; - while (e && le != e && (/\S/).test(e)) { - le = e; - for (var i in p) { - if (m = e.match(p[i])) { - v = Object.isFunction(x[i]) ? x[i](m) : new Template(x[i]).evaluate(m); - exclusion.push("(" + v.substring(1, v.length - 1) + ")"); - e = e.replace(m[0], ''); - break; - } - } - } - return "[not(" + exclusion.join(" and ") + ")]"; - }, - 'nth-child': function(m) { - return Selector.xpath.pseudos.nth("(count(./preceding-sibling::*) + 1) ", m); - }, - 'nth-last-child': function(m) { - return Selector.xpath.pseudos.nth("(count(./following-sibling::*) + 1) ", m); - }, - 'nth-of-type': function(m) { - return Selector.xpath.pseudos.nth("position() ", m); - }, - 'nth-last-of-type': function(m) { - return Selector.xpath.pseudos.nth("(last() + 1 - position()) ", m); - }, - 'first-of-type': function(m) { - m[6] = "1"; return Selector.xpath.pseudos['nth-of-type'](m); - }, - 'last-of-type': function(m) { - m[6] = "1"; return Selector.xpath.pseudos['nth-last-of-type'](m); - }, - 'only-of-type': function(m) { - var p = Selector.xpath.pseudos; return p['first-of-type'](m) + p['last-of-type'](m); - }, - nth: function(fragment, m) { - var mm, formula = m[6], predicate; - if (formula == 'even') formula = '2n+0'; - if (formula == 'odd') formula = '2n+1'; - if (mm = formula.match(/^(\d+)$/)) // digit only - return '[' + fragment + "= " + mm[1] + ']'; - if (mm = formula.match(/^(-?\d*)?n(([+-])(\d+))?/)) { // an+b - if (mm[1] == "-") mm[1] = -1; - var a = mm[1] ? Number(mm[1]) : 1; - var b = mm[2] ? Number(mm[2]) : 0; - predicate = "[((#{fragment} - #{b}) mod #{a} = 0) and " + - "((#{fragment} - #{b}) div #{a} >= 0)]"; - return new Template(predicate).evaluate({ - fragment: fragment, a: a, b: b }); - } - } + function getPixelValue(value, property) { + if (Object.isElement(value)) { + element = value; + value = element.getStyle(property); } - }, - - criteria: { - tagName: 'n = h.tagName(n, r, "#{1}", c); c = false;', - className: 'n = h.className(n, r, "#{1}", c); c = false;', - id: 'n = h.id(n, r, "#{1}", c); c = false;', - attrPresence: 'n = h.attrPresence(n, r, "#{1}", c); c = false;', - attr: function(m) { - m[3] = (m[5] || m[6]); - return new Template('n = h.attr(n, r, "#{1}", "#{3}", "#{2}", c); c = false;').evaluate(m); - }, - pseudo: function(m) { - if (m[6]) m[6] = m[6].replace(/"/g, '\\"'); - return new Template('n = h.pseudo(n, "#{1}", "#{6}", r, c); c = false;').evaluate(m); - }, - descendant: 'c = "descendant";', - child: 'c = "child";', - adjacent: 'c = "adjacent";', - laterSibling: 'c = "laterSibling";' - }, - - patterns: { - // combinators must be listed first - // (and descendant needs to be last combinator) - laterSibling: /^\s*~\s*/, - child: /^\s*>\s*/, - adjacent: /^\s*\+\s*/, - descendant: /^\s/, - - // selectors follow - tagName: /^\s*(\*|[\w\-]+)(\b|$)?/, - id: /^#([\w\-\*]+)(\b|$)/, - className: /^\.([\w\-\*]+)(\b|$)/, - pseudo: -/^:((first|last|nth|nth-last|only)(-child|-of-type)|empty|checked|(en|dis)abled|not)(\((.*?)\))?(\b|$|(?=\s|[:+~>]))/, - attrPresence: /^\[((?:[\w]+:)?[\w]+)\]/, - attr: /\[((?:[\w-]*:)?[\w-]+)\s*(?:([!^$*~|]?=)\s*((['"])([^\4]*?)\4|([^'"][^\]]*?)))?\]/ - }, - - // for Selector.match and Element#match - assertions: { - tagName: function(element, matches) { - return matches[1].toUpperCase() == element.tagName.toUpperCase(); - }, - - className: function(element, matches) { - return Element.hasClassName(element, matches[1]); - }, - - id: function(element, matches) { - return element.id === matches[1]; - }, - - attrPresence: function(element, matches) { - return Element.hasAttribute(element, matches[1]); - }, - - attr: function(element, matches) { - var nodeValue = Element.readAttribute(element, matches[1]); - return nodeValue && Selector.operators[matches[2]](nodeValue, matches[5] || matches[6]); - } - }, - - handlers: { - // UTILITY FUNCTIONS - // joins two collections - concat: function(a, b) { - for (var i = 0, node; node = b[i]; i++) - a.push(node); - return a; - }, - - // marks an array of nodes for counting - mark: function(nodes) { - var _true = Prototype.emptyFunction; - for (var i = 0, node; node = nodes[i]; i++) - node._countedByPrototype = _true; - return nodes; - }, - - unmark: function(nodes) { - for (var i = 0, node; node = nodes[i]; i++) - node._countedByPrototype = undefined; - return nodes; - }, - - // mark each child node with its position (for nth calls) - // "ofType" flag indicates whether we're indexing for nth-of-type - // rather than nth-child - index: function(parentNode, reverse, ofType) { - parentNode._countedByPrototype = Prototype.emptyFunction; - if (reverse) { - for (var nodes = parentNode.childNodes, i = nodes.length - 1, j = 1; i >= 0; i--) { - var node = nodes[i]; - if (node.nodeType == 1 && (!ofType || node._countedByPrototype)) node.nodeIndex = j++; - } - } else { - for (var i = 0, j = 1, nodes = parentNode.childNodes; node = nodes[i]; i++) - if (node.nodeType == 1 && (!ofType || node._countedByPrototype)) node.nodeIndex = j++; - } - }, - - // filters out duplicates and extends all nodes - unique: function(nodes) { - if (nodes.length == 0) return nodes; - var results = [], n; - for (var i = 0, l = nodes.length; i < l; i++) - if (!(n = nodes[i])._countedByPrototype) { - n._countedByPrototype = Prototype.emptyFunction; - results.push(Element.extend(n)); - } - return Selector.handlers.unmark(results); - }, - - // COMBINATOR FUNCTIONS - descendant: function(nodes) { - var h = Selector.handlers; - for (var i = 0, results = [], node; node = nodes[i]; i++) - h.concat(results, node.getElementsByTagName('*')); - return results; - }, - - child: function(nodes) { - var h = Selector.handlers; - for (var i = 0, results = [], node; node = nodes[i]; i++) { - for (var j = 0, child; child = node.childNodes[j]; j++) - if (child.nodeType == 1 && child.tagName != '!') results.push(child); - } - return results; - }, - - adjacent: function(nodes) { - for (var i = 0, results = [], node; node = nodes[i]; i++) { - var next = this.nextElementSibling(node); - if (next) results.push(next); - } - return results; - }, - - laterSibling: function(nodes) { - var h = Selector.handlers; - for (var i = 0, results = [], node; node = nodes[i]; i++) - h.concat(results, Element.nextSiblings(node)); - return results; - }, - - nextElementSibling: function(node) { - while (node = node.nextSibling) - if (node.nodeType == 1) return node; + if (value === null) { return null; - }, - - previousElementSibling: function(node) { - while (node = node.previousSibling) - if (node.nodeType == 1) return node; - return null; - }, - - // TOKEN FUNCTIONS - tagName: function(nodes, root, tagName, combinator) { - var uTagName = tagName.toUpperCase(); - var results = [], h = Selector.handlers; - if (nodes) { - if (combinator) { - // fastlane for ordinary descendant combinators - if (combinator == "descendant") { - for (var i = 0, node; node = nodes[i]; i++) - h.concat(results, node.getElementsByTagName(tagName)); - return results; - } else nodes = this[combinator](nodes); - if (tagName == "*") return nodes; - } - for (var i = 0, node; node = nodes[i]; i++) - if (node.tagName.toUpperCase() === uTagName) results.push(node); - return results; - } else return root.getElementsByTagName(tagName); - }, - - id: function(nodes, root, id, combinator) { - var targetNode = $(id), h = Selector.handlers; - if (!targetNode) return []; - if (!nodes && root == document) return [targetNode]; - if (nodes) { - if (combinator) { - if (combinator == 'child') { - for (var i = 0, node; node = nodes[i]; i++) - if (targetNode.parentNode == node) return [targetNode]; - } else if (combinator == 'descendant') { - for (var i = 0, node; node = nodes[i]; i++) - if (Element.descendantOf(targetNode, node)) return [targetNode]; - } else if (combinator == 'adjacent') { - for (var i = 0, node; node = nodes[i]; i++) - if (Selector.handlers.previousElementSibling(targetNode) == node) - return [targetNode]; - } else nodes = h[combinator](nodes); - } - for (var i = 0, node; node = nodes[i]; i++) - if (node == targetNode) return [targetNode]; - return []; - } - return (targetNode && Element.descendantOf(targetNode, root)) ? [targetNode] : []; - }, - - className: function(nodes, root, className, combinator) { - if (nodes && combinator) nodes = this[combinator](nodes); - return Selector.handlers.byClassName(nodes, root, className); - }, - - byClassName: function(nodes, root, className) { - if (!nodes) nodes = Selector.handlers.descendant([root]); - var needle = ' ' + className + ' '; - for (var i = 0, results = [], node, nodeClassName; node = nodes[i]; i++) { - nodeClassName = node.className; - if (nodeClassName.length == 0) continue; - if (nodeClassName == className || (' ' + nodeClassName + ' ').include(needle)) - results.push(node); - } - return results; - }, - - attrPresence: function(nodes, root, attr, combinator) { - if (!nodes) nodes = root.getElementsByTagName("*"); - if (nodes && combinator) nodes = this[combinator](nodes); - var results = []; - for (var i = 0, node; node = nodes[i]; i++) - if (Element.hasAttribute(node, attr)) results.push(node); - return results; - }, - - attr: function(nodes, root, attr, value, operator, combinator) { - if (!nodes) nodes = root.getElementsByTagName("*"); - if (nodes && combinator) nodes = this[combinator](nodes); - var handler = Selector.operators[operator], results = []; - for (var i = 0, node; node = nodes[i]; i++) { - var nodeValue = Element.readAttribute(node, attr); - if (nodeValue === null) continue; - if (handler(nodeValue, value)) results.push(node); - } - return results; - }, - - pseudo: function(nodes, name, value, root, combinator) { - if (nodes && combinator) nodes = this[combinator](nodes); - if (!nodes) nodes = root.getElementsByTagName("*"); - return Selector.pseudos[name](nodes, value, root); } - }, - pseudos: { - 'first-child': function(nodes, value, root) { - for (var i = 0, results = [], node; node = nodes[i]; i++) { - if (Selector.handlers.previousElementSibling(node)) continue; - results.push(node); + if ((/^(?:-)?\d+(\.\d+)?(px)?$/i).test(value)) { + return window.parseFloat(value); + } + + if (/\d/.test(value) && element.runtimeStyle) { + var style = element.style.left, rStyle = element.runtimeStyle.left; + element.runtimeStyle.left = element.currentStyle.left; + element.style.left = value || 0; + value = element.style.pixelLeft; + element.style.left = style; + element.runtimeStyle.left = rStyle; + + return value; + } + + if (value.include('%')) { + var decimal = toDecimal(value); + var whole; + if (property.include('left') || property.include('right') || + property.include('width')) { + whole = $(element.parentNode).measure('width'); + } else if (property.include('top') || property.include('bottom') || + property.include('height')) { + whole = $(element.parentNode).measure('height'); } - return results; - }, - 'last-child': function(nodes, value, root) { - for (var i = 0, results = [], node; node = nodes[i]; i++) { - if (Selector.handlers.nextElementSibling(node)) continue; - results.push(node); + + return whole * decimal; + } + + return 0; + } + + function toCSSPixels(number) { + if (Object.isString(number) && number.endsWith('px')) { + return number; + } + return number + 'px'; + } + + function isDisplayed(element) { + var originalElement = element; + while (element && element.parentNode) { + var display = element.getStyle('display'); + if (display === 'none') { + return false; + } + element = $(element.parentNode); + } + return true; + } + + var hasLayout = Prototype.K; + if ('currentStyle' in document.documentElement) { + hasLayout = function(element) { + if (!element.currentStyle.hasLayout) { + element.style.zoom = 1; + } + return element; + }; + } + + function cssNameFor(key) { + if (key.include('border')) key = key + '-width'; + return key.camelize(); + } + + Element.Layout = Class.create(Hash, { + initialize: function($super, element, preCompute) { + $super(); + this.element = $(element); + + Element.Layout.PROPERTIES.each( function(property) { + this._set(property, null); + }, this); + + if (preCompute) { + this._preComputing = true; + this._begin(); + Element.Layout.PROPERTIES.each( this._compute, this ); + this._end(); + this._preComputing = false; } - return results; - }, - 'only-child': function(nodes, value, root) { - var h = Selector.handlers; - for (var i = 0, results = [], node; node = nodes[i]; i++) - if (!h.previousElementSibling(node) && !h.nextElementSibling(node)) - results.push(node); - return results; - }, - 'nth-child': function(nodes, formula, root) { - return Selector.pseudos.nth(nodes, formula, root); - }, - 'nth-last-child': function(nodes, formula, root) { - return Selector.pseudos.nth(nodes, formula, root, true); - }, - 'nth-of-type': function(nodes, formula, root) { - return Selector.pseudos.nth(nodes, formula, root, false, true); - }, - 'nth-last-of-type': function(nodes, formula, root) { - return Selector.pseudos.nth(nodes, formula, root, true, true); - }, - 'first-of-type': function(nodes, formula, root) { - return Selector.pseudos.nth(nodes, "1", root, false, true); - }, - 'last-of-type': function(nodes, formula, root) { - return Selector.pseudos.nth(nodes, "1", root, true, true); - }, - 'only-of-type': function(nodes, formula, root) { - var p = Selector.pseudos; - return p['last-of-type'](p['first-of-type'](nodes, formula, root), formula, root); }, - // handles the an+b logic - getIndices: function(a, b, total) { - if (a == 0) return b > 0 ? [b] : []; - return $R(1, total).inject([], function(memo, i) { - if (0 == (i - b) % a && (i - b) / a >= 0) memo.push(i); - return memo; + _set: function(property, value) { + return Hash.prototype.set.call(this, property, value); + }, + + set: function(property, value) { + throw "Properties of Element.Layout are read-only."; + }, + + get: function($super, property) { + var value = $super(property); + return value === null ? this._compute(property) : value; + }, + + _begin: function() { + if (this._prepared) return; + + var element = this.element; + if (isDisplayed(element)) { + this._prepared = true; + return; + } + + var originalStyles = { + position: element.style.position || '', + width: element.style.width || '', + visibility: element.style.visibility || '', + display: element.style.display || '' + }; + + element.store('prototype_original_styles', originalStyles); + + var position = element.getStyle('position'), + width = element.getStyle('width'); + + element.setStyle({ + position: 'absolute', + visibility: 'hidden', + display: 'block' }); - }, - // handles nth(-last)-child, nth(-last)-of-type, and (first|last)-of-type - nth: function(nodes, formula, root, reverse, ofType) { - if (nodes.length == 0) return []; - if (formula == 'even') formula = '2n+0'; - if (formula == 'odd') formula = '2n+1'; - var h = Selector.handlers, results = [], indexed = [], m; - h.mark(nodes); - for (var i = 0, node; node = nodes[i]; i++) { - if (!node.parentNode._countedByPrototype) { - h.index(node.parentNode, reverse, ofType); - indexed.push(node.parentNode); - } + var positionedWidth = element.getStyle('width'); + + var newWidth; + if (width && (positionedWidth === width)) { + newWidth = getPixelValue(width); + } else if (width && (position === 'absolute' || position === 'fixed')) { + newWidth = getPixelValue(width); + } else { + var parent = element.parentNode, pLayout = $(parent).getLayout(); + + newWidth = pLayout.get('width') - + this.get('margin-left') - + this.get('border-left') - + this.get('padding-left') - + this.get('padding-right') - + this.get('border-right') - + this.get('margin-right'); } - if (formula.match(/^\d+$/)) { // just a number - formula = Number(formula); - for (var i = 0, node; node = nodes[i]; i++) - if (node.nodeIndex == formula) results.push(node); - } else if (m = formula.match(/^(-?\d*)?n(([+-])(\d+))?/)) { // an+b - if (m[1] == "-") m[1] = -1; - var a = m[1] ? Number(m[1]) : 1; - var b = m[2] ? Number(m[2]) : 0; - var indices = Selector.pseudos.getIndices(a, b, nodes.length); - for (var i = 0, node, l = indices.length; node = nodes[i]; i++) { - for (var j = 0; j < l; j++) - if (node.nodeIndex == indices[j]) results.push(node); - } + + element.setStyle({ width: newWidth + 'px' }); + + this._prepared = true; + }, + + _end: function() { + var element = this.element; + var originalStyles = element.retrieve('prototype_original_styles'); + element.store('prototype_original_styles', null); + element.setStyle(originalStyles); + this._prepared = false; + }, + + _compute: function(property) { + var COMPUTATIONS = Element.Layout.COMPUTATIONS; + if (!(property in COMPUTATIONS)) { + throw "Property not found."; } - h.unmark(nodes); - h.unmark(indexed); - return results; + return this._set(property, COMPUTATIONS[property].call(this, this.element)); }, - 'empty': function(nodes, value, root) { - for (var i = 0, results = [], node; node = nodes[i]; i++) { - // IE treats comments as element nodes - if (node.tagName == '!' || node.firstChild) continue; - results.push(node); - } - return results; + toObject: function() { + var args = $A(arguments); + var keys = (args.length === 0) ? Element.Layout.PROPERTIES : + args.join(' ').split(' '); + var obj = {}; + keys.each( function(key) { + if (!Element.Layout.PROPERTIES.include(key)) return; + var value = this.get(key); + if (value != null) obj[key] = value; + }, this); + return obj; }, - 'not': function(nodes, selector, root) { - var h = Selector.handlers, selectorType, m; - var exclusions = new Selector(selector).findElements(root); - h.mark(exclusions); - for (var i = 0, results = [], node; node = nodes[i]; i++) - if (!node._countedByPrototype) results.push(node); - h.unmark(exclusions); - return results; + toHash: function() { + var obj = this.toObject.apply(this, arguments); + return new Hash(obj); }, - 'enabled': function(nodes, value, root) { - for (var i = 0, results = [], node; node = nodes[i]; i++) - if (!node.disabled && (!node.type || node.type !== 'hidden')) - results.push(node); - return results; + toCSS: function() { + var args = $A(arguments); + var keys = (args.length === 0) ? Element.Layout.PROPERTIES : + args.join(' ').split(' '); + var css = {}; + + keys.each( function(key) { + if (!Element.Layout.PROPERTIES.include(key)) return; + if (Element.Layout.COMPOSITE_PROPERTIES.include(key)) return; + + var value = this.get(key); + if (value != null) css[cssNameFor(key)] = value + 'px'; + }, this); + return css; }, - 'disabled': function(nodes, value, root) { - for (var i = 0, results = [], node; node = nodes[i]; i++) - if (node.disabled) results.push(node); - return results; - }, - - 'checked': function(nodes, value, root) { - for (var i = 0, results = [], node; node = nodes[i]; i++) - if (node.checked) results.push(node); - return results; - } - }, - - operators: { - '=': function(nv, v) { return nv == v; }, - '!=': function(nv, v) { return nv != v; }, - '^=': function(nv, v) { return nv == v || nv && nv.startsWith(v); }, - '$=': function(nv, v) { return nv == v || nv && nv.endsWith(v); }, - '*=': function(nv, v) { return nv == v || nv && nv.include(v); }, - '$=': function(nv, v) { return nv.endsWith(v); }, - '*=': function(nv, v) { return nv.include(v); }, - '~=': function(nv, v) { return (' ' + nv + ' ').include(' ' + v + ' '); }, - '|=': function(nv, v) { return ('-' + (nv || "").toUpperCase() + - '-').include('-' + (v || "").toUpperCase() + '-'); } - }, - - split: function(expression) { - var expressions = []; - expression.scan(/(([\w#:.~>+()\s-]+|\*|\[.*?\])+)\s*(,|$)/, function(m) { - expressions.push(m[1].strip()); - }); - return expressions; - }, - - matchElements: function(elements, expression) { - var matches = $$(expression), h = Selector.handlers; - h.mark(matches); - for (var i = 0, results = [], element; element = elements[i]; i++) - if (element._countedByPrototype) results.push(element); - h.unmark(matches); - return results; - }, - - findElement: function(elements, expression, index) { - if (Object.isNumber(expression)) { - index = expression; expression = false; - } - return Selector.matchElements(elements, expression || '*')[index || 0]; - }, - - findChildElements: function(element, expressions) { - expressions = Selector.split(expressions.join(',')); - var results = [], h = Selector.handlers; - for (var i = 0, l = expressions.length, selector; i < l; i++) { - selector = new Selector(expressions[i].strip()); - h.concat(results, selector.findElements(element)); - } - return (l > 1) ? h.unique(results) : results; - } -}); - -if (Prototype.Browser.IE) { - Object.extend(Selector.handlers, { - // IE returns comment nodes on getElementsByTagName("*"). - // Filter them out. - concat: function(a, b) { - for (var i = 0, node; node = b[i]; i++) - if (node.tagName !== "!") a.push(node); - return a; - }, - - // IE improperly serializes _countedByPrototype in (inner|outer)HTML. - unmark: function(nodes) { - for (var i = 0, node; node = nodes[i]; i++) - node.removeAttribute('_countedByPrototype'); - return nodes; + inspect: function() { + return "#"; } }); + + Object.extend(Element.Layout, { + PROPERTIES: $w('height width top left right bottom border-left border-right border-top border-bottom padding-left padding-right padding-top padding-bottom margin-top margin-bottom margin-left margin-right padding-box-width padding-box-height border-box-width border-box-height margin-box-width margin-box-height'), + + COMPOSITE_PROPERTIES: $w('padding-box-width padding-box-height margin-box-width margin-box-height border-box-width border-box-height'), + + COMPUTATIONS: { + 'height': function(element) { + if (!this._preComputing) this._begin(); + + var bHeight = this.get('border-box-height'); + if (bHeight <= 0) return 0; + + var bTop = this.get('border-top'), + bBottom = this.get('border-bottom'); + + var pTop = this.get('padding-top'), + pBottom = this.get('padding-bottom'); + + if (!this._preComputing) this._end(); + + return bHeight - bTop - bBottom - pTop - pBottom; + }, + + 'width': function(element) { + if (!this._preComputing) this._begin(); + + var bWidth = this.get('border-box-width'); + if (bWidth <= 0) return 0; + + var bLeft = this.get('border-left'), + bRight = this.get('border-right'); + + var pLeft = this.get('padding-left'), + pRight = this.get('padding-right'); + + if (!this._preComputing) this._end(); + + return bWidth - bLeft - bRight - pLeft - pRight; + }, + + 'padding-box-height': function(element) { + var height = this.get('height'), + pTop = this.get('padding-top'), + pBottom = this.get('padding-bottom'); + + return height + pTop + pBottom; + }, + + 'padding-box-width': function(element) { + var width = this.get('width'), + pLeft = this.get('padding-left'), + pRight = this.get('padding-right'); + + return width + pLeft + pRight; + }, + + 'border-box-height': function(element) { + return element.offsetHeight; + }, + + 'border-box-width': function(element) { + return element.offsetWidth; + }, + + 'margin-box-height': function(element) { + var bHeight = this.get('border-box-height'), + mTop = this.get('margin-top'), + mBottom = this.get('margin-bottom'); + + if (bHeight <= 0) return 0; + + return bHeight + mTop + mBottom; + }, + + 'margin-box-width': function(element) { + var bWidth = this.get('border-box-width'), + mLeft = this.get('margin-left'), + mRight = this.get('margin-right'); + + if (bWidth <= 0) return 0; + + return bWidth + mLeft + mRight; + }, + + 'top': function(element) { + var offset = element.positionedOffset(); + return offset.top; + }, + + 'bottom': function(element) { + var offset = element.positionedOffset(), + parent = element.getOffsetParent(), + pHeight = parent.measure('height'); + + var mHeight = this.get('border-box-height'); + + return pHeight - mHeight - offset.top; + }, + + 'left': function(element) { + var offset = element.positionedOffset(); + return offset.left; + }, + + 'right': function(element) { + var offset = element.positionedOffset(), + parent = element.getOffsetParent(), + pWidth = parent.measure('width'); + + var mWidth = this.get('border-box-width'); + + return pWidth - mWidth - offset.left; + }, + + 'padding-top': function(element) { + return getPixelValue(element, 'paddingTop'); + }, + + 'padding-bottom': function(element) { + return getPixelValue(element, 'paddingBottom'); + }, + + 'padding-left': function(element) { + return getPixelValue(element, 'paddingLeft'); + }, + + 'padding-right': function(element) { + return getPixelValue(element, 'paddingRight'); + }, + + 'border-top': function(element) { + return Object.isNumber(element.clientTop) ? element.clientTop : + getPixelValue(element, 'borderTopWidth'); + }, + + 'border-bottom': function(element) { + return Object.isNumber(element.clientBottom) ? element.clientBottom : + getPixelValue(element, 'borderBottomWidth'); + }, + + 'border-left': function(element) { + return Object.isNumber(element.clientLeft) ? element.clientLeft : + getPixelValue(element, 'borderLeftWidth'); + }, + + 'border-right': function(element) { + return Object.isNumber(element.clientRight) ? element.clientRight : + getPixelValue(element, 'borderRightWidth'); + }, + + 'margin-top': function(element) { + return getPixelValue(element, 'marginTop'); + }, + + 'margin-bottom': function(element) { + return getPixelValue(element, 'marginBottom'); + }, + + 'margin-left': function(element) { + return getPixelValue(element, 'marginLeft'); + }, + + 'margin-right': function(element) { + return getPixelValue(element, 'marginRight'); + } + } + }); + + if ('getBoundingClientRect' in document.documentElement) { + Object.extend(Element.Layout.COMPUTATIONS, { + 'right': function(element) { + var parent = hasLayout(element.getOffsetParent()); + var rect = element.getBoundingClientRect(), + pRect = parent.getBoundingClientRect(); + + return (pRect.right - rect.right).round(); + }, + + 'bottom': function(element) { + var parent = hasLayout(element.getOffsetParent()); + var rect = element.getBoundingClientRect(), + pRect = parent.getBoundingClientRect(); + + return (pRect.bottom - rect.bottom).round(); + } + }); + } + + Element.Offset = Class.create({ + initialize: function(left, top) { + this.left = left.round(); + this.top = top.round(); + + this[0] = this.left; + this[1] = this.top; + }, + + relativeTo: function(offset) { + return new Element.Offset( + this.left - offset.left, + this.top - offset.top + ); + }, + + inspect: function() { + return "#".interpolate(this); + }, + + toString: function() { + return "[#{left}, #{top}]".interpolate(this); + }, + + toArray: function() { + return [this.left, this.top]; + } + }); + + function getLayout(element, preCompute) { + return new Element.Layout(element, preCompute); + } + + function measure(element, property) { + return $(element).getLayout().get(property); + } + + function getDimensions(element) { + var layout = $(element).getLayout(); + return { + width: layout.get('width'), + height: layout.get('height') + }; + } + + function getOffsetParent(element) { + if (isDetached(element)) return $(document.body); + + var isInline = (Element.getStyle(element, 'display') === 'inline'); + if (!isInline && element.offsetParent) return $(element.offsetParent); + if (element === document.body) return $(element); + + while ((element = element.parentNode) && element !== document.body) { + if (Element.getStyle(element, 'position') !== 'static') { + return (element.nodeName === 'HTML') ? $(document.body) : $(element); + } + } + + return $(document.body); + } + + + function cumulativeOffset(element) { + var valueT = 0, valueL = 0; + do { + valueT += element.offsetTop || 0; + valueL += element.offsetLeft || 0; + element = element.offsetParent; + } while (element); + return new Element.Offset(valueL, valueT); + } + + function positionedOffset(element) { + var layout = element.getLayout(); + + var valueT = 0, valueL = 0; + do { + valueT += element.offsetTop || 0; + valueL += element.offsetLeft || 0; + element = element.offsetParent; + if (element) { + if (isBody(element)) break; + var p = Element.getStyle(element, 'position'); + if (p !== 'static') break; + } + } while (element); + + valueL -= layout.get('margin-top'); + valueT -= layout.get('margin-left'); + + return new Element.Offset(valueL, valueT); + } + + function cumulativeScrollOffset(element) { + var valueT = 0, valueL = 0; + do { + valueT += element.scrollTop || 0; + valueL += element.scrollLeft || 0; + element = element.parentNode; + } while (element); + return new Element.Offset(valueL, valueT); + } + + function viewportOffset(forElement) { + var valueT = 0, valueL = 0, docBody = document.body; + + var element = forElement; + do { + valueT += element.offsetTop || 0; + valueL += element.offsetLeft || 0; + if (element.offsetParent == docBody && + Element.getStyle(element, 'position') == 'absolute') break; + } while (element = element.offsetParent); + + element = forElement; + do { + if (element != docBody) { + valueT -= element.scrollTop || 0; + valueL -= element.scrollLeft || 0; + } + } while (element = element.parentNode); + return new Element.Offset(valueL, valueT); + } + + function absolutize(element) { + element = $(element); + + if (Element.getStyle(element, 'position') === 'absolute') { + return element; + } + + var offsetParent = getOffsetParent(element); + var eOffset = element.viewportOffset(), + pOffset = offsetParent.viewportOffset(); + + var offset = eOffset.relativeTo(pOffset); + var layout = element.getLayout(); + + element.store('prototype_absolutize_original_styles', { + left: element.getStyle('left'), + top: element.getStyle('top'), + width: element.getStyle('width'), + height: element.getStyle('height') + }); + + element.setStyle({ + position: 'absolute', + top: offset.top + 'px', + left: offset.left + 'px', + width: layout.get('width') + 'px', + height: layout.get('height') + 'px' + }); + + return element; + } + + function relativize(element) { + element = $(element); + if (Element.getStyle(element, 'position') === 'relative') { + return element; + } + + var originalStyles = + element.retrieve('prototype_absolutize_original_styles'); + + if (originalStyles) element.setStyle(originalStyles); + return element; + } + + Element.addMethods({ + getLayout: getLayout, + measure: measure, + getDimensions: getDimensions, + getOffsetParent: getOffsetParent, + cumulativeOffset: cumulativeOffset, + positionedOffset: positionedOffset, + cumulativeScrollOffset: cumulativeScrollOffset, + viewportOffset: viewportOffset, + absolutize: absolutize, + relativize: relativize + }); + + function isBody(element) { + return element.nodeName.toUpperCase() === 'BODY'; + } + + function isDetached(element) { + return element !== document.body && + !Element.descendantOf(element, document.body); + } + + if ('getBoundingClientRect' in document.documentElement) { + Element.addMethods({ + viewportOffset: function(element) { + element = $(element); + if (isDetached(element)) return new Element.Offset(0, 0); + + var rect = element.getBoundingClientRect(), + docEl = document.documentElement; + return new Element.Offset(rect.left - docEl.clientLeft, + rect.top - docEl.clientTop); + }, + + positionedOffset: function(element) { + element = $(element); + var parent = element.getOffsetParent(); + if (isDetached(element)) return new Element.Offset(0, 0); + + if (element.offsetParent && + element.offsetParent.nodeName.toUpperCase() === 'HTML') { + return positionedOffset(element); + } + + var eOffset = element.viewportOffset(), + pOffset = isBody(parent) ? viewportOffset(parent) : + parent.viewportOffset(); + var retOffset = eOffset.relativeTo(pOffset); + + var layout = element.getLayout(); + var top = retOffset.top - layout.get('margin-top'); + var left = retOffset.left - layout.get('margin-left'); + + return new Element.Offset(left, top); + } + }); + } +})(); +window.$$ = function() { + var expression = $A(arguments).join(', '); + return Prototype.Selector.select(expression, document); +}; + +Prototype.Selector = (function() { + + function select() { + throw new Error('Method "Prototype.Selector.select" must be defined.'); + } + + function match() { + throw new Error('Method "Prototype.Selector.match" must be defined.'); + } + + function find(elements, expression, index) { + index = index || 0; + var match = Prototype.Selector.match, length = elements.length, matchIndex = 0, i; + + for (i = 0; i < length; i++) { + if (match(elements[i], expression) && index == matchIndex++) { + return Element.extend(elements[i]); + } + } + } + + function extendElements(elements) { + for (var i = 0, length = elements.length; i < length; i++) { + Element.extend(elements[i]); + } + return elements; + } + + + var K = Prototype.K; + + return { + select: select, + match: match, + find: find, + extendElements: (Element.extend === K) ? K : extendElements, + extendElement: Element.extend + }; +})(); +Prototype._original_property = window.Sizzle; +/*! + * Sizzle CSS Selector Engine - v1.0 + * Copyright 2009, The Dojo Foundation + * Released under the MIT, BSD, and GPL Licenses. + * More information: http://sizzlejs.com/ + */ +(function(){ + +var chunker = /((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g, + done = 0, + toString = Object.prototype.toString, + hasDuplicate = false, + baseHasDuplicate = true; + +[0, 0].sort(function(){ + baseHasDuplicate = false; + return 0; +}); + +var Sizzle = function(selector, context, results, seed) { + results = results || []; + var origContext = context = context || document; + + if ( context.nodeType !== 1 && context.nodeType !== 9 ) { + return []; + } + + if ( !selector || typeof selector !== "string" ) { + return results; + } + + var parts = [], m, set, checkSet, check, mode, extra, prune = true, contextXML = isXML(context), + soFar = selector; + + while ( (chunker.exec(""), m = chunker.exec(soFar)) !== null ) { + soFar = m[3]; + + parts.push( m[1] ); + + if ( m[2] ) { + extra = m[3]; + break; + } + } + + if ( parts.length > 1 && origPOS.exec( selector ) ) { + if ( parts.length === 2 && Expr.relative[ parts[0] ] ) { + set = posProcess( parts[0] + parts[1], context ); + } else { + set = Expr.relative[ parts[0] ] ? + [ context ] : + Sizzle( parts.shift(), context ); + + while ( parts.length ) { + selector = parts.shift(); + + if ( Expr.relative[ selector ] ) + selector += parts.shift(); + + set = posProcess( selector, set ); + } + } + } else { + if ( !seed && parts.length > 1 && context.nodeType === 9 && !contextXML && + Expr.match.ID.test(parts[0]) && !Expr.match.ID.test(parts[parts.length - 1]) ) { + var ret = Sizzle.find( parts.shift(), context, contextXML ); + context = ret.expr ? Sizzle.filter( ret.expr, ret.set )[0] : ret.set[0]; + } + + if ( context ) { + var ret = seed ? + { expr: parts.pop(), set: makeArray(seed) } : + Sizzle.find( parts.pop(), parts.length === 1 && (parts[0] === "~" || parts[0] === "+") && context.parentNode ? context.parentNode : context, contextXML ); + set = ret.expr ? Sizzle.filter( ret.expr, ret.set ) : ret.set; + + if ( parts.length > 0 ) { + checkSet = makeArray(set); + } else { + prune = false; + } + + while ( parts.length ) { + var cur = parts.pop(), pop = cur; + + if ( !Expr.relative[ cur ] ) { + cur = ""; + } else { + pop = parts.pop(); + } + + if ( pop == null ) { + pop = context; + } + + Expr.relative[ cur ]( checkSet, pop, contextXML ); + } + } else { + checkSet = parts = []; + } + } + + if ( !checkSet ) { + checkSet = set; + } + + if ( !checkSet ) { + throw "Syntax error, unrecognized expression: " + (cur || selector); + } + + if ( toString.call(checkSet) === "[object Array]" ) { + if ( !prune ) { + results.push.apply( results, checkSet ); + } else if ( context && context.nodeType === 1 ) { + for ( var i = 0; checkSet[i] != null; i++ ) { + if ( checkSet[i] && (checkSet[i] === true || checkSet[i].nodeType === 1 && contains(context, checkSet[i])) ) { + results.push( set[i] ); + } + } + } else { + for ( var i = 0; checkSet[i] != null; i++ ) { + if ( checkSet[i] && checkSet[i].nodeType === 1 ) { + results.push( set[i] ); + } + } + } + } else { + makeArray( checkSet, results ); + } + + if ( extra ) { + Sizzle( extra, origContext, results, seed ); + Sizzle.uniqueSort( results ); + } + + return results; +}; + +Sizzle.uniqueSort = function(results){ + if ( sortOrder ) { + hasDuplicate = baseHasDuplicate; + results.sort(sortOrder); + + if ( hasDuplicate ) { + for ( var i = 1; i < results.length; i++ ) { + if ( results[i] === results[i-1] ) { + results.splice(i--, 1); + } + } + } + } + + return results; +}; + +Sizzle.matches = function(expr, set){ + return Sizzle(expr, null, null, set); +}; + +Sizzle.find = function(expr, context, isXML){ + var set, match; + + if ( !expr ) { + return []; + } + + for ( var i = 0, l = Expr.order.length; i < l; i++ ) { + var type = Expr.order[i], match; + + if ( (match = Expr.leftMatch[ type ].exec( expr )) ) { + var left = match[1]; + match.splice(1,1); + + if ( left.substr( left.length - 1 ) !== "\\" ) { + match[1] = (match[1] || "").replace(/\\/g, ""); + set = Expr.find[ type ]( match, context, isXML ); + if ( set != null ) { + expr = expr.replace( Expr.match[ type ], "" ); + break; + } + } + } + } + + if ( !set ) { + set = context.getElementsByTagName("*"); + } + + return {set: set, expr: expr}; +}; + +Sizzle.filter = function(expr, set, inplace, not){ + var old = expr, result = [], curLoop = set, match, anyFound, + isXMLFilter = set && set[0] && isXML(set[0]); + + while ( expr && set.length ) { + for ( var type in Expr.filter ) { + if ( (match = Expr.match[ type ].exec( expr )) != null ) { + var filter = Expr.filter[ type ], found, item; + anyFound = false; + + if ( curLoop == result ) { + result = []; + } + + if ( Expr.preFilter[ type ] ) { + match = Expr.preFilter[ type ]( match, curLoop, inplace, result, not, isXMLFilter ); + + if ( !match ) { + anyFound = found = true; + } else if ( match === true ) { + continue; + } + } + + if ( match ) { + for ( var i = 0; (item = curLoop[i]) != null; i++ ) { + if ( item ) { + found = filter( item, match, i, curLoop ); + var pass = not ^ !!found; + + if ( inplace && found != null ) { + if ( pass ) { + anyFound = true; + } else { + curLoop[i] = false; + } + } else if ( pass ) { + result.push( item ); + anyFound = true; + } + } + } + } + + if ( found !== undefined ) { + if ( !inplace ) { + curLoop = result; + } + + expr = expr.replace( Expr.match[ type ], "" ); + + if ( !anyFound ) { + return []; + } + + break; + } + } + } + + if ( expr == old ) { + if ( anyFound == null ) { + throw "Syntax error, unrecognized expression: " + expr; + } else { + break; + } + } + + old = expr; + } + + return curLoop; +}; + +var Expr = Sizzle.selectors = { + order: [ "ID", "NAME", "TAG" ], + match: { + ID: /#((?:[\w\u00c0-\uFFFF-]|\\.)+)/, + CLASS: /\.((?:[\w\u00c0-\uFFFF-]|\\.)+)/, + NAME: /\[name=['"]*((?:[\w\u00c0-\uFFFF-]|\\.)+)['"]*\]/, + ATTR: /\[\s*((?:[\w\u00c0-\uFFFF-]|\\.)+)\s*(?:(\S?=)\s*(['"]*)(.*?)\3|)\s*\]/, + TAG: /^((?:[\w\u00c0-\uFFFF\*-]|\\.)+)/, + CHILD: /:(only|nth|last|first)-child(?:\((even|odd|[\dn+-]*)\))?/, + POS: /:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^-]|$)/, + PSEUDO: /:((?:[\w\u00c0-\uFFFF-]|\\.)+)(?:\((['"]*)((?:\([^\)]+\)|[^\2\(\)]*)+)\2\))?/ + }, + leftMatch: {}, + attrMap: { + "class": "className", + "for": "htmlFor" + }, + attrHandle: { + href: function(elem){ + return elem.getAttribute("href"); + } + }, + relative: { + "+": function(checkSet, part, isXML){ + var isPartStr = typeof part === "string", + isTag = isPartStr && !/\W/.test(part), + isPartStrNotTag = isPartStr && !isTag; + + if ( isTag && !isXML ) { + part = part.toUpperCase(); + } + + for ( var i = 0, l = checkSet.length, elem; i < l; i++ ) { + if ( (elem = checkSet[i]) ) { + while ( (elem = elem.previousSibling) && elem.nodeType !== 1 ) {} + + checkSet[i] = isPartStrNotTag || elem && elem.nodeName === part ? + elem || false : + elem === part; + } + } + + if ( isPartStrNotTag ) { + Sizzle.filter( part, checkSet, true ); + } + }, + ">": function(checkSet, part, isXML){ + var isPartStr = typeof part === "string"; + + if ( isPartStr && !/\W/.test(part) ) { + part = isXML ? part : part.toUpperCase(); + + for ( var i = 0, l = checkSet.length; i < l; i++ ) { + var elem = checkSet[i]; + if ( elem ) { + var parent = elem.parentNode; + checkSet[i] = parent.nodeName === part ? parent : false; + } + } + } else { + for ( var i = 0, l = checkSet.length; i < l; i++ ) { + var elem = checkSet[i]; + if ( elem ) { + checkSet[i] = isPartStr ? + elem.parentNode : + elem.parentNode === part; + } + } + + if ( isPartStr ) { + Sizzle.filter( part, checkSet, true ); + } + } + }, + "": function(checkSet, part, isXML){ + var doneName = done++, checkFn = dirCheck; + + if ( !/\W/.test(part) ) { + var nodeCheck = part = isXML ? part : part.toUpperCase(); + checkFn = dirNodeCheck; + } + + checkFn("parentNode", part, doneName, checkSet, nodeCheck, isXML); + }, + "~": function(checkSet, part, isXML){ + var doneName = done++, checkFn = dirCheck; + + if ( typeof part === "string" && !/\W/.test(part) ) { + var nodeCheck = part = isXML ? part : part.toUpperCase(); + checkFn = dirNodeCheck; + } + + checkFn("previousSibling", part, doneName, checkSet, nodeCheck, isXML); + } + }, + find: { + ID: function(match, context, isXML){ + if ( typeof context.getElementById !== "undefined" && !isXML ) { + var m = context.getElementById(match[1]); + return m ? [m] : []; + } + }, + NAME: function(match, context, isXML){ + if ( typeof context.getElementsByName !== "undefined" ) { + var ret = [], results = context.getElementsByName(match[1]); + + for ( var i = 0, l = results.length; i < l; i++ ) { + if ( results[i].getAttribute("name") === match[1] ) { + ret.push( results[i] ); + } + } + + return ret.length === 0 ? null : ret; + } + }, + TAG: function(match, context){ + return context.getElementsByTagName(match[1]); + } + }, + preFilter: { + CLASS: function(match, curLoop, inplace, result, not, isXML){ + match = " " + match[1].replace(/\\/g, "") + " "; + + if ( isXML ) { + return match; + } + + for ( var i = 0, elem; (elem = curLoop[i]) != null; i++ ) { + if ( elem ) { + if ( not ^ (elem.className && (" " + elem.className + " ").indexOf(match) >= 0) ) { + if ( !inplace ) + result.push( elem ); + } else if ( inplace ) { + curLoop[i] = false; + } + } + } + + return false; + }, + ID: function(match){ + return match[1].replace(/\\/g, ""); + }, + TAG: function(match, curLoop){ + for ( var i = 0; curLoop[i] === false; i++ ){} + return curLoop[i] && isXML(curLoop[i]) ? match[1] : match[1].toUpperCase(); + }, + CHILD: function(match){ + if ( match[1] == "nth" ) { + var test = /(-?)(\d*)n((?:\+|-)?\d*)/.exec( + match[2] == "even" && "2n" || match[2] == "odd" && "2n+1" || + !/\D/.test( match[2] ) && "0n+" + match[2] || match[2]); + + match[2] = (test[1] + (test[2] || 1)) - 0; + match[3] = test[3] - 0; + } + + match[0] = done++; + + return match; + }, + ATTR: function(match, curLoop, inplace, result, not, isXML){ + var name = match[1].replace(/\\/g, ""); + + if ( !isXML && Expr.attrMap[name] ) { + match[1] = Expr.attrMap[name]; + } + + if ( match[2] === "~=" ) { + match[4] = " " + match[4] + " "; + } + + return match; + }, + PSEUDO: function(match, curLoop, inplace, result, not){ + if ( match[1] === "not" ) { + if ( ( chunker.exec(match[3]) || "" ).length > 1 || /^\w/.test(match[3]) ) { + match[3] = Sizzle(match[3], null, null, curLoop); + } else { + var ret = Sizzle.filter(match[3], curLoop, inplace, true ^ not); + if ( !inplace ) { + result.push.apply( result, ret ); + } + return false; + } + } else if ( Expr.match.POS.test( match[0] ) || Expr.match.CHILD.test( match[0] ) ) { + return true; + } + + return match; + }, + POS: function(match){ + match.unshift( true ); + return match; + } + }, + filters: { + enabled: function(elem){ + return elem.disabled === false && elem.type !== "hidden"; + }, + disabled: function(elem){ + return elem.disabled === true; + }, + checked: function(elem){ + return elem.checked === true; + }, + selected: function(elem){ + elem.parentNode.selectedIndex; + return elem.selected === true; + }, + parent: function(elem){ + return !!elem.firstChild; + }, + empty: function(elem){ + return !elem.firstChild; + }, + has: function(elem, i, match){ + return !!Sizzle( match[3], elem ).length; + }, + header: function(elem){ + return /h\d/i.test( elem.nodeName ); + }, + text: function(elem){ + return "text" === elem.type; + }, + radio: function(elem){ + return "radio" === elem.type; + }, + checkbox: function(elem){ + return "checkbox" === elem.type; + }, + file: function(elem){ + return "file" === elem.type; + }, + password: function(elem){ + return "password" === elem.type; + }, + submit: function(elem){ + return "submit" === elem.type; + }, + image: function(elem){ + return "image" === elem.type; + }, + reset: function(elem){ + return "reset" === elem.type; + }, + button: function(elem){ + return "button" === elem.type || elem.nodeName.toUpperCase() === "BUTTON"; + }, + input: function(elem){ + return /input|select|textarea|button/i.test(elem.nodeName); + } + }, + setFilters: { + first: function(elem, i){ + return i === 0; + }, + last: function(elem, i, match, array){ + return i === array.length - 1; + }, + even: function(elem, i){ + return i % 2 === 0; + }, + odd: function(elem, i){ + return i % 2 === 1; + }, + lt: function(elem, i, match){ + return i < match[3] - 0; + }, + gt: function(elem, i, match){ + return i > match[3] - 0; + }, + nth: function(elem, i, match){ + return match[3] - 0 == i; + }, + eq: function(elem, i, match){ + return match[3] - 0 == i; + } + }, + filter: { + PSEUDO: function(elem, match, i, array){ + var name = match[1], filter = Expr.filters[ name ]; + + if ( filter ) { + return filter( elem, i, match, array ); + } else if ( name === "contains" ) { + return (elem.textContent || elem.innerText || "").indexOf(match[3]) >= 0; + } else if ( name === "not" ) { + var not = match[3]; + + for ( var i = 0, l = not.length; i < l; i++ ) { + if ( not[i] === elem ) { + return false; + } + } + + return true; + } + }, + CHILD: function(elem, match){ + var type = match[1], node = elem; + switch (type) { + case 'only': + case 'first': + while ( (node = node.previousSibling) ) { + if ( node.nodeType === 1 ) return false; + } + if ( type == 'first') return true; + node = elem; + case 'last': + while ( (node = node.nextSibling) ) { + if ( node.nodeType === 1 ) return false; + } + return true; + case 'nth': + var first = match[2], last = match[3]; + + if ( first == 1 && last == 0 ) { + return true; + } + + var doneName = match[0], + parent = elem.parentNode; + + if ( parent && (parent.sizcache !== doneName || !elem.nodeIndex) ) { + var count = 0; + for ( node = parent.firstChild; node; node = node.nextSibling ) { + if ( node.nodeType === 1 ) { + node.nodeIndex = ++count; + } + } + parent.sizcache = doneName; + } + + var diff = elem.nodeIndex - last; + if ( first == 0 ) { + return diff == 0; + } else { + return ( diff % first == 0 && diff / first >= 0 ); + } + } + }, + ID: function(elem, match){ + return elem.nodeType === 1 && elem.getAttribute("id") === match; + }, + TAG: function(elem, match){ + return (match === "*" && elem.nodeType === 1) || elem.nodeName === match; + }, + CLASS: function(elem, match){ + return (" " + (elem.className || elem.getAttribute("class")) + " ") + .indexOf( match ) > -1; + }, + ATTR: function(elem, match){ + var name = match[1], + result = Expr.attrHandle[ name ] ? + Expr.attrHandle[ name ]( elem ) : + elem[ name ] != null ? + elem[ name ] : + elem.getAttribute( name ), + value = result + "", + type = match[2], + check = match[4]; + + return result == null ? + type === "!=" : + type === "=" ? + value === check : + type === "*=" ? + value.indexOf(check) >= 0 : + type === "~=" ? + (" " + value + " ").indexOf(check) >= 0 : + !check ? + value && result !== false : + type === "!=" ? + value != check : + type === "^=" ? + value.indexOf(check) === 0 : + type === "$=" ? + value.substr(value.length - check.length) === check : + type === "|=" ? + value === check || value.substr(0, check.length + 1) === check + "-" : + false; + }, + POS: function(elem, match, i, array){ + var name = match[2], filter = Expr.setFilters[ name ]; + + if ( filter ) { + return filter( elem, i, match, array ); + } + } + } +}; + +var origPOS = Expr.match.POS; + +for ( var type in Expr.match ) { + Expr.match[ type ] = new RegExp( Expr.match[ type ].source + /(?![^\[]*\])(?![^\(]*\))/.source ); + Expr.leftMatch[ type ] = new RegExp( /(^(?:.|\r|\n)*?)/.source + Expr.match[ type ].source ); } -function $$() { - return Selector.findChildElements(document, $A(arguments)); +var makeArray = function(array, results) { + array = Array.prototype.slice.call( array, 0 ); + + if ( results ) { + results.push.apply( results, array ); + return results; + } + + return array; +}; + +try { + Array.prototype.slice.call( document.documentElement.childNodes, 0 ); + +} catch(e){ + makeArray = function(array, results) { + var ret = results || []; + + if ( toString.call(array) === "[object Array]" ) { + Array.prototype.push.apply( ret, array ); + } else { + if ( typeof array.length === "number" ) { + for ( var i = 0, l = array.length; i < l; i++ ) { + ret.push( array[i] ); + } + } else { + for ( var i = 0; array[i]; i++ ) { + ret.push( array[i] ); + } + } + } + + return ret; + }; } + +var sortOrder; + +if ( document.documentElement.compareDocumentPosition ) { + sortOrder = function( a, b ) { + if ( !a.compareDocumentPosition || !b.compareDocumentPosition ) { + if ( a == b ) { + hasDuplicate = true; + } + return 0; + } + + var ret = a.compareDocumentPosition(b) & 4 ? -1 : a === b ? 0 : 1; + if ( ret === 0 ) { + hasDuplicate = true; + } + return ret; + }; +} else if ( "sourceIndex" in document.documentElement ) { + sortOrder = function( a, b ) { + if ( !a.sourceIndex || !b.sourceIndex ) { + if ( a == b ) { + hasDuplicate = true; + } + return 0; + } + + var ret = a.sourceIndex - b.sourceIndex; + if ( ret === 0 ) { + hasDuplicate = true; + } + return ret; + }; +} else if ( document.createRange ) { + sortOrder = function( a, b ) { + if ( !a.ownerDocument || !b.ownerDocument ) { + if ( a == b ) { + hasDuplicate = true; + } + return 0; + } + + var aRange = a.ownerDocument.createRange(), bRange = b.ownerDocument.createRange(); + aRange.setStart(a, 0); + aRange.setEnd(a, 0); + bRange.setStart(b, 0); + bRange.setEnd(b, 0); + var ret = aRange.compareBoundaryPoints(Range.START_TO_END, bRange); + if ( ret === 0 ) { + hasDuplicate = true; + } + return ret; + }; +} + +(function(){ + var form = document.createElement("div"), + id = "script" + (new Date).getTime(); + form.innerHTML = ""; + + var root = document.documentElement; + root.insertBefore( form, root.firstChild ); + + if ( !!document.getElementById( id ) ) { + Expr.find.ID = function(match, context, isXML){ + if ( typeof context.getElementById !== "undefined" && !isXML ) { + var m = context.getElementById(match[1]); + return m ? m.id === match[1] || typeof m.getAttributeNode !== "undefined" && m.getAttributeNode("id").nodeValue === match[1] ? [m] : undefined : []; + } + }; + + Expr.filter.ID = function(elem, match){ + var node = typeof elem.getAttributeNode !== "undefined" && elem.getAttributeNode("id"); + return elem.nodeType === 1 && node && node.nodeValue === match; + }; + } + + root.removeChild( form ); + root = form = null; // release memory in IE +})(); + +(function(){ + + var div = document.createElement("div"); + div.appendChild( document.createComment("") ); + + if ( div.getElementsByTagName("*").length > 0 ) { + Expr.find.TAG = function(match, context){ + var results = context.getElementsByTagName(match[1]); + + if ( match[1] === "*" ) { + var tmp = []; + + for ( var i = 0; results[i]; i++ ) { + if ( results[i].nodeType === 1 ) { + tmp.push( results[i] ); + } + } + + results = tmp; + } + + return results; + }; + } + + div.innerHTML = ""; + if ( div.firstChild && typeof div.firstChild.getAttribute !== "undefined" && + div.firstChild.getAttribute("href") !== "#" ) { + Expr.attrHandle.href = function(elem){ + return elem.getAttribute("href", 2); + }; + } + + div = null; // release memory in IE +})(); + +if ( document.querySelectorAll ) (function(){ + var oldSizzle = Sizzle, div = document.createElement("div"); + div.innerHTML = "

"; + + if ( div.querySelectorAll && div.querySelectorAll(".TEST").length === 0 ) { + return; + } + + Sizzle = function(query, context, extra, seed){ + context = context || document; + + if ( !seed && context.nodeType === 9 && !isXML(context) ) { + try { + return makeArray( context.querySelectorAll(query), extra ); + } catch(e){} + } + + return oldSizzle(query, context, extra, seed); + }; + + for ( var prop in oldSizzle ) { + Sizzle[ prop ] = oldSizzle[ prop ]; + } + + div = null; // release memory in IE +})(); + +if ( document.getElementsByClassName && document.documentElement.getElementsByClassName ) (function(){ + var div = document.createElement("div"); + div.innerHTML = "
"; + + if ( div.getElementsByClassName("e").length === 0 ) + return; + + div.lastChild.className = "e"; + + if ( div.getElementsByClassName("e").length === 1 ) + return; + + Expr.order.splice(1, 0, "CLASS"); + Expr.find.CLASS = function(match, context, isXML) { + if ( typeof context.getElementsByClassName !== "undefined" && !isXML ) { + return context.getElementsByClassName(match[1]); + } + }; + + div = null; // release memory in IE +})(); + +function dirNodeCheck( dir, cur, doneName, checkSet, nodeCheck, isXML ) { + var sibDir = dir == "previousSibling" && !isXML; + for ( var i = 0, l = checkSet.length; i < l; i++ ) { + var elem = checkSet[i]; + if ( elem ) { + if ( sibDir && elem.nodeType === 1 ){ + elem.sizcache = doneName; + elem.sizset = i; + } + elem = elem[dir]; + var match = false; + + while ( elem ) { + if ( elem.sizcache === doneName ) { + match = checkSet[elem.sizset]; + break; + } + + if ( elem.nodeType === 1 && !isXML ){ + elem.sizcache = doneName; + elem.sizset = i; + } + + if ( elem.nodeName === cur ) { + match = elem; + break; + } + + elem = elem[dir]; + } + + checkSet[i] = match; + } + } +} + +function dirCheck( dir, cur, doneName, checkSet, nodeCheck, isXML ) { + var sibDir = dir == "previousSibling" && !isXML; + for ( var i = 0, l = checkSet.length; i < l; i++ ) { + var elem = checkSet[i]; + if ( elem ) { + if ( sibDir && elem.nodeType === 1 ) { + elem.sizcache = doneName; + elem.sizset = i; + } + elem = elem[dir]; + var match = false; + + while ( elem ) { + if ( elem.sizcache === doneName ) { + match = checkSet[elem.sizset]; + break; + } + + if ( elem.nodeType === 1 ) { + if ( !isXML ) { + elem.sizcache = doneName; + elem.sizset = i; + } + if ( typeof cur !== "string" ) { + if ( elem === cur ) { + match = true; + break; + } + + } else if ( Sizzle.filter( cur, [elem] ).length > 0 ) { + match = elem; + break; + } + } + + elem = elem[dir]; + } + + checkSet[i] = match; + } + } +} + +var contains = document.compareDocumentPosition ? function(a, b){ + return a.compareDocumentPosition(b) & 16; +} : function(a, b){ + return a !== b && (a.contains ? a.contains(b) : true); +}; + +var isXML = function(elem){ + return elem.nodeType === 9 && elem.documentElement.nodeName !== "HTML" || + !!elem.ownerDocument && elem.ownerDocument.documentElement.nodeName !== "HTML"; +}; + +var posProcess = function(selector, context){ + var tmpSet = [], later = "", match, + root = context.nodeType ? [context] : context; + + while ( (match = Expr.match.PSEUDO.exec( selector )) ) { + later += match[0]; + selector = selector.replace( Expr.match.PSEUDO, "" ); + } + + selector = Expr.relative[selector] ? selector + "*" : selector; + + for ( var i = 0, l = root.length; i < l; i++ ) { + Sizzle( selector, root[i], tmpSet ); + } + + return Sizzle.filter( later, tmpSet ); +}; + + +window.Sizzle = Sizzle; + +})(); + +;(function(engine) { + var extendElements = Prototype.Selector.extendElements; + + function select(selector, scope) { + return extendElements(engine(selector, scope || document)); + } + + function match(element, selector) { + return engine.matches(selector, [element]).length == 1; + } + + Prototype.Selector.engine = engine; + Prototype.Selector.select = select; + Prototype.Selector.match = match; +})(Sizzle); + +window.Sizzle = Prototype._original_property; +delete Prototype._original_property; + var Form = { reset: function(form) { - $(form).reset(); + form = $(form); + form.reset(); return form; }, @@ -3460,7 +4970,6 @@ var Form = { if (value != null && element.type != 'file' && (element.type != 'submit' || (!submitted && submit !== false && (!submit || key == submit) && (submitted = true)))) { if (key in result) { - // a key is already present; construct an array of values if (!Object.isArray(result[key])) result[key] = [result[key]]; result[key].push(value); } @@ -3480,13 +4989,18 @@ Form.Methods = { }, getElements: function(form) { - return $A($(form).getElementsByTagName('*')).inject([], - function(elements, child) { - if (Form.Element.Serializers[child.tagName.toLowerCase()]) - elements.push(Element.extend(child)); - return elements; - } - ); + var elements = $(form).getElementsByTagName('*'), + element, + arr = [ ], + serializers = Form.Element.Serializers; + for (var i = 0; element = elements[i]; i++) { + arr.push(element); + } + return arr.inject([], function(elements, child) { + if (serializers[child.tagName.toLowerCase()]) + elements.push(Element.extend(child)); + return elements; + }) }, getInputs: function(form, typeName, name) { @@ -3526,7 +5040,7 @@ Form.Methods = { }).sortBy(function(element) { return element.tabIndex }).first(); return firstByIndex ? firstByIndex : elements.find(function(element) { - return ['input', 'select', 'textarea'].include(element.tagName.toLowerCase()); + return /^(?:input|select|textarea)$/i.test(element.tagName); }); }, @@ -3557,6 +5071,7 @@ Form.Methods = { /*--------------------------------------------------------------------------*/ + Form.Element = { focus: function(element) { $(element).focus(); @@ -3570,6 +5085,7 @@ Form.Element = { }; Form.Element.Methods = { + serialize: function(element) { element = $(element); if (!element.disabled && element.name) { @@ -3610,7 +5126,7 @@ Form.Element.Methods = { try { element.focus(); if (element.select && (element.tagName.toLowerCase() != 'input' || - !['button', 'reset', 'submit'].include(element.type))) + !(/^(?:button|reset|submit)$/i.test(element.type)))) element.select(); } catch (e) { } return element; @@ -3632,6 +5148,7 @@ Form.Element.Methods = { /*--------------------------------------------------------------------------*/ var Field = Form.Element; + var $F = Form.Element.Methods.getValue; /*--------------------------------------------------------------------------*/ @@ -3694,13 +5211,13 @@ Form.Element.Serializers = { }, optionValue: function(opt) { - // extend element because hasAttribute may not be native return Element.extend(opt).hasAttribute('value') ? opt.value : opt.text; } }; /*--------------------------------------------------------------------------*/ + Abstract.TimedObserver = Class.create(PeriodicalExecuter, { initialize: function($super, element, frequency, callback) { $super(callback, frequency); @@ -3782,354 +5299,475 @@ Form.EventObserver = Class.create(Abstract.EventObserver, { return Form.serialize(this.element); } }); -if (!window.Event) var Event = { }; +(function() { -Object.extend(Event, { - KEY_BACKSPACE: 8, - KEY_TAB: 9, - KEY_RETURN: 13, - KEY_ESC: 27, - KEY_LEFT: 37, - KEY_UP: 38, - KEY_RIGHT: 39, - KEY_DOWN: 40, - KEY_DELETE: 46, - KEY_HOME: 36, - KEY_END: 35, - KEY_PAGEUP: 33, - KEY_PAGEDOWN: 34, - KEY_INSERT: 45, + var Event = { + KEY_BACKSPACE: 8, + KEY_TAB: 9, + KEY_RETURN: 13, + KEY_ESC: 27, + KEY_LEFT: 37, + KEY_UP: 38, + KEY_RIGHT: 39, + KEY_DOWN: 40, + KEY_DELETE: 46, + KEY_HOME: 36, + KEY_END: 35, + KEY_PAGEUP: 33, + KEY_PAGEDOWN: 34, + KEY_INSERT: 45, - cache: { }, + cache: {} + }; - relatedTarget: function(event) { - var element; - switch(event.type) { - case 'mouseover': element = event.fromElement; break; - case 'mouseout': element = event.toElement; break; - default: return null; - } - return Element.extend(element); - } -}); - -Event.Methods = (function() { - var isButton; + var docEl = document.documentElement; + var MOUSEENTER_MOUSELEAVE_EVENTS_SUPPORTED = 'onmouseenter' in docEl + && 'onmouseleave' in docEl; + var _isButton; if (Prototype.Browser.IE) { var buttonMap = { 0: 1, 1: 4, 2: 2 }; - isButton = function(event, code) { - return event.button == buttonMap[code]; + _isButton = function(event, code) { + return event.button === buttonMap[code]; }; - } else if (Prototype.Browser.WebKit) { - isButton = function(event, code) { + _isButton = function(event, code) { switch (code) { case 0: return event.which == 1 && !event.metaKey; case 1: return event.which == 1 && event.metaKey; default: return false; } }; - } else { - isButton = function(event, code) { + _isButton = function(event, code) { return event.which ? (event.which === code + 1) : (event.button === code); }; } - return { - isLeftClick: function(event) { return isButton(event, 0) }, - isMiddleClick: function(event) { return isButton(event, 1) }, - isRightClick: function(event) { return isButton(event, 2) }, + function isLeftClick(event) { return _isButton(event, 0) } - element: function(event) { - event = Event.extend(event); + function isMiddleClick(event) { return _isButton(event, 1) } - var node = event.target, - type = event.type, - currentTarget = event.currentTarget; + function isRightClick(event) { return _isButton(event, 2) } - if (currentTarget && currentTarget.tagName) { - // Firefox screws up the "click" event when moving between radio buttons - // via arrow keys. It also screws up the "load" and "error" events on images, - // reporting the document as the target instead of the original image. - if (type === 'load' || type === 'error' || - (type === 'click' && currentTarget.tagName.toLowerCase() === 'input' - && currentTarget.type === 'radio')) - node = currentTarget; - } - if (node.nodeType == Node.TEXT_NODE) node = node.parentNode; - return Element.extend(node); - }, + function element(event) { + event = Event.extend(event); - findElement: function(event, expression) { - var element = Event.element(event); - if (!expression) return element; - var elements = [element].concat(element.ancestors()); - return Selector.findElement(elements, expression, 0); - }, + var node = event.target, type = event.type, + currentTarget = event.currentTarget; - pointer: function(event) { - var docElement = document.documentElement, - body = document.body || { scrollLeft: 0, scrollTop: 0 }; - return { - x: event.pageX || (event.clientX + - (docElement.scrollLeft || body.scrollLeft) - - (docElement.clientLeft || 0)), - y: event.pageY || (event.clientY + - (docElement.scrollTop || body.scrollTop) - - (docElement.clientTop || 0)) - }; - }, - - pointerX: function(event) { return Event.pointer(event).x }, - pointerY: function(event) { return Event.pointer(event).y }, - - stop: function(event) { - Event.extend(event); - event.preventDefault(); - event.stopPropagation(); - event.stopped = true; + if (currentTarget && currentTarget.tagName) { + if (type === 'load' || type === 'error' || + (type === 'click' && currentTarget.tagName.toLowerCase() === 'input' + && currentTarget.type === 'radio')) + node = currentTarget; } - }; -})(); -Event.extend = (function() { + if (node.nodeType == Node.TEXT_NODE) + node = node.parentNode; + + return Element.extend(node); + } + + function findElement(event, expression) { + var element = Event.element(event); + if (!expression) return element; + while (element) { + if (Object.isElement(element) && Prototype.Selector.match(element, expression)) { + return Element.extend(element); + } + element = element.parentNode; + } + } + + function pointer(event) { + return { x: pointerX(event), y: pointerY(event) }; + } + + function pointerX(event) { + var docElement = document.documentElement, + body = document.body || { scrollLeft: 0 }; + + return event.pageX || (event.clientX + + (docElement.scrollLeft || body.scrollLeft) - + (docElement.clientLeft || 0)); + } + + function pointerY(event) { + var docElement = document.documentElement, + body = document.body || { scrollTop: 0 }; + + return event.pageY || (event.clientY + + (docElement.scrollTop || body.scrollTop) - + (docElement.clientTop || 0)); + } + + + function stop(event) { + Event.extend(event); + event.preventDefault(); + event.stopPropagation(); + + event.stopped = true; + } + + Event.Methods = { + isLeftClick: isLeftClick, + isMiddleClick: isMiddleClick, + isRightClick: isRightClick, + + element: element, + findElement: findElement, + + pointer: pointer, + pointerX: pointerX, + pointerY: pointerY, + + stop: stop + }; + + var methods = Object.keys(Event.Methods).inject({ }, function(m, name) { m[name] = Event.Methods[name].methodize(); return m; }); if (Prototype.Browser.IE) { + function _relatedTarget(event) { + var element; + switch (event.type) { + case 'mouseover': element = event.fromElement; break; + case 'mouseout': element = event.toElement; break; + default: return null; + } + return Element.extend(element); + } + Object.extend(methods, { stopPropagation: function() { this.cancelBubble = true }, preventDefault: function() { this.returnValue = false }, - inspect: function() { return "[object Event]" } + inspect: function() { return '[object Event]' } }); - return function(event) { + Event.extend = function(event, element) { if (!event) return false; if (event._extendedByPrototype) return event; event._extendedByPrototype = Prototype.emptyFunction; var pointer = Event.pointer(event); + Object.extend(event, { - target: event.srcElement, - relatedTarget: Event.relatedTarget(event), + target: event.srcElement || element, + relatedTarget: _relatedTarget(event), pageX: pointer.x, pageY: pointer.y }); + return Object.extend(event, methods); }; - } else { - Event.prototype = Event.prototype || document.createEvent("HTMLEvents")['__proto__']; + Event.prototype = window.Event.prototype || document.createEvent('HTMLEvents').__proto__; Object.extend(Event.prototype, methods); - return Prototype.K; - } -})(); - -Object.extend(Event, (function() { - var cache = Event.cache; - - function getEventID(element) { - if (element._prototypeEventID) return element._prototypeEventID[0]; - arguments.callee.id = arguments.callee.id || 1; - return element._prototypeEventID = [++arguments.callee.id]; + Event.extend = Prototype.K; } - function getDOMEventName(eventName) { - if (eventName && eventName.include(':')) return "dataavailable"; - return eventName; - } + function _createResponder(element, eventName, handler) { + var registry = Element.retrieve(element, 'prototype_event_registry'); - function getCacheForID(id) { - return cache[id] = cache[id] || { }; - } + if (Object.isUndefined(registry)) { + CACHE.push(element); + registry = Element.retrieve(element, 'prototype_event_registry', $H()); + } - function getWrappersForEventName(id, eventName) { - var c = getCacheForID(id); - return c[eventName] = c[eventName] || []; - } + var respondersForEvent = registry.get(eventName); + if (Object.isUndefined(respondersForEvent)) { + respondersForEvent = []; + registry.set(eventName, respondersForEvent); + } - function createWrapper(element, eventName, handler) { - var id = getEventID(element); - var c = getWrappersForEventName(id, eventName); - if (c.pluck("handler").include(handler)) return false; + if (respondersForEvent.pluck('handler').include(handler)) return false; - var wrapper = function(event) { - if (!Event || !Event.extend || - (event.eventName && event.eventName != eventName)) + var responder; + if (eventName.include(":")) { + responder = function(event) { + if (Object.isUndefined(event.eventName)) return false; - Event.extend(event); - handler.call(element, event); - }; + if (event.eventName !== eventName) + return false; - wrapper.handler = handler; - c.push(wrapper); - return wrapper; - } + Event.extend(event, element); + handler.call(element, event); + }; + } else { + if (!MOUSEENTER_MOUSELEAVE_EVENTS_SUPPORTED && + (eventName === "mouseenter" || eventName === "mouseleave")) { + if (eventName === "mouseenter" || eventName === "mouseleave") { + responder = function(event) { + Event.extend(event, element); - function findWrapper(id, eventName, handler) { - var c = getWrappersForEventName(id, eventName); - return c.find(function(wrapper) { return wrapper.handler == handler }); - } + var parent = event.relatedTarget; + while (parent && parent !== element) { + try { parent = parent.parentNode; } + catch(e) { parent = element; } + } - function destroyWrapper(id, eventName, handler) { - var c = getCacheForID(id); - if (!c[eventName]) return false; - c[eventName] = c[eventName].without(findWrapper(id, eventName, handler)); - } + if (parent === element) return; - function destroyCache() { - for (var id in cache) - for (var eventName in cache[id]) - cache[id][eventName] = null; - } - - - // Internet Explorer needs to remove event handlers on page unload - // in order to avoid memory leaks. - if (window.attachEvent) { - window.attachEvent("onunload", destroyCache); - } - - // Safari has a dummy event handler on page unload so that it won't - // use its bfcache. Safari <= 3.1 has an issue with restoring the "document" - // object when page is returned to via the back button using its bfcache. - if (Prototype.Browser.WebKit) { - window.addEventListener('unload', Prototype.emptyFunction, false); - } - - return { - observe: function(element, eventName, handler) { - element = $(element); - var name = getDOMEventName(eventName); - - var wrapper = createWrapper(element, eventName, handler); - if (!wrapper) return element; - - if (element.addEventListener) { - element.addEventListener(name, wrapper, false); + handler.call(element, event); + }; + } } else { - element.attachEvent("on" + name, wrapper); + responder = function(event) { + Event.extend(event, element); + handler.call(element, event); + }; } - - return element; - }, - - stopObserving: function(element, eventName, handler) { - element = $(element); - var id = getEventID(element), name = getDOMEventName(eventName); - - if (!handler && eventName) { - getWrappersForEventName(id, eventName).each(function(wrapper) { - element.stopObserving(eventName, wrapper.handler); - }); - return element; - - } else if (!eventName) { - Object.keys(getCacheForID(id)).each(function(eventName) { - element.stopObserving(eventName); - }); - return element; - } - - var wrapper = findWrapper(id, eventName, handler); - if (!wrapper) return element; - - if (element.removeEventListener) { - element.removeEventListener(name, wrapper, false); - } else { - element.detachEvent("on" + name, wrapper); - } - - destroyWrapper(id, eventName, handler); - - return element; - }, - - fire: function(element, eventName, memo) { - element = $(element); - if (element == document && document.createEvent && !element.dispatchEvent) - element = document.documentElement; - - var event; - if (document.createEvent) { - event = document.createEvent("HTMLEvents"); - event.initEvent("dataavailable", true, true); - } else { - event = document.createEventObject(); - event.eventType = "ondataavailable"; - } - - event.eventName = eventName; - event.memo = memo || { }; - - if (document.createEvent) { - element.dispatchEvent(event); - } else { - element.fireEvent(event.eventType, event); - } - - return Event.extend(event); } - }; -})()); -Object.extend(Event, Event.Methods); + responder.handler = handler; + respondersForEvent.push(responder); + return responder; + } -Element.addMethods({ - fire: Event.fire, - observe: Event.observe, - stopObserving: Event.stopObserving -}); + function _destroyCache() { + for (var i = 0, length = CACHE.length; i < length; i++) { + Event.stopObserving(CACHE[i]); + CACHE[i] = null; + } + } -Object.extend(document, { - fire: Element.Methods.fire.methodize(), - observe: Element.Methods.observe.methodize(), - stopObserving: Element.Methods.stopObserving.methodize(), - loaded: false -}); + var CACHE = []; + + if (Prototype.Browser.IE) + window.attachEvent('onunload', _destroyCache); + + if (Prototype.Browser.WebKit) + window.addEventListener('unload', Prototype.emptyFunction, false); + + + var _getDOMEventName = Prototype.K, + translations = { mouseenter: "mouseover", mouseleave: "mouseout" }; + + if (!MOUSEENTER_MOUSELEAVE_EVENTS_SUPPORTED) { + _getDOMEventName = function(eventName) { + return (translations[eventName] || eventName); + }; + } + + function observe(element, eventName, handler) { + element = $(element); + + var responder = _createResponder(element, eventName, handler); + + if (!responder) return element; + + if (eventName.include(':')) { + if (element.addEventListener) + element.addEventListener("dataavailable", responder, false); + else { + element.attachEvent("ondataavailable", responder); + element.attachEvent("onfilterchange", responder); + } + } else { + var actualEventName = _getDOMEventName(eventName); + + if (element.addEventListener) + element.addEventListener(actualEventName, responder, false); + else + element.attachEvent("on" + actualEventName, responder); + } + + return element; + } + + function stopObserving(element, eventName, handler) { + element = $(element); + + var registry = Element.retrieve(element, 'prototype_event_registry'); + if (!registry) return element; + + if (!eventName) { + registry.each( function(pair) { + var eventName = pair.key; + stopObserving(element, eventName); + }); + return element; + } + + var responders = registry.get(eventName); + if (!responders) return element; + + if (!handler) { + responders.each(function(r) { + stopObserving(element, eventName, r.handler); + }); + return element; + } + + var responder = responders.find( function(r) { return r.handler === handler; }); + if (!responder) return element; + + if (eventName.include(':')) { + if (element.removeEventListener) + element.removeEventListener("dataavailable", responder, false); + else { + element.detachEvent("ondataavailable", responder); + element.detachEvent("onfilterchange", responder); + } + } else { + var actualEventName = _getDOMEventName(eventName); + if (element.removeEventListener) + element.removeEventListener(actualEventName, responder, false); + else + element.detachEvent('on' + actualEventName, responder); + } + + registry.set(eventName, responders.without(responder)); + + return element; + } + + function fire(element, eventName, memo, bubble) { + element = $(element); + + if (Object.isUndefined(bubble)) + bubble = true; + + if (element == document && document.createEvent && !element.dispatchEvent) + element = document.documentElement; + + var event; + if (document.createEvent) { + event = document.createEvent('HTMLEvents'); + event.initEvent('dataavailable', true, true); + } else { + event = document.createEventObject(); + event.eventType = bubble ? 'ondataavailable' : 'onfilterchange'; + } + + event.eventName = eventName; + event.memo = memo || { }; + + if (document.createEvent) + element.dispatchEvent(event); + else + element.fireEvent(event.eventType, event); + + return Event.extend(event); + } + + Event.Handler = Class.create({ + initialize: function(element, eventName, selector, callback) { + this.element = $(element); + this.eventName = eventName; + this.selector = selector; + this.callback = callback; + this.handler = this.handleEvent.bind(this); + }, + + start: function() { + Event.observe(this.element, this.eventName, this.handler); + return this; + }, + + stop: function() { + Event.stopObserving(this.element, this.eventName, this.handler); + return this; + }, + + handleEvent: function(event) { + var element = event.findElement(this.selector); + if (element) this.callback.call(this.element, event, element); + } + }); + + function on(element, eventName, selector, callback) { + element = $(element); + if (Object.isFunction(selector) && Object.isUndefined(callback)) { + callback = selector, selector = null; + } + + return new Event.Handler(element, eventName, selector, callback).start(); + } + + Object.extend(Event, Event.Methods); + + Object.extend(Event, { + fire: fire, + observe: observe, + stopObserving: stopObserving, + on: on + }); + + Element.addMethods({ + fire: fire, + + observe: observe, + + stopObserving: stopObserving, + + on: on + }); + + Object.extend(document, { + fire: fire.methodize(), + + observe: observe.methodize(), + + stopObserving: stopObserving.methodize(), + + on: on.methodize(), + + loaded: false + }); + + if (window.Event) Object.extend(window.Event, Event); + else window.Event = Event; +})(); (function() { /* Support for the DOMContentLoaded event is based on work by Dan Webb, - Matthias Miller, Dean Edwards and John Resig. */ + Matthias Miller, Dean Edwards, John Resig, and Diego Perini. */ var timer; function fireContentLoadedEvent() { if (document.loaded) return; - if (timer) window.clearInterval(timer); - document.fire("dom:loaded"); + if (timer) window.clearTimeout(timer); document.loaded = true; + document.fire('dom:loaded'); + } + + function checkReadyState() { + if (document.readyState === 'complete') { + document.stopObserving('readystatechange', checkReadyState); + fireContentLoadedEvent(); + } + } + + function pollDoScroll() { + try { document.documentElement.doScroll('left'); } + catch(e) { + timer = pollDoScroll.defer(); + return; + } + fireContentLoadedEvent(); } if (document.addEventListener) { - if (Prototype.Browser.WebKit) { - timer = window.setInterval(function() { - if (/loaded|complete/.test(document.readyState)) - fireContentLoadedEvent(); - }, 0); - - Event.observe(window, "load", fireContentLoadedEvent); - - } else { - document.addEventListener("DOMContentLoaded", - fireContentLoadedEvent, false); - } - + document.addEventListener('DOMContentLoaded', fireContentLoadedEvent, false); } else { - document.write(" - -

- -

- HTML - else - related_items.each do |item| - switch = request.include?("#{related_fk}=#{item.id}") ? 'on' : 'off' - items << (link_to item.to_label, params.merge(related_fk => item.id, :page => nil), :class => switch) - end - end - - if form - html << build_typus_list(items, :attribute => filter, :selector => true) - html << form - else - html << build_typus_list(items, :attribute => filter) - end - - end - - end - - def date_filter(request, filter) - - if !@resource[:class].typus_field_options_for(:filter_by_date_range).include?(filter.to_sym) - items = %w( today last_few_days last_7_days last_30_days ).map do |timeline| - switch = request.include?("#{filter}=#{timeline}") ? 'on' : 'off' - options = { :page => nil } - if switch == 'on' - params.delete(filter) - else - options.merge!(filter.to_sym => timeline) - end - link_to _(timeline.humanize), params.merge(options), :class => switch - end - build_typus_list(items, :attribute => filter) - else - date_params = params.dup - - %w( action controller page id ).each { |p| date_params.delete(p) } - date_params.delete(filter) - - hidden_params = date_params.map { |k, v| hidden_field_tag(k, v) } - render "admin/helpers/date", :hidden_params => hidden_params, :filter => filter, :resource => @resource - end - - end - - def boolean_filter(request, filter) - - item_params = params.dup - - items = @resource[:class].typus_boolean(filter).map do |key, value| - switch = request.include?("#{filter}=#{key}") ? 'on' : 'off' - options = { :page => nil } - if switch == 'on' - item_params.delete(filter) - else - options.merge!(filter.to_sym => key) - end - link_to _(value), item_params.merge(options), :class => switch - end - - build_typus_list(items, :attribute => filter) - - end - - def string_filter(request, filter) - - item_params = params.dup - - values = @resource[:class]::const_get("#{filter.to_s.upcase}") - values = values.invert if values.kind_of?(Hash) - items = values.map do |item| - link_name, link_filter = (values.first.kind_of?(Array)) ? [ item.first, item.last ] : [ item, item ] - switch = (params[filter.to_s] == link_filter) ? 'on' : 'off' - options = { :page => nil } - if switch == 'on' - item_params.delete(filter) - else - options.merge!(filter.to_sym => link_filter) - end - link_to link_name, item_params.merge(options), :class => switch - end - - build_typus_list(items, :attribute => filter) - - end - - include Typus::SidebarHelperExtensions rescue nil -end diff --git a/vendor/plugins/typus/app/helpers/admin/table_helper.rb b/vendor/plugins/typus/app/helpers/admin/table_helper.rb deleted file mode 100644 index f6035b9..0000000 --- a/vendor/plugins/typus/app/helpers/admin/table_helper.rb +++ /dev/null @@ -1,261 +0,0 @@ -module Admin::TableHelper - - # OPTIMIZE: Move html code to partial & refactor. - def build_typus_table(model, fields, items, link_options = {}, association = nil) - - returning(String.new) do |html| - - html << <<-HTML - - HTML - - html << typus_table_header(model, fields) - - items.each do |item| - - html << <<-HTML - - HTML - - fields.each do |key, value| - case value - when :boolean then html << typus_table_boolean_field(key, item) - when :datetime then html << typus_table_datetime_field(key, item, link_options) - when :date then html << typus_table_datetime_field(key, item, link_options) - when :file then html << typus_table_file_field(key, item, link_options) - when :time then html << typus_table_datetime_field(key, item, link_options) - when :belongs_to then html << typus_table_belongs_to_field(key, item) - when :tree then html << typus_table_tree_field(key, item) - when :position then html << typus_table_position_field(key, item) - when :selector then html << typus_table_selector(key, item) - when :has_and_belongs_to_many then - html << typus_table_has_and_belongs_to_many_field(key, item) - else - html << typus_table_string_field(key, item, link_options) - end - end - - action = if model.typus_user_id? && @current_user.is_not_root? - # If there's a typus_user_id column on the table and logged user is not root ... - item.owned_by?(@current_user) ? item.class.typus_options_for(:default_action_on_item) : 'show' - elsif @current_user.cannot?('edit', model) - 'show' - else - item.class.typus_options_for(:default_action_on_item) - end - - content = link_to _(action.capitalize), :controller => "admin/#{item.class.name.tableize}", :action => action, :id => item.id - html << <<-HTML - - HTML - - ## - # This controls the action to perform. If we are on a model list we - # will remove the entry, but if we inside a model we will remove the - # relationship between the models. - # - # Only shown is the user can destroy/unrelate items. - # - - trash = %Q(
Trash
) - unrelate = %Q(
Unrelate
) - - case params[:action] - when 'index' - condition = if model.typus_user_id? && @current_user.is_not_root? - item.owned_by?(@current_user) - elsif (@current_user.id.eql?(item.id) && model.eql?(Typus.user_class)) - false - else - @current_user.can?('destroy', model) - end - - message = _("You are about to delete a %{model}.\nAre you sure you want to continue?", :model => model.human_name.downcase) - - perform = link_to trash, { :action => 'destroy', :id => item.id }, - :title => _("Remove"), - :confirm => _(message) if condition - when 'edit' - # If we are editing content, we can relate and unrelate always! - perform = link_to unrelate, { :action => 'unrelate', :id => params[:id], :resource => model, :resource_id => item.id }, - :title => _("Unrelate"), - :confirm => _("Unrelate %{unrelate_model} from %{unrelate_model_from}?", - :unrelate_model => model.typus_human_name, - :unrelate_model_from => @resource[:human_name]) - when 'show' - # If we are showing content, we only can relate and unrelate if we are - # the owners of the owner record. - # If the owner record doesn't have a foreign key (Typus.user_fk) we look - # each item to verify the ownership. - condition = if @resource[:class].typus_user_id? && @current_user.is_not_root? - @item.owned_by?(@current_user) - end - perform = link_to unrelate, { :action => 'unrelate', :id => params[:id], :resource => model, :resource_id => item.id }, - :title => _("Unrelate"), - :confirm => _("Unrelate %{unrelate_model} from %{unrelate_model_from}?", - :unrelate_model => model.typus_human_name, - :unrelate_model_from => @resource[:human_name]) if condition - end - - html << <<-HTML - - - HTML - - end - - html << "
#{content}#{perform}
" - - end - - end - - def typus_table_header(model, fields) - - headers = fields.map do |key, value| - - content = key.end_with?('_id') ? key : model.human_attribute_name(key) - - if (model.model_fields.map(&:first).collect { |i| i.to_s }.include?(key) || model.reflect_on_all_associations(:belongs_to).map(&:name).include?(key.to_sym)) && params[:action] == 'index' - sort_order = case params[:sort_order] - when 'asc' then ['desc', '↓'] - when 'desc' then ['asc', '↑'] - else - [nil, nil] - end - order_by = model.reflect_on_association(key.to_sym).primary_key_name rescue key - switch = sort_order.last if params[:order_by].eql?(order_by) - options = { :order_by => order_by, :sort_order => sort_order.first } - content = link_to "#{content} #{switch}", params.merge(options) - end - - content - - end - - headers << " " if @current_user.can?('delete', model) - - render "admin/helpers/table_header", - :headers => headers - - end - - # OPTIMIZE: Refactor (Remove rescue) - def typus_table_belongs_to_field(attribute, item) - - action = item.send(attribute).class.typus_options_for(:default_action_on_item) rescue 'edit' - - att_value = item.send(attribute) - content = if !att_value.nil? - if @current_user.can?(action, att_value.class.name) - link_to item.send(attribute).to_label, :controller => "admin/#{att_value.class.name.tableize}", :action => action, :id => att_value.id - else - att_value.to_label - end - end - - return content_tag(:td, content) - - end - - def typus_table_has_and_belongs_to_many_field(attribute, item) - content = item.send(attribute).map { |i| i.to_label }.join('
') - return content_tag(:td, content) - end - - def typus_table_string_field(attribute, item, link_options = {}) - content = h(item.send(attribute)) - return content_tag(:td, content, :class => attribute) - end - - def typus_table_selector(attribute, item) - content = h(item.mapping(attribute)) - return content_tag(:td, content, :class => attribute) - end - - def typus_table_file_field(attribute, item, link_options = {}) - - attachment = attribute.split("_file_name").first - file_preview = Typus::Configuration.options[:file_preview] - file_thumbnail = Typus::Configuration.options[:file_thumbnail] - - has_file_preview = item.send(attachment).styles.member?(file_preview) - file_preview_is_image = item.send("#{attachment}_content_type") =~ /^image\/.+/ - - content = if has_file_preview && file_preview_is_image - render "admin/helpers/preview", - :attribute => attribute, - :attachment => attachment, - :content => item.send(attribute), - :has_file_preview => has_file_preview, - :href => item.send(attachment).url(file_preview), - :item => item - else - link_to item.send(attribute), item.send(attachment).url - end - - return content_tag(:td, content) - - end - - # OPTIMIZE: Move html code to partial. - def typus_table_tree_field(attribute, item) - <<-HTML -#{item.parent.to_label if item.parent} - HTML - end - - # OPTIMIZE: Move html code to partial. - def typus_table_position_field(attribute, item) - - html_position = [] - - [['Up', 'move_higher'], ['Down', 'move_lower']].each do |position| - - options = { :controller => item.class.name.tableize, - :action => 'position', - :id => item.id, - :go => position.last } - - first_or_last = (item.respond_to?(:first?) && (position.last == 'move_higher' && item.first?)) || (item.respond_to?(:last?) && (position.last == 'move_lower' && item.last?)) - html_position << link_to_unless(first_or_last, _(position.first), params.merge(options)) do |name| - %(#{name}) - end - end - - content = html_position.join(' / ') - return content_tag(:td, content) - - end - - def typus_table_datetime_field(attribute, item, link_options = {} ) - - date_format = item.class.typus_date_format(attribute) - content = !item.send(attribute).nil? ? item.send(attribute).to_s(date_format) : item.class.typus_options_for(:nil) - - return content_tag(:td, content) - - end - - def typus_table_boolean_field(attribute, item) - - boolean_hash = item.class.typus_boolean(attribute) - status = item.send(attribute) - link_text = boolean_hash["#{status}".to_sym] - - options = { :controller => "admin/#{item.class.name.tableize}", - :action => 'toggle', - :id => item.id, - :field => attribute.gsub(/\?$/,'') } - - confirm = _("Change %{attribute}?", - :attribute => item.class.human_attribute_name(attribute).downcase) - - content = link_to _(link_text), options, :confirm => confirm - - return content_tag(:td, content) - - end - - include Typus::TableHelperExtensions rescue nil -end diff --git a/vendor/plugins/typus/app/helpers/typus_helper.rb b/vendor/plugins/typus/app/helpers/typus_helper.rb deleted file mode 100644 index eaf1a8e..0000000 --- a/vendor/plugins/typus/app/helpers/typus_helper.rb +++ /dev/null @@ -1,101 +0,0 @@ -module TypusHelper - - def applications - - apps = ActiveSupport::OrderedHash.new - - Typus.applications.each do |app| - - available = Typus.application(app).map do |resource| - resource if @current_user.resources.include?(resource) - end.compact - - next if available.empty? - - apps[app] = available.sort_by { |x| x.constantize.typus_human_name } - - end - - render "admin/helpers/applications", :applications => apps - - end - - def resources - - available = Typus.resources.map do |resource| - resource if @current_user.resources.include?(resource) - end.compact - - return if available.empty? - - render "admin/helpers/resources", :resources => available - - end - - def typus_block(*args) - - options = args.extract_options! - - partials_path = "admin/#{options[:location]}" - resources_partials_path = 'admin/resources' - - partials = ActionController::Base.view_paths.map do |view_path| - Dir["#{view_path.path}/#{partials_path}/*"].map { |f| File.basename(f, '.html.erb') } - end.flatten - resources_partials = Dir["#{Rails.root}/app/views/#{resources_partials_path}/*"].map { |f| File.basename(f, '.html.erb') } - - partial = "_#{options[:partial]}" - - path = if partials.include?(partial) then partials_path - elsif resources_partials.include?(partial) then resources_partials_path - end - - render "#{path}/#{options[:partial]}" if path - - end - - def page_title(action = params[:action]) - crumbs = [] - crumbs << @resource[:pluralized] if @resource - crumbs << _(action.humanize) unless %w( index ).include?(action) - return crumbs.compact.map { |x| x }.join(' › ') - end - - def header - - links = [] - links << (link_to_unless_current _("Dashboard"), admin_dashboard_path) - - Typus.models_on_header.each do |model| - links << (link_to_unless_current model.constantize.pluralized_human_name, :controller => "/admin/#{model.tableize}") - end - - render "admin/helpers/header", :links => links - - end - - def login_info(user = @current_user) - - admin_edit_typus_user_path = { :controller => "/admin/#{Typus::Configuration.options[:user_class_name].tableize}", - :action => 'edit', - :id => user.id } - - message = _("Are you sure you want to sign out and end your session?") - - user_details = if user.can?('edit', Typus::Configuration.options[:user_class_name]) - link_to user.name, admin_edit_typus_user_path, :title => "#{user.email} (#{user.role})" - else - user.name - end - - render "admin/helpers/login_info", :message => message, :user_details => user_details - - end - - def display_flash_message(message = flash) - return if message.empty? - flash_type = message.keys.first - render "admin/helpers/flash_message", :flash_type => flash_type, :message => message - end - -end diff --git a/vendor/plugins/typus/app/models/typus_mailer.rb b/vendor/plugins/typus/app/models/typus_mailer.rb deleted file mode 100644 index 812a123..0000000 --- a/vendor/plugins/typus/app/models/typus_mailer.rb +++ /dev/null @@ -1,12 +0,0 @@ -class TypusMailer < ActionMailer::Base - - self.template_root = "#{File.dirname(__FILE__)}/../views" - - def reset_password_link(user, url) - subject "[#{Typus::Configuration.options[:app_name]}] #{_("Reset password")}" - body :user => user, :url => url - recipients user.email - from Typus::Configuration.options[:email] - end - -end diff --git a/vendor/plugins/typus/app/models/typus_user.rb b/vendor/plugins/typus/app/models/typus_user.rb deleted file mode 100644 index d4472e6..0000000 --- a/vendor/plugins/typus/app/models/typus_user.rb +++ /dev/null @@ -1,8 +0,0 @@ -class TypusUser < ActiveRecord::Base - - ROLE = Typus::Configuration.roles.keys.sort - LANGUAGE = Typus.locales - - enable_as_typus_user - -end diff --git a/vendor/plugins/typus/app/views/admin/dashboard/_sidebar.html.erb b/vendor/plugins/typus/app/views/admin/dashboard/_sidebar.html.erb deleted file mode 100644 index 9cba16c..0000000 --- a/vendor/plugins/typus/app/views/admin/dashboard/_sidebar.html.erb +++ /dev/null @@ -1,5 +0,0 @@ -

Welcome!

- -

If you need help don't hesitate in joining the <%= link_to 'mailing list', 'http://groups.google.com/group/typus' %>.

- -

Replace this sidebar dropping a file named _sidebar.html.erb on the app/views/admin/dashboard folder.

diff --git a/vendor/plugins/typus/app/views/admin/helpers/_applications.html.erb b/vendor/plugins/typus/app/views/admin/helpers/_applications.html.erb deleted file mode 100644 index 1934d1d..0000000 --- a/vendor/plugins/typus/app/views/admin/helpers/_applications.html.erb +++ /dev/null @@ -1,39 +0,0 @@ -<% applications.each do |app, models| %> - - - - - - - - <% models.each do |model| %> - - <% - - klass = model.constantize - klass_resource = klass.name.tableize - klass_human_name = klass.pluralized_human_name - - admin_items_path = { :controller => "admin/#{klass_resource}" } - new_admin_item_path = { :controller => "admin/#{klass_resource}", :action => 'new'} - - %> - - - - - - - - - - <% end %> - -
<%= _(app) %>
- <%= link_to klass_human_name, admin_items_path %>
- <%= _(klass.typus_description) if !klass.typus_description.nil? %> -
- <%= link_to_if @current_user.can?('create', klass), _("Add"), new_admin_item_path %> -
- -<% end %> diff --git a/vendor/plugins/typus/app/views/admin/helpers/_date.html.erb b/vendor/plugins/typus/app/views/admin/helpers/_date.html.erb deleted file mode 100644 index 0b56697..0000000 --- a/vendor/plugins/typus/app/views/admin/helpers/_date.html.erb +++ /dev/null @@ -1,26 +0,0 @@ -<% - if params[filter.to_s].is_a?(Hash) - date_from = params[filter.to_s]["from"] - date_to = params[filter.to_s]["to"] - else - date_from = "" - date_to = "" - end - - date_format = Date::DATE_FORMATS[@resource[:class].typus_date_format(filter)] -%> - -

<%= @resource[:class].human_attribute_name(filter) %>

-
    -<% form_tag url_for(:controller => params[:controller], :action => params[:action]), :method => :get do %> -
  • - <%= text_field_tag "#{filter}[from]", date_from, :size => 10, :class => :date_input, :date_format => date_format %> - - - <%= text_field_tag "#{filter}[to]", date_to, :size => 10, :class => :date_input, :date_format => date_format %> -
  • -
  • - <%= hidden_params.sort.join("\n") %> - <%= submit_tag _("Filter") %> -
  • -<% end %> -
\ No newline at end of file diff --git a/vendor/plugins/typus/app/views/admin/helpers/_display_link_to_previous.html.erb b/vendor/plugins/typus/app/views/admin/helpers/_display_link_to_previous.html.erb deleted file mode 100644 index c66e7d3..0000000 --- a/vendor/plugins/typus/app/views/admin/helpers/_display_link_to_previous.html.erb +++ /dev/null @@ -1,3 +0,0 @@ -
-

<%= message %> <%= link_to _("Do you want to cancel it?"), params[:back_to] %>

-
diff --git a/vendor/plugins/typus/app/views/admin/helpers/_flash_message.html.erb b/vendor/plugins/typus/app/views/admin/helpers/_flash_message.html.erb deleted file mode 100644 index f1780bd..0000000 --- a/vendor/plugins/typus/app/views/admin/helpers/_flash_message.html.erb +++ /dev/null @@ -1,3 +0,0 @@ -
-

<%= message[flash_type] %>

-
diff --git a/vendor/plugins/typus/app/views/admin/helpers/_header.html.erb b/vendor/plugins/typus/app/views/admin/helpers/_header.html.erb deleted file mode 100644 index 67542be..0000000 --- a/vendor/plugins/typus/app/views/admin/helpers/_header.html.erb +++ /dev/null @@ -1,13 +0,0 @@ -

- <% if ActionController::Routing::Routes.named_routes.routes.has_key?(:root) %> - <%= link_to Typus::Configuration.options[:app_name], root_path, :title => _("View site") %> - <% else %> - <%= Typus::Configuration.options[:app_name] %> - <% end %> -

- -
    -<% links.each do |link| -%> -
  • <%= link %>
  • -<% end -%> -
diff --git a/vendor/plugins/typus/app/views/admin/helpers/_list.html.erb b/vendor/plugins/typus/app/views/admin/helpers/_list.html.erb deleted file mode 100644 index 6796d39..0000000 --- a/vendor/plugins/typus/app/views/admin/helpers/_list.html.erb +++ /dev/null @@ -1,11 +0,0 @@ -<%= content_tag('h2', header) if header %> - -<% unless options[:selector] %> - -
    - <% items.each do |item| %> -
  • <%= item %>
  • - <% end %> -
- -<% end %> \ No newline at end of file diff --git a/vendor/plugins/typus/app/views/admin/helpers/_login_info.html.erb b/vendor/plugins/typus/app/views/admin/helpers/_login_info.html.erb deleted file mode 100644 index 65e5834..0000000 --- a/vendor/plugins/typus/app/views/admin/helpers/_login_info.html.erb +++ /dev/null @@ -1,4 +0,0 @@ -
    -
  • <%= _("Logged as") %> <%= user_details %>
  • -
  • <%= link_to _("Sign out"), admin_sign_out_path, { :confirm => message } %>
  • -
diff --git a/vendor/plugins/typus/app/views/admin/helpers/_pagination.html.erb b/vendor/plugins/typus/app/views/admin/helpers/_pagination.html.erb deleted file mode 100644 index 6e25f19..0000000 --- a/vendor/plugins/typus/app/views/admin/helpers/_pagination.html.erb +++ /dev/null @@ -1,15 +0,0 @@ - \ No newline at end of file diff --git a/vendor/plugins/typus/app/views/admin/helpers/_preview.html.erb b/vendor/plugins/typus/app/views/admin/helpers/_preview.html.erb deleted file mode 100644 index 3113f84..0000000 --- a/vendor/plugins/typus/app/views/admin/helpers/_preview.html.erb +++ /dev/null @@ -1,13 +0,0 @@ -<% - dom = item.to_dom(:suffix => "#{attribute}_preview" ) -%> - -<% if has_file_preview %> - -<% end %> - -<%= content %> diff --git a/vendor/plugins/typus/app/views/admin/helpers/_quick_edit.html.erb b/vendor/plugins/typus/app/views/admin/helpers/_quick_edit.html.erb deleted file mode 100644 index 5672685..0000000 --- a/vendor/plugins/typus/app/views/admin/helpers/_quick_edit.html.erb +++ /dev/null @@ -1,3 +0,0 @@ - diff --git a/vendor/plugins/typus/app/views/admin/helpers/_remove_filter_link.html.erb b/vendor/plugins/typus/app/views/admin/helpers/_remove_filter_link.html.erb deleted file mode 100644 index fc9eaac..0000000 --- a/vendor/plugins/typus/app/views/admin/helpers/_remove_filter_link.html.erb +++ /dev/null @@ -1 +0,0 @@ -<%= link_to _("Remove filter") %> diff --git a/vendor/plugins/typus/app/views/admin/helpers/_resources.html.erb b/vendor/plugins/typus/app/views/admin/helpers/_resources.html.erb deleted file mode 100644 index b272da3..0000000 --- a/vendor/plugins/typus/app/views/admin/helpers/_resources.html.erb +++ /dev/null @@ -1,14 +0,0 @@ - - - - - - - <% resources.each do |resource| %> - - - - - <% end %> - -
<%= _("Resources") %>
<%= link_to _(resource.titleize.capitalize), :controller => "admin/#{resource.underscore}" %>
diff --git a/vendor/plugins/typus/app/views/admin/helpers/_search.html.erb b/vendor/plugins/typus/app/views/admin/helpers/_search.html.erb deleted file mode 100644 index 7bd1610..0000000 --- a/vendor/plugins/typus/app/views/admin/helpers/_search.html.erb +++ /dev/null @@ -1,8 +0,0 @@ -

<%= _("Search") %>

- -<% form_tag url_for(:controller => params[:controller]), :method => :get do %> -

- <%= hidden_params.sort.join("\n") %> -<% end %> - -

<%= _("Search by") %> <%= search_by.downcase %>.

diff --git a/vendor/plugins/typus/app/views/admin/helpers/_table_header.html.erb b/vendor/plugins/typus/app/views/admin/helpers/_table_header.html.erb deleted file mode 100644 index 33f3085..0000000 --- a/vendor/plugins/typus/app/views/admin/helpers/_table_header.html.erb +++ /dev/null @@ -1,5 +0,0 @@ - - <% headers.each do |header| %> - <%= header %> - <% end %> - diff --git a/vendor/plugins/typus/app/views/admin/resources/_form.html.erb b/vendor/plugins/typus/app/views/admin/resources/_form.html.erb deleted file mode 100644 index 905cd04..0000000 --- a/vendor/plugins/typus/app/views/admin/resources/_form.html.erb +++ /dev/null @@ -1,12 +0,0 @@ -<% form_for @item, :url => options, :builder => ActionView::Helpers::FormBuilder, :html => { :multipart => true } do |form| %> -
-
    - <%= build_form(@fields, form) %> -
-
-
-
    -
  1. <%= submit_tag button , :class => 'commit' %>
  2. -
-
-<% end %> \ No newline at end of file diff --git a/vendor/plugins/typus/app/views/admin/resources/edit.html.erb b/vendor/plugins/typus/app/views/admin/resources/edit.html.erb deleted file mode 100644 index 9a4ab00..0000000 --- a/vendor/plugins/typus/app/views/admin/resources/edit.html.erb +++ /dev/null @@ -1,25 +0,0 @@ -<% content_for :sidebar do %> - <%= typus_block :location => @resource[:self], :partial => 'sidebar' %> - <%= actions %> - <%= search %> -<% end %> - -<%= display_link_to_previous if params[:back_to] %> - -

<%= link_to @resource[:pluralized], :action => 'index' %> › - <%= _("Edit") %>

- -<%= typus_block :location => @resource[:self], :partial => 'edit' %> - -<% - options = { :action => 'update', - :id => @item.id , - :back_to => params[:back_to], - :resource => params[:resource], - :resource_id => params[:resource_id]} - button = _("Save %{resource}", :resource => @resource[:human_name]) -%> - -<%= render "form", :options => options, :button => button %> - -<%= typus_relationships %> diff --git a/vendor/plugins/typus/app/views/admin/resources/index.html.erb b/vendor/plugins/typus/app/views/admin/resources/index.html.erb deleted file mode 100644 index bd38435..0000000 --- a/vendor/plugins/typus/app/views/admin/resources/index.html.erb +++ /dev/null @@ -1,21 +0,0 @@ -<% content_for :sidebar do %> - <%= typus_block :location => @resource[:self], :partial => 'sidebar' %> - <%= actions %> - <%= export %> - <%= search %> - <%= filters %> -<% end %> - -

<%= @resource[:pluralized] %> <%= remove_filter_link %>

- -<%= typus_block :location => @resource[:self], :partial => 'index' %> - -<% unless @items.count.zero? -%> - <%= build_list(@resource[:class], @fields, @items) %> - <%= pagination %> -<% else %> -
- <% message = @resource[:class].count.zero? ? "There are no %{records}." : "There are no %{records} under this filter." %> -

<%= _(message, :records => @resource[:human_name].pluralize.downcase) %>

-
-<% end %> diff --git a/vendor/plugins/typus/app/views/admin/resources/new.html.erb b/vendor/plugins/typus/app/views/admin/resources/new.html.erb deleted file mode 100644 index 441f70d..0000000 --- a/vendor/plugins/typus/app/views/admin/resources/new.html.erb +++ /dev/null @@ -1,22 +0,0 @@ -<% content_for :sidebar do %> - <%= typus_block :location => @resource[:self], :partial => 'sidebar' %> - <%= actions %> -<% end %> - -<%= display_link_to_previous if params[:back_to] %> - -

<%= link_to @resource[:pluralized], :action => 'index' %> › - <%= _("New") %>

- -<%= typus_block :location => @resource[:self], :partial => 'new' %> - -<% - options = { :action => 'create', - :back_to => params[:back_to], - :selected => params[:selected], - :resource => params[:resource], - :resource_id => params[:resource_id] } - button = _("Create %{resource}", :resource => @resource[:human_name]) -%> - -<%= render "form", :options => options, :button => button %> diff --git a/vendor/plugins/typus/app/views/admin/resources/show.html.erb b/vendor/plugins/typus/app/views/admin/resources/show.html.erb deleted file mode 100644 index 6b82872..0000000 --- a/vendor/plugins/typus/app/views/admin/resources/show.html.erb +++ /dev/null @@ -1,45 +0,0 @@ -<% content_for :sidebar do %> - <%= typus_block :location => @resource[:self], :partial => 'sidebar' %> - <%= actions %> - <%= search %> -<% end %> - -

<%= link_to @resource[:pluralized], :action => 'index' %> › - <%= _("Show") %>

- -<%= typus_block :location => @resource[:self], :partial => 'show' %> - -
-<%- @fields.each do |field| -%> -
<%=h @resource[:class].human_attribute_name(field.first) %>
- <%- - data_type = field.last - raw_data = @item.send(field.first) - data = case data_type - when :boolean - boolean_hash = @resource[:class].typus_boolean(field.first) - !raw_data.nil? ? boolean_hash["#{raw_data}".to_sym] : @resource[:class].typus_options_for(:nil) - when :belongs_to - if !raw_data.nil? - controller = raw_data.class.name.extract_resource.pluralize - action = raw_data.class.typus_options_for(:default_action_on_item) - options = { :controller => controller, :action => action, :id => raw_data } - link_to raw_data.to_label, options - else - h(raw_data) - end - when :file - typus_preview(@item, field.first) - when :text - defined?(RDiscount) ? markdown(raw_data) : simple_format(h(raw_data)) - when :selector - @item.mapping(field.first) - else - h(raw_data) - end - -%> -
<%= !data.blank? ? data : ('—') %>
-<%- end -%> -
- -<%= typus_relationships %> diff --git a/vendor/plugins/typus/app/views/admin/shared/_footer.html.erb b/vendor/plugins/typus/app/views/admin/shared/_footer.html.erb deleted file mode 100644 index cb0d6a0..0000000 --- a/vendor/plugins/typus/app/views/admin/shared/_footer.html.erb +++ /dev/null @@ -1 +0,0 @@ -

<%= link_to 'Typus', 'http://core.typuscms.com/' %> by <%= link_to 'intraducibles.com', 'http://intraducibles.com' %>.

diff --git a/vendor/plugins/typus/app/views/admin/templates/_boolean.html.erb b/vendor/plugins/typus/app/views/admin/templates/_boolean.html.erb deleted file mode 100644 index 3e7b954..0000000 --- a/vendor/plugins/typus/app/views/admin/templates/_boolean.html.erb +++ /dev/null @@ -1,4 +0,0 @@ -
  • - <%= form.label attribute, label_text, :class => 'inline_label' %> - <%= form.check_box attribute, options %> -
  • \ No newline at end of file diff --git a/vendor/plugins/typus/app/views/admin/templates/_date.html.erb b/vendor/plugins/typus/app/views/admin/templates/_date.html.erb deleted file mode 100644 index 1a40ae0..0000000 --- a/vendor/plugins/typus/app/views/admin/templates/_date.html.erb +++ /dev/null @@ -1,9 +0,0 @@ -<% - custom = { :include_blank => false } - options.merge!(custom) -%> - -
  • - <%= form.label attribute, label_text %> - <%= form.date_select attribute, options, html_options %> -
  • \ No newline at end of file diff --git a/vendor/plugins/typus/app/views/admin/templates/_datetime.html.erb b/vendor/plugins/typus/app/views/admin/templates/_datetime.html.erb deleted file mode 100644 index 25ffae8..0000000 --- a/vendor/plugins/typus/app/views/admin/templates/_datetime.html.erb +++ /dev/null @@ -1,9 +0,0 @@ -<% - custom = { :include_blank => false } - options.merge!(custom) -%> - -
  • - <%= form.label attribute, label_text %> - <%= form.datetime_select attribute, options, html_options %> -
  • \ No newline at end of file diff --git a/vendor/plugins/typus/app/views/admin/templates/_file.html.erb b/vendor/plugins/typus/app/views/admin/templates/_file.html.erb deleted file mode 100644 index e8eccab..0000000 --- a/vendor/plugins/typus/app/views/admin/templates/_file.html.erb +++ /dev/null @@ -1,19 +0,0 @@ -<% - - if @item.send(attribute).exists? - message = _("Remove %{attribute}", :attribute => @item.class.human_attribute_name(attribute).downcase) - label_text << <<-HTML - #{link_to message, { :action => 'detach', - :id => @item.id, - :attachment => attribute }, - :confirm => _("Are you sure?")} - HTML - end - -%> - -
  • - <%= form.label attribute, label_text %> - <%= form.file_field attribute, options %> - <%= typus_preview(@item, attribute) %> -
  • diff --git a/vendor/plugins/typus/app/views/admin/templates/_password.html.erb b/vendor/plugins/typus/app/views/admin/templates/_password.html.erb deleted file mode 100644 index 4b24a19..0000000 --- a/vendor/plugins/typus/app/views/admin/templates/_password.html.erb +++ /dev/null @@ -1,4 +0,0 @@ -
  • - <%= form.label attribute, label_text %> - <%= form.password_field attribute, options %> -
  • \ No newline at end of file diff --git a/vendor/plugins/typus/app/views/admin/templates/_selector.html.erb b/vendor/plugins/typus/app/views/admin/templates/_selector.html.erb deleted file mode 100644 index 206054e..0000000 --- a/vendor/plugins/typus/app/views/admin/templates/_selector.html.erb +++ /dev/null @@ -1,9 +0,0 @@ -<% - values = @resource[:class]::const_get("#{attribute.upcase}") - values = values.invert if values.kind_of?(Hash) -%> - -
  • - <%= form.label attribute, label_text %> - <%= form.select attribute, values, options, html_options %> -
  • diff --git a/vendor/plugins/typus/app/views/admin/templates/_string.html.erb b/vendor/plugins/typus/app/views/admin/templates/_string.html.erb deleted file mode 100644 index e757989..0000000 --- a/vendor/plugins/typus/app/views/admin/templates/_string.html.erb +++ /dev/null @@ -1,22 +0,0 @@ -<% - - # Read only fields. - if @resource[:class].typus_field_options_for(:read_only).to_s.include?(attribute) - custom = { :readonly => 'readonly' } - label_text << " #{_("Read only")}" - end - - # Auto generated fields. - if @resource[:class].typus_field_options_for(:auto_generated).include?(attribute) - custom = { :auto_generated => true } - label_text << " #{_("Auto generated")}" - end - - options.merge!(custom) if custom - -%> - -
  • - <%= form.label attribute, label_text %> - <%= form.text_field attribute, options %> -
  • \ No newline at end of file diff --git a/vendor/plugins/typus/app/views/admin/templates/_text.html.erb b/vendor/plugins/typus/app/views/admin/templates/_text.html.erb deleted file mode 100644 index 102249e..0000000 --- a/vendor/plugins/typus/app/views/admin/templates/_text.html.erb +++ /dev/null @@ -1,9 +0,0 @@ -<% - custom = { :rows => @resource[:class].typus_options_for(:form_rows) } - options = options.merge!(custom) -%> - -
  • - <%= form.label attribute, label_text %> - <%= form.text_area attribute, options %> -
  • \ No newline at end of file diff --git a/vendor/plugins/typus/app/views/admin/templates/_time.html.erb b/vendor/plugins/typus/app/views/admin/templates/_time.html.erb deleted file mode 100644 index 748acbc..0000000 --- a/vendor/plugins/typus/app/views/admin/templates/_time.html.erb +++ /dev/null @@ -1,9 +0,0 @@ -<% - custom = { :include_blank => false } - options.merge!(custom) -%> - -
  • - <%= form.label attribute, label_text %> - <%= form.time_select attribute, options, html_options %> -
  • \ No newline at end of file diff --git a/vendor/plugins/typus/app/views/layouts/admin.html.erb b/vendor/plugins/typus/app/views/layouts/admin.html.erb deleted file mode 100644 index 233dfe3..0000000 --- a/vendor/plugins/typus/app/views/layouts/admin.html.erb +++ /dev/null @@ -1,69 +0,0 @@ - - - - - - - - - <%= page_title %> - - <%= stylesheet_link_tag 'admin/reset', - 'admin/screen', - 'admin/jquery.fancybox-1.3.0' %> - <%= yield :stylesheets -%> - - <%= javascript_include_tag 'admin/jquery-1.4.1.min', - 'admin/jquery.fancybox-1.3.0.pack', - 'admin/application' %> - <%= yield :javascripts -%> - - - - - -
    - - - -
    - -
    - -
    - -
    - <%= display_flash_message %> - <%= yield %> -
    - - - -
    - -
    - -
    - - - - - - diff --git a/vendor/plugins/typus/app/views/layouts/typus.html.erb b/vendor/plugins/typus/app/views/layouts/typus.html.erb deleted file mode 100644 index d6c12a8..0000000 --- a/vendor/plugins/typus/app/views/layouts/typus.html.erb +++ /dev/null @@ -1,33 +0,0 @@ - - - - - - - - - - - <%= page_title %> - - <%= stylesheet_link_tag 'admin/reset', :media => 'screen' %> - <%= stylesheet_link_tag 'admin/screen', :media => 'screen' %> - - - - - -
    -

    <%= Typus::Configuration.options[:app_name] %>

    - <%= display_flash_message %> - <%= yield %> -
    - -
    - <%= typus_block :location => 'shared', :partial => 'footer' %> -
    - - - - \ No newline at end of file diff --git a/vendor/plugins/typus/app/views/typus/dashboard.html.erb b/vendor/plugins/typus/app/views/typus/dashboard.html.erb deleted file mode 100644 index 248d3d7..0000000 --- a/vendor/plugins/typus/app/views/typus/dashboard.html.erb +++ /dev/null @@ -1,9 +0,0 @@ -<% content_for :sidebar do %> - <%= typus_block :location => 'dashboard', :partial => 'sidebar' %> -<% end %> - -

    <%= _("Dashboard") %>

    - -<%= applications %> - -<%= resources %> diff --git a/vendor/plugins/typus/app/views/typus/recover_password.html.erb b/vendor/plugins/typus/app/views/typus/recover_password.html.erb deleted file mode 100644 index 7c64fa9..0000000 --- a/vendor/plugins/typus/app/views/typus/recover_password.html.erb +++ /dev/null @@ -1,16 +0,0 @@ -<% form_for :typus_user, :url => { :action => :recover_password } do |form| %> - -
      - -
    • - <%= form.label :email, Typus.user_class.human_attribute_name(:email) %> - <%= form.text_field :email, :size => 20, :class => 'text' %> -
    • - -
    • - <%= submit_tag _("Recover password"), :class => 'button' %> <%= link_to _("I remember my password"), admin_sign_in_path %> -
    • - -
    - -<% end %> \ No newline at end of file diff --git a/vendor/plugins/typus/app/views/typus/reset_password.html.erb b/vendor/plugins/typus/app/views/typus/reset_password.html.erb deleted file mode 100644 index 475c7b0..0000000 --- a/vendor/plugins/typus/app/views/typus/reset_password.html.erb +++ /dev/null @@ -1,25 +0,0 @@ -<% form_for :typus_user, :url => { :action => :reset_password } do |form| %> - - <%= hidden_field_tag :token, @typus_user.token %> - - <%= error_messages_for :typus_user, :header_message => nil, :message => nil %> - -
      - -
    • - <%= form.label :password, Typus.user_class.human_attribute_name(:password) %> - <%= form.password_field :password, :size => 20, :class => 'text' %> -
    • - -
    • - <%= form.label :password_confirmation, Typus.user_class.human_attribute_name(:password_confirmation) %> - <%= form.password_field :password_confirmation, :size => 20, :class => 'text' %> -
    • - -
    • - <%= submit_tag _("Change password"), :class => 'button' %> <%= link_to _("I remember my password"), admin_sign_in_path %> -
    • - -
    - -<% end %> \ No newline at end of file diff --git a/vendor/plugins/typus/app/views/typus/sign_in.html.erb b/vendor/plugins/typus/app/views/typus/sign_in.html.erb deleted file mode 100644 index b0d100b..0000000 --- a/vendor/plugins/typus/app/views/typus/sign_in.html.erb +++ /dev/null @@ -1,21 +0,0 @@ -<% form_for :typus_user, :url => { :action => 'sign_in' } do |form| %> - -
      - -
    • - <%= form.label :email, Typus.user_class.human_attribute_name(:email) %> - <%= form.text_field :email, :size => 20, :class => 'text' %> -
    • - -
    • - <%= form.label :password, Typus.user_class.human_attribute_name(:password) %> - <%= form.password_field :password, :size => 20, :class => 'text' %> -
    • - -
    • - <%= submit_tag _("Sign in"), :class => 'button' %> <%= link_to _("Recover password"), admin_recover_password_path if Typus::Configuration.options[:email] %> -
    • - -
    - -<% end %> \ No newline at end of file diff --git a/vendor/plugins/typus/app/views/typus/sign_up.html.erb b/vendor/plugins/typus/app/views/typus/sign_up.html.erb deleted file mode 100644 index 10ec701..0000000 --- a/vendor/plugins/typus/app/views/typus/sign_up.html.erb +++ /dev/null @@ -1,16 +0,0 @@ -<% form_for :typus_user, :url => { :action => :sign_up } do |form| %> - -
      - -
    • - <%= form.label :email, Typus.user_class.human_attribute_name(:email) %> - <%= form.text_field :email, :size => 20, :class => 'text' %> -
    • - -
    • - <%= submit_tag _("Sign up"), :class => 'button' %> -
    • - -
    - -<% end %> \ No newline at end of file diff --git a/vendor/plugins/typus/app/views/typus_mailer/reset_password_link.erb b/vendor/plugins/typus/app/views/typus_mailer/reset_password_link.erb deleted file mode 100644 index d9ff4ab..0000000 --- a/vendor/plugins/typus/app/views/typus_mailer/reset_password_link.erb +++ /dev/null @@ -1,6 +0,0 @@ - -<%= _("You can update your password at") %>: - - <%= @url %> - -<%= _("If you didn't request a password update, you can ignore this message") %> diff --git a/vendor/plugins/typus/config/locales/ca.yml b/vendor/plugins/typus/config/locales/ca.yml deleted file mode 100644 index 3b99610..0000000 --- a/vendor/plugins/typus/config/locales/ca.yml +++ /dev/null @@ -1,118 +0,0 @@ -# Catalan translations for Typus -# by Lleïr Borràs - -ca: - - "A valid token is required": "Es necessita un token vàlid." - "Actions": "Accions" - "Active": "Actiu" - "Add": "Afegir" - "Add new": "Afegir nou" - "Are you sure?": "Estàs segur?" - "Are you sure you want to leave this page?": "Estàs segur que vols abandonar aquesta pàgina?" - "Are you sure you want to sign out and end your session?": "Estàs segur que vols sortir i tancar la sessió?" - "As you're not the admin or the owner of this record you cannot edit it": "Com que no ets l'administrador o el propietari d'aquest registre no el pots editar." - - "Change password": "Canviar contrassenya" - "Change %{attribute}?": "Canviar %{attribute}?" - "Checked if active": "Marca-ho per activar" - "Click OK to continue, or click Cancel to stay on this page": "Prem OK per continuar, o prem Cancel·lar per romandre en aquesta página." - "Create %{resource}": "Crear %{resource}" - - "Dashboard": "Panell de control" - "Do you want to cancel it?": "Vols cancel·lar-lo?" - "Documentation": "Documentació" - "Down": "Baixar" - - "Edit": "Editar" - "Enter your email below to create the first user": "Introdueix el teu email per crear el primer usuari." - "Error! Typus User or role doesn't exist": "Error! Typus User o el rol no existixen." - - "False": "Fals" - "Filter": "Filtrar" - "Filter by": "Filtrar per" - - "Go to": "Anar a" - - "I remember my password": "Recordo la meva contrassenya" - "If you didn't request a password update, you can ignore this message": "Si no has demanat una actualització de la teva contrassenya, pots ignorar aquest missatge." - "If you have made any changes to the fields without clicking the Save/Update entry button, your changes will be lost": "Si has realitzat algun canvi en els camps sense premer el botó Guardar/Actualitzar, els teus canvis es perdran." - "Inactive": "Inactiu" - - "Last few days": "Últims dies" - "Last 30 days": "Últims 30 dies" - "Last 7 days": "Últims 7 dies" - "License": "Llicència" - "Logged as": "Identificat com" - "Login": "Login" - - "New": "Nou" - "Next": "Següent" - - "Options": "Opcions" - - "Password recovery link sent to your email": "L'enllaç de recuperació de contrassenya enviat al teu correu electrònic." - "Previous": "Anterior" - - "Record moved %{to}": "Registre desplaçat %{to}." - "Recover password": "Recuperar contrassenya" - "Remove": "Esborrar" - "Remove %{attribute}": "Esborrar %{attribute}" - "Remove filter": "Treure filtre" - "Reset password": "Canviar contrassenya" - "Resources": "Recursos" - - "Save %{resource}": "Guardar %{resource}" - "Search": "Cercar" - "Search by": "Cercar per" - "Setup": "Configurar" - "Send us feedback": "Envians comentaris" - "Show": "Mostrar" - "Sign in": "Entrar" - "Sign out": "Sortir" - "Sign up": "Crear compte" - "Submit a bug report": "Informar d'un error" - "System Users Administration": "Administrar usuaris del sistema" - - "That doesn't seem like a valid email address": "Això no sembla ser una adreça de correu electrònic vàlida." - "The email and/or password you entered is invalid": "El correu i/o la contrasenya proporcionats no són vàlids." - "There are not defined applications in config/typus/*.yml": "No hi ha aplicacions definides a config/typus/*.yml" - "There are no %{records}": "No hi han %{records}." - "There are no %{records} under this filter": "No hi han %{records} amb aquest filtre." - "Today": "Avui" - "Toggle is disabled": "Alternar està desactivat." - "True": "Cert" - - "Unrelate %{unrelate_model} from %{unrelate_model_from}?": "Deslligat %{unrelate_model} de %{unrelate_model_from}?" - "Up": "Pujar" - - "You're adding a new %{resource_from}": "Estàs afegint un nou %{resource_from}." - "You're adding a new %{resource_from} to %{resource_to}": "Estàs afegint un nou %{resource_from} a %{resource_to}." - "You're not allowed to remove Typus Users": "No pots esborrar usuaris de typus." - "You're not allowed to toggle status": "No pots canviar el teu estat." - "You are about to delete a %{model}.\nAre you sure you want to continue?": - "You can update your password at": "Pots actualitzar la teva contrassenya a " - "You can't change your role": "No pots canviar-te tu mateix el rol." - "You can't remove yourself": "No et pots eliminar a tu mateix." - "You can't toggle your status": "No pots canviar-te l'estat." - "You're updating a %{resource_from}": "Estàs actualitzant un %{resource_from}." - "You're updating a %{resource_from} for %{resource_to}": "Estàs actualitzant un %{resource_from} de %{resource_to}." - "Your new password is %{password}": "La teva nova contrassenya és %{password}." - - "View %{attribute}": "Veure %{attribute}" - "View site": "Veure la web" - - "%{attachment} can't be removed": "%{attachment} no es pot esborrar." - "%{attachment} removed": "%{attachment} esborrat." - "%{current_user_role} can't delete this item": "%{current_user_role} no pot esborrar aquest element." - "%{current_user_role} can't display items": "%{current_user_role} no pot mostrar els elements." - "%{current_user_role} can't go to %{action} on %{controller}": "%{current_user_role} no pot visitar %{action} a %{controller}." - "%{current_user_role} can't perform action. (%{action})": "%{current_user_role} no pot realitzar l'acció. (%{action})" - "%{model} filtered by %{filtered_by}": "%{model} filtrats per %{filtered_by}" - "%{model} successfully created": "%{model} satisfactòriament creat." - "%{model} successfully updated": "%{model} satisfactòriament actualitzat." - "%{model} successfully removed": "%{model} satisfactòriament eliminat." - "%{model} %{attribute} changed": "%{model} %{attribute} canviat." - "%{model_a} related to %{model_b}": "%{model_a} relacionat amb %{model_b}." - "%{model_a} successfully assigned to %{model_b}": "%{model_a} assignat satisfactòriament a %{model_b}." - "%{model_a} unrelated from %{model_b}": "%{model_a} no està relacionat amb %{model_b}." diff --git a/vendor/plugins/typus/config/locales/de.yml b/vendor/plugins/typus/config/locales/de.yml deleted file mode 100644 index e4766ad..0000000 --- a/vendor/plugins/typus/config/locales/de.yml +++ /dev/null @@ -1,118 +0,0 @@ -# German translations for Typus -# by Michael Grunewalder - -de: - - "A valid token is required": "Ein gültiges Merkmal ist erforderlich" - "Actions": "Aktionen" - "Active": - "Add": "Zufügen" - "Add new": "Erstellen" - "Are you sure?": - "Are you sure you want to leave this page?": "Sind Sie sicher, dass Sie diese Seite verlassen möchten?" - "Are you sure you want to sign out and end your session?": "Wollen Sie sich abmelden und die Sitzung beenden?" - "As you're not the admin or the owner of this record you cannot edit it": "Nur der Administrator oder der Eigent7uuml;er des Datensates kann ihn bearbeiten" - - "Change password": "Passwort ändern" - "Change %{attribute}?": "%{attribute}ändern?" - "Checked if active": "Angekreuzt wenn activiert" - "Click OK to continue, or click Cancel to stay on this page": "Klicken Sie OK zum Fortfahren oder Abbrechen um auf dieser Seite zu bleiben" - "Create %{resource}": "Erstellen %{resource}" - - "Dashboard": "Dashboard" - "Do you want to cancel it?": "Wollen Sie abbrechen?" - "Documentation": "Dokumentation" - "Down": "Runter" - - "Edit": "Bearbeiten" - "Enter your email below to create the first user": "Geben Sie Ihre Email Adresse unten ein, um den ersten Benutzer zu erstellen" - "Error! Typus User or role doesn't exist": "Fehler: Typus Benutzer oder Rolle existiert nicht" - - "False": "Falsch" - "Filter": "Filter" - "Filter by": "Filter nach" - - "Go to": "Gehe zu" - - "I remember my password": "Ich erinnere mein Passwort" - "If you didn't request a password update, you can ignore this message": "Falls Sie keine Passwort Äderung beantragt haben, können Sie diese nachricht ignorieren" - "If you have made any changes to the fields without clicking the Save/Update entry button, your changes will be lost": "Wenn Sie Änderungen an Feldern vorgenommen haben, ohne den Speichern/Bearbeiten Knopf gedr7uuml;ckt zu haben, gehen diese Änderungen verloren" - "Inactive": - - "Last few days": "Letzten Tage" - "Last 30 days": "Letzten 30 Tage" - "Last 7 days": "Letzten 7 Tage" - "License": "Lizenz" - "Logged as": "Aufgezeichnet als" - "Login": "Anmeldem" - - "New": "Neu" - "Next": "Nächster" - - "Options": "Optionen" - - "Password recovery link sent to your email": "Der Link zur Wiederfindung des Passworts wurde an Ihre Email Adresse gechickt" - "Previous": "Vorheriger" - - "Record moved %{to}": "Datensatz verschoben nach %{to}" - "Recover password": "Passwort vergessen?" - "Remove": - "Remove %{attribute}": "%{attribute} entfernen" - "Remove filter": "Filter entfernen" - "Reset password": "Passwort zurücksetzen" - "Resources": "Resourcen" - - "Save %{resource}": - "Search": "Suchen" - "Search by": "Suchen nach" - "Send us feedback": "Senden Sie uns Ihr Feedback" - "Setup": "Einrichten" - "Show": "Anzeigen" - "Sign in": "Anmelden" - "Sign out": "Abmelden" - "Sign up": "Konto erstellen" - "Submit a bug report": - "System Users Administration": "System Benutzer Verwaltung" - - "That doesn't seem like a valid email address": "Das schein keine gültige Email Dresse zu sein" - "The email and/or password you entered is invalid": "Die eingegebene Email Adresse und/oder das Passwort ist ungültig" - "There are no %{records}": "Keine %{records}vorhanden" - "There are no %{records} under this filter": "Unter diesem Filter sind keine %{records} vorhanden" - "There are not defined applications in config/typus/*.yml": "Es gibt keine definierten Anwendungen in config/typus/*.yml" - "Today": "Heute" - "Toggle is disabled": "Schalter ist deaktiviert" - "True": "Richtig" - - "Unrelate %{unrelate_model} from %{unrelate_model_from}?": "Verknüpfung zwischen %{unrelate_model} und %{unrelate_model_from}entfernen?" - "Up": "Hoch" - - "View %{attribute}": - "View site": "Site anzeigen" - - "You're adding a new %{resource_from}": "Sie erstellen eine neue %{resource_from}" - "You're adding a new %{resource_from} to %{resource_to}": "Sie fügen eine neue %{resource_from} an %{resource_to}" - "You're not allowed to remove Typus Users": "Sie sind nicht berechtigt den Typus Benutzer zu entfernen" - "You're not allowed to toggle status": "Sie können den Status nicht umschalten" - "You're updating a %{resource_from}": "Sie bearbeiten eine %{resource_from}" - "You're updating a %{resource_from} for %{resource_to}": "Sie bearbeiten eine %{resource_from} fü %{resource_to}" - "You are about to delete a %{model}.\nAre you sure you want to continue?": - "You can update your password at": "Sie k7ouml;nnen Ihr Passwort ändern unter" - "You can't change your role": "Sie können Ihre Rolle nicht ändern" - "You can't remove yourself": "Sie können sich selbst nicht entfernen" - "You can't toggle your status": "Sie können Ihren Status nicht umschalten" - "Your new password is %{password}": "Ihr neues Passwort ist %{password}" - - "%{attachment} can't be removed": - "%{attachment} removed": - "%{current_user_role} can't delete this item": "%{current_user_role} kann diesen Eintrag nicht löschen" - "%{current_user_role} can't display items": "%{current_user_role} kann Einträge nicht anzeigen" - "%{current_user_role} can't go to %{action} on %{controller}": "%{current_user_role} kann %{action} von %{controller} nicht asuführen" - "%{current_user_role} can't perform action. (%{action})": "%{current_user_role} kann die Aktion nicht ausführen. (%{action})" - "%{model} filtered by %{filtered_by}": "%{model} gefiltert nach %{filtered_by}" - "%{model} successfully created": "%{model} erfolgreich erstellt" - "%{model} successfully removed": "%{model} erfolgreich gelöscht" - "%{model} successfully updated": "%{model} erfolgreich geändert" - "%{model} %{attribute} changed": "%{model} %{attribute} geändert" - "%{model_a} related to %{model_b}": "%{model_a} ist verknüpft mit %{model_b}" - "%{model_a} successfully assigned to %{model_b}": "%{model_a} erfolgreich an %{model_b} zugewiesen" - "%{model_a} unrelated from %{model_b}": "%{model_a} unverbunden mit %{model_b}" diff --git a/vendor/plugins/typus/config/locales/es.yml b/vendor/plugins/typus/config/locales/es.yml deleted file mode 100644 index dd0c24d..0000000 --- a/vendor/plugins/typus/config/locales/es.yml +++ /dev/null @@ -1,118 +0,0 @@ -# Spanish translations for Typus -# by Felipe Talavera - -es: - - "A valid token is required": "Se requiere un token válido." - "Actions": "Acciones" - "Active": "Activo" - "Add": "Añadir" - "Add new": "Añadir nuevo" - "Are you sure?": "¿Estás seguro?" - "Are you sure you want to leave this page?": "¿Estás seguro que quieres abandonar esta página?" - "Are you sure you want to sign out and end your session?": "¿Estás seguro que quieres salir y cerrar la sessión?" - "As you're not the admin or the owner of this record you cannot edit it": "Como no eres el admin o el propietario de este registro no puedes editarlo." - - "Change password": "Cambiar contraseña" - "Change %{attribute}?": "Cambiar %{attribute}?" - "Checked if active": "Marca para activar" - "Click OK to continue, or click Cancel to stay on this page": "Pulse OK para continuar, o pulse Cancelar para permanecer en esta página." - "Create %{resource}": "Crear %{resource}" - - "Dashboard": "Panel de control" - "Do you want to cancel it?": "¿Quieres cancelarlo?" - "Documentation": "Documentación" - "Down": "Bajar" - - "Edit": "Editar" - "Enter your email below to create the first user": "Introduce tu email para crear el primer usuario." - "Error! Typus User or role doesn't exist": "Error! Typus User o el role no existen." - - "False": "Falso" - "Filter": "Filtrar" - "Filter by": "Filtrar por" - - "Go to": "Ir a" - - "I remember my password": "Recuerdo mi contraseña" - "If you didn't request a password update, you can ignore this message": "Si no pediste una actualización de tu contraseña, puedes ignorar este mensaje." - "If you have made any changes to the fields without clicking the Save/Update entry button, your changes will be lost": "Si has relizado algún cambio en los campos sin pulsar en el botón de Guardar/Actualizar, tus cambios se perderán." - "Inactive": "Inactivo" - - "Last few days": "Últimos dias" - "Last 30 days": "Últimos 30 dias" - "Last 7 days": "Últimos 7 dias" - "License": "Licencia" - "Logged as": "Autenticado como" - "Login": "Login" - - "New": "Nuevo" - "Next": "Siguiente" - - "Options": "Opciones" - - "Password recovery link sent to your email": "Enlace de recuperación de contraseña enviado a tu correo electrónico." - "Previous": "Anterior" - - "Record moved %{to}": "Record moved %{to}." - "Recover password": "Recuperar contraseña" - "Remove": "Eliminar" - "Remove %{attribute}": "Borrar %{attribute}" - "Remove filter": "Quitar filtro" - "Reset password": "Cambiar contraseña" - "Resources": "Recursos" - - "Save %{resource}": "Guardar %{resource}" - "Search": "Búsqueda" - "Search by": "Buscar por" - "Setup": "Configurar" - "Send us feedback": "Envianos tu comentarios" - "Show": "Mostrar" - "Sign in": "Entrar" - "Sign out": "Salir" - "Sign up": "Crear cuenta" - "Submit a bug report": "Reporta un error" - "System Users Administration": "Administrar usuarios del sistema" - - "That doesn't seem like a valid email address": "Eso no parecia una dirección válida de correo electrónico." - "The email and/or password you entered is invalid": "El correo y/o la contraseña proporcionadas no son válidas." - "There are not defined applications in config/typus/*.yml": "No hay aplicaciones definidas en config/typus/*.yml" - "There are no %{records}": "No hay %{records}." - "There are no %{records} under this filter": "No hay %{records} con este filtro." - "Today": "Hoy" - "Toggle is disabled": "Alternat està desactivado." - "True": "Verdadero" - - "Unrelate %{unrelate_model} from %{unrelate_model_from}?": "Desvincular %{unrelate_model} de %{unrelate_model_from}?" - "Up": "Subir" - - "You're adding a new %{resource_from}": "Estás añadiendo un nuevo %{resource_from}." - "You're adding a new %{resource_from} to %{resource_to}": "Estás añadiendo un nuevo %{resource_from} a %{resource_to}." - "You're not allowed to remove Typus Users": "No se te permite borrar usuarios de typus." - "You're not allowed to toggle status": "No se te permite cambiar tu estado." - "You are about to delete a %{model}.\nAre you sure you want to continue?": "Estás a punto de eliminar un %{model}.\n¿Seguro que deseas continuar?" - "You can update your password at": "Puedes actualizar tu contraseña en" - "You can't change your role": "No puedes cambiar tu propio rol." - "You can't remove yourself": "No te puedes eliminar a ti mismo." - "You can't toggle your status": "No puedes cambiar tu estado." - "You're updating a %{resource_from}": "Estás actualizando un %{resource_from}." - "You're updating a %{resource_from} for %{resource_to}": "Estás actualizando un %{resource_from} de %{resource_to}." - "Your new password is %{password}": "Tu nueva contraseña es %{password}." - - "View %{attribute}": - "View site": "Ver web" - - "%{attachment} can't be removed": "%{attachment} no puede ser borrado." - "%{attachment} removed": "%{attachment} borrado." - "%{current_user_role} can't delete this item": "%{current_user_role} no puede borrar este elemento." - "%{current_user_role} can't display items": "%{current_user_role} no puede mostrar los elementos." - "%{current_user_role} can't go to %{action} on %{controller}": "%{current_user_role} no pude ir a %{action} en %{controller}." - "%{current_user_role} can't perform action. (%{action})": "%{current_user_role} no puede realizar la acción. (%{action})" - "%{model} filtered by %{filtered_by}": "%{model} filtrados por %{filtered_by}" - "%{model} successfully created": "%{model} satisfactoriamente creado." - "%{model} successfully updated": "%{model} satisfactoriamente actualizado." - "%{model} successfully removed": "%{model} satisfactoriamente eliminado." - "%{model} %{attribute} changed": "%{model} %{attribute} cambiado." - "%{model_a} related to %{model_b}": "%{model_a} relacionado con %{model_b}." - "%{model_a} successfully assigned to %{model_b}": "%{model_a} asignado satisfactoriamente a %{model_b}." - "%{model_a} unrelated from %{model_b}": "%{model_a} no esta relacionado con %{model_b}." diff --git a/vendor/plugins/typus/config/locales/fr.yml b/vendor/plugins/typus/config/locales/fr.yml deleted file mode 100644 index d64fdc7..0000000 --- a/vendor/plugins/typus/config/locales/fr.yml +++ /dev/null @@ -1,118 +0,0 @@ -# French translations for Typus -# by Ned Baldessin - -fr: - - "A valid token is required": "Un token valide est nécessaire" - "Actions": - "Active": - "Add": "Ajouter" - "Add new": "Ajouter nouveau" - "Are you sure?": - "Are you sure you want to leave this page?": "Êtes-vous certain de vouloir quitter cette page?" - "Are you sure you want to sign out and end your session?": - "As you're not the admin or the owner of this record you cannot edit it": "Vous n'êtes pas le propriétaire de cette entrée, ou un administrateur, par conséquent vous ne pouvez pas le modifier" - - "Change password": "Modifier le mot de passe" - "Change %{attribute}?": "Changer %{attribute}?" - "Checked if active": "Coché si actif" - "Click OK to continue, or click Cancel to stay on this page": "Cliquez sur Ok pour continuer, ou Annuler pour rester sur cette page." - "Create %{resource}": "Créer %{resource}" - - "Dashboard": "Tableau de bord" - "Do you want to cancel it?": "Voulez-vous annuler?" - "Documentation": - "Down": "Descendre" - - "Edit": "Éditer" - "Enter your email below to create the first user": "Entrez votre adresse email pour créer le premier utilisateur" - "Error! Typus User or role doesn't exist": "Une erreur est survenue. L'utilisateur ou le rôle sont inconnus." - - "False": - "Filter": "Filtrer" - "Filter by": "Filtrer par" - - "Go to": "Aller" - - "I remember my password": "Je me souviens du mot de passe" - "If you didn't request a password update, you can ignore this message": "Si vous n'avez pas demandé à mettre à jour votre mot de passe, vous pouvez ignorer ce message" - "If you have made any changes to the fields without clicking the Save/Update entry button, your changes will be lost": "Si vous avez effectué des modifications sans cliquer sur le bouton Enregistrer ou Mettre à jour, ces modifications seront perdues." - "Inactive": - - "Last few days": - "Last 30 days": - "Last 7 days": - "License": - "Logged as": "Identifié comme" - "Login": "Identification" - - "New": "Nouveau" - "Next": "Suivant" - - "Options": "Options" - - "Password recovery link sent to your email": - "Previous": "Précédent" - - "Record moved %{to}": "Entrées réordonnées" - "Recover password": - "Remove": "Supprimer" - "Remove %{attribute}": "Supprimer %{attribute}" - "Remove filter": "Supprimer le filtre" - "Reset password": "Renouveler le mot de passe" - "Resources": "Ressources" - - "Save %{resource}": - "Search": "Recherche" - "Search by": "Rechercher par" - "Send us feedback": - "Setup": "Configurer" - "Show": "Voir" - "Sign in": "Entrer" - "Sign out": "Déconnexion" - "Sign up": "Ouvrir un compte" - "Submit a bug report": - "System Users Administration": "Modifier les utilisateurs de l'admin" - - "That doesn't seem like a valid email address": "L'adresse email ne semble pas valide" - "The email and/or password you entered is invalid": - "There are no %{records}": "Il n'y aucun(e) %{records}." - "There are no %{records} under this filter": "Il n'y a aucun(e) %{records} avec ce filtre." - "There are not defined applications in config/typus/*.yml": - "Today": - "Toggle is disabled": "Le basculement est désactivé" - "True": - - "Unrelate %{unrelate_model} from %{unrelate_model_from}?": "Dissocier %{unrelate_model} de %{unrelate_model_from}?" - "Up": "Monter" - - "View %{attribute}": - "View site": "Voir le site" - - "You can update your password at": "Vous pouvez modifier votre mot de passe ici" - "You can't change your role": "Vous ne pouvez pas changer votre propre rôle." - "You can't remove yourself": "Vous ne pouvez pas supprimer votre propre compte" - "You can't toggle your status": "Vous ne pouvez pas basculer votre statut" - "Your new password is %{password}": "Votre nouveau mot-de-passe est %{password}." - "You're adding a new %{resource_from}": "Vous ajoutez un nouveau %{resource_from}." - "You're adding a new %{resource_from} to %{resource_to}": "Vous ajoutez un(e) %{resource_from} à un(e) %{resource_to}." - "You're not allowed to remove Typus Users": "Vous n'avez pas le droit de supprimer des utilisateurs de l'administration" - "You're not allowed to toggle status": "Vous n'êtes pas autorisé à basculer votre statut" - "You're updating a %{resource_from}": "Vous mettez-à-jour un(e) %{resource_from}." - "You're updating a %{resource_from} for %{resource_to}": "Vous mettez-à-jour un(e) %{resource_from} pour un(e) %{resource_to}." - "You are about to delete a %{model}.\nAre you sure you want to continue?": - - "%{attachment} removed": - "%{attachment} can't be removed": - "%{model} successfully created": "%{model} correctement créé(e)." - "%{model} successfully removed": "%{model} correctement supprimé(e)." - "%{model} successfully updated": "%{model} correctement mis(e)-à-jour." - "%{model} %{attribute} changed": "%{model} %{attribute} modifié." - "%{model_a} related to %{model_b}": "%{model_a} associé à %{model_b}." - "%{model_a} successfully assigned to %{model_b}": "%{model_a} associé à %{model_b}." - "%{model_a} unrelated from %{model_b}": "%{model_a} dissocié de %{model_b}." - "%{current_user_role} can't display items": "Un utilisateur de rôle %{current_user_role} ne peut pas afficher ces éléments." - "%{current_user_role} can't delete this item": "%{current_user_role} ne peut supprimer cette entrée" - "%{current_user_role} can't go to %{action} on %{controller}": "%{current_user_role} ne peut effectuer %{action} sur %{controller}" - "%{current_user_role} can't perform action. (%{action})": "%{current_user_role} ne peut effectuer l'action (%{action})" - "%{current_user_role} can't perform action (%{action})": "%{current_user_role} ne peut effectuer l'action (%{action})" diff --git a/vendor/plugins/typus/config/locales/hu.yml b/vendor/plugins/typus/config/locales/hu.yml deleted file mode 100644 index 39efa20..0000000 --- a/vendor/plugins/typus/config/locales/hu.yml +++ /dev/null @@ -1,128 +0,0 @@ -# Hungarian translations for Typus (template) -# by Tompa Gábor - http://github.com/tompagabor/typus - -hu: - - "A valid token is required": "eg érvényes token szükséges" - "Actions": "Akciók" - "Active": "Aktív" - "Add": "Hozzáad" - "Add new": "Új hozzáadása" - "Are you sure?": "Biztos vagy benne?" - "Are you sure you want to leave this page?": "Biztosan el akarod hagyni ezt az oldalt?" - "Are you sure you want to sign out and end your session?": "Biztosan ki akarsz lépni?" - "As you're not the admin or the owner of this record you cannot edit it": "Ezt a bejegyzést csak a tuljadonosa és az adminok szerkeszthetik." - - "Change %{attribute}?": "Megváltoztatod ezt: %{attribute}?" - "Change password": "Jelszó megváltoztatása" - "Checked if active": "Bejelölve aktív" - "Click OK to continue, or click Cancel to stay on this page": "Kattints az OK gombra a továbblépéshez, vagy a mégse gombbal maradhatsz a mostani oldalon" - "Create %{resource}": "%{resource} létrehozása" - - "Dashboard": "Admin nyitólap" - "Do you want to cancel it?": "Szeretnéd visszavonni?" - "Documentation": "Dokumentáció" - "Down": "Le" - - "Edit": "Szerkesztés" - "Enter your email below to create the first user": "Írd be az e-mail címed az első felhasználó létrehozásához" - "Error! Typus User or role doesn't exist": "Hiba! Typus felhasználó vagy a jogosultság nem létezik" - - "False": "Hamis" - "Filter": - "Filter by": "Szűrés" - - "Go to": "Ide" - - "I remember my password": "Emlékszem a jelszavamra" - "If you didn't request a password update, you can ignore this message": "Hogyha nem kértél jelszó emlékesztetőt, nyugodtan töröld ki ezt a levelet." - "If you have made any changes to the fields without clicking the Save/Update entry button, your changes will be lost": "Ha a módosítások után nem kattintassz a Mentés/Firssítés gombra, el fognak veszni a változtatások." - "Inactive": "Inaktív" - - "Last few days": "Utóbbi néhány nap" - "Last 30 days": "Az elmúlt 30 nap" - "Last 7 days": "Az elmúlt 7 nap" - "License": "Licensz" - "Logged as": "Bejelentkezve " - "Login": "Belépés" - - "New": "Új" - "Next": "Következő" - - "Options": "Opciók" - - "Password recovery link sent to your email": "A jelszó helyreállító linket elküldtük az email címedre." - "Previous": "Előző" - - "Record moved %{to}": "A bejegyzés áthelyezve: %{to}" - "Recover password": "Jelszó helyreállítás" - "Remove": "Eltávolítás" - "Remove %{attribute}": "Szűrő %{attribute}" - "Remove filter": "Szűrő eltávolítása" - "Reset password": "Jelszó módosítása" - "Resources": "Források" - - "Save %{resource}": "%{resource} mentése" - "Search": "Keresés" - "Search by": "Keresés" - "Send us feedback": "Visszajelzés küldése" - "Setup": "Beállítás" - "Show": "Mutatás" - "Sign in": "Bejelentkezés" - "Sign out": "Kijelentkezés" - "Sign up": "Regisztráció" - "Submit a bug report": "Hiba jelzése a fejlesztőknek" - "System Users Administration": "Rendszeradminisztrátorok kezelése" - - "That doesn't seem like a valid email address": "Ez nem tűnik valódi e-mail címnek" - "The email and/or password you entered is invalid": "A megadott felhasználónév és/vagy jelszó nem megfelelő" - "There are no %{records}": "Nincsenek %{records}" - "There are no %{records} under this filter": "Nincsenek %{records} a szűrővel" - "There are not defined applications in config/typus/*.yml": "Nincsen definiált alkalmazás a config/typus/*.yml fájlban" - "Today": "Ma" - "Toggle is disabled": "Toggle letitlva" - "True": "Igaz" - - "Unrelate %{unrelate_model} from %{unrelate_model_from}?": "Unrelate %{unrelate_model} from %{unrelate_model_from}?" - "Up": "Fel" - - "View %{attribute}": - "View site": "A weboldal megtekintése" - - "You're adding a new %{resource_from}": "%{resource_from} hozzáadása" - "You're adding a new %{resource_from} to %{resource_to}": "%{resource_from} hozzáadása %{resource_to} rekordhoz" - "You're not allowed to toggle status": "Nincsen jogod változtatni a státuszon" - "You're not allowed to remove Typus Users": "Nincsen jogod törölni Typus felhasználókat" - "You're updating a %{resource_from}": "%{resource_from} frissítése" - "You're updating a %{resource_from} for %{resource_to}": "%{resource_from} frissítése %{resource_to} rekordhoz" - "You are about to delete a %{model}.\nAre you sure you want to continue?": - "You can update your password at": "Frissítheted a jelszavad" - "You can't change your role": "Nincsen jogod megváltoztatni a jogosultsági szintedet" - "You can't remove yourself": "Nem törölheted saját magad" - "You can't toggle your status": "Nincs jogod változtatni a státuszodat" - "Your new password is %{password}": "Az új jelszavad: %{password}" - - "%{attachment} can't be removed": "%{attachment} nem törölhető" - "%{attachment} removed": "%{attachment} törölve" - "%{current_user_role} can't delete this item": "%{current_user_role} nem lehet törölni az elemet" - "%{current_user_role} can't display items": "%{current_user_role} nem nézheti meg az elemeket" - "%{current_user_role} can't go to %{action} on %{controller}": "%{current_user_role} nem hívhatja meg ezt a műveletet" - "%{current_user_role} can't perform action. (%{action})": "%{current_user_role} nem futtathatja ez a műveletet (%{action})" - "%{model} filtered by %{filtered_by}": "%{model} szűrve %{filtered_by}" - "%{model} successfully created": "%{model} sikeresen létrehozva" - "%{model} successfully removed": "%{model} sikeresen törölve" - "%{model} successfully updated": "%{model} sikereseb frissítve" - "%{model} %{attribute} changed": "%{model} %{attribute} megváltozott" - "%{model_a} related to %{model_b}": "%{model_a} kapcsolódik %{model_b}hez" - "%{model_a} successfully assigned to %{model_b}": "%{model} sikeresen hozzárendelve %{model_b}hez" - "%{model_a} unrelated from %{model_b}": "%{model_a} nem kapcsolódik %{model_b}hez " - - "Title": "Cím" - "Lead": "Bevezető" - "Author": "Szerző" - "Last editor": "Utoljára módosította" - "State": "Állapot" - "Body": "Tartalom" - "Comment count": "Hozzászólások száma" - "Has comment": "Hozzászólás engedélyezve" - "Published at": "Publikálva" diff --git a/vendor/plugins/typus/config/locales/language.yml.template b/vendor/plugins/typus/config/locales/language.yml.template deleted file mode 100644 index 577a22c..0000000 --- a/vendor/plugins/typus/config/locales/language.yml.template +++ /dev/null @@ -1,118 +0,0 @@ -# translations for Typus (template) -# by - -: - - "A valid token is required": - "Actions": - "Active": - "Add": - "Add new": - "Are you sure?": - "Are you sure you want to leave this page?": - "Are you sure you want to sign out and end your session?": - "As you're not the admin or the owner of this record you cannot edit it": - - "Change %{attribute}?": - "Change password": - "Checked if active": - "Click OK to continue, or click Cancel to stay on this page": - "Create %{resource}": - - "Dashboard": - "Do you want to cancel it?": - "Documentation": - "Down": - - "Edit": - "Enter your email below to create the first user": - "Error! Typus User or role doesn't exist": - - "False": - "Filter": - "Filter by": - - "Go to": - - "I remember my password": - "If you didn't request a password update, you can ignore this message": - "If you have made any changes to the fields without clicking the Save/Update entry button, your changes will be lost": - "Inactive": - - "Last few days": - "Last 30 days": - "Last 7 days": - "License": - "Logged as": - "Login": - - "New": - "Next": - - "Options": - - "Password recovery link sent to your email": - "Previous": - - "Record moved %{to}": - "Recover password": - "Remove": - "Remove %{attribute}": - "Remove filter": - "Reset password": - "Resources": - - "Save %{resource}": - "Search": - "Search by": - "Send us feedback": - "Setup": - "Show": - "Sign in": - "Sign out": - "Sign up": - "Submit a bug report": - "System Users Administration": - - "That doesn't seem like a valid email address": - "The email and/or password you entered is invalid": - "There are no %{records}": - "There are no %{records} under this filter": - "There are not defined applications in config/typus/*.yml": - "Today": - "Toggle is disabled": - "True": - - "Unrelate %{unrelate_model} from %{unrelate_model_from}?": - "Up": - - "View %{attribute}": - "View site": - - "You're adding a new %{resource_from}": - "You're adding a new %{resource_from} to %{resource_to}": - "You're not allowed to toggle status": - "You're not allowed to remove Typus Users": - "You're updating a %{resource_from}": - "You're updating a %{resource_from} for %{resource_to}": - "You are about to delete a %{model}.\nAre you sure you want to continue?": - "You can update your password at": - "You can't change your role": - "You can't remove yourself": - "You can't toggle your status": - "Your new password is %{password}": - - "%{attachment} can't be removed": - "%{attachment} removed": - "%{current_user_role} can't delete this item": - "%{current_user_role} can't display items": - "%{current_user_role} can't go to %{action} on %{controller}": - "%{current_user_role} can't perform action. (%{action})": - "%{model} filtered by %{filtered_by}": - "%{model} successfully created": - "%{model} successfully removed": - "%{model} successfully updated": - "%{model} %{attribute} changed": - "%{model_a} related to %{model_b}": - "%{model_a} successfully assigned to %{model_b}": - "%{model_a} unrelated from %{model_b}": diff --git a/vendor/plugins/typus/config/locales/models/README.md b/vendor/plugins/typus/config/locales/models/README.md deleted file mode 100644 index 6db80fd..0000000 --- a/vendor/plugins/typus/config/locales/models/README.md +++ /dev/null @@ -1,8 +0,0 @@ -Important -========= - -Model translations are disabled by default. - -It's responsability of the application to translate the models. If -you want to use the provided translations add the `config/locales/models` -to the I18n load path. diff --git a/vendor/plugins/typus/config/locales/models/ca_models.yml b/vendor/plugins/typus/config/locales/models/ca_models.yml deleted file mode 100644 index 27a6e17..0000000 --- a/vendor/plugins/typus/config/locales/models/ca_models.yml +++ /dev/null @@ -1,16 +0,0 @@ -# Catalan translations for Typus -# by Lleïr Borràs - -ca: - activerecord: - models: - typus_user: Usuari - attributes: - typus_user: - email: "Correu electrònic" - first_name: "Nom" - last_name: "Cognoms" - password: "Contrasenya" - password_confirmation: "Confirmar contrasenya" - status: "Estat" - role: "Rol" diff --git a/vendor/plugins/typus/config/locales/models/de_models.yml b/vendor/plugins/typus/config/locales/models/de_models.yml deleted file mode 100644 index d2c7143..0000000 --- a/vendor/plugins/typus/config/locales/models/de_models.yml +++ /dev/null @@ -1,13 +0,0 @@ -de: - activerecord: - models: - typus_user: "Typus Benutzer" - attributes: - typus_user: - email: - first_name: "Vorname" - last_name: "Nachname" - password: "Passwort" - password_confirmation: "Passwort Bestätigung" - status: - role: diff --git a/vendor/plugins/typus/config/locales/models/es_models.yml b/vendor/plugins/typus/config/locales/models/es_models.yml deleted file mode 100644 index 4be1100..0000000 --- a/vendor/plugins/typus/config/locales/models/es_models.yml +++ /dev/null @@ -1,13 +0,0 @@ -es: - activerecord: - models: - typus_user: Usuario - attributes: - typus_user: - email: "Correo electronico" - first_name: "Nombre" - last_name: "Apellidos" - password: "Contraseña" - password_confirmation: "Confirmar contraseña" - status: "Estado" - role: "Rol" diff --git a/vendor/plugins/typus/config/locales/models/fr_models.yml b/vendor/plugins/typus/config/locales/models/fr_models.yml deleted file mode 100644 index 4e68999..0000000 --- a/vendor/plugins/typus/config/locales/models/fr_models.yml +++ /dev/null @@ -1,13 +0,0 @@ -fr: - activerecord: - models: - typus_user: "Utilisateur admin" - attributes: - typus_user: - email: - first_name: "Prénom" - last_name: "Nom de famille" - password: "Mot de passe" - password_confirmation: "Confirmation du mot de passe" - status: "État" - role: diff --git a/vendor/plugins/typus/config/locales/models/hu_models.yml b/vendor/plugins/typus/config/locales/models/hu_models.yml deleted file mode 100644 index 14e5c59..0000000 --- a/vendor/plugins/typus/config/locales/models/hu_models.yml +++ /dev/null @@ -1,13 +0,0 @@ -hu: - activerecord: - models: - typus_user: "Typus felhasználó" - attributes: - typus_user: - email: - first_name: "Vezetéknév" - last_name: "Keresznév" - password: "Jelszó" - password_confirmation: "Jelszó megerősítés" - status: "Státusz" - role: "Jogosultsági szint" diff --git a/vendor/plugins/typus/config/locales/models/pt-BR_models.yml b/vendor/plugins/typus/config/locales/models/pt-BR_models.yml deleted file mode 100644 index a05ba42..0000000 --- a/vendor/plugins/typus/config/locales/models/pt-BR_models.yml +++ /dev/null @@ -1,13 +0,0 @@ -pt-BR: - activerecord: - models: - typus_user: "Usuário do sistema" - attributes: - typus_user: - email: - first_name: "Primeiro nome" - last_name: "Sobrenome" - password: "Senha" - password_confirmation: "Senha confirmação" - status: - role: diff --git a/vendor/plugins/typus/config/locales/models/ru_models.yml b/vendor/plugins/typus/config/locales/models/ru_models.yml deleted file mode 100644 index 9c4851d..0000000 --- a/vendor/plugins/typus/config/locales/models/ru_models.yml +++ /dev/null @@ -1,17 +0,0 @@ -ru: - activerecord: - models: - typus_user: - one: "Системный пользователь" - few: "Системных пользователей" - many: "Системные пользователи" - attributes: - typus_user: - email: - first_name: "Имя" - last_name: "Фамлия" - password: "Пароль" - password_confirmation: "Подтверждение пароля" - status: "Статус" - role: "Роль" - language: "Язык" diff --git a/vendor/plugins/typus/config/locales/pt-BR.yml b/vendor/plugins/typus/config/locales/pt-BR.yml deleted file mode 100644 index dbeaa40..0000000 --- a/vendor/plugins/typus/config/locales/pt-BR.yml +++ /dev/null @@ -1,118 +0,0 @@ -# Portuguese (pt-br) translations for Typus -# by George Guimarães - -pt-BR: - - "A valid token is required": "É necessário um token válido." - "Actions": "Ações" - "Active": - "Add": "Adicionar" - "Add new": "Adicionar novo" - "Are you sure?": - "Are you sure you want to leave this page?": "Tem certeza que quer sair desta página?" - "Are you sure you want to sign out and end your session?": "Tem certeza que quer sair e encerrar sua sessão?" - "As you're not the admin or the owner of this record you cannot edit it": "Como você não é o dono desse registro ou o admin, você não pode editá-lo." - - "Change password": "Trocar senha" - "Change %{attribute}?": "Mudar %{attribute}?" - "Checked if active": "Marcar para ativar" - "Click OK to continue, or click Cancel to stay on this page": "Clique OK para continuar, ou clique em Cancelar para ficar nesta página." - "Create %{resource}": "Criar %{resource}" - - "Dashboard": "Painel" - "Do you want to cancel it?": "Quer cancelar?" - "Documentation": - "Down": "Descer" - - "Edit": "Editar" - "Enter your email below to create the first user": "Escreva seu email para criar o primeiro usuário" - "Error! Typus User or role doesn't exist": "Erro! Usuário ou função não existe." - - "False": "Falso" - "Filter": "Filtrar" - "Filter by": "Filtrar por" - - "Go to": "Ir a" - - "I remember my password": "Lembro minha senha" - "If you didn't request a password update, you can ignore this message": "Se você não pediu uma renovação de senha, por favor ignore esta mensagem." - "If you have made any changes to the fields without clicking the Save/Update entry button, your changes will be lost": "Se você fez alterações nos campos e não clicou no botão de Salvar/Atualizar, suas alterações serão perdidas" - "Inactive": - - "Last few days": "Últimos dias" - "Last 30 days": "Últimos 30 dias" - "Last 7 days": "Últimos 7 dias" - "License": - "Logged as": "Logado como" - "Login": "Login" - - "New": "Novo" - "Next": "Próximo" - - "Options": "Opções" - - "Password recovery link sent to your email": "Link para recuperar senha enviado para seu email." - "Previous": "Anterior" - - "Record moved %{to}": "Registro movido %{to}." - "Recover password": "Recuperar senha" - "Remove": - "Remove %{attribute}": "Remover %{attribute}" - "Remove filter": "Remover filtro" - "Reset password": "Trocar senha" - "Resources": "Recursos" - - "Save %{resource}": - "Search": "Busca" - "Search by": "Buscar por" - "Send us feedback": - "Setup": "Configurar" - "Show": "Mostrar" - "Sign in": "Entrar" - "Sign out": "Sair" - "Sign up": "Criar conta" - "Submit a bug report": - "System Users Administration": "Administrar usuários do sistema" - - "That doesn't seem like a valid email address": "Este não parece um email válido" - "The email and/or password you entered is invalid": "O email e/ou a senha que você colocou são inválidos." - "There are no %{records}": "Não há %{records}." - "There are no %{records} under this filter": "Não há %{records} com este filtro." - "There are not defined applications in config/typus/*.yml": "Não há aplicativos definidos em config/typus/*.yml" - "Toggle is disabled": "Toggle está desabilitado." - "Today": "Hoje" - "True": "Verdadeiro" - - "Unrelate %{unrelate_model} from %{unrelate_model_from}?": "Desvincular %{unrelate_model} de %{unrelate_model_from}?" - "Up": "Subir" - - "View %{attribute}": "Ver %{attribute}" - "View site": "Ver site" - - "You're adding a new %{resource_from} to %{resource_to}": "Você está adicionando um novo %{resource_from} a %{resource_to}." - "You're adding a new %{resource_from}": "Você está adicionando um novo %{resource_from}." - "You're updating a %{resource_from} for %{resource_to}": "Você está atualizando um %{resource_from} de %{resource_to}." - "You're updating a %{resource_from}": "Você está atualizando um %{resource_from}." - "You are about to delete a %{model}.\nAre you sure you want to continue?": - "You can't toggle your status": "Você não pode mudar seu status." - "You're not allowed to toggle status": "Você não está autorizado a mudar o status." - "You can't remove yourself": "Você não pode apagar a si mesmo." - "You're not allowed to remove Typus Users": "Você não está autorizado a apagar usuários do sistema." - "You can update your password at": "Você pode atualizar sua senha em" - "Your new password is %{password}": "Sua nova senha é %{password}." - "You can't change your role": "Você não pode mudar sua própria função no sistema." - - "%{attachment} can't be removed": - "%{attachment} removed": - "%{current_user_role} can't delete this item": "%{current_user_role} não pode apagar este item." - "%{current_user_role} can't display items": "%{current_user_role} não pode mostrar os items." - "%{current_user_role} can't go to %{action} on %{controller}": "%{current_user_role} não pode ir a %{action} no %{controller}." - "%{current_user_role} can't perform action. (%{action})": "%{current_user_role} não pode realizar a ação. (%{action})" - "%{model} filtered by %{filtered_by}": "%{model} filtrados por %{filtered_by}" - "%{model} successfully updated": "%{model} atualizado com sucesso." - "%{model} successfully created": "%{model} criado com sucesso." - "%{model} successfully removed": "%{model} removido com sucesso." - "%{model} %{attribute} changed": "%{model} %{attribute} atualizado." - "%{model_a} related to %{model_b}": "%{model_a} relacionado com %{model_b}." - "%{model_a} successfully assigned to %{model_b}": "%{model_a} atribuído com sucesso a %{model_b}." - "%{model_a} unrelated from %{model_b}": "%{model_a} não está relacionado com %{model_b}." diff --git a/vendor/plugins/typus/config/locales/ru.yml b/vendor/plugins/typus/config/locales/ru.yml deleted file mode 100644 index d006599..0000000 --- a/vendor/plugins/typus/config/locales/ru.yml +++ /dev/null @@ -1,118 +0,0 @@ -# Russian (ru) translations for Typus -# by Alexey Noskov - -ru: - - "A valid token is required": "Необходим корректный ключ" - "Actions": "Действия" - "Active": "Активный" - "Add": "Добавить" - "Add new": "Добавить новый" - "Are you sure?": "Вы уверены?" - "Are you sure you want to leave this page?": "Вы уверены, что хотите покинуть страницу?" - "Are you sure you want to sign out and end your session?": "Вы уверены, что хотите выйти и завершить сессию?" - "As you're not the admin or the owner of this record you cannot edit it": "Вы не администратор и не владелец записи и не можете ее редактировать" - - "Change password": "Сменить пароль" - "Change %{attribute}?": "Изменить %{attribute}?" - "Checked if active": "Отмечено, если активно" - "Click OK to continue, or click Cancel to stay on this page": "нажмите Ок, чтобы продолжить или Отмена, чтобы остаться на этой странице." - "Create %{resource}": "Создать %{resource}" - - "Dashboard": "Обзор" - "Do you want to cancel it?": "Вы хотите отменить это?" - "Documentation": "Документация" - "Down": "Вниз" - - "Edit": "Изменить" - "Enter your email below to create the first user": - "Error! Typus User or role doesn't exist": - - "False": - "Filter": "фильтр" - "Filter by": "фильтр по" - - "Go to": "Перейти к" - - "I remember my password": "Запомнить пароль" - "If you didn't request a password update, you can ignore this message": "Если Вы не запрашивали обновление пароля, Вы можете проигнорировать это сообщение." - "If you have made any changes to the fields without clicking the Save/Update entry button, your changes will be lost": "Если вы сделали какие-то изменения, не кликая на Обновить/Сохранить, то они будут утеряны." - "Inactive": "Неактивный" - - "Last few days": "Последние дней" - "Last 7 days": "Последние 7 дней" - "Last 30 days": "Последние 30 дней" - "License": "Лицензия" - "Logged as": "Вы вошли как" - "Login": "Редактировать" - - "New": "Новый" - "Next": "Следующий" - - "Options": "Опции" - - "Password recovery link sent to your email": "Ссылка для восставновления пароля выслана по указанному E-Mail" - "Previous": "Предыдующий" - - "Record moved %{to}": "Запись перемещена в %{to}." - "Recover password": "Восстановить пароль" - "Remove": "Удалить" - "Remove %{attribute}": "Удалить %{attribute}" - "Remove filter": "Удалить фильтр" - "Reset password": "Сбросить пароль" - "Resources": "Ресурсы" - - "Save %{resource}": "Сохранить" - "Search": "Поиск" - "Search by": "Искать по" - "Send us feedback": "Обратная связь" - "Setup": "Установки" - "Show": "Показать" - "Sign in": "Войти" - "Sign out": "Выйти" - "Sign up": "Зарегистрироваться" - "Submit a bug report": - "System Users Administration": "Администрирование системных пользователей" - - "That doesn't seem like a valid email address": "E-Mail некорректен" - "The email and/or password you entered is invalid": "E-Mail или пароль введены неверно" - "There are no %{records}": "%{records} не найдены" - "There are no %{records} under this filter": "%{records} по такому фильтру не найдены" - "There are not defined applications in config/typus/*.yml": "Ни одного приложения не определено в config/typus/*.yml" - "Today": "Сегодня" - "Toggle is disabled": "Переключение отключено" - "True": "ВЕРНО" - - "Unrelate %{unrelate_model} from %{unrelate_model_from}?": "Отсоединить %{unrelate_model} от %{unrelate_model_from}?" - "Up": "Вверх" - - "View %{attribute}": - "View site": "Перейти к сайту" - - "You can update your password at": "Вы можете установить свой пароль на" - "You can't change your role": "Вы не можете менять свою собственную роль" - "You can't remove yourself": "Вы не можете удалить себя" - "You can't toggle your status": "Вы не можете менять свой статус" - "Your new password is %{password}": "Ваш новый пароль: %{password}." - "You're adding a new %{resource_from}": "Вы добавляете новый %{resource_from}." - "You're adding a new %{resource_from} to %{resource_to}": "Вы добавляете новый %{resource_from} для %{resource_to}." - "You're updating a %{resource_from}": "Вы редактируете %{resource_from}." - "You're updating a %{resource_from} for %{resource_to}": "Вы редактируете %{resource_from} для %{resource_to}." - "You're not allowed to remove Typus Users": "Вам не позволено удалять системных пользователей" - "You're not allowed to toggle status": "Вам не позволено менять статус" - "You are about to delete a %{model}.\nAre you sure you want to continue?": - - "%{attachment} can't be removed": "%{attachment} не может быть удалено" - "%{attachment} removed": "%{attachment} удалено" - "%{model} filtered by %{filtered_by}": "%{model}, фильтрация по %{filtered_by}" - "%{current_user_role} can't delete this item": "%{current_user_role} не может удалить эту запись" - "%{current_user_role} can't display items": "%{current_user_role} не может отобразить записи" - "%{current_user_role} can't go to %{action} on %{controller}": "%{current_user_role} не может перейти к %{action} в %{controller}." - "%{current_user_role} can't perform action. (%{action})": "%{current_user_role} не может выполнить действие. (%{action})" - "%{model} successfully created": "%{model} создан" - "%{model} successfully removed": "%{model} удален" - "%{model} successfully updated": "%{model} успешно обновлен" - "%{model} %{attribute} changed": "%{model} %{attribute} изменен" - "%{model_a} related to %{model_b}": "%{model_a} присоединен с %{model_b}." - "%{model_a} successfully assigned to %{model_b}": "%{model_a} добавлен к %{model_b}." - "%{model_a} unrelated from %{model_b}": "%{model_a} отсоединен от %{model_b}." diff --git a/vendor/plugins/typus/generators/typus/USAGE b/vendor/plugins/typus/generators/typus/USAGE deleted file mode 100644 index a736f70..0000000 --- a/vendor/plugins/typus/generators/typus/USAGE +++ /dev/null @@ -1,13 +0,0 @@ -Description: - - This generator will create an easy-to-use interface to allow trusted - users edit structured content. (Admin scaffold generator) - -Examples: - `./script/generate typus` - - creates needed files with `TypusUser` as the Typus user. - - `./script/generate typus -u User - - creates needed files with `User` as the Typus user. diff --git a/vendor/plugins/typus/generators/typus/lib/insert_commands.rb b/vendor/plugins/typus/generators/typus/lib/insert_commands.rb deleted file mode 100644 index 1b89263..0000000 --- a/vendor/plugins/typus/generators/typus/lib/insert_commands.rb +++ /dev/null @@ -1,41 +0,0 @@ -# Mostly pinched from http://github.com/ryanb/nifty-generators/tree/master - -Rails::Generator::Commands::Base.class_eval do - - def file_contains?(relative_destination, line) - File.read(destination_path(relative_destination)).include?(line) - end - -end - -Rails::Generator::Commands::Create.class_eval do - - def insert_into(file, line) - logger.insert "#{line} into #{file}" - unless options[:pretend] || file_contains?(file, line) - gsub_file file, /^(class|module|.*Routes).*$/ do |match| - "#{match}\n #{line}" - end - end - end - -end - -Rails::Generator::Commands::Destroy.class_eval do - - def insert_into(file, line) - logger.remove "#{line} from #{file}" - unless options[:pretend] - gsub_file file, "\n #{line}", '' - end - end - -end - -Rails::Generator::Commands::List.class_eval do - - def insert_into(file, line) - logger.insert "#{line} into #{file}" - end - -end diff --git a/vendor/plugins/typus/generators/typus/lib/string.rb b/vendor/plugins/typus/generators/typus/lib/string.rb deleted file mode 100644 index 5e4247f..0000000 --- a/vendor/plugins/typus/generators/typus/lib/string.rb +++ /dev/null @@ -1,5 +0,0 @@ -class String - - def name; self; end - -end diff --git a/vendor/plugins/typus/generators/typus/templates/README b/vendor/plugins/typus/generators/typus/templates/README deleted file mode 100644 index 7bc52c2..0000000 --- a/vendor/plugins/typus/generators/typus/templates/README +++ /dev/null @@ -1,44 +0,0 @@ -= Customizing Typus - -You can overwrite and extend Admin::MasterController with your methods. - -Actions have to be defined in config/typus/application.yml: - - Post: - actions: - index: custom_action - edit: custom_action_for_an_item - -And you have to add permissions on config/typus/application_roles.yml -to have access to them. - - admin: - Post: create, read, update, destroy, custom_action - - editor: - Post: create, read, update, custom_action_for_an_item - -And your controller should look like this ... - - class Admin::PostsController < MasterController - - def index - end - - def custom_action - end - - def custom_action_for_an_item - end - - end - -# TODO: Instructions on the tableless resources. - -# This controller was generated because you have defined a resource -# on config/typus/XXXXXX_roles.yml which is a tableless model. -# -# admin: -# <%= resource %>: index -# - diff --git a/vendor/plugins/typus/generators/typus/templates/config/typus/README b/vendor/plugins/typus/generators/typus/templates/config/typus/README deleted file mode 100644 index 558295c..0000000 --- a/vendor/plugins/typus/generators/typus/templates/config/typus/README +++ /dev/null @@ -1,71 +0,0 @@ -# Models - -This is an example of a **Typus** enabled model with all available -options. You can use this example to customize your YAML files which -only have set the most common settings. - - Post: - fields: - list: id, title, category_id, created_at, is_published? - form: title, body, is_published?, created_at - show: title, category, is_published? - relationship: title, status - options: - auto_generated: - booleans: - is_published: ["Yes, it is", "No, it isn't"] - date_formats: - created_at: post_long - selectors: - read_only: - filter_by_date_range: valid_until - templates: - body: rich_text - actions: - index: cleanup - edit: send_as_newsletter - show: rebuild - export: csv, xml, pdf - order_by: created_at - relationships: - filters: is_published?, created_at, category_id - search: title, body - application: Application - description: Some text to describe the model - options: - default_action_on_item: show - end_year: 2015 - form_rows: 25 - index_after_save: false - minute_step: 15 - nil: 'nil' - on_header: true - only_user_items: true - per_page: 5 - sidebar_selector: 5 - start_year: 1990 - -Note: To define namespace models use :: as a separator. (i.e. Delayed::Job) - -# Roles - -In this file you can configure the actions available for each of -your models on the application. You can also use the 'all' shortcut -to allow the user the access to all actions. - - admin: - Post: create, read, update, delete - Category: create, read, update, delete - TypusUser: all - - editor: - Post: create, read, update - Category: read, update - -You can also define `resources` which are not related to a model, -for example to control MemCached or see the Starling queue -statistics. - - admin: - Starling: index - MemCached: index, cleanup diff --git a/vendor/plugins/typus/generators/typus/templates/config/typus/application.yml b/vendor/plugins/typus/generators/typus/templates/config/typus/application.yml deleted file mode 100644 index e028dc6..0000000 --- a/vendor/plugins/typus/generators/typus/templates/config/typus/application.yml +++ /dev/null @@ -1,5 +0,0 @@ -# Typus Models Configuration File -# -# Use the README file as a reference to customize settings. - -<%= configuration[:base] %> \ No newline at end of file diff --git a/vendor/plugins/typus/generators/typus/templates/config/typus/application_roles.yml b/vendor/plugins/typus/generators/typus/templates/config/typus/application_roles.yml deleted file mode 100644 index 3423ca7..0000000 --- a/vendor/plugins/typus/generators/typus/templates/config/typus/application_roles.yml +++ /dev/null @@ -1,6 +0,0 @@ -# Typus Roles Configuration File -# -# Use the README file as a reference to customize settings. - -admin: -<%= configuration[:roles] %> \ No newline at end of file diff --git a/vendor/plugins/typus/generators/typus/templates/config/typus/typus.yml b/vendor/plugins/typus/generators/typus/templates/config/typus/typus.yml deleted file mode 100644 index 64bebb3..0000000 --- a/vendor/plugins/typus/generators/typus/templates/config/typus/typus.yml +++ /dev/null @@ -1,17 +0,0 @@ -# Typus Models Configuration File -# -# Use the README file as a reference to customize settings. - -<%= options[:user_class_name] %>: - fields: - default: first_name, last_name, email, role, status - list: email, role, status - form: first_name, last_name, role, email, password, password_confirmation, language - options: - selectors: role, language - booleans: - status: Active, Inactive - filters: status, role - search: first_name, last_name, email, role - application: Admin Panel - description: Admin Panel Users Administration diff --git a/vendor/plugins/typus/generators/typus/templates/config/typus/typus_roles.yml b/vendor/plugins/typus/generators/typus/templates/config/typus/typus_roles.yml deleted file mode 100644 index 7c9f901..0000000 --- a/vendor/plugins/typus/generators/typus/templates/config/typus/typus_roles.yml +++ /dev/null @@ -1,6 +0,0 @@ -# Typus Roles Configuration File -# -# Use the README file as a reference to customize settings. - -admin: - <%= options[:user_class_name] %>: all diff --git a/vendor/plugins/typus/generators/typus/templates/controller.rb b/vendor/plugins/typus/generators/typus/templates/controller.rb deleted file mode 100644 index 32e22fb..0000000 --- a/vendor/plugins/typus/generators/typus/templates/controller.rb +++ /dev/null @@ -1,4 +0,0 @@ -# Controller generated by Typus, use it to extend admin functionality. -class Admin::<%= resource %>Controller < <%= inherits_from %> - -end diff --git a/vendor/plugins/typus/generators/typus/templates/functional_test.rb b/vendor/plugins/typus/generators/typus/templates/functional_test.rb deleted file mode 100644 index 02ebc69..0000000 --- a/vendor/plugins/typus/generators/typus/templates/functional_test.rb +++ /dev/null @@ -1,11 +0,0 @@ -require 'test_helper' - -# ControllerTest generated by Typus, use it to test the extended admin functionality. -class Admin::<%= resource %>ControllerTest < ActionController::TestCase - - # Replace this with your real tests. - test "the truth" do - assert true - end - -end \ No newline at end of file diff --git a/vendor/plugins/typus/generators/typus/templates/initializer.rb b/vendor/plugins/typus/generators/typus/templates/initializer.rb deleted file mode 100644 index 92d43c1..0000000 --- a/vendor/plugins/typus/generators/typus/templates/initializer.rb +++ /dev/null @@ -1,26 +0,0 @@ -# Be sure to restart your server when you modify this file. - -# System wide options - -Typus::Configuration.options[:app_name] = '<%= options[:app_name] %>' -# Typus::Configuration.options[:email] = 'admin@example.com' -# Typus::Configuration.options[:file_preview] = :typus_preview -# Typus::Configuration.options[:file_thumbnail] = :typus_thumbnail -# Typus::Configuration.options[:relationship] = 'typus_users' -# Typus::Configuration.options[:root] = 'admin' -Typus::Configuration.options[:user_class_name] = '<%= options[:user_class_name] %>' -Typus::Configuration.options[:user_fk] = '<%= options[:user_fk] %>' - -# Model options which can also be defined by model on the yaml files. - -# Typus::Configuration.options[:default_action_on_item] = 'edit' -# Typus::Configuration.options[:end_year] = Time.now.year + 1 -# Typus::Configuration.options[:form_rows] = 15 -# Typus::Configuration.options[:index_after_save] = true -# Typus::Configuration.options[:minute_step] = 5 -# Typus::Configuration.options[:nil] = 'nil' -# Typus::Configuration.options[:on_header] = false -# Typus::Configuration.options[:only_user_items] = false -# Typus::Configuration.options[:per_page] = 15 -# Typus::Configuration.options[:sidebar_selector] = 5 -# Typus::Configuration.options[:start_year] = Time.now.year - 10 diff --git a/vendor/plugins/typus/generators/typus/templates/migration.rb b/vendor/plugins/typus/generators/typus/templates/migration.rb deleted file mode 100644 index a4ce6eb..0000000 --- a/vendor/plugins/typus/generators/typus/templates/migration.rb +++ /dev/null @@ -1,22 +0,0 @@ -class <%= migration_name %> < ActiveRecord::Migration - - def self.up - create_table :<%= typus_users_table_name %> do |t| - t.string :first_name, :default => "", :null => false - t.string :last_name, :default => "", :null => false - t.string :role, :null => false - t.string :email, :null => false - t.boolean :status, :default => false - t.string :token, :null => false - t.string :salt, :null => false - t.string :crypted_password, :null => false - t.string :preferences - t.timestamps - end - end - - def self.down - drop_table :<%= typus_users_table_name %> - end - -end diff --git a/vendor/plugins/typus/generators/typus/templates/model.rb b/vendor/plugins/typus/generators/typus/templates/model.rb deleted file mode 100644 index a91a858..0000000 --- a/vendor/plugins/typus/generators/typus/templates/model.rb +++ /dev/null @@ -1,8 +0,0 @@ -class <%= options[:user_class_name] %> < ActiveRecord::Base - - ROLE = Typus::Configuration.roles.keys.sort - LANGUAGE = Typus.locales - - enable_as_typus_user - -end diff --git a/vendor/plugins/typus/generators/typus/templates/public/images/admin/fancybox/blank.gif b/vendor/plugins/typus/generators/typus/templates/public/images/admin/fancybox/blank.gif deleted file mode 100755 index 35d42e808f0a8017b8d52a06be2f8fec0b466a66..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 43 scmZ?wbhEHbWMp7uXkcLY|NlP&1B2pE7Dgb&paUX6G7L;iE{qJ;0LZEa`2YX_ diff --git a/vendor/plugins/typus/generators/typus/templates/public/images/admin/fancybox/fancy_close.png b/vendor/plugins/typus/generators/typus/templates/public/images/admin/fancybox/fancy_close.png deleted file mode 100755 index 07035307ad435f8f2f8eedf0bce50f7ec8a858c2..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1517 zcmV1To%f)hA(E>uTT$~N#GA0orBqo9-jKM;POccZrXJjTzge4|Sa0ca~7y<+{ z2m7~>41(Jqf9L`mBM6zAjf4;hkjP@@B~d6Xz385|dB5iCM=Ro&JZZmk-uHdZd2i=@ zK0a@Md;u9DFE7t8BO^nxckf<*yC?SckUFGmX^jwM@NV80+eiP zQ*s##s^a3}Ldwd@cHO*r^T5i=%Fj}=Cr_R@78e&C((#usU;YFS>C)2Dw4tG)YO=*P zWt;6ZfL46;=u!R1$jGM-hhvcpVyCa+S}Q!T2ALHx;BHe#M~BsHHos=s2iW})#C?}q ztqvud-gYjKsG$zHm2XhmYPB(Bn>kzw z=gS!w6cG`jJ$?H00VK+=!cMnBDn?IFkCkj7KmNq~hrkZvU@n=EP}|7Gxw*M}1_lPI zNx@_?IS^|%_ok<(o3gXBH^f+@(X7_g)K~%n0$gMM{{Ab=%gZ*hH99)_Eo>!VJd8_C zE)WMoNsBB#u&}W3BMEnPby>y64F-cra9>kX)4DJoA0KZ5fitNn`NTT4wY3%+fA;Lz zZ+K4ucJi+Mg!m%<>Ug8kSg^LX_JD-5va;NEM#+V_H)8UHgaj8UJ?LiZVx92t@KxlB zb1oz#Bo|{kAO!IDVfOII$VfwRad8C+y?XV^;VEu~g@tQka>%(zhlYl1p7P=0!-vj9 zYiMYw3l0uW##jWq+eZ-;6r@4F%{+PXGcz;xx78|Q_F7Eb+}ynGO@4TI*h!27r4#SzfR=K~ zhtpe&%-o-olT$}R&!0cHdm}}wbdd`2lO~)PlarHXnm>2$+(ng2^$EtJ+=vwl#Xg-* zSA%x<9|=lJ3CXuACMEY46&1O~{LGm%7HKm8lhZ|+Pv?nF1LcJswy+L%zshO4HzpR4skij zxq<8a{QPpl!oq4$R(*n7$-q`gsjcF2;NWZ?##l9wBW)lu_Bpk)RJgGO&Ey+2dDr3J z*x2~aJFl#)G^5U)q~qh`_b^ru6q9Xf%arlfse$W(T#z5f?cqE0>k)x`c6QcMUS4jN z#$B996B84z1O(|{7{3S{Bb#j7?T~OCi+pq$fP9eGqJ%Evk~i}B@#8tcAnk_QAg)9f z!qn81MJO5W0n6>}?Q|$y25QL`+uU$0x?KbSI<(UOBavf=wCW!^J3Ie)^yty-8!yk& z($YLG4fjwT{k&5mHL@*_7Xi1c4?x$HT^y5qc2zyPPCG3CUKl!f@Zj&~&!7K?fD>&z zDk^G(=74sN=`q$#Wm{gaK5myi7K~vRQ8s=CoB+NC8j<}iKpXzI(SMmt*2r@wST=`s zW7t-}X4hPqXy3W00000NkvXXu0mjftFGKG diff --git a/vendor/plugins/typus/generators/typus/templates/public/images/admin/fancybox/fancy_loading.png b/vendor/plugins/typus/generators/typus/templates/public/images/admin/fancybox/fancy_loading.png deleted file mode 100755 index 2503017960b3972499d3aa92f89953935ae40934..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 10195 zcmZvCRa6{Z)GRK+A-I#l3GNJT8Egn7KyZS)ySwY)GC**5cXtmOAh^3rfXjE+eY*eu zvb$HWe&}AO&aSFmCtO)c7UKiS2N)O_4A2)TmG>(H3=HfB3ex-CA}8B>rB4S*iGOoj zIbB0`GB%#)yQsNe_Z(XHJVzvTksi>+`6l(%$`7%p5{2L+{tq=VJ?V0JL-5DetdIHF|rZRGiB+~M$cAs!3L4m1WqS5m4Uut{B{sus$nl}9N zp#?4R@YNv8YM{JrwP-Li8Ynr~UO3E8cBsK321T79L4oqq#7><+nH-uo4c3S zzbjdhtN2LE+Wk$ypLztVwTlowGQqng!^I&U`;KFsDxwwAwF4PR(`@g%I}B1@?aN<; z9cJzX7khkNkJG|u_OY88t2=a(9k|tRF|O^~620}B74q3{|Mu}rUKMRU=5i@t4rH}t zWMo)9&m6ObjvNsA;yz~`O>f^l&kjH&j=Aexy0cfmC&I>@QU7`Ql zPU3_q?7Cqi%{r7|wPeZc`_s9mfR2B_K39;>*-yWV=qR41Ls>bqydL@}bse|D>1|L> zSvMFEQ2vnWJKlHRcZAw{ZIfc@+_x^0qqpf`uaLP9OH$Mxyno5YuLvbooxn?EWW9?3 z!YB&gf0xHo{M%6#qA!QwrjFO!Dm~{w(pCL9Z1XeAf)Nj@AQGyB2^*KX+-VJJjiv1` z<4I`VooCdOm?}gf8PD(k+m)s!AE5Z?+0=PkK{!n$OKo*{K2N95Y`L?t*m<`z<@&zR zp~CHRl4dh@$sJ4b-?gm;KP++XcWjfN6N#Qw_o;QATHBKP9&7y-bUDZkt@PRB%5E8d zyIxSjYTf;8+p-~Y-!k=O$;kfFCPu};=7d4N%l)KG@8xK)nb+&}I$Q6pWy;&;g|G86 zI-2s|2J)g^1XG`LO53Wj0gJDEZw-Oyi2)Wft0k{z<}G%H3dQ>?Y(D?CDZ2o#2V1hj zM_=W)_N5IX(aMyXUqh1U_WG#TC%LuB%3bK~)3%|v<)+ah|2DDoR!5Ri1|w~KpZ~C> zj*1KZd%Z~(gdF2RFMx01Wj`AW>Y$yS`Ndy3rPZS*pr6~#`6Q{ z%20=uSgaS;|E%9NE(<&vHm9^dubopg^XZ9&z5b1D ztpelNuc?SSpElb&~gE~4TESBIw z4hXi+ap2YNx8^D{Y~U3Q@Y|(~)|YhqOBukuK1!NNCMG7sGZ6A#)2w8O6Kn zdChi*Bi4O9!Q85-l}W!%4SCss_ceWT5CR9)!>d)k=W(}t8zRG>zPaIpd-bRcl+8}< zyZAFh+)b7i2(xFGQ1NiT*Ss*nf$|V%2{)tO&r?qsL@GB0#g&?RJHuU!w|`-+L=^sL zBkr*m4+?S5Lim?WVQJ4G?3fKVc}Q*JmJmX3?v`M44RD$Chi8S>0a5i2&wbyXSv8dY zyfv7Z{pAwk7MSBUu@ z5G6tLJnE1!1UjyO1R`?s4&aNgugC^{U9o!idxxDc93pcZ7raY)Xn7Pw`)<#e)4& zcN7v?6cRi?#`bl9ECtBz_QVZ0guMA?CDv=_ljYyH*ZV4aa_^g&fXJni?@vAE{G+P77pVW4Tj}s-(;*& z1STX!WHYF!Btlft>2`qz&1ijPaSdm%!UIMua~VRnoET&%1AAf)#vSfWj=q$8;qo|vcK_;z1j(+l2X0@o7C&Rzg8!2h$XZGbenx^q2; zApAgMeMi;{fO?<|f=I--(6#z(IL}cC|D24*dg^rhIE3G^yTJFZF55a-#}tYH=P$~* zb}RzkLIDvK`;ZA4OnYPQQ?;ssg`Ml>vON8NVnk@fl0k&o2W`-r3Bg-8NJYuCo0$rb zAKi(Z+>hRKA>bjOr%LHS@;94B&obY#4yCecQ0pdAnSV&v!vLF&-`Mm?t?}6F z?PaX5mkzFp$i(YKsOTz58Zgc7q)IVxy5hYd;~k@a63_Ja7Z0!ycbH~U&Y;r17f{Z} zwhnd>Xve$Riey{w@OgRi9rKhkQO@>jj2#Py8_PSVvvwxp0HTR7DdE{>K_i9RL= zrPNU6SCAR*HU3BLhMV(aTn;NBJQziUp9-R3QkgnENmN9ZBlJCW?l9$81skWTmD&YK zJ%7bQFP*wlswyu56egGmr!KVx=+KneK+U;f>vSk#hKg0u(yv^fNk=GGdULDg_=itK zp3;*2U!wB8TA$o;k!;o@OA2zx*%c|y0#?BBp?nDDw5rBS_SB_Sbz$6-fYTvnj(ezNfL{$?uz9aa=HGSg$mLTxTf{7e`Oqr?7rp+0`lg6AQpk z9Nsxh5kt+I%$5|50=OZUzms%|OAS{5^$g0~djWjOVxYk^CLD{|njlM2ex}zn9yCa1 zXCSTHoM#Rjq25u6;*Ug2A+S~Y`_kh|<3C=w_~F{9JKTLW^z5D41V2cjL8y+L*0IQ_ z?L+y%E(_`Xj&MzngB*bEt_~znvHKiL&w-ytZ<@L~s{_sdoRaSXOA5{31d;sz#pvvv zgq9-MCupHYRhjX{g`7wlu9(YJkAO)+oP%bGYC{Q>2v4!wD(_QEQe5suxdx(SIXS!9 zV|=hm;s|y$aq8^~zssyzb{|fvQc!Cj#FNH1$?tLP+^0!rIS_gU*h1d?y;X7vm>l>a zwr^N0VzNQ_j$}0!F~;(iG9UmS=QO|XM%w%nK5uQHaLT2-I$_CRCbGr8ymE9J_k{YTcfRFh1nn)R6_X#W#Fg4I=2W=GD|J_UwPwIQsBklSR4`o0$A&X8xn-V`k#d|7nEr9kiD4Dx?q zJBBg6NsFLaJWHtZ+GQr~rb(+STSHpb`9UQ4BbXjmTjDz;@V0H}7=mOf+#fvH-crjF z@uztsU}U)L0`Q{D-mZfkuH|zPNNIKXy+C+QIrQ&23l%VJtwn!M0wNG>wEi_? z``=Fg-bBV*o!jNs*j0n^Sn^x-5T@n{us@koqBnB}HI+tGJ!*iBb=5xNu?gt0oYXmW z8+W9Aca$K535BsvBR3qs~{jn>MoPaD#Aa+9Thdjr^?c!Rm zd+L48(+PM55nZ#`>laDoAVlLUXKyJl;Rm?x@Vv6HMm5<-R6-Z-qq1C{(`EqabpBzG zj;4V!x`7^=;;cYNpRy+iPV>rQAJl)AhcD--7r9MjgEiiV#SR|%E*YZcCryW8uK0m8 zL*X&^7In#HoVp*5gKHN+#O5c>>55A?ba%a_dj$xtqeA|)Js2dMKsh{lLDK@0m9lYa zWh*#0TQ2T27j^N`(t+eEfPUoBbvH_Kxa-u1jcNIe2YA^XT=1{3*Wd)}tKRN&dun&* znJX0Gvn8K!-%j#7%+r_|9qIlzn!o^G{q2MJxsdbiTZx3rG2xVS7HXrp5s;0PD>=hY zBl<_TAVt^N>MxbO(@<=MbHrHR=MZIY*8L>tB_Jja#yQoQZ2U!66gIECXOtndOORap zIR~TG$;oHLIJfQd#!j_3_Qvmx`fn3O*zC1bYC_$3%GfsjXN1z3asw+xTs!lK0I3p~ z7+&tcZUsM&QuO)Rahedf=&&)d1_C6zma`x{C50fHF?zDa=ZblEB;H@x_ z*db{M-tS}6{hx>Au=h4<8bWA8WETt$$|~;BYStwE1pYq48aKuv)4zT2-le|_1FnV@ z&z3AIiy5J{V@~m(2Aps_b7@uMmeTM}Zrs1Cl&)1e*ht|I zj+H9o<}yH3ZLHkB*F?)hWh$+em0HTThaoLx6FA4~msa-#wQzbyJ7ZmQjr#_R2ho^; z^_`?dw}hUR_w8a@8*K8J-lhK2Ot+y`>+{`n0h_lu{26PzN8ov0&f4B@R&y6%I6s2# zaHh%b232N&`aa6F5}eHI$b&SYPEgsOw5r$FS9yGwbRGzrIvbyEgZ9&nFxs0*_O>EKspQWU0tWeX06p%_D|(!O+TmLQ=`cGc+aR*yqXicgOVfS-31*Vth9=M<`>TD z2ecu1@-;8F3cm{pGegNysh5>XjRo{+T&Ak)F?qQ`lGeFVEKm{O*Fh^hd&!`$*H zo5Oc&)hGQS+5HxkD6FQ8nebel#;ty}aAw`K(xh8I_#=)-z$e>p3&-I@Xi7DsewFYp z$O_YrvYr1N$2_XK@wwpD36YvYlkAWY{ImJ=ap?zi$l%xZ*=IqNes{oGZ_d&RUp#M>B0_e>rGRlDA!;QcB^(S{BAOFH9!5r^ucGvwr7zaBu z0nl8=Q**gw{nD9@q{NiDSWk(V7^!=lJ2pWMJjM<6vo&=apq;2<=R}w*8Y1=kz=PCQ z%)%vAD1wFG6WryVg@``Sirh@k%N803_$(=+!8Mvb9?1T!G85NtuNdZnEQyu#A?w`B z)F3b>f5ji+x}KM|Tj2^Y*G*7{b`Tfi5Vo1I10v&)jAXu~zp&^l9_6zJNyTM-8Umo1 z9&95H=Jn67@b=o@EulLxhu9I5NUWA}RT~7aM&6p*w#;#@t_WkoM=N611DP@^AO(5% z_O)wI8+=$Zu|&6GLOI$LM?5!R9z_jmV}oTTbo5w#im;QnduH`c$N zW{BAB52R%1;Rn5cODK_%Sd9)aoctB9zxfjVQ>(H0D(}uy@LHYyAgK3g(>S9( zPtYyFU)v324BQ;?fy(SYzzu)I?S5X)C%oy!_vo35qBl@iLxXeO0=c!$`taf&-nWfH z&;kAR#ny=d^p!J#(|f-;_JYU39P352-lqenf}$VP>n~VNP4fO z7WIbrhM-BLcG@K6C#AME+0)ar)&j3)4d;NqqtG&xvMIB$;{YjyD%@TxXDz(Gn^~Q$ z`{|#$49R1=uT?+cj-swXngY48cUNapbLV7E{z3w$^>d9@EA@w>HM^RNCa!C{AQXMm zpS_ccdl>Gl@TvUqk0?XIXoR{14Qy=kig!<*wYyEI!{IFM!!y{06q1<;ELY*y*mjQT zv-b*OcY}^&CpfUnzo^;VokcN($`aoxgOa2-iM%AbK5g=>;P?fEw9oVMKLygeXnM7D zPtexNCH+(J;~KzQ96%ZTw*j@q*9|u=z0Y-$-X6>%8rAx{yN1?B`D^BfVA-Q>P-Zwe z;|%7ZvMvfrLx6PA)1366l#K`VLUj=^JQGKQr;$;%1P{A3+amuyFpQjUjaj|r5k8@8&dKiV2D0a28K5jva= zscr^-stsDrbQN`~3V1XeM345Wu`L|$V2`1Pl`51 z!sHL}P{WSZ@>@dt0qCwF@)>_sDDUL@v?vgBJUvVtqIV{pdh9z%PiKh$SX?-VD2}@Z6HA6- zt@V4EnoebJo&k^RU@I_2;opR+}*c)nrCI`yn@ErJWz96(SbIVk1>cE!Tka7+3`tF#7q&mOS z`(vja3j^a6Q^nJG3SpdQm0wa<72`6^6xx!7k=(pVAT$qCygHU&2G^*HUT}^RwjJNp zVjsZ-`}x>d3-MAWGZ5r%sw4F*$o{=syLAd8Mu?DV4DF|;2*Jox zqVL%1j1#^%=iX>tz6Qjk3TO);M&rXtl%qgk9grE3>4MXk7Whlg72rmd9g!l$_+3&E z6*h-nCMPb4^T8$kZueK9(P+4T=;!doMXH%k2WDZ$>{4(7lz{?r+!{D2KSt$CV(H_H z09z`;*W-{JA{4V`;ct6^**HAhq-p$yC!Fv{xUAPqWOUMqgwdVO=ShY%=Zt@BDuAe`?$w6~HWQL{`llqWf6s}0s*z#HS;O3a z=ILyMmZ&A@kv(0D+vYjR5o^0XD5avMI0e%)%4(QMuouS5z3U;m`;cPc?0(9-y@U!e z8`cw(kspE<f=vKG@{6#xOuWYLU46A_{#wSGt9nrgw})%Z22yb0fhbwJaqq)%z$PaC_= z3ox7-F_lzT^9!i(CE6 zW<2&Wf2a{(QsxusH!M~2vW)|^uKs)OZ zmI^}fUwIueqDYM}Hp_|Vp>A79nJ8^LR5d1S;Q>w#hmAWb#T`r4AJ~Xv;6gnE-j*Qk zwNw7#)xPg>g$s)62xcF_l*sdm^_NrVX|dvZ&p>qY=srP47z1ewBWITjEe65;a(0E< zsKF5<#?0SAwMHrOG^N5~-08VWNK!`W|E7Jofg`@;V9vxN`V(KMQ7OQ50~f_DqPJi8 z6s(d7BHK|74FG*y=+P~=U{op#TT^k#OBsmpmz7R(n`tLDrm9z&lDKlR$rc{n&Wy_f}H^^xUb{sfU=4ICbJ`(9&;3Z3fCy0rvgB9M zYXJOzI!BVShvjpSRe=NmGVk>cdV`Q015u&=ITQ3#Gp7D;WU9-#Ty@{_tVkMAQNqTD z89X_&nz0hLSxzu+{iZ?fqt!=1tl;^;blU*(sJlZHnmNqp<|A?O8Yqeq>aY}@n1 zBd&ihKHMSw8p9mpUE#S1BM;d0J46}4d<00ZkaWga7oyiz?n2O$_km?HNrL+#l7`D1 zDt>O(bK^#^beJ$Dp;k3Q)+J?E0B-A4flwH2y@}{?;{_nm@P%QMps2J z#`ilc^%ORDrR0HkSAcEzL6MbEuv|s7a0Ar)gMbJT(!}yXkC_|qfJI;E22Fs6`>U2+ zV1&^n-1Dqhq~VvMo!jd|vkg^x@GPMw8SrLWQvGe4@@)xUShf-uDZ8HkE!_>b4{dqT z8096-(q!Ru;Ij<5@|jEX&B4JzS5AqWVG4h+OLc;we*kqEFMhlePe?Xo(mzk0QTAQb zpD2r0t+lznomct39G}wZEMuz0)=dgp3T>?BPsHbx^CB%dqpOboI~ogTn`N9K1hy>{ zDBae4+0e=;4Ed>107Xpg6!O@x>V~|>YdDrp^;g9CF{RNew0I&FVx}{X5%+2=zXe{D z)DMs9SjWl*_A?z_0KcjSCKJ!NP8N(+BX78sW+x%34{ePG(M^UYj%THt zxZ8TL#-|J$Ui@6z9;Yh}Z!tM%V>jJuIJ-?8kmCLBd^|wCgTzGsD_kLyfTJg|Cs%`+8tvvjHT@<@+c88YVruAnGHq;4A%KT z`@dcO=c%}~pTNFPbF|rymrfuW8#gW8GRQQEe8)QF8oAyYmLo%Jv;Y=7EHouB zJQ=5|h)@1}F#B{wX3e#`0jf@ocdnZ;E$5xtwD??6V3z;dPTQBe^HZq-b%{6VCF=FR zL>xf=$+cR=ko_y>!X9j&oZEAcOX#tMNcb;(xuU}kDM|P5mmN<5;map=HhG=w$|}(w z4F*XeZGLzBif3-phMaoKI`4adR)>&}aCKzXy<-RDAU(u_f-$(-Omb^%F>+tQyUWY- z98G`O5ncSRfQ;n3q=LbzbJNk}=XZs1__J63e;DEaOA!A=p#VP2rE}oOH-BMvLgYtc zoAcvckXV;~6fXD|`?DPrCnsupBsl^pc!s>84G60AQrQAUv~pvfJVGH*F3yd1!r-1e zi9&~F;796Dg(Wi1n4+u~#KD>ECTCUiM{t=D!kwPLM7V~k{HGdYq%u(>bX=z9#R zge?YcYjBNZvw0!CXZ)E}yiN$;?-`_vV=weI@%t6E>KQw$qZo?yP7%!-7D}&J;Rd^y z2L}gPL)GDF%_S8P%|t6;LU)8(vhxC{bue%1KQGKL{}`1SxM@5h3BqQW$1UJ=iHVKX z!>q&nVn}oCqRUI42H5o?zjm^4 zhTv#NSZ?tF^7J6}Ds4Id@g55ZMz$AERk7!_lo<;SCuZW33@e=0gl8*tD>!a0k^q_ViXjTmlOQizar{@TPjZ$e(u*)b zl&+l8$FXO3_IyDUh_4-QR3im{;hkU zv{vzd6YBp_9?y3`R?m*xel6XQdQ-D~W%obNJ?_u(^o)Wn2nbCAm5RjF3^UlDjNKOR z{-zm);7^zU^uJ~aeK0&5K7A zk!1|bDtR`F7u}LdQL>XuAiOL)$^!>_q!Rx_qE{et)MEwb@S{@W`+Z4Aw2az8N7*;j z28~WHm*L2qk_1^vZ{qCssnc0&vsCg(7oWohyP@9E!SL}lGkp5Mol&OL@SQWG!*9BR z0qAh(zMth9KCDMQT!@!?YhIMqNDF_IM(>}Gi}a7@vu~0@GO=V5?Pk#Sqt{UE%}PuM{~;(=J78A zSrs-=fTfW`08-7aQ5oi{Ll4And$a}6a7%A+l1f{j62K2!xMxo-1)`o$Id8iOER0N* zxIDeb$xtGU)+USD=qHDg(Y`X~J68tf`TqIO_Tn$%1NaeiYTKadL_2eajT1&)NB+^q2@D9b{MUY_>TNQpZi%SO_bqXjyXHB;Ui$Sf9@s+j;Wb z{id0A9C(t~>E@^vPF(@ScmscJxOc7zNXd^Oh>_aW(3u(xR)buk9$q9y|pmKaV!1QFxCztuHO}!PY}!G@y49mJ z0cZk6!rr+O$%3(;B?-}K84!e8{>9v~L;P_$0eQ4}M1oXBfsT{~ZTR)Ko%2eWMnbKn zb5q1ekkgw_RUy#!uXEEL9eB2&?El4NCZmw3r1hMX#a}lk-dBMCPR4OgqRj$-M;-^< hjOQhwL*8E5RB0mfPrR|R-jC_QfTWeADkby-{tw&r+hqU% diff --git a/vendor/plugins/typus/generators/typus/templates/public/images/admin/fancybox/fancy_nav_left.png b/vendor/plugins/typus/generators/typus/templates/public/images/admin/fancybox/fancy_nav_left.png deleted file mode 100755 index ebaa6a4fd34e51575a01da366312c20618985cbc..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1446 zcmV;X1zGxuP)R`@usIzf?P{x4#0gFqr~|(;IJySuwjr=+Ar78e&sHZ(Lu;P)*wKU%|U#jmpg5~Q6= zNl8{#mZGz>Q!_F$qJ8n=#Z9x>Jn_n|ZEtTsSzllOW_Wn`!@Rt_=!l4jAl`tKb-5%L zv7js_CMF<1KR>Fcr{|nbr~AR4Y-MG|y0EZdwI6@^^5yrikSZ}TQ5hH*C?{R4Q{?KT zKD6U2SFWfB2M0g0TCEGD5GUP%Y0a>J0W!M1fVuVU?d@ix(YV91PjUK7@OzY8E)OJ~ z&Q30n%8njA8kC)#t?uvd&xMXHQZzI)WQmTB-n1vQM_gQ-{_*3-7UA?*_bJ9=m|W(F zT+IHE$H&L3T3T8zSS*%BTHM>)YZi;eI#;9uNVch|X-go#ckf=VQmKq2-ORBYaGo52 zejyg&!SS;_ltMX3~N9_#ORsfn&tMTp}T$j*yAd)6-A(_4O6g z0=-^ug|9bVkxorbSsNQ0x9sPG&EF`laq6qgf=!d ztnQGKnVtDqz_Vx1Y=Kr=TU+Vx?;nS;5H`1m#Lv%9fqI)#T3Y%!3C+yRSpE-E!h;77 zwm7Z1{&Y;%TkkIqz&m9sAKBbnCkzsHry#@vbY{a-wI?zu7 zloV4Q9NtQWLUAT7Ev=G-*4EZ6|HZd^F*!MDB>C#<>PDGN_5sGi_Yq4ZlG7@css!ck z9};wyN`LrygSGPaaLVfqXl2Z+Nkm;ygvo12>(Bf+YwDwC`Hbwy5foiCI>(Z2*F z+nZVe;)K}P*aF#9Y8tUS3{lK|w(!NULrkdP#x17leSb zXU`h&IIwaw4`8eqNV6{>BDOh|vjhZ0E{e&QDDu0Pe|>%Zmb;{dg@s0w$z&rPA0K~+ zu^J$UblaCq5g(ljxEe?Y`8AmFYt-vOfqZ&;+Eh?bV07kp3Z#jN34Zfk3!OW_7k zM!Hz%fopN!Lja&lI}y+lIZjBszTeT&@!Ra|?DQ)q4Us*EN5ey8M=zh0NVTlX;X`2G z(+8kuN)-Dfn@v@Ns?$arfE9ks%*_0?uCDGc0&cYN@bK_KngiO{r&oDx0_$@6^x5~= zW5Gx^5k=$2z;)mYpdQiR47B2ZEBzOVMD;v(on_N_Z6xdRarMj=Ped`)=n zv4Dh?$k=SYcJSdjDa(58`F?t%ZzxBbaRs;9zaA#)un(S!5dZ)H07*qoM6N<$g4RXF AD*ylh diff --git a/vendor/plugins/typus/generators/typus/templates/public/images/admin/fancybox/fancy_nav_right.png b/vendor/plugins/typus/generators/typus/templates/public/images/admin/fancybox/fancy_nav_right.png deleted file mode 100755 index 873294e969db9160f5ddd4e1ab498ff60b080e3f..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1454 zcmV;f1yTBmP)Wa6`&Z+!IVkxf`V#(j>y7#5eg z5*PD+C=wGBwT+F9xi*_^fd=>X_FBba@wz8b0c3ma+OG#c&LYnSBp_4S(*6BG8m#QpsI))yBSw}|WBy?ft)>pk?VIMu|0u-xC@UxO$< zHa9o-0~vR8bXeVyB61x;@W6T@vgyO$TgWvPslhu zJ>BGvFeN3$D2UT9wO!c-2M2E;RvddB6cm(&J}nRg`1!DUaA;_#J})n?kc`&W*6f~w z$XoI8@o`6>)z;Ql1O^7iqc4Qr?IQ^Y2vDQmrd_^#`AagIo}RXO6Tw=o)=2K&OZ?8A zJDVKcH{^2p2j~ms)bf#Ff5Y^8{ZZ7~8Zw%koV0nHJ||9`FbS!%u(0sL`TfAafI}Du zN;}#qfQDkqhr?T=R;!O@W@c89(aOq-SHe5pO)Do4INRL6f8R{+tE;Q)Wir`E=nLN^ zERjf#VBjT`yZ^}0T`IW~brs!I17PDwDHNtJpz(@u7&_Ci&*x`nXGh4eva-_hHlhTo z>wKX6jrLg})!Ef*2q(qH#unh5y~V~`*!#E25W2>+0$@y%jAkE;d^% z7KiBQ=;#CV)c|?K?OZZNymTtyIv@+;=i$b0QLhID@u{gPOF=<_+1^cd)FbceJt|Pr3Z2#UW)pC9hbbpr%#_w3xu>9DucKZSqKjwKC}oa!!=;B zxw)ARh3h~maWUsB$KtMw06>R!GGHKatdM5?eS3TRA2TyEQ!m{-s9LkQG(13d^zuqc z)WBRWF9N%+J^)=)qIgeo*i|*CI?Xfzc;V-hCr|!<<;s9veooizpgD1ug<#0dV!Z diff --git a/vendor/plugins/typus/generators/typus/templates/public/images/admin/fancybox/fancy_shadow_e.png b/vendor/plugins/typus/generators/typus/templates/public/images/admin/fancybox/fancy_shadow_e.png deleted file mode 100755 index 2eda0893649371f8d92b92976d8542cdd1b601ed..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 107 zcmeAS@N?(olHy`uVBq!ia0vp^B0$W@!3HGnP3ltxQbwLGjv*Y^lSRZuwe#}JO|p{EaWGAM`~zK|Yh zF7SQ+m+Ig>B0@o-N8?trihfzZ+Vp1~`{zf0o*#X0$hUAi%N$P)W1wCJ22WQ%mvv4F FO#q)zAp-ya diff --git a/vendor/plugins/typus/generators/typus/templates/public/images/admin/fancybox/fancy_shadow_ne.png b/vendor/plugins/typus/generators/typus/templates/public/images/admin/fancybox/fancy_shadow_ne.png deleted file mode 100755 index 79f6980a3ba5c43de120d963dbba2516b8f27ac7..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 347 zcmV-h0i^zkP)dR9Yb&V8f!h)aDezHAsc|y@|hdQ zYJb}?8~~zFbQ)ku!Ey)KSukutuvdZ@MKMX|x|A3tPyx?YVhN^6z!Mi4Mj2f#%<;nh z2{>?YAzu|{u^;Oq!;f7Z4tPBpJEmZ+^GZ#$=9nz(K+UmK7}|u&EPi%aRt_C3qOFB_ zHc`~N>51%{?ijG?xsHt>MwRChgk=x_z0gh3O2xSL)-6?+2LKZL74~Q>MZjWtwukkA tvjRC=&j+0R$&bLyT7MhBcTXDISHC&xXU0&5CWHV0002ovPDHLkV1fX+la~Mh diff --git a/vendor/plugins/typus/generators/typus/templates/public/images/admin/fancybox/fancy_shadow_nw.png b/vendor/plugins/typus/generators/typus/templates/public/images/admin/fancybox/fancy_shadow_nw.png deleted file mode 100755 index 7182cd938ae98e7e28c65a0bc55df576042ff9f5..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 324 zcmV-K0lWT*P)2-&4CO{qhKP$XKD&mgeXEM77>~`RA}h@U^Z##eQZVtM>a-K?QT4 z&(8BFf(rD5V61)2I__wHYuRwoaDIqw5Vdr_JSDVr){#J@r;{vbDL|tRyCiirf~4OF zX-l=Ecm>@yR)1nSMt~dy90Zb`^`)TQbhf8jR@fA!l6V$musRyB9Y{p$SCW}!$3==V zk)fW)Xo{s^ez$t+XhmZj;ts)!kTokvmM>z)zt70000 diff --git a/vendor/plugins/typus/generators/typus/templates/public/images/admin/fancybox/fancy_shadow_se.png b/vendor/plugins/typus/generators/typus/templates/public/images/admin/fancybox/fancy_shadow_se.png deleted file mode 100755 index 541e3ffd3e88224b34a4d2097c66a780e6060aeb..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 352 zcmV-m0iXVfP){pM9=`y8<_IvWD02WY@RZ<9dgjNmAB|sYF}Xw>7Sq@O0000eMf9z;FC21=)67q_`W0*0KnS4AR00W2`RGn3i8UfsEegLO@ zPhds?2e1Tm)FK3=bymIAx?X=YFo3Mdh7W?@I#8s#svp!&PB> zwah@Ngd|l0N4SCfzvjtQnd$dZ0yM)N$X+lqdtN!Pt{Wn*_`0U}m1^#r1 mwpaW{;a?9KKt^WrpTAEd?0j1W(3L*`0000P{ho=rRL|66mGO)=r*Hk83F#~lnc)I$ztaD0e0sy?& B8X5oq diff --git a/vendor/plugins/typus/generators/typus/templates/public/images/admin/fancybox/fancy_title_left.png b/vendor/plugins/typus/generators/typus/templates/public/images/admin/fancybox/fancy_title_left.png deleted file mode 100755 index 6049223d1ec6af46e100499c01f6489c9e2c6240..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 503 zcmV+)0005LNklqcp9&~$uJw{{rUub~E?-XJ#Upm4Fe%-Gl z!u%tb0N102a|s5;SPlQvJlFCTBbvYaK@wIW6Gjx@?i20AlVDJcHNfh25WRlbF6CIq zv9_ZnqOH`}ppaUR0@%ZcM9zpDt2uQM>f+Z#wIMmyuui3DeoYXWE|hQ{D$te=Yhgkq zIvyj+$t8T|S1wITzUftNOe(E+Qjn$kDotY;I5}1lRgwi=?K26ke)djLR5W2|!7CVH zJ-`tuAq|`lK978y+CnqGNCkUke_%Gig ukvFM-ftpWh!il7Wg7kz7Y?7xB@G*olNlgoj4E_Yv!rmdKI;Vst0Ha3^zyJUM diff --git a/vendor/plugins/typus/generators/typus/templates/public/images/admin/fancybox/fancy_title_right.png b/vendor/plugins/typus/generators/typus/templates/public/images/admin/fancybox/fancy_title_right.png deleted file mode 100755 index e36d9db2a7c6e570aec993d3665cbc13620115e2..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 506 zcmV+)0005ONklxjQB-g>5=x46nGBwseihc$zfzvTFh(=tCRj6cJ4M&ASrCAq-HbokPnRBAHVa2(-|l wYU(UxfYLN;K{slJ*G&3>>u+mABlACnJzLDTX_`*G$*cot89%W{AUA^13f>LH;@v@20 z*k^;I{qmZeovq=uO%7HuK)l>$A_9~ zh~UD%_EfI;W_rk=o^4fL*<~KbW8|dR+-Jcsn4%n~5u$E040 zaZV}rz?XCfKt~$SN*Y+Ke#KJMPJxPe018%k*%SaZf1aZ;Fl9Z^vc|r*!kM)^F}-T0 zOwVY_Hd3ekn+Ilobdmm@Sg7m4Dk|6-a#9qyXs#u$vqw11kl#|>QmZU@K3C(GTyeHd z!xL%CxAVJ`B!F&ys{X;K(Dqn^hfzUwT*(h%>Q5!noKgZUJ$(Mcn%0cg`plK4u?Alp z^a?;L;MDJ*LJ@hN)w&xSnl~eFLfpg=Tn10w4_M4=&4u+*e|nQR*|U^+ zwzgcNFY$%b!z)?>Mr|YWgXWPl5{@nVuCx4II8zH36;X{(_v^{(wpHn@#M?jER>`Zg z>yG{8Oi7;273Gg4-m2-ZZ3BwBzf0ZyzLoxSrLUQ4eY$s+jHQcE< zzHx}2!uB?A)HUs$KWXSQy&kxJb*%$-Zj04e&=qF;uCXcIBK>>Q2AX+4ia+0yIdFXt0#G=scM(E93H;DTZ^w; zbngMR0l64+p6>zNAGm0nU9oH6+H?axFHT-@aQ9 zxO$;sFQ-iBE+^K}AxrW8=fvRR_xfoz3nrTMsUA)%mcsYqZ_aTVUCf6ANVziX3q+WJ zNLQo6*#z(CT9;+q_GIYwl5vlAVWLGV`7N;g(s;^UfK6nFC>udw+4`d_(H!Ayr8#d- zV>LP8{_F)Lo8Dn^{PjatBF>QZv7{qAjbW#cJMWxeO(ffMo>-w}%7Am@*GZFB|H&PS z$A5_;%qYdn++GSk@?bdrk6bRK+&_u^2cJf3(WRsZ zpsRlFq-NdI*}}oIGVYk~Qqlw_@}iEvFEX9{^XSTnt_^3*TJxV*_oZV~r;ES-CXl1J z79GNW|K#9|IRlODy5PgYox8+1GDoSoM!CoA*Tp(H| zjMhjPW7nygBFs6%P`Zm>$1g!$H2Vo7NumZ=H88{7(U?TO`_nGQ?KHJYD#*mESu4W{ zLw%&CHW<^7eY7c2jLFXorFUy`23Yo>Ci#q4Wd#q&nEyOL!F8eG=n^9NGlquqyAl*kS8|>OuQPRz%vhFrD?VIL+RyzF4@KSX_ z#wL6H9XhkES3?yHQN7JjH5OXLq4^5#0W5##N!S+fs=HC)OF#64x7)6ch-^VazGM6q zEW)_s{Qe?qJh?uht5WHKT*OzBXerJZE5bKXSozjE(@(z!ULC8Us{H&lry$(Bi!G}z zwUwpz^>yvv;y5}d=gF;FfP1ZdkvH!c>l+tCb^8uq(fbt(T_jP3SJX0vI`-z+G>Lm4 z8|UEap}Ttv*jTcpsYjP8Rgw|5~1j~bu|Ih}Iy%0D+u zn6D>hmyDPr6EvMkTN?lBM@gx9=JGQUr1{0KKr8La4h=0V9`L(e5+bcQ&X)ZoaMvI! zbqvNnCC{#;>ZNQdr@g#^T)?TZ!M$*pe_pv$p+hAc7NDIpR!r-{;WrL1ZHVxXt3cEP zR67jNu@zvxnP5i)Aa+xoU051pTe>P3>voY=s8$lP{chgZ#y`f&sas^g^Do|Y{JriT z>tV_g+_VmT2R_|-KNF0E$dEzpf?${+m+Tyo0vz1t zD8_H{MEC}&G!VUjSp?;&Mf=Z)7I9Rs>q@F_+Hh)rK(AmW{X+^j~dslS~g)2+wRy(qoPS zgw!lid*TBgh(5yGLrertM;ZwU1J8+tTdT3Y8{VIN08vXcvKeeq|8%twT0hqo&D2XI z_(OOtXUyRR7-90-mBa92SYz>jaH;mG*)g{UmOO##p&#O2H1BuDx0^IQ_b;qo-}@h$BBMNF?A0T zyJR_&b+s943LH2fb=07lgy@{Zi$3FeBahC8PAtMV)cG8|%TCpYvV=sltusV{19eA*a5pa+>MA zbDc2c_UX6A_)QqvvTn1{%CS3jMB4^e{Z#b3g;3_ff-IHgmu2X?TVry|9Ag3@vfjT_ zTDc5B$^Bl#bJ4MMu9lEEqvLHhWo)tug@KRv?4T+Ln(;)DyZ;Sxf&F1*yu#*scAGxW zeUCP3x4df>`xANr`3i2|vwXOQH&vucJh8_BwO3n}rB9rMAdaER!R`l&Qy()pfysH!v$C+~7+hnA`n%xTc-Qg<?onQ&wnA>?&NBuQq(i-Y>~)i*Y&4Ll@zFqQ2oFn>Gpz*Cri7ME)Iys zFz3sHJm9?m;Cc*aaKE%Pc=yyfG)dZ*Z`l~X5)QXOw0$k=FWS3tx-{S6G90xdK~u?j zEOes|NOmIS2$d7mt!!*}cCVcXpKXW>?4~Ak(ma<}Y8S2qv_M8CJtlMd?^4?a zh~NHIcLsXnRP=V9mCd@J+jgIgJ?N0O;9r$#G)wK%sv???nbFI4V<|X_Z}!%u5}D>d z{i2Vb75VJ*LQh!b%j%rrW{v|5kNiWhB~OIdM~^r_%;_~SUiG8s9RON2IvbV`;YnzN zH+H^0b-#S3zM88kzkf~YYdq@w*e#sXq#se|w?FcDpMQMxxIdj%{%QW*@ql9~F&2$T z7CS0Mi)qXJ2Z`$zEtGb>n@;<3a!bFREbmpXf#QyOT;Zf1aYmA{gEjqK9&dA#Zkv3M zwX_#`l3(@%18v({$_k~B`_vr@k+2Oh?OpL!Vkzk^m7;`AV|q8&V@7fwVd5L$>(d^GI})g8 z)hJGg?0~}qFfsW@(_i5I93NU%3f6P=i15hsM*!*>`#O3h4T~nqM;&HA@1iotoomMt zst0l_rAtGSVX^ulg4JBO(Ra8oQ{$qMkRNw5d--ayWu5i@*Q2Qnk!hRGce(|w&|I}! zq13jcKekIdQxU5be`hL`kx$fSgdBh!hjZDFdB3vcy=k7z>5ADS3q`=ELFmx)bKI1< zv~5jWDWgIJf{Mq&`BeO}?qXOMT=Bb}%@AiKCz7ABJNf|ox;Utbrd|H9J@%cgKBHKyYU9J>;amY->_(^+;HP%Zp zf~t{t;={qAj$gA-G6e6-?=sC`S&Z&pn=d;WQPo%4Lp~PN^$z>H4Q7uJtCw;ljWQGK z@%w=&nc5<1$3gW@%8RDQw$mWerBKy%(l)ch?-Lc=j_m;jm-Z~OAYRN%AU(=QYZa5K znX#@GWYI>40L;s$=+>ZHGm%phJ^}&Wb_}|OA^Zc4fa{M>IA3Ll64qq>I?Y;kUn_;Y zxUUF`(MpJcUm76|3X~o%!Ge-%=-=BBf z)C9bZg{^Pg(>g22tY%13F9Tx`z_NAd0;3Ue$B1I??SP-&OGzMAScyaQoXgc6K5Ty& z&-!p=qTx<^*y=_@u%tMd9wBzed;f-vBld20o~c*iGfx!(?mdER6$^9A%!5PL`G}JC z>xn@03FS$Mb;Ik__6-^Rfn+(&uVjj~wa@1!j#7#3QHx>pBOSLAnNYP-;vL0g(s+c$ zi2;5ZXws8F+_UC}^K8zfg&XpH(u~`!l|+t#Lz%g0qPbVCZ!KK;7Atd(^9b;*Op*=H zZud9}%!6*L>~Ho-epFZ$hO=tG;|Ua)I2*(I7Ecch->mp8|6w>*qu~2TH+k}mRc9Sw z;w^YhUy5=GfaVwY6u!C84%hCB?T?LwdClRxmiiNZNq#5@^2$U2k0!nuWHWP2^e331 zz4!XHJIcPkwqkMly{IPes^;~>G$Yxt{Iow^ z`VxSi##qd~*eute-u=@n`t$dcRLRo;mG=WS=4@O$thU0R7tjnCmEolE{_S@9Q*Bj4s{Hb5Ee%@no{N*5DS zzF@(X*H3ttA$#5Fuz_@pPfU(nq>tA(XA)nCm{+U6qecFb^Uu*yZC!G5yAO@1&?i@E z?Vo^z6Ox1tQ60zU>h+Hnnh(i$F8~^cQ(ynPK7M8%I=|msAtNmfaSH5P*eFjdtexCc zJiXYDdpjD&bn6O8ci4(q(P74D5P|=KT)=O_w9+W!Srs`yvfE9rO-1){i=j.data;i.beforeFilter&&i.beforeFilter[a.type]&&!i.beforeFilter[a.type](a)||f.push(j.selector)}else delete x[o]}i=c(a.target).closest(f, -a.currentTarget);m=0;for(s=i.length;m)[^>]*$|^#([\w-]+)$/,Qa=/^.[^:#\[\.,]*$/,Ra=/\S/,Sa=/^(\s|\u00A0)+|(\s|\u00A0)+$/g,Ta=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,O=navigator.userAgent, -va=false,P=[],L,$=Object.prototype.toString,aa=Object.prototype.hasOwnProperty,ba=Array.prototype.push,Q=Array.prototype.slice,wa=Array.prototype.indexOf;c.fn=c.prototype={init:function(a,b){var d,f;if(!a)return this;if(a.nodeType){this.context=this[0]=a;this.length=1;return this}if(typeof a==="string")if((d=Pa.exec(a))&&(d[1]||!b))if(d[1]){f=b?b.ownerDocument||b:r;if(a=Ta.exec(a))if(c.isPlainObject(b)){a=[r.createElement(a[1])];c.fn.attr.call(a,b,true)}else a=[f.createElement(a[1])];else{a=ra([d[1]], -[f]);a=(a.cacheable?a.fragment.cloneNode(true):a.fragment).childNodes}}else{if(b=r.getElementById(d[2])){if(b.id!==d[2])return S.find(a);this.length=1;this[0]=b}this.context=r;this.selector=a;return this}else if(!b&&/^\w+$/.test(a)){this.selector=a;this.context=r;a=r.getElementsByTagName(a)}else return!b||b.jquery?(b||S).find(a):c(b).find(a);else if(c.isFunction(a))return S.ready(a);if(a.selector!==v){this.selector=a.selector;this.context=a.context}return c.isArray(a)?this.setArray(a):c.makeArray(a, -this)},selector:"",jquery:"1.4.1",length:0,size:function(){return this.length},toArray:function(){return Q.call(this,0)},get:function(a){return a==null?this.toArray():a<0?this.slice(a)[0]:this[a]},pushStack:function(a,b,d){a=c(a||null);a.prevObject=this;a.context=this.context;if(b==="find")a.selector=this.selector+(this.selector?" ":"")+d;else if(b)a.selector=this.selector+"."+b+"("+d+")";return a},setArray:function(a){this.length=0;ba.apply(this,a);return this},each:function(a,b){return c.each(this, -a,b)},ready:function(a){c.bindReady();if(c.isReady)a.call(r,c);else P&&P.push(a);return this},eq:function(a){return a===-1?this.slice(a):this.slice(a,+a+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(Q.apply(this,arguments),"slice",Q.call(arguments).join(","))},map:function(a){return this.pushStack(c.map(this,function(b,d){return a.call(b,d,b)}))},end:function(){return this.prevObject||c(null)},push:ba,sort:[].sort,splice:[].splice}; -c.fn.init.prototype=c.fn;c.extend=c.fn.extend=function(){var a=arguments[0]||{},b=1,d=arguments.length,f=false,e,i,j,n;if(typeof a==="boolean"){f=a;a=arguments[1]||{};b=2}if(typeof a!=="object"&&!c.isFunction(a))a={};if(d===b){a=this;--b}for(;b
    a";var e=d.getElementsByTagName("*"),i=d.getElementsByTagName("a")[0];if(!(!e||!e.length||!i)){c.support= -{leadingWhitespace:d.firstChild.nodeType===3,tbody:!d.getElementsByTagName("tbody").length,htmlSerialize:!!d.getElementsByTagName("link").length,style:/red/.test(i.getAttribute("style")),hrefNormalized:i.getAttribute("href")==="/a",opacity:/^0.55$/.test(i.style.opacity),cssFloat:!!i.style.cssFloat,checkOn:d.getElementsByTagName("input")[0].value==="on",optSelected:r.createElement("select").appendChild(r.createElement("option")).selected,checkClone:false,scriptEval:false,noCloneEvent:true,boxModel:null}; -b.type="text/javascript";try{b.appendChild(r.createTextNode("window."+f+"=1;"))}catch(j){}a.insertBefore(b,a.firstChild);if(z[f]){c.support.scriptEval=true;delete z[f]}a.removeChild(b);if(d.attachEvent&&d.fireEvent){d.attachEvent("onclick",function n(){c.support.noCloneEvent=false;d.detachEvent("onclick",n)});d.cloneNode(true).fireEvent("onclick")}d=r.createElement("div");d.innerHTML="";a=r.createDocumentFragment();a.appendChild(d.firstChild); -c.support.checkClone=a.cloneNode(true).cloneNode(true).lastChild.checked;c(function(){var n=r.createElement("div");n.style.width=n.style.paddingLeft="1px";r.body.appendChild(n);c.boxModel=c.support.boxModel=n.offsetWidth===2;r.body.removeChild(n).style.display="none"});a=function(n){var o=r.createElement("div");n="on"+n;var m=n in o;if(!m){o.setAttribute(n,"return;");m=typeof o[n]==="function"}return m};c.support.submitBubbles=a("submit");c.support.changeBubbles=a("change");a=b=d=e=i=null}})();c.props= -{"for":"htmlFor","class":"className",readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing",rowspan:"rowSpan",colspan:"colSpan",tabindex:"tabIndex",usemap:"useMap",frameborder:"frameBorder"};var G="jQuery"+J(),Ua=0,xa={},Va={};c.extend({cache:{},expando:G,noData:{embed:true,object:true,applet:true},data:function(a,b,d){if(!(a.nodeName&&c.noData[a.nodeName.toLowerCase()])){a=a==z?xa:a;var f=a[G],e=c.cache;if(!b&&!f)return null;f||(f=++Ua);if(typeof b==="object"){a[G]=f;e=e[f]=c.extend(true, -{},b)}else e=e[f]?e[f]:typeof d==="undefined"?Va:(e[f]={});if(d!==v){a[G]=f;e[b]=d}return typeof b==="string"?e[b]:e}},removeData:function(a,b){if(!(a.nodeName&&c.noData[a.nodeName.toLowerCase()])){a=a==z?xa:a;var d=a[G],f=c.cache,e=f[d];if(b){if(e){delete e[b];c.isEmptyObject(e)&&c.removeData(a)}}else{try{delete a[G]}catch(i){a.removeAttribute&&a.removeAttribute(G)}delete f[d]}}}});c.fn.extend({data:function(a,b){if(typeof a==="undefined"&&this.length)return c.data(this[0]);else if(typeof a==="object")return this.each(function(){c.data(this, -a)});var d=a.split(".");d[1]=d[1]?"."+d[1]:"";if(b===v){var f=this.triggerHandler("getData"+d[1]+"!",[d[0]]);if(f===v&&this.length)f=c.data(this[0],a);return f===v&&d[1]?this.data(d[0]):f}else return this.trigger("setData"+d[1]+"!",[d[0],b]).each(function(){c.data(this,a,b)})},removeData:function(a){return this.each(function(){c.removeData(this,a)})}});c.extend({queue:function(a,b,d){if(a){b=(b||"fx")+"queue";var f=c.data(a,b);if(!d)return f||[];if(!f||c.isArray(d))f=c.data(a,b,c.makeArray(d));else f.push(d); -return f}},dequeue:function(a,b){b=b||"fx";var d=c.queue(a,b),f=d.shift();if(f==="inprogress")f=d.shift();if(f){b==="fx"&&d.unshift("inprogress");f.call(a,function(){c.dequeue(a,b)})}}});c.fn.extend({queue:function(a,b){if(typeof a!=="string"){b=a;a="fx"}if(b===v)return c.queue(this[0],a);return this.each(function(){var d=c.queue(this,a,b);a==="fx"&&d[0]!=="inprogress"&&c.dequeue(this,a)})},dequeue:function(a){return this.each(function(){c.dequeue(this,a)})},delay:function(a,b){a=c.fx?c.fx.speeds[a]|| -a:a;b=b||"fx";return this.queue(b,function(){var d=this;setTimeout(function(){c.dequeue(d,b)},a)})},clearQueue:function(a){return this.queue(a||"fx",[])}});var ya=/[\n\t]/g,ca=/\s+/,Wa=/\r/g,Xa=/href|src|style/,Ya=/(button|input)/i,Za=/(button|input|object|select|textarea)/i,$a=/^(a|area)$/i,za=/radio|checkbox/;c.fn.extend({attr:function(a,b){return X(this,a,b,true,c.attr)},removeAttr:function(a){return this.each(function(){c.attr(this,a,"");this.nodeType===1&&this.removeAttribute(a)})},addClass:function(a){if(c.isFunction(a))return this.each(function(o){var m= -c(this);m.addClass(a.call(this,o,m.attr("class")))});if(a&&typeof a==="string")for(var b=(a||"").split(ca),d=0,f=this.length;d-1)return true;return false},val:function(a){if(a===v){var b=this[0];if(b){if(c.nodeName(b,"option"))return(b.attributes.value|| -{}).specified?b.value:b.text;if(c.nodeName(b,"select")){var d=b.selectedIndex,f=[],e=b.options;b=b.type==="select-one";if(d<0)return null;var i=b?d:0;for(d=b?d+1:e.length;i=0;else if(c.nodeName(this,"select")){var x=c.makeArray(s);c("option",this).each(function(){this.selected=c.inArray(c(this).val(),x)>=0});if(!x.length)this.selectedIndex=-1}else this.value=s}})}});c.extend({attrFn:{val:true,css:true,html:true,text:true,data:true,width:true,height:true,offset:true},attr:function(a,b,d,f){if(!a||a.nodeType===3||a.nodeType===8)return v;if(f&&b in c.attrFn)return c(a)[b](d); -f=a.nodeType!==1||!c.isXMLDoc(a);var e=d!==v;b=f&&c.props[b]||b;if(a.nodeType===1){var i=Xa.test(b);if(b in a&&f&&!i){if(e){b==="type"&&Ya.test(a.nodeName)&&a.parentNode&&c.error("type property can't be changed");a[b]=d}if(c.nodeName(a,"form")&&a.getAttributeNode(b))return a.getAttributeNode(b).nodeValue;if(b==="tabIndex")return(b=a.getAttributeNode("tabIndex"))&&b.specified?b.value:Za.test(a.nodeName)||$a.test(a.nodeName)&&a.href?0:v;return a[b]}if(!c.support.style&&f&&b==="style"){if(e)a.style.cssText= -""+d;return a.style.cssText}e&&a.setAttribute(b,""+d);a=!c.support.hrefNormalized&&f&&i?a.getAttribute(b,2):a.getAttribute(b);return a===null?v:a}return c.style(a,b,d)}});var ab=function(a){return a.replace(/[^\w\s\.\|`]/g,function(b){return"\\"+b})};c.event={add:function(a,b,d,f){if(!(a.nodeType===3||a.nodeType===8)){if(a.setInterval&&a!==z&&!a.frameElement)a=z;if(!d.guid)d.guid=c.guid++;if(f!==v){d=c.proxy(d);d.data=f}var e=c.data(a,"events")||c.data(a,"events",{}),i=c.data(a,"handle"),j;if(!i){j= -function(){return typeof c!=="undefined"&&!c.event.triggered?c.event.handle.apply(j.elem,arguments):v};i=c.data(a,"handle",j)}if(i){i.elem=a;b=b.split(/\s+/);for(var n,o=0;n=b[o++];){var m=n.split(".");n=m.shift();if(o>1){d=c.proxy(d);if(f!==v)d.data=f}d.type=m.slice(0).sort().join(".");var s=e[n],x=this.special[n]||{};if(!s){s=e[n]={};if(!x.setup||x.setup.call(a,f,m,d)===false)if(a.addEventListener)a.addEventListener(n,i,false);else a.attachEvent&&a.attachEvent("on"+n,i)}if(x.add)if((m=x.add.call(a, -d,f,m,s))&&c.isFunction(m)){m.guid=m.guid||d.guid;m.data=m.data||d.data;m.type=m.type||d.type;d=m}s[d.guid]=d;this.global[n]=true}a=null}}},global:{},remove:function(a,b,d){if(!(a.nodeType===3||a.nodeType===8)){var f=c.data(a,"events"),e,i,j;if(f){if(b===v||typeof b==="string"&&b.charAt(0)===".")for(i in f)this.remove(a,i+(b||""));else{if(b.type){d=b.handler;b=b.type}b=b.split(/\s+/);for(var n=0;i=b[n++];){var o=i.split(".");i=o.shift();var m=!o.length,s=c.map(o.slice(0).sort(),ab);s=new RegExp("(^|\\.)"+ -s.join("\\.(?:.*\\.)?")+"(\\.|$)");var x=this.special[i]||{};if(f[i]){if(d){j=f[i][d.guid];delete f[i][d.guid]}else for(var A in f[i])if(m||s.test(f[i][A].type))delete f[i][A];x.remove&&x.remove.call(a,o,j);for(e in f[i])break;if(!e){if(!x.teardown||x.teardown.call(a,o)===false)if(a.removeEventListener)a.removeEventListener(i,c.data(a,"handle"),false);else a.detachEvent&&a.detachEvent("on"+i,c.data(a,"handle"));e=null;delete f[i]}}}}for(e in f)break;if(!e){if(A=c.data(a,"handle"))A.elem=null;c.removeData(a, -"events");c.removeData(a,"handle")}}}},trigger:function(a,b,d,f){var e=a.type||a;if(!f){a=typeof a==="object"?a[G]?a:c.extend(c.Event(e),a):c.Event(e);if(e.indexOf("!")>=0){a.type=e=e.slice(0,-1);a.exclusive=true}if(!d){a.stopPropagation();this.global[e]&&c.each(c.cache,function(){this.events&&this.events[e]&&c.event.trigger(a,b,this.handle.elem)})}if(!d||d.nodeType===3||d.nodeType===8)return v;a.result=v;a.target=d;b=c.makeArray(b);b.unshift(a)}a.currentTarget=d;(f=c.data(d,"handle"))&&f.apply(d, -b);f=d.parentNode||d.ownerDocument;try{if(!(d&&d.nodeName&&c.noData[d.nodeName.toLowerCase()]))if(d["on"+e]&&d["on"+e].apply(d,b)===false)a.result=false}catch(i){}if(!a.isPropagationStopped()&&f)c.event.trigger(a,b,f,true);else if(!a.isDefaultPrevented()){d=a.target;var j;if(!(c.nodeName(d,"a")&&e==="click")&&!(d&&d.nodeName&&c.noData[d.nodeName.toLowerCase()])){try{if(d[e]){if(j=d["on"+e])d["on"+e]=null;this.triggered=true;d[e]()}}catch(n){}if(j)d["on"+e]=j;this.triggered=false}}},handle:function(a){var b, -d;a=arguments[0]=c.event.fix(a||z.event);a.currentTarget=this;d=a.type.split(".");a.type=d.shift();b=!d.length&&!a.exclusive;var f=new RegExp("(^|\\.)"+d.slice(0).sort().join("\\.(?:.*\\.)?")+"(\\.|$)");d=(c.data(this,"events")||{})[a.type];for(var e in d){var i=d[e];if(b||f.test(i.type)){a.handler=i;a.data=i.data;i=i.apply(this,arguments);if(i!==v){a.result=i;if(i===false){a.preventDefault();a.stopPropagation()}}if(a.isImmediatePropagationStopped())break}}return a.result},props:"altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode layerX layerY metaKey newValue offsetX offsetY originalTarget pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement view wheelDelta which".split(" "), -fix:function(a){if(a[G])return a;var b=a;a=c.Event(b);for(var d=this.props.length,f;d;){f=this.props[--d];a[f]=b[f]}if(!a.target)a.target=a.srcElement||r;if(a.target.nodeType===3)a.target=a.target.parentNode;if(!a.relatedTarget&&a.fromElement)a.relatedTarget=a.fromElement===a.target?a.toElement:a.fromElement;if(a.pageX==null&&a.clientX!=null){b=r.documentElement;d=r.body;a.pageX=a.clientX+(b&&b.scrollLeft||d&&d.scrollLeft||0)-(b&&b.clientLeft||d&&d.clientLeft||0);a.pageY=a.clientY+(b&&b.scrollTop|| -d&&d.scrollTop||0)-(b&&b.clientTop||d&&d.clientTop||0)}if(!a.which&&(a.charCode||a.charCode===0?a.charCode:a.keyCode))a.which=a.charCode||a.keyCode;if(!a.metaKey&&a.ctrlKey)a.metaKey=a.ctrlKey;if(!a.which&&a.button!==v)a.which=a.button&1?1:a.button&2?3:a.button&4?2:0;return a},guid:1E8,proxy:c.proxy,special:{ready:{setup:c.bindReady,teardown:c.noop},live:{add:function(a,b){c.extend(a,b||{});a.guid+=b.selector+b.live;b.liveProxy=a;c.event.add(this,b.live,na,b)},remove:function(a){if(a.length){var b= -0,d=new RegExp("(^|\\.)"+a[0]+"(\\.|$)");c.each(c.data(this,"events").live||{},function(){d.test(this.type)&&b++});b<1&&c.event.remove(this,a[0],na)}},special:{}},beforeunload:{setup:function(a,b,d){if(this.setInterval)this.onbeforeunload=d;return false},teardown:function(a,b){if(this.onbeforeunload===b)this.onbeforeunload=null}}}};c.Event=function(a){if(!this.preventDefault)return new c.Event(a);if(a&&a.type){this.originalEvent=a;this.type=a.type}else this.type=a;this.timeStamp=J();this[G]=true}; -c.Event.prototype={preventDefault:function(){this.isDefaultPrevented=Z;var a=this.originalEvent;if(a){a.preventDefault&&a.preventDefault();a.returnValue=false}},stopPropagation:function(){this.isPropagationStopped=Z;var a=this.originalEvent;if(a){a.stopPropagation&&a.stopPropagation();a.cancelBubble=true}},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=Z;this.stopPropagation()},isDefaultPrevented:Y,isPropagationStopped:Y,isImmediatePropagationStopped:Y};var Aa=function(a){for(var b= -a.relatedTarget;b&&b!==this;)try{b=b.parentNode}catch(d){break}if(b!==this){a.type=a.data;c.event.handle.apply(this,arguments)}},Ba=function(a){a.type=a.data;c.event.handle.apply(this,arguments)};c.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(a,b){c.event.special[a]={setup:function(d){c.event.add(this,b,d&&d.selector?Ba:Aa,a)},teardown:function(d){c.event.remove(this,b,d&&d.selector?Ba:Aa)}}});if(!c.support.submitBubbles)c.event.special.submit={setup:function(a,b,d){if(this.nodeName.toLowerCase()!== -"form"){c.event.add(this,"click.specialSubmit."+d.guid,function(f){var e=f.target,i=e.type;if((i==="submit"||i==="image")&&c(e).closest("form").length)return ma("submit",this,arguments)});c.event.add(this,"keypress.specialSubmit."+d.guid,function(f){var e=f.target,i=e.type;if((i==="text"||i==="password")&&c(e).closest("form").length&&f.keyCode===13)return ma("submit",this,arguments)})}else return false},remove:function(a,b){c.event.remove(this,"click.specialSubmit"+(b?"."+b.guid:""));c.event.remove(this, -"keypress.specialSubmit"+(b?"."+b.guid:""))}};if(!c.support.changeBubbles){var da=/textarea|input|select/i;function Ca(a){var b=a.type,d=a.value;if(b==="radio"||b==="checkbox")d=a.checked;else if(b==="select-multiple")d=a.selectedIndex>-1?c.map(a.options,function(f){return f.selected}).join("-"):"";else if(a.nodeName.toLowerCase()==="select")d=a.selectedIndex;return d}function ea(a,b){var d=a.target,f,e;if(!(!da.test(d.nodeName)||d.readOnly)){f=c.data(d,"_change_data");e=Ca(d);if(a.type!=="focusout"|| -d.type!=="radio")c.data(d,"_change_data",e);if(!(f===v||e===f))if(f!=null||e){a.type="change";return c.event.trigger(a,b,d)}}}c.event.special.change={filters:{focusout:ea,click:function(a){var b=a.target,d=b.type;if(d==="radio"||d==="checkbox"||b.nodeName.toLowerCase()==="select")return ea.call(this,a)},keydown:function(a){var b=a.target,d=b.type;if(a.keyCode===13&&b.nodeName.toLowerCase()!=="textarea"||a.keyCode===32&&(d==="checkbox"||d==="radio")||d==="select-multiple")return ea.call(this,a)},beforeactivate:function(a){a= -a.target;a.nodeName.toLowerCase()==="input"&&a.type==="radio"&&c.data(a,"_change_data",Ca(a))}},setup:function(a,b,d){for(var f in T)c.event.add(this,f+".specialChange."+d.guid,T[f]);return da.test(this.nodeName)},remove:function(a,b){for(var d in T)c.event.remove(this,d+".specialChange"+(b?"."+b.guid:""),T[d]);return da.test(this.nodeName)}};var T=c.event.special.change.filters}r.addEventListener&&c.each({focus:"focusin",blur:"focusout"},function(a,b){function d(f){f=c.event.fix(f);f.type=b;return c.event.handle.call(this, -f)}c.event.special[b]={setup:function(){this.addEventListener(a,d,true)},teardown:function(){this.removeEventListener(a,d,true)}}});c.each(["bind","one"],function(a,b){c.fn[b]=function(d,f,e){if(typeof d==="object"){for(var i in d)this[b](i,f,d[i],e);return this}if(c.isFunction(f)){e=f;f=v}var j=b==="one"?c.proxy(e,function(n){c(this).unbind(n,j);return e.apply(this,arguments)}):e;return d==="unload"&&b!=="one"?this.one(d,f,e):this.each(function(){c.event.add(this,d,j,f)})}});c.fn.extend({unbind:function(a, -b){if(typeof a==="object"&&!a.preventDefault){for(var d in a)this.unbind(d,a[d]);return this}return this.each(function(){c.event.remove(this,a,b)})},trigger:function(a,b){return this.each(function(){c.event.trigger(a,b,this)})},triggerHandler:function(a,b){if(this[0]){a=c.Event(a);a.preventDefault();a.stopPropagation();c.event.trigger(a,b,this[0]);return a.result}},toggle:function(a){for(var b=arguments,d=1;d0){y=t;break}}t=t[g]}l[q]=y}}}var f=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,e=0,i=Object.prototype.toString,j=false,n=true;[0,0].sort(function(){n=false;return 0});var o=function(g,h,k,l){k=k||[];var q=h=h||r;if(h.nodeType!==1&&h.nodeType!==9)return[];if(!g|| -typeof g!=="string")return k;for(var p=[],u,t,y,R,H=true,M=w(h),I=g;(f.exec(""),u=f.exec(I))!==null;){I=u[3];p.push(u[1]);if(u[2]){R=u[3];break}}if(p.length>1&&s.exec(g))if(p.length===2&&m.relative[p[0]])t=fa(p[0]+p[1],h);else for(t=m.relative[p[0]]?[h]:o(p.shift(),h);p.length;){g=p.shift();if(m.relative[g])g+=p.shift();t=fa(g,t)}else{if(!l&&p.length>1&&h.nodeType===9&&!M&&m.match.ID.test(p[0])&&!m.match.ID.test(p[p.length-1])){u=o.find(p.shift(),h,M);h=u.expr?o.filter(u.expr,u.set)[0]:u.set[0]}if(h){u= -l?{expr:p.pop(),set:A(l)}:o.find(p.pop(),p.length===1&&(p[0]==="~"||p[0]==="+")&&h.parentNode?h.parentNode:h,M);t=u.expr?o.filter(u.expr,u.set):u.set;if(p.length>0)y=A(t);else H=false;for(;p.length;){var D=p.pop();u=D;if(m.relative[D])u=p.pop();else D="";if(u==null)u=h;m.relative[D](y,u,M)}}else y=[]}y||(y=t);y||o.error(D||g);if(i.call(y)==="[object Array]")if(H)if(h&&h.nodeType===1)for(g=0;y[g]!=null;g++){if(y[g]&&(y[g]===true||y[g].nodeType===1&&E(h,y[g])))k.push(t[g])}else for(g=0;y[g]!=null;g++)y[g]&& -y[g].nodeType===1&&k.push(t[g]);else k.push.apply(k,y);else A(y,k);if(R){o(R,q,k,l);o.uniqueSort(k)}return k};o.uniqueSort=function(g){if(C){j=n;g.sort(C);if(j)for(var h=1;h":function(g,h){var k=typeof h==="string";if(k&&!/\W/.test(h)){h=h.toLowerCase();for(var l=0,q=g.length;l=0))k||l.push(u);else if(k)h[p]=false;return false},ID:function(g){return g[1].replace(/\\/g,"")},TAG:function(g){return g[1].toLowerCase()},CHILD:function(g){if(g[1]==="nth"){var h=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(g[2]==="even"&&"2n"||g[2]==="odd"&& -"2n+1"||!/\D/.test(g[2])&&"0n+"+g[2]||g[2]);g[2]=h[1]+(h[2]||1)-0;g[3]=h[3]-0}g[0]=e++;return g},ATTR:function(g,h,k,l,q,p){h=g[1].replace(/\\/g,"");if(!p&&m.attrMap[h])g[1]=m.attrMap[h];if(g[2]==="~=")g[4]=" "+g[4]+" ";return g},PSEUDO:function(g,h,k,l,q){if(g[1]==="not")if((f.exec(g[3])||"").length>1||/^\w/.test(g[3]))g[3]=o(g[3],null,null,h);else{g=o.filter(g[3],h,k,true^q);k||l.push.apply(l,g);return false}else if(m.match.POS.test(g[0])||m.match.CHILD.test(g[0]))return true;return g},POS:function(g){g.unshift(true); -return g}},filters:{enabled:function(g){return g.disabled===false&&g.type!=="hidden"},disabled:function(g){return g.disabled===true},checked:function(g){return g.checked===true},selected:function(g){return g.selected===true},parent:function(g){return!!g.firstChild},empty:function(g){return!g.firstChild},has:function(g,h,k){return!!o(k[3],g).length},header:function(g){return/h\d/i.test(g.nodeName)},text:function(g){return"text"===g.type},radio:function(g){return"radio"===g.type},checkbox:function(g){return"checkbox"=== -g.type},file:function(g){return"file"===g.type},password:function(g){return"password"===g.type},submit:function(g){return"submit"===g.type},image:function(g){return"image"===g.type},reset:function(g){return"reset"===g.type},button:function(g){return"button"===g.type||g.nodeName.toLowerCase()==="button"},input:function(g){return/input|select|textarea|button/i.test(g.nodeName)}},setFilters:{first:function(g,h){return h===0},last:function(g,h,k,l){return h===l.length-1},even:function(g,h){return h%2=== -0},odd:function(g,h){return h%2===1},lt:function(g,h,k){return hk[3]-0},nth:function(g,h,k){return k[3]-0===h},eq:function(g,h,k){return k[3]-0===h}},filter:{PSEUDO:function(g,h,k,l){var q=h[1],p=m.filters[q];if(p)return p(g,k,h,l);else if(q==="contains")return(g.textContent||g.innerText||a([g])||"").indexOf(h[3])>=0;else if(q==="not"){h=h[3];k=0;for(l=h.length;k= -0}},ID:function(g,h){return g.nodeType===1&&g.getAttribute("id")===h},TAG:function(g,h){return h==="*"&&g.nodeType===1||g.nodeName.toLowerCase()===h},CLASS:function(g,h){return(" "+(g.className||g.getAttribute("class"))+" ").indexOf(h)>-1},ATTR:function(g,h){var k=h[1];g=m.attrHandle[k]?m.attrHandle[k](g):g[k]!=null?g[k]:g.getAttribute(k);k=g+"";var l=h[2];h=h[4];return g==null?l==="!=":l==="="?k===h:l==="*="?k.indexOf(h)>=0:l==="~="?(" "+k+" ").indexOf(h)>=0:!h?k&&g!==false:l==="!="?k!==h:l==="^="? -k.indexOf(h)===0:l==="$="?k.substr(k.length-h.length)===h:l==="|="?k===h||k.substr(0,h.length+1)===h+"-":false},POS:function(g,h,k,l){var q=m.setFilters[h[2]];if(q)return q(g,k,h,l)}}},s=m.match.POS;for(var x in m.match){m.match[x]=new RegExp(m.match[x].source+/(?![^\[]*\])(?![^\(]*\))/.source);m.leftMatch[x]=new RegExp(/(^(?:.|\r|\n)*?)/.source+m.match[x].source.replace(/\\(\d+)/g,function(g,h){return"\\"+(h-0+1)}))}var A=function(g,h){g=Array.prototype.slice.call(g,0);if(h){h.push.apply(h,g);return h}return g}; -try{Array.prototype.slice.call(r.documentElement.childNodes,0)}catch(B){A=function(g,h){h=h||[];if(i.call(g)==="[object Array]")Array.prototype.push.apply(h,g);else if(typeof g.length==="number")for(var k=0,l=g.length;k";var k=r.documentElement;k.insertBefore(g,k.firstChild);if(r.getElementById(h)){m.find.ID=function(l,q,p){if(typeof q.getElementById!=="undefined"&&!p)return(q=q.getElementById(l[1]))?q.id===l[1]||typeof q.getAttributeNode!=="undefined"&&q.getAttributeNode("id").nodeValue===l[1]?[q]:v:[]};m.filter.ID=function(l,q){var p=typeof l.getAttributeNode!=="undefined"&&l.getAttributeNode("id"); -return l.nodeType===1&&p&&p.nodeValue===q}}k.removeChild(g);k=g=null})();(function(){var g=r.createElement("div");g.appendChild(r.createComment(""));if(g.getElementsByTagName("*").length>0)m.find.TAG=function(h,k){k=k.getElementsByTagName(h[1]);if(h[1]==="*"){h=[];for(var l=0;k[l];l++)k[l].nodeType===1&&h.push(k[l]);k=h}return k};g.innerHTML="";if(g.firstChild&&typeof g.firstChild.getAttribute!=="undefined"&&g.firstChild.getAttribute("href")!=="#")m.attrHandle.href=function(h){return h.getAttribute("href", -2)};g=null})();r.querySelectorAll&&function(){var g=o,h=r.createElement("div");h.innerHTML="

    ";if(!(h.querySelectorAll&&h.querySelectorAll(".TEST").length===0)){o=function(l,q,p,u){q=q||r;if(!u&&q.nodeType===9&&!w(q))try{return A(q.querySelectorAll(l),p)}catch(t){}return g(l,q,p,u)};for(var k in g)o[k]=g[k];h=null}}();(function(){var g=r.createElement("div");g.innerHTML="
    ";if(!(!g.getElementsByClassName||g.getElementsByClassName("e").length=== -0)){g.lastChild.className="e";if(g.getElementsByClassName("e").length!==1){m.order.splice(1,0,"CLASS");m.find.CLASS=function(h,k,l){if(typeof k.getElementsByClassName!=="undefined"&&!l)return k.getElementsByClassName(h[1])};g=null}}})();var E=r.compareDocumentPosition?function(g,h){return g.compareDocumentPosition(h)&16}:function(g,h){return g!==h&&(g.contains?g.contains(h):true)},w=function(g){return(g=(g?g.ownerDocument||g:0).documentElement)?g.nodeName!=="HTML":false},fa=function(g,h){var k=[], -l="",q;for(h=h.nodeType?[h]:h;q=m.match.PSEUDO.exec(g);){l+=q[0];g=g.replace(m.match.PSEUDO,"")}g=m.relative[g]?g+"*":g;q=0;for(var p=h.length;q=0===d})};c.fn.extend({find:function(a){for(var b=this.pushStack("","find",a),d=0,f=0,e=this.length;f0)for(var i=d;i0},closest:function(a,b){if(c.isArray(a)){var d=[],f=this[0],e,i={},j;if(f&&a.length){e=0;for(var n=a.length;e --1:c(f).is(e)){d.push({selector:j,elem:f});delete i[j]}}f=f.parentNode}}return d}var o=c.expr.match.POS.test(a)?c(a,b||this.context):null;return this.map(function(m,s){for(;s&&s.ownerDocument&&s!==b;){if(o?o.index(s)>-1:c(s).is(a))return s;s=s.parentNode}return null})},index:function(a){if(!a||typeof a==="string")return c.inArray(this[0],a?c(a):this.parent().children());return c.inArray(a.jquery?a[0]:a,this)},add:function(a,b){a=typeof a==="string"?c(a,b||this.context):c.makeArray(a);b=c.merge(this.get(), -a);return this.pushStack(pa(a[0])||pa(b[0])?b:c.unique(b))},andSelf:function(){return this.add(this.prevObject)}});c.each({parent:function(a){return(a=a.parentNode)&&a.nodeType!==11?a:null},parents:function(a){return c.dir(a,"parentNode")},parentsUntil:function(a,b,d){return c.dir(a,"parentNode",d)},next:function(a){return c.nth(a,2,"nextSibling")},prev:function(a){return c.nth(a,2,"previousSibling")},nextAll:function(a){return c.dir(a,"nextSibling")},prevAll:function(a){return c.dir(a,"previousSibling")}, -nextUntil:function(a,b,d){return c.dir(a,"nextSibling",d)},prevUntil:function(a,b,d){return c.dir(a,"previousSibling",d)},siblings:function(a){return c.sibling(a.parentNode.firstChild,a)},children:function(a){return c.sibling(a.firstChild)},contents:function(a){return c.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:c.makeArray(a.childNodes)}},function(a,b){c.fn[a]=function(d,f){var e=c.map(this,b,d);bb.test(a)||(f=d);if(f&&typeof f==="string")e=c.filter(f,e);e=this.length>1?c.unique(e): -e;if((this.length>1||db.test(f))&&cb.test(a))e=e.reverse();return this.pushStack(e,a,Q.call(arguments).join(","))}});c.extend({filter:function(a,b,d){if(d)a=":not("+a+")";return c.find.matches(a,b)},dir:function(a,b,d){var f=[];for(a=a[b];a&&a.nodeType!==9&&(d===v||a.nodeType!==1||!c(a).is(d));){a.nodeType===1&&f.push(a);a=a[b]}return f},nth:function(a,b,d){b=b||1;for(var f=0;a;a=a[d])if(a.nodeType===1&&++f===b)break;return a},sibling:function(a,b){for(var d=[];a;a=a.nextSibling)a.nodeType===1&&a!== -b&&d.push(a);return d}});var Fa=/ jQuery\d+="(?:\d+|null)"/g,V=/^\s+/,Ga=/(<([\w:]+)[^>]*?)\/>/g,eb=/^(?:area|br|col|embed|hr|img|input|link|meta|param)$/i,Ha=/<([\w:]+)/,fb=/"},F={option:[1,""],legend:[1,"
    ","
    "],thead:[1,"","
    "],tr:[2,"","
    "],td:[3,"","
    "], -col:[2,"","
    "],area:[1,"",""],_default:[0,"",""]};F.optgroup=F.option;F.tbody=F.tfoot=F.colgroup=F.caption=F.thead;F.th=F.td;if(!c.support.htmlSerialize)F._default=[1,"div
    ","
    "];c.fn.extend({text:function(a){if(c.isFunction(a))return this.each(function(b){var d=c(this);d.text(a.call(this,b,d.text()))});if(typeof a!=="object"&&a!==v)return this.empty().append((this[0]&&this[0].ownerDocument||r).createTextNode(a));return c.getText(this)}, -wrapAll:function(a){if(c.isFunction(a))return this.each(function(d){c(this).wrapAll(a.call(this,d))});if(this[0]){var b=c(a,this[0].ownerDocument).eq(0).clone(true);this[0].parentNode&&b.insertBefore(this[0]);b.map(function(){for(var d=this;d.firstChild&&d.firstChild.nodeType===1;)d=d.firstChild;return d}).append(this)}return this},wrapInner:function(a){if(c.isFunction(a))return this.each(function(b){c(this).wrapInner(a.call(this,b))});return this.each(function(){var b=c(this),d=b.contents();d.length? -d.wrapAll(a):b.append(a)})},wrap:function(a){return this.each(function(){c(this).wrapAll(a)})},unwrap:function(){return this.parent().each(function(){c.nodeName(this,"body")||c(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,true,function(a){this.nodeType===1&&this.appendChild(a)})},prepend:function(){return this.domManip(arguments,true,function(a){this.nodeType===1&&this.insertBefore(a,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments, -false,function(b){this.parentNode.insertBefore(b,this)});else if(arguments.length){var a=c(arguments[0]);a.push.apply(a,this.toArray());return this.pushStack(a,"before",arguments)}},after:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,false,function(b){this.parentNode.insertBefore(b,this.nextSibling)});else if(arguments.length){var a=this.pushStack(this,"after",arguments);a.push.apply(a,c(arguments[0]).toArray());return a}},clone:function(a){var b=this.map(function(){if(!c.support.noCloneEvent&& -!c.isXMLDoc(this)){var d=this.outerHTML,f=this.ownerDocument;if(!d){d=f.createElement("div");d.appendChild(this.cloneNode(true));d=d.innerHTML}return c.clean([d.replace(Fa,"").replace(V,"")],f)[0]}else return this.cloneNode(true)});if(a===true){qa(this,b);qa(this.find("*"),b.find("*"))}return b},html:function(a){if(a===v)return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(Fa,""):null;else if(typeof a==="string"&&!/ - HTML - -=end - partial = "admin/helpers/quick_edit" - options = { :options => { :path => "articles/edit/1", - :message => "Edit this article" } } - - assert_equal [ partial, options], output - - end - - def admin_quick_edit_path - 'quick_edit' - end - -end \ No newline at end of file diff --git a/vendor/plugins/typus/test/helpers/admin/sidebar_helper_test.rb b/vendor/plugins/typus/test/helpers/admin/sidebar_helper_test.rb deleted file mode 100644 index 457e2b8..0000000 --- a/vendor/plugins/typus/test/helpers/admin/sidebar_helper_test.rb +++ /dev/null @@ -1,320 +0,0 @@ -# coding: utf-8 - -require 'test/helper' - -class Admin::SidebarHelperTest < ActiveSupport::TestCase - - include Admin::SidebarHelper - - include ActionView::Helpers::UrlHelper - include ActionController::UrlWriter - include ActionView::Helpers::TagHelper - include ActionView::Helpers::FormTagHelper - - def render(*args); args; end - - def setup - default_url_options[:host] = 'test.host' - end - - # TODO - def test_actions - end - - def test_export - - @resource = { :class => Post } - - params = { :controller => 'admin/posts', :action => 'index' } - self.expects(:params).at_least_once.returns(params) - - output = export - - expected = [ "admin/helpers/list", { :items => [ %Q[CSV], - %Q[XML] ], - :header => "Export", - :options => { :header => "export" } } ] - - assert_equal expected, output - - end - - def test_build_typus_list_with_empty_content_and_empty_header - output = build_typus_list([], :header => nil) - assert output.empty? - end - - def test_build_typus_list_with_content_and_header - - output = build_typus_list(['item1', 'item2'], :header => "Chunky Bacon") - assert !output.empty? - - expected = [ "admin/helpers/list", { :header=>"Chunky bacon", - :options => { :header=>"Chunky Bacon" }, - :items => [ "item1", "item2" ] } ] - - assert_equal expected, output - - end - - def test_build_typus_list_with_content_without_header - - output = build_typus_list(['item1', 'item2']) - expected = [ "admin/helpers/list", { :header => nil, - :options => {}, - :items=>["item1", "item2"] } ] - assert_equal expected, output - - end - - def test_search - - @resource = { :class => TypusUser, :self => 'typus_users' } - - params = { :controller => 'admin/typus_users', :action => 'index' } - self.expects(:params).at_least_once.returns(params) - - output = search - - partial = "admin/helpers/search" - options = { :hidden_params => [ %Q[], - %Q[] ], - :search_by => "First name, Last name, Email, and Role" } - - assert_equal [ partial, options ], output - - end - - def test_filters - - @resource = { :class => TypusUser, :self => 'typus_users' } - - @resource[:class].expects(:typus_filters).returns(Array.new) - - output = filters - assert output.nil? - - end - - # TODO: Test filters when @resource[:class].typus_filters returns filters. - def test_filters_with_filters - return - end - - # TODO - def test_relationship_filter - return - end - - def test_date_filter - - @resource = { :class => TypusUser, :self => 'typus_users' } - filter = 'created_at' - - params = { :controller => 'admin/typus_users', :action => 'index' } - self.expects(:params).at_least_once.returns(params) - - # With an empty request. - - request = "" - output = date_filter(request, filter) - - partial = "admin/helpers/list" - options = { :items => [ %Q[Today], - %Q[Last few days], - %Q[Last 7 days], - %Q[Last 30 days] ], - :header => "Created at", - :options => { :attribute => "created_at" } } - - assert_equal [ partial, options ], output - - # With a request. - - request = "created_at=today&page=1" - output = date_filter(request, filter) - - partial = "admin/helpers/list" - options = { :items => [ %Q[Today], - %Q[Last few days], - %Q[Last 7 days], - %Q[Last 30 days] ], - :header => "Created at", - :options => { :attribute => "created_at" } } - - assert_equal [ partial, options ], output - - end - - def test_boolean_filter - - @resource = { :class => TypusUser, :self => 'typus_users' } - filter = 'status' - - params = { :controller => 'admin/typus_users', :action => 'index' } - self.expects(:params).at_least_once.returns(params) - - # Status is true - - request = "status=true&page=1" - output = boolean_filter(request, filter) - - partial = "admin/helpers/list" - options = { :items => [ %Q[Active], - %Q[Inactive] ], - :header => "Status", - :options => { :attribute => "status" } } - - assert_equal [ partial, options ], output - - # Status is false - - request = "status=false&page=1" - output = boolean_filter(request, filter) - - partial = "admin/helpers/list" - options = { :items => [ %Q[Active], - %Q[Inactive] ], - :header => "Status", - :options => { :attribute => "status" } } - - assert_equal [ partial, options ], output - - end - -=begin - - # FIXME - - def test_string_filter_when_values_are_strings - - @resource = { :class => TypusUser, :self => 'typus_users' } - filter = 'role' - - params = { :controller => 'admin/typus_users', :action => 'index' } - self.expects(:params).at_least_once.returns(params) - - # Roles is admin - - request = 'role=admin&page=1' - # @resource[:class].expects('role').returns(['admin', 'designer', 'editor']) - output = string_filter(request, filter) - - =begin - expected = <<-HTML -

    Role

    - - HTML - =end - - partial = "admin/helpers/list" - options = { :items => [ "Admin", - "Designer", - "Editor" ], - :header => "Role", - :options => { :attribute => "role" } } - - assert_equal [ partial, options ], output - - # Roles is editor - - request = 'role=editor&page=1' - @resource[:class].expects('role').returns(['admin', 'designer', 'editor']) - output = string_filter(request, filter) - - =begin - expected = <<-HTML -

    Role

    - - HTML - =end - - partial = "admin/helpers/list" - options = { :items => [ "Admin", - "Designer", - "Editor" ], - :header => "Role", - :options => { :attribute => "role" } } - - assert_equal [ partial, options ], output - - end - -=end - -=begin - - # FIXME - - def test_string_filter_when_values_are_arrays_of_strings - - @resource = { :class => TypusUser, :self => 'typus_users' } - filter = 'role' - - params = { :controller => 'admin/typus_users', :action => 'index' } - self.expects(:params).at_least_once.returns(params) - - request = 'role=admin&page=1' - - =begin - - array = [['Administrador', 'admin'], - ['Diseñador', 'designer'], - ['Editor', 'editor']] - @resource[:class].expects('role').returns(array) - - =end - - output = string_filter(request, filter) - - =begin - expected = <<-HTML -

    Role

    - - HTML - =end - - partial = "admin/helpers/list" - options = { :items => [ "Administrador", - "Diseñador", - "Editor" ], - :header => "Role", - :options => { :attribute => "role" } } - - assert_equal [ partial, options ], output - - end - -=end - -=begin - - # FIXME - - def test_string_filter_when_empty_values - - @resource = { :class => TypusUser } - filter = 'role' - - request = 'role=admin&page=1' - @resource[:class].expects('role').returns([]) - output = string_filter(request, filter) - assert output.empty? - - end - -=end - -end \ No newline at end of file diff --git a/vendor/plugins/typus/test/helpers/admin/table_helper_test.rb b/vendor/plugins/typus/test/helpers/admin/table_helper_test.rb deleted file mode 100644 index f71f1bf..0000000 --- a/vendor/plugins/typus/test/helpers/admin/table_helper_test.rb +++ /dev/null @@ -1,266 +0,0 @@ -require 'test/helper' - -class Admin::TableHelperTest < ActiveSupport::TestCase - - include Admin::TableHelper - - include ActionView::Helpers::UrlHelper - include ActionController::UrlWriter - include ActionView::Helpers::TagHelper - include ActionView::Helpers::TextHelper - - def setup - default_url_options[:host] = 'test.host' - end - - # FIXME - def test_build_typus_table - - return - - @current_user = typus_users(:admin) - - params = { :controller => 'admin/typus_users', :action => 'index' } - self.expects(:params).at_least_once.returns(params) - - fields = TypusUser.typus_fields_for(:list) - items = TypusUser.find(:all) - - output = build_typus_table(TypusUser, fields, items) - expected = <<-HTML - -Email -Role -Status -  - - HTML - - assert_equal expected, output - - end - - def test_typus_table_header - - @current_user = mock() - @current_user.expects(:can?).with('delete', TypusUser).returns(true) - - fields = TypusUser.typus_fields_for(:list) - - params = { :controller => 'admin/typus_users', :action => 'index' } - self.expects(:params).at_least_once.returns(params) - - output = typus_table_header(TypusUser, fields) - expected = <<-HTML - -Email -Role -Status -  - - HTML - - assert_equal expected, output - - end - - def test_typus_table_header_with_params - - @current_user = mock() - @current_user.expects(:can?).with('delete', TypusUser).returns(true) - - fields = TypusUser.typus_fields_for(:list) - - params = { :controller => 'admin/typus_users', :action => 'index', :search => 'admin' } - self.expects(:params).at_least_once.returns(params) - - output = typus_table_header(TypusUser, fields) - expected = <<-HTML - -Email -Role -Status -  - - HTML - - assert_equal expected, output - - end - - def test_typus_table_header_when_user_cannot_delete_items - - @current_user = mock() - @current_user.expects(:can?).with('delete', TypusUser).returns(false) - - fields = TypusUser.typus_fields_for(:list) - - params = { :controller => 'admin/typus_users', :action => 'index' } - self.expects(:params).at_least_once.returns(params) - - output = typus_table_header(TypusUser, fields) - expected = <<-HTML - -Email -Role -Status - - HTML - - assert_equal expected, output - - end - - def test_typus_table_header_when_user_cannot_delete_items_with_params - - @current_user = mock() - @current_user.expects(:can?).with('delete', TypusUser).returns(false) - - fields = TypusUser.typus_fields_for(:list) - - params = { :controller => 'admin/typus_users', :action => 'index', :search => 'admin' } - self.expects(:params).at_least_once.returns(params) - - output = typus_table_header(TypusUser, fields) - expected = <<-HTML - -Email -Role -Status - - HTML - - assert_equal expected, output - - end - - - def test_typus_table_belongs_to_field - - @current_user = typus_users(:admin) - - comment = comments(:without_post_id) - output = typus_table_belongs_to_field('post', comment) - expected = "" - - assert_equal expected, output - default_url_options[:host] = 'test.host' - - comment = comments(:with_post_id) - output = typus_table_belongs_to_field('post', comment) - expected = <<-HTML -Post#1 - HTML - - assert_equal expected.strip, output - - end - - def test_typus_table_has_and_belongs_to_many_field - - post = Post.find(1) - - output = typus_table_has_and_belongs_to_many_field('comments', post) - expected = <<-HTML -John
    Me
    Me - HTML - - assert_equal expected.strip, output - - end - - def test_typus_table_string_field - - post = posts(:published) - output = typus_table_string_field(:title, post, :created_at) - expected = <<-HTML -#{post.title} - HTML - - assert_equal expected.strip, output - - end - - def test_typus_table_string_field_with_link - - post = posts(:published) - output = typus_table_string_field(:title, post, :title) - expected = <<-HTML -#{post.title} - HTML - - assert_equal expected.strip, output - - end - - def test_typus_table_tree_field - - return if !defined?(ActiveRecord::Acts::Tree) - - page = pages(:published) - output = typus_table_tree_field('test', page) - expected = <<-HTML - -HTML - - assert_equal expected, output - - page = pages(:unpublished) - output = typus_table_tree_field('test', page) - expected = <<-HTML -Page#1 -HTML - - assert_equal expected, output - - end - - def test_typus_table_datetime_field - - post = posts(:published) - Time::DATE_FORMATS[:post_short] = '%m/%y' - - output = typus_table_datetime_field(:created_at, post) - expected = <<-HTML -#{post.created_at.strftime('%m/%y')} - HTML - - assert_equal expected.strip, output - - end - - def test_typus_table_datetime_field_with_link - - post = posts(:published) - Time::DATE_FORMATS[:post_short] = '%m/%y' - - output = typus_table_datetime_field(:created_at, post, :created_at) - expected = <<-HTML -#{post.created_at.strftime('%m/%y')} - HTML - - assert_equal expected.strip, output - - end - - def test_typus_table_boolean_field - - post = typus_users(:admin) - output = typus_table_boolean_field('status', post) - expected = <<-HTML -Active - HTML - - assert_equal expected.strip, output - - post = typus_users(:disabled_user) - output = typus_table_boolean_field('status', post) - expected = <<-HTML -Inactive - HTML - - assert_equal expected.strip, output - - end - -end \ No newline at end of file diff --git a/vendor/plugins/typus/test/helpers/typus_helper_test.rb b/vendor/plugins/typus/test/helpers/typus_helper_test.rb deleted file mode 100644 index d233164..0000000 --- a/vendor/plugins/typus/test/helpers/typus_helper_test.rb +++ /dev/null @@ -1,144 +0,0 @@ -require 'test/helper' - -class TypusHelperTest < ActiveSupport::TestCase - - include TypusHelper - include ActionView::Helpers::UrlHelper - include ActionView::Helpers::TextHelper - include ActionController::UrlWriter - - def render(*args); args; end - - # FIXME: Pending to verify the applications included. Use the keys. - def test_applications - - @current_user = typus_users(:admin) - - output = applications - - partial = "admin/helpers/applications" - options = { :applications => { [ "Blog", [ "Comment", "Post" ] ]=> nil, - [ "Site", [ "Asset", "Page" ] ] => nil, - [ "System", [ "Delayed::Task" ] ] => nil, - [ "Typus", [ "TypusUser" ] ] => nil } } - - assert_equal partial, output.first - # assert_equal options, output.last - - end - - # FIXME: Pending to add the options. - def test_resources - - @current_user = typus_users(:admin) - - output = resources - partial = "admin/helpers/resources" - options = {} - - assert_equal partial, output.first - # assert_equal options, output.last - - end - - def test_typus_block_when_partial_does_not_exist - output = typus_block(:resource => 'posts', :location => 'sidebar', :partial => 'pum') - assert output.nil? - end - - def test_page_title - params = {} - options = { :app_name => 'whatistypus.com' } - Typus::Configuration.stubs(:options).returns(options) - output = page_title('custom_action') - assert_equal 'whatistypus.com - Custom action', output - end - - def test_header_with_root_path - - # Add root named route - ActionController::Routing::Routes.add_named_route :root, "/", { :controller => "posts" } - - # ActionView::Helpers::UrlHelper does not support strings, which are returned by named routes - # link root_path - self.stubs(:link_to).returns(%(View site)) - self.stubs(:link_to_unless_current).returns(%(Dashboard)) - - output = header - -=begin - expected = <<-HTML -

    #{Typus::Configuration.options[:app_name]}

    - - HTML -=end - - partial = "admin/helpers/header" - options = { :links => [ "Dashboard", - "Dashboard", - "View site" ] } - - assert_equal [ partial, options ], output - - end - - # TODO: Clean - def test_header_without_root_path - - # Remove root route from list - ActionController::Routing::Routes.named_routes.routes.reject! { |key, route| key == :root } - - self.stubs(:link_to_unless_current).returns(%(Dashboard)) - -=begin - expected = <<-HTML -

    #{Typus::Configuration.options[:app_name]}

    - - HTML -=end - - output = header - partial = "admin/helpers/header" - options = { :links => [ "Dashboard", - "Dashboard" ] } - - assert_equal [ partial, options ], output - - end - - def test_display_flash_message - - message = { :test => 'This is the message.' } - - output = display_flash_message(message) - -=begin - expected = <<-HTML -
    -

    This is the message.

    -
    - HTML -=end - - partial = "admin/helpers/flash_message" - options = { :flash_type => :test, - :message => { :test => 'This is the message.' } } - - assert_equal [ partial, options ], output - - end - - def test_display_flash_message_with_empty_message - message = {} - output = display_flash_message(message) - assert output.nil? - end - -end \ No newline at end of file diff --git a/vendor/plugins/typus/test/lib/active_record_test.rb b/vendor/plugins/typus/test/lib/active_record_test.rb deleted file mode 100644 index 8a806bf..0000000 --- a/vendor/plugins/typus/test/lib/active_record_test.rb +++ /dev/null @@ -1,356 +0,0 @@ -require "test/helper" - -class ActiveRecordTest < ActiveSupport::TestCase - - def test_should_verify_model_fields_is_an_instance_of_active_support_ordered_hash - assert TypusUser.model_fields.instance_of?(ActiveSupport::OrderedHash) - end - - def test_should_return_model_fields_for_typus_user - expected_fields = [[:id, :integer], - [:first_name, :string], - [:last_name, :string], - [:role, :string], - [:email, :string], - [:status, :boolean], - [:token, :string], - [:salt, :string], - [:crypted_password, :string], - [:preferences, :string], - [:created_at, :datetime], - [:updated_at, :datetime]] - assert_equal expected_fields.map { |i| i.first }, TypusUser.model_fields.keys - assert_equal expected_fields.map { |i| i.last }, TypusUser.model_fields.values - end - - def test_should_return_model_fields_for_post - expected_fields = [[:id, :integer], - [:title, :string], - [:body, :text], - [:status, :string], - [:favorite_comment_id, :integer], - [:created_at, :datetime], - [:updated_at, :datetime], - [:published_at, :datetime], - [:typus_user_id, :integer]] - assert_equal expected_fields.map { |i| i.first }, Post.model_fields.keys - assert_equal expected_fields.map { |i| i.last }, Post.model_fields.values - end - - def test_should_verify_model_relationships_is_an_instance_of_active_support_ordered_hash - assert TypusUser.model_relationships.instance_of?(ActiveSupport::OrderedHash) - end - - def test_should_return_model_relationships_for_post - expected = [[:comments, :has_many], - [:categories, :has_and_belongs_to_many], - [:user, nil], - [:assets, :has_many]] - expected.each do |i| - assert_equal i.last, Post.model_relationships[i.first] - end - end - - def test_should_return_description_of_a_model - assert TypusUser.respond_to?(:typus_description) - assert_equal "System Users Administration", TypusUser.typus_description - end - - def test_should_return_typus_fields_for_list_for_typus_user - expected_fields = [["email", :string], - ["role", :selector], - ["status", :boolean]] - assert_equal expected_fields.map { |i| i.first }, TypusUser.typus_fields_for("list").keys - assert_equal expected_fields.map { |i| i.last }, TypusUser.typus_fields_for("list").values - assert_equal expected_fields.map { |i| i.first }, TypusUser.typus_fields_for(:list).keys - assert_equal expected_fields.map { |i| i.last }, TypusUser.typus_fields_for(:list).values - end - - def test_should_return_typus_fields_for_list_for_post - expected_fields = [["title", :string], - ["created_at", :datetime], - ["status", :selector]] - assert_equal expected_fields.map { |i| i.first }, Post.typus_fields_for("list").keys - assert_equal expected_fields.map { |i| i.last }, Post.typus_fields_for("list").values - assert_equal expected_fields.map { |i| i.first }, Post.typus_fields_for(:list).keys - assert_equal expected_fields.map { |i| i.last }, Post.typus_fields_for(:list).values - end - - def test_should_return_typus_fields_for_form_for_typus_user - expected_fields = [["first_name", :string], - ["last_name", :string], - ["role", :selector], - ["email", :string], - ["password", :password], - ["password_confirmation", :password]] - assert_equal expected_fields.map { |i| i.first }, TypusUser.typus_fields_for("form").keys - assert_equal expected_fields.map { |i| i.last }, TypusUser.typus_fields_for("form").values - assert_equal expected_fields.map { |i| i.first }, TypusUser.typus_fields_for(:form).keys - assert_equal expected_fields.map { |i| i.last }, TypusUser.typus_fields_for(:form).values - end - - def test_should_return_typus_fields_for_form_for_picture - expected_fields = [["title", :string], - ["picture", :file]] - assert_equal expected_fields.map { |i| i.first }, Picture.typus_fields_for("form").keys - assert_equal expected_fields.map { |i| i.last }, Picture.typus_fields_for("form").values - assert_equal expected_fields.map { |i| i.first }, Picture.typus_fields_for(:form).keys - assert_equal expected_fields.map { |i| i.last }, Picture.typus_fields_for(:form).values - end - - def test_should_return_typus_fields_for_a_model_without_configuration - expected_fields = [] - klass = Class.new(ActiveRecord::Base) - assert_equal expected_fields, klass.typus_fields_for(:form) - assert_equal expected_fields, klass.typus_fields_for(:list) - end - - def test_should_return_typus_fields_for_relationship_for_typus_user - expected_fields = [["email", :string], - ["role", :selector], - ["status", :boolean]] - assert_equal expected_fields.map { |i| i.first }, TypusUser.typus_fields_for("relationship").keys - assert_equal expected_fields.map { |i| i.last }, TypusUser.typus_fields_for("relationship").values - assert_equal expected_fields.map { |i| i.first }, TypusUser.typus_fields_for(:relationship).keys - assert_equal expected_fields.map { |i| i.last }, TypusUser.typus_fields_for(:relationship).values - end - - def test_should_return_all_fields_for_undefined_field_type_on_typus_user - expected_fields = [["email", :string], - ["role", :selector], - ["status", :boolean]] - assert_equal expected_fields.map { |i| i.first }, TypusUser.typus_fields_for("undefined").keys - assert_equal expected_fields.map { |i| i.last }, TypusUser.typus_fields_for("undefined").values - assert_equal expected_fields.map { |i| i.first }, TypusUser.typus_fields_for(:undefined).keys - assert_equal expected_fields.map { |i| i.last }, TypusUser.typus_fields_for(:undefined).values - end - - def test_should_return_filters_for_typus_user - expected = [["status", :boolean], - ["role", :string]] - assert_equal "status, role", Typus::Configuration.config["TypusUser"]["filters"] - assert_equal expected.map { |i| i.first }, TypusUser.typus_filters.keys - assert_equal expected.map { |i| i.last }, TypusUser.typus_filters.values - end - - def test_should_return_post_typus_filters - expected = [["status", :string], - ["created_at", :datetime], - ["user", nil], - ["user_id", nil]] - assert_equal expected.map { |i| i.first }.join(", "), Typus::Configuration.config["Post"]["filters"] - assert_equal expected.map { |i| i.first }, Post.typus_filters.keys - assert_equal expected.map { |i| i.last }, Post.typus_filters.values - end - - def test_should_return_actions_on_list_for_typus_user - assert TypusUser.typus_actions_on("list").empty? - assert TypusUser.typus_actions_on(:list).empty? - end - - def test_should_return_post_actions_on_index - assert_equal %w( cleanup ), Post.typus_actions_on("index") - assert_equal %w( cleanup ), Post.typus_actions_on(:index) - end - - def test_should_return_post_actions_on_edit - assert_equal %w( send_as_newsletter preview ), Post.typus_actions_on("edit") - assert_equal %w( send_as_newsletter preview ), Post.typus_actions_on(:edit) - end - - def test_should_return_post_actions - assert_equal %w( cleanup preview send_as_newsletter ), Post.typus_actions.sort - end - - def test_should_return_field_options_for_post - assert_equal [ :status ], Post.typus_field_options_for("selectors") - assert_equal [ :status ], Post.typus_field_options_for(:selectors) - assert_equal [ :permalink ], Post.typus_field_options_for("read_only") - assert_equal [ :permalink ], Post.typus_field_options_for(:read_only) - assert_equal [ :created_at ], Post.typus_field_options_for("auto_generated") - assert_equal [ :created_at ], Post.typus_field_options_for(:auto_generated) - end - - def test_should_return_options_for_post_and_page - - assert_equal 15, Post.typus_options_for(:form_rows) - assert_equal 15, Post.typus_options_for("form_rows") - - assert_equal 25, Page.typus_options_for(:form_rows) - assert_equal 25, Page.typus_options_for("form_rows") - - assert_equal 15, Asset.typus_options_for(:form_rows) - assert_equal 15, Asset.typus_options_for("form_rows") - - assert_equal 15, TypusUser.typus_options_for(:form_rows) - assert_equal 15, TypusUser.typus_options_for("form_rows") - - assert Page.typus_options_for(:on_header) - assert !TypusUser.typus_options_for(:on_header) - - assert_nil TypusUser.typus_options_for(:unexisting) - - end - - def test_should_verify_typus_boolean_is_an_instance_of_active_support_ordered_hash - assert TypusUser.typus_boolean("status").instance_of?(ActiveSupport::OrderedHash) - end - - def test_should_return_booleans_for_typus_users - assert_equal [ :true, :false ], TypusUser.typus_boolean("status").keys - assert_equal [ "Active", "Inactive" ], TypusUser.typus_boolean("status").values - assert_equal [ :true, :false ], TypusUser.typus_boolean(:status).keys - assert_equal [ "Active", "Inactive" ], TypusUser.typus_boolean(:status).values - end - - def test_should_return_booleans_for_post - assert_equal [ :true, :false ], Post.typus_boolean("status").keys - assert_equal [ "True", "False" ], Post.typus_boolean("status").values - assert_equal [ :true, :false ], Post.typus_boolean(:status).keys - assert_equal [ "True", "False" ], Post.typus_boolean(:status).values - end - - def test_should_return_date_formats_for_post - assert_equal :post_short, Post.typus_date_format("created_at") - assert_equal :post_short, Post.typus_date_format(:created_at) - assert_equal :db, Post.typus_date_format - assert_equal :db, Post.typus_date_format("unknown") - assert_equal :db, Post.typus_date_format(:unknown) - end - - def test_should_return_defaults_for_post - assert_equal %w( title ), Post.typus_defaults_for("search") - assert_equal %w( title ), Post.typus_defaults_for(:search) - assert_equal %w( title -created_at ), Post.typus_defaults_for("order_by") - assert_equal %w( title -created_at ), Post.typus_defaults_for(:order_by) - end - - def test_should_return_relationships_for_post - assert_equal %w( assets categories comments views ), Post.typus_defaults_for("relationships") - assert_equal %w( assets categories comments views ), Post.typus_defaults_for(:relationships) - assert !Post.typus_defaults_for("relationships").empty? - assert !Post.typus_defaults_for(:relationships).empty? - end - - def test_should_return_order_by_for_model - assert_equal "posts.title ASC, posts.created_at DESC", Post.typus_order_by - assert_equal %w( title -created_at ), Post.typus_defaults_for("order_by") - assert_equal %w( title -created_at ), Post.typus_defaults_for(:order_by) - end - - def test_should_return_sql_conditions_on_search_for_typus_user - expected = "(first_name LIKE '%francesc%' OR last_name LIKE '%francesc%' OR email LIKE '%francesc%' OR role LIKE '%francesc%')" - params = { :search => "francesc" } - assert_equal expected, TypusUser.build_conditions(params).first - params = { :search => "Francesc" } - assert_equal expected, TypusUser.build_conditions(params).first - end - - def test_should_return_sql_conditions_on_search_and_filter_for_typus_user - - case ENV["DB"] - when /mysql/ - boolean_true = "(`typus_users`.`status` = 1)" - boolean_false = "(`typus_users`.`status` = 0)" - else - boolean_true = "(\"typus_users\".\"status\" = 't')" - boolean_false = "(\"typus_users\".\"status\" = 'f')" - end - - expected = "((first_name LIKE '%francesc%' OR last_name LIKE '%francesc%' OR email LIKE '%francesc%' OR role LIKE '%francesc%')) AND #{boolean_true}" - params = { :search => "francesc", :status => "true" } - assert_equal expected, TypusUser.build_conditions(params).first - params = { :search => "francesc", :status => "false" } - assert_match /#{boolean_false}/, TypusUser.build_conditions(params).first - - end - - def test_should_return_sql_conditions_on_filtering_typus_users_by_status - - case ENV["DB"] - when /mysql/ - boolean_true = "(`typus_users`.`status` = 1)" - boolean_false = "(`typus_users`.`status` = 0)" - else - boolean_true = "(\"typus_users\".\"status\" = 't')" - boolean_false = "(\"typus_users\".\"status\" = 'f')" - end - - params = { :status => "true" } - assert_equal boolean_true, TypusUser.build_conditions(params).first - params = { :status => "false" } - assert_equal boolean_false, TypusUser.build_conditions(params).first - - end - - def test_should_return_sql_conditions_on_filtering_typus_users_by_created_at - - expected = case ENV["DB"] - when /postgresql/ - "(created_at BETWEEN E'#{Time.new.midnight.to_s(:db)}' AND E'#{Time.new.midnight.tomorrow.to_s(:db)}')" - else - "(created_at BETWEEN '#{Time.new.midnight.to_s(:db)}' AND '#{Time.new.midnight.tomorrow.to_s(:db)}')" - end - params = { :created_at => "today" } - assert_equal expected, TypusUser.build_conditions(params).first - - expected = case ENV["DB"] - when /postgresql/ - "(created_at BETWEEN E'#{3.days.ago.midnight.to_s(:db)}' AND E'#{Time.new.midnight.tomorrow.to_s(:db)}')" - else - "(created_at BETWEEN '#{3.days.ago.midnight.to_s(:db)}' AND '#{Time.new.midnight.tomorrow.to_s(:db)}')" - end - params = { :created_at => "last_few_days" } - assert_equal expected, TypusUser.build_conditions(params).first - - expected = case ENV["DB"] - when /postgresql/ - "(created_at BETWEEN E'#{6.days.ago.midnight.to_s(:db)}' AND E'#{Time.new.midnight.tomorrow.to_s(:db)}')" - else - "(created_at BETWEEN '#{6.days.ago.midnight.to_s(:db)}' AND '#{Time.new.midnight.tomorrow.to_s(:db)}')" - end - params = { :created_at => "last_7_days" } - assert_equal expected, TypusUser.build_conditions(params).first - - - expected = case ENV["DB"] - when /postgresql/ - "(created_at BETWEEN E'#{Time.new.midnight.last_month.to_s(:db)}' AND E'#{Time.new.midnight.tomorrow.to_s(:db)}')" - else - "(created_at BETWEEN '#{Time.new.midnight.last_month.to_s(:db)}' AND '#{Time.new.midnight.tomorrow.to_s(:db)}')" - end - params = { :created_at => "last_30_days" } - assert_equal expected, TypusUser.build_conditions(params).first - - end - - def test_should_return_sql_conditions_on_filtering_posts_by_published_at - expected = case ENV["DB"] - when /postgresql/ - "(published_at BETWEEN E'#{Time.new.midnight.to_s(:db)}' AND E'#{Time.new.midnight.tomorrow.to_s(:db)}')" - else - "(published_at BETWEEN '#{Time.new.midnight.to_s(:db)}' AND '#{Time.new.midnight.tomorrow.to_s(:db)}')" - end - params = { :published_at => "today" } - assert_equal expected, Post.build_conditions(params).first - end - - def test_should_return_sql_conditions_on_filtering_posts_by_string - expected = case ENV["DB"] - when /postgresql/ - "(\"typus_users\".\"role\" = E'admin')" - when /mysql/ - "(`typus_users`.`role` = 'admin')" - else - "(\"typus_users\".\"role\" = 'admin')" - end - params = { :role => "admin" } - assert_equal expected, TypusUser.build_conditions(params).first - end - - def test_should_verify_typus_user_id - assert Post.typus_user_id? - assert !TypusUser.typus_user_id? - end - -end diff --git a/vendor/plugins/typus/test/lib/configuration_test.rb b/vendor/plugins/typus/test/lib/configuration_test.rb deleted file mode 100644 index 867679d..0000000 --- a/vendor/plugins/typus/test/lib/configuration_test.rb +++ /dev/null @@ -1,92 +0,0 @@ -require "test/helper" - -class ConfigurationTest < ActiveSupport::TestCase - - def test_should_verify_configuration_responds_to_options - assert Typus::Configuration.respond_to?(:options) - end - - def test_should_verify_application_wide_configuration_options - initializer = "#{Rails.root}/config/initializers/typus.rb" - return if File.exist?(initializer) - assert_equal "Typus", Typus::Configuration.options[:app_name] - assert_equal "vendor/plugins/typus/test/config/working", Typus::Configuration.options[:config_folder] - assert_equal "columbia", Typus::Configuration.options[:default_password] - assert_equal nil, Typus::Configuration.options[:email] - assert_equal :typus_preview, Typus::Configuration.options[:file_preview] - assert_equal :typus_thumbnail, Typus::Configuration.options[:file_thumbnail] - assert_equal "typus_users", Typus::Configuration.options[:relationship] - assert_equal "admin", Typus::Configuration.options[:root] - assert_equal "TypusUser", Typus::Configuration.options[:user_class_name] - assert_equal "typus_user_id", Typus::Configuration.options[:user_fk] - end - - def test_should_verify_model_configuration_options - initializer = "#{Rails.root}/config/initializers/typus.rb" - return if File.exist?(initializer) - assert_equal "edit", Typus::Configuration.options[:default_action_on_item] - assert_nil Typus::Configuration.options[:end_year] - assert_equal 15, Typus::Configuration.options[:form_rows] - assert_equal false, Typus::Configuration.options[:index_after_save] - assert_equal 5, Typus::Configuration.options[:minute_step] - assert_equal "nil", Typus::Configuration.options[:nil] - assert_equal false, Typus::Configuration.options[:on_header] - assert_equal false, Typus::Configuration.options[:only_user_items] - assert_equal 15, Typus::Configuration.options[:per_page] - assert_equal 5, Typus::Configuration.options[:sidebar_selector] - assert_nil Typus::Configuration.options[:start_year] - end - - def test_should_verify_typus_roles_is_loaded - assert Typus::Configuration.respond_to?(:roles!) - assert Typus::Configuration.roles!.kind_of?(Hash) - end - - def test_should_verify_typus_config_file_is_loaded - assert Typus::Configuration.respond_to?(:config!) - assert Typus::Configuration.config!.kind_of?(Hash) - end - - def test_should_load_configuration_files_from_config_broken - options = { :config_folder => "vendor/plugins/typus/test/config/broken" } - Typus::Configuration.stubs(:options).returns(options) - assert_not_equal Hash.new, Typus::Configuration.roles! - assert_not_equal Hash.new, Typus::Configuration.config! - end - - def test_should_load_configuration_files_from_config_empty - options = { :config_folder => "vendor/plugins/typus/test/config/empty" } - Typus::Configuration.stubs(:options).returns(options) - assert_equal Hash.new, Typus::Configuration.roles! - assert_equal Hash.new, Typus::Configuration.config! - end - - def test_should_load_configuration_files_from_config_ordered - options = { :config_folder => "vendor/plugins/typus/test/config/ordered" } - Typus::Configuration.stubs(:options).returns(options) - files = Dir["#{Rails.root}/#{Typus::Configuration.options[:config_folder]}/*_roles.yml"] - expected = files.collect { |file| File.basename(file) }.sort - assert_equal expected, ["001_roles.yml", "002_roles.yml"] - expected = { "admin" => { "categories" => "read" } } - assert_equal expected, Typus::Configuration.roles! - end - - def test_should_load_configuration_files_from_config_unordered - options = { :config_folder => "vendor/plugins/typus/test/config/unordered" } - Typus::Configuration.stubs(:options).returns(options) - files = Dir["#{Rails.root}/#{Typus::Configuration.options[:config_folder]}/*_roles.yml"] - expected = files.collect { |file| File.basename(file) } - assert_equal expected, ["app_one_roles.yml", "app_two_roles.yml"] - expected = { "admin" => { "categories" => "read, update" } } - assert_equal expected, Typus::Configuration.roles! - end - - def test_should_load_configuration_files_from_config_default - options = { :config_folder => "vendor/plugins/typus/test/config/default" } - Typus::Configuration.stubs(:options).returns(options) - assert_not_equal Hash.new, Typus::Configuration.roles! - assert_not_equal Hash.new, Typus::Configuration.config! - assert Typus.resources.empty? - end - -end \ No newline at end of file diff --git a/vendor/plugins/typus/test/lib/routes_test.rb b/vendor/plugins/typus/test/lib/routes_test.rb deleted file mode 100644 index 63ed69d..0000000 --- a/vendor/plugins/typus/test/lib/routes_test.rb +++ /dev/null @@ -1,71 +0,0 @@ -require 'test/helper' - -class RoutesTest < ActiveSupport::TestCase - - include ActionController::TestCase::Assertions - - def test_should_verify_admin_named_routes - - routes = ActionController::Routing::Routes.named_routes.routes.keys - - expected = [ :admin_sign_up, :admin_sign_in, :admin_sign_out, - :admin_recover_password, :admin_reset_password, - :admin_dashboard, - :admin_quick_edit ] - - expected.each { |route| assert routes.include?(route) } - - end - - def test_should_verify_admin_named_routes_for_typus_users - - routes = ActionController::Routing::Routes.named_routes.routes.keys - - expected = [ :admin_typus_users, - :admin_typus_user ] - - expected.each { |route| assert !routes.include?(route) } - - expected = [ :relate_admin_typus_user, - :unrelate_admin_typus_user ] - - expected.each { |route| assert !routes.include?(route) } - - end - - def test_should_verify_default_admin_named_routes_for_posts - - routes = ActionController::Routing::Routes.named_routes.routes.keys - - expected = [ :admin_posts, - :admin_post ] - - expected.each { |route| assert !routes.include?(route) } - - end - - def test_should_verify_custom_admin_named_routes_for_posts - - routes = ActionController::Routing::Routes.named_routes.routes.keys - - expected = [ :cleanup_admin_posts, - :send_as_newsletter_admin_post, - :preview_admin_post ] - - expected.each { |route| assert !routes.include?(route) } - - end - - def test_should_verify_generated_routes_for_typus_controller - - assert_routing '/admin', :controller => 'typus', :action => 'dashboard' - - actions = [ 'sign_up', 'sign_in', 'sign_out', - 'recover_password', 'reset_password', - 'quick_edit' ] - - actions.each { |a| assert_routing "/admin/#{a}", :controller => 'typus', :action => a } - - end - -end \ No newline at end of file diff --git a/vendor/plugins/typus/test/lib/typus_test.rb b/vendor/plugins/typus/test/lib/typus_test.rb deleted file mode 100644 index 960dd22..0000000 --- a/vendor/plugins/typus/test/lib/typus_test.rb +++ /dev/null @@ -1,69 +0,0 @@ -require 'test/helper' - -class TypusTest < ActiveSupport::TestCase - - def test_should_return_path - expected = Dir.pwd + '/lib/../' - assert_equal expected, Typus.root - end - - def test_should_return_applications_and_should_be_sorted - assert Typus.respond_to?(:applications) - assert Typus.applications.kind_of?(Array) - assert_equal %w( Blog Site System Typus ), Typus.applications - end - - def test_should_return_modules_of_an_application - assert Typus.respond_to?(:application) - assert_equal %w( Comment Post ), Typus.application('Blog') - end - - def test_should_return_models_and_should_be_sorted - assert Typus.respond_to?(:models) - assert Typus.models.kind_of?(Array) - assert_equal %w( Asset Category Comment CustomUser Delayed::Task Page Post TypusUser View ), Typus.models - end - - def test_should_return_an_array_of_models_on_header - assert Typus.models_on_header.kind_of?(Array) - assert_equal ["Page"], Typus.models_on_header - end - - # FIXME: Somehow excludes the Order resource. - def test_should_verify_resources_class_method - return - assert Typus.respond_to?(:resources) - assert_equal %w( Git Order Status WatchDog ), Typus.resources - end - - def test_should_return_user_class - assert_equal TypusUser, Typus.user_class - end - - def test_should_return_overwritted_user_class - options = { :user_class_name => 'CustomUser' } - Typus::Configuration.stubs(:options).returns(options) - assert_equal CustomUser, Typus.user_class - end - - def test_should_return_user_fk - assert_equal 'typus_user_id', Typus.user_fk - end - - def test_should_return_overwritted_user_fk - options = { :user_fk => 'my_user_fk' } - Typus::Configuration.stubs(:options).returns(options) - assert_equal 'my_user_fk', Typus.user_fk - end - - def test_should_return_relationship - assert_equal 'typus_users', Typus.relationship - end - - def test_should_return_overwritted_user_fk - options = { :relationship => 'my_typus_users' } - Typus::Configuration.stubs(:options).returns(options) - assert_equal 'my_typus_users', Typus.relationship - end - -end \ No newline at end of file diff --git a/vendor/plugins/typus/test/schema.rb b/vendor/plugins/typus/test/schema.rb deleted file mode 100644 index 0b2c77a..0000000 --- a/vendor/plugins/typus/test/schema.rb +++ /dev/null @@ -1,86 +0,0 @@ -ActiveRecord::Migration.verbose = false - -ActiveRecord::Schema.define do - - create_table :assets, :force => true do |t| - t.string :caption - t.string :resource_type - t.integer :resource_id - t.integer :position - end - - create_table :categories, :force => true do |t| - t.string :name - t.string :permalink - t.text :description - t.integer :position - end - - create_table :comments, :force => true do |t| - t.string :email, :name - t.text :body - t.integer :post_id - end - - add_index :comments, :post_id - - create_table :delayed_tasks, :force => true do |t| - t.string :name - end - - create_table :pages, :force => true do |t| - t.string :title - t.text :body - t.boolean :is_published - t.integer :parent_id - end - - create_table :posts, :force => true do |t| - t.string :title - t.text :body - t.string :status - t.integer :favorite_comment_id - t.timestamps - t.datetime :published_at - t.integer :typus_user_id - end - - create_table :pictures, :force => true do |t| - t.string :title - t.string :picture_file_name - t.string :picture_content_type - t.integer :picture_file_size - t.datetime :picture_updated_at - t.datetime :created_at - t.datetime :updated_at - t.integer :typus_user_id - end - - create_table :typus_users, :force => true do |t| - t.string :first_name, :default => "", :null => false - t.string :last_name, :default => "", :null => false - t.string :role, :null => false - t.string :email, :null => false - t.boolean :status, :default => false - t.string :token, :null => false - t.string :salt, :null => false - t.string :crypted_password, :null => false - t.string :preferences - t.timestamps - end - - create_table :views, :force => true do |t| - t.string :ip, :default => '127.0.0.1' - t.integer :post_id - t.timestamps - end - - create_table :categories_posts, :force => true, :id => false do |t| - t.column :category_id, :integer - t.column :post_id, :integer - end - - add_index :categories_posts, :category_id - add_index :categories_posts, :post_id - -end diff --git a/vendor/plugins/typus/test/unit/typus_mailer_test.rb b/vendor/plugins/typus/test/unit/typus_mailer_test.rb deleted file mode 100644 index 9345f53..0000000 --- a/vendor/plugins/typus/test/unit/typus_mailer_test.rb +++ /dev/null @@ -1,29 +0,0 @@ -require 'test/helper' - -class TypusMailerTest < ActiveSupport::TestCase - - def setup - @user = typus_users(:admin) - url = "http://test.host/admin/reset_password?token=#{@user.token}" - @response = TypusMailer.deliver_reset_password_link(@user, url) - end - - def test_should_verify_email_from_is_defined_by_typus_options - assert_equal Typus::Configuration.options[:email], @response.from - end - - def test_should_verify_email_to_is_typus_user_email - assert_equal [ @user.email ], @response.to - end - - def test_should_verify_email_subject - expected = "[#{Typus::Configuration.options[:app_name]}] Reset password" - assert_equal expected, @response.subject - end - - def test_should_verify_email_contains_reset_password_link_with_token - expected = "http://test.host/admin/reset_password?token=1A2B3C4D5E6F" - assert_match expected, @response.body - end - -end \ No newline at end of file diff --git a/vendor/plugins/typus/test/unit/typus_test.rb b/vendor/plugins/typus/test/unit/typus_test.rb deleted file mode 100644 index 467beb6..0000000 --- a/vendor/plugins/typus/test/unit/typus_test.rb +++ /dev/null @@ -1,17 +0,0 @@ -require 'test/helper' - -class TypusTest < ActiveSupport::TestCase - - def test_should_verify_models - models = [ Category, Comment, Post, TypusUser ] - models.each { |m| assert m.superclass.equal?(ActiveRecord::Base) } - end - - def test_should_verify_fixtures_are_loaded - assert_equal 3, Category.count - assert_equal 4, Comment.count - assert_equal 4, Post.count - assert_equal 5, TypusUser.count - end - -end \ No newline at end of file diff --git a/vendor/plugins/typus/test/unit/typus_user_roles_test.rb b/vendor/plugins/typus/test/unit/typus_user_roles_test.rb deleted file mode 100644 index fd47a4a..0000000 --- a/vendor/plugins/typus/test/unit/typus_user_roles_test.rb +++ /dev/null @@ -1,97 +0,0 @@ -require 'test/helper' - -class TypusUserRolesTest < ActiveSupport::TestCase - - def test_should_get_list_of_roles - roles = %w( admin designer editor ) - assert_equal roles, Typus::Configuration.roles.map(&:first).sort - end - - def test_admin_role_settings - - typus_user = typus_users(:admin) - assert_equal 'admin', typus_user.role - - models = %w( Asset Category Comment Delayed::Task Git Page Post Status TypusUser View WatchDog ) - assert_equal models, typus_user.resources.map(&:first).sort - - # Order exists on the roles, but, as we compact the hash, the - # resource is removed. - assert !typus_user.resources.map(&:first).include?('Order') - - resources = %w( Git Status WatchDog ) - models.delete_if { |m| resources.include?(m) } - - %w( create read update destroy ).each do |action| - models.each { |model| assert typus_user.can?(action, model), "Error on #{model} #{action}" } - end - - # Order resource doesn't have an index action, so we current user - # cannot perform the action. - assert typus_user.cannot?('index', 'Order') - - # Status resource has an index action, but not a show one. - # We add the { :special => true } option to by-pass the action - # renaming performed in the TypusUser#can? method. - assert typus_user.can?('index', 'Status', { :special => true }) - assert typus_user.cannot?('show', 'Status', { :special => true }) - - end - - def test_editor_role_settings - - typus_user = typus_users(:editor) - assert_equal 'editor', typus_user.role - - %w( Category Comment Git Post TypusUser ).each do |model| - assert typus_user.resources.map(&:first).include?(model) - end - - # Category: create, read, update - %w( create read update ).each { |action| assert typus_user.can?(action, 'Category') } - %w( delete ).each { |action| assert typus_user.cannot?(action, 'Category') } - - # Post: create, read, update - %w( create read update ).each { |action| assert typus_user.can?(action, 'Post') } - %w( delete ).each { |action| assert typus_user.cannot?(action, 'Post') } - - # Comment: read, update, delete - %w( read update delete ).each { |action| assert typus_user.can?(action, 'Comment') } - %w( create ).each { |action| assert typus_user.cannot?(action, 'Comment') } - - # TypusUser: read, update - %w( read update ).each { |action| assert typus_user.can?(action, 'TypusUser') } - %w( create delete ).each { |action| assert typus_user.cannot?(action, 'TypusUser') } - - end - - def test_designer_role_settings - - typus_user = typus_users(:designer) - assert_equal 'designer', typus_user.role - - models = %w( Category Comment Post ) - assert_equal models, typus_user.resources.map(&:first).sort - - # Category: read, update - %w( read update ).each { |action| assert typus_user.can?(action, 'Category') } - %w( create delete ).each { |action| assert typus_user.cannot?(action, 'Category') } - - # Comment: read - %w( read ).each { |action| assert typus_user.can?(action, 'Comment') } - %w( create update delete ).each { |action| assert typus_user.cannot?(action, 'Comment') } - - # Post: read, update - %w( read update ).each { |action| assert typus_user.can?(action, 'Post') } - %w( create delete ).each { |action| assert typus_user.cannot?(action, 'Post') } - - end - - def test_admin_can_perform_any_action_on_delayed_task_model - typus_user = typus_users(:admin) - action = 'whatever_i_want_to' - klass = Delayed::Task - assert typus_user.can?(action, klass), "Admin can't perform `#{action}` on `#{klass}`." - end - -end \ No newline at end of file diff --git a/vendor/plugins/typus/test/unit/typus_user_test.rb b/vendor/plugins/typus/test/unit/typus_user_test.rb deleted file mode 100644 index e5c99b8..0000000 --- a/vendor/plugins/typus/test/unit/typus_user_test.rb +++ /dev/null @@ -1,179 +0,0 @@ -require 'test/helper' - -class TypusUserTest < ActiveSupport::TestCase - - def setup - @data = { :first_name => '', - :last_name => '', - :email => 'test@example.com', - :password => '12345678', - :password_confirmation => '12345678', - :role => Typus::Configuration.options[:root], - :preferences => { :locale => :en } } - @typus_user = TypusUser.new(@data) - end - - def test_should_verify_typus_user_attributes - [ :first_name, :last_name, :email, :role, :salt, :crypted_password ].each do |attribute| - assert TypusUser.instance_methods.map { |i| i.to_sym }.include?(attribute) - end - end - - def test_should_verify_definition_on_instance_methods - [ :is_root?, :authenticated? ].each do |instance_method| - assert TypusUser.instance_methods.map { |i| i.to_sym }.include?(instance_method) - end - end - - def test_should_verify_email_format - @typus_user.email = 'admin' - assert @typus_user.invalid? - assert @typus_user.errors.invalid?(:email) - end - - def test_should_verify_email_is_not_valid - email = <<-RAW -this_is_chelm@example.com - - RAW - @typus_user.email = email - assert @typus_user.invalid? - assert @typus_user.errors.invalid?(:email) - end - - def test_should_verify_emails_are_downcase - email = 'TEST@EXAMPLE.COM' - @typus_user.email = email - assert @typus_user.invalid? - assert @typus_user.errors.invalid?(:email) - end - - def test_should_verify_some_valid_emails_schemas - emails = [ 'test+filter@example.com', - 'test.filter@example.com', - 'test@example.co.uk', - 'test@example.es' ] - emails.each do |email| - @typus_user.email = email - assert @typus_user.valid? - end - end - - def test_should_verify_invalid_emails_are_detected - emails = [ 'test@example', 'test@example.c', 'testexample.com' ] - emails.each do |email| - @typus_user.email = email - assert @typus_user.invalid? - assert @typus_user.errors.invalid?(:email) - end - end - - def test_should_verify_email_is_unique - @typus_user.save - @another_typus_user = TypusUser.new(@data) - assert @another_typus_user.invalid? - assert @another_typus_user.errors.invalid?(:email) - end - - def test_should_verify_length_of_password_when_under_within - @typus_user.password = '1234' - @typus_user.password_confirmation = '1234' - assert @typus_user.invalid? - assert @typus_user.errors.invalid?(:password) - end - - def test_should_verify_length_of_password_when_its_within_on_lower_limit - @typus_user.password = '=' * 8 - @typus_user.password_confirmation = '=' * 8 - assert @typus_user.valid? - end - - def test_should_verify_length_of_password_when_its_within_on_upper_limit - @typus_user.password = '=' * 40 - @typus_user.password_confirmation = '=' * 40 - assert @typus_user.valid? - end - - def test_should_verify_length_of_password_when_its_over_within - @typus_user.password = '=' * 50 - @typus_user.password_confirmation = '=' * 50 - assert @typus_user.invalid? - assert @typus_user.errors.invalid?(:password) - end - - def test_should_verify_confirmation_of_password - - @typus_user.password = '12345678' - @typus_user.password_confirmation = '87654321' - assert @typus_user.invalid? - assert @typus_user.errors.invalid?(:password) - - @typus_user.password = '12345678' - @typus_user.password_confirmation = '' - assert @typus_user.invalid? - assert @typus_user.errors.invalid?(:password) - - end - - def test_should_verify_role - @typus_user.role = '' - assert @typus_user.invalid? - assert @typus_user.errors.invalid?(:role) - assert_equal "can't be blank", @typus_user.errors[:role] - end - - def test_should_return_name_when_only_email - assert_equal @typus_user.email, @typus_user.name - end - - def test_should_return_name_when_theres_first_name_and_last_name - @typus_user.first_name = 'John' - @typus_user.last_name = 'Smith' - assert_equal 'John Smith', @typus_user.name - end - - def test_should_return_verify_is_root - assert @typus_user.is_root? - editor = typus_users(:editor) - assert editor.is_not_root? - end - - def test_should_verify_authenticated - @typus_user.save - assert @typus_user.authenticated?('12345678') - assert !@typus_user.authenticated?('87654321') - end - - def test_should_verify_typus_user_can_be_created - assert_difference 'TypusUser.count' do - TypusUser.create(@data) - end - end - - def test_should_verify_salt_on_user_never_changes - - @typus_user.save - salt = @typus_user.salt - crypted_password = @typus_user.crypted_password - - @typus_user.update_attributes :password => '11111111', :password_confirmation => '11111111' - assert_equal salt, @typus_user.salt - assert_not_equal crypted_password, @typus_user.crypted_password - - end - - def test_should_verify_generate - assert TypusUser.respond_to?(:generate) - assert TypusUser.generate(:email => 'demo@example.com', :password => 'XXXXXXXX').invalid? - assert TypusUser.generate(:email => 'demo@example.com', :password => 'XXXXXXXX', :role => 'admin').valid? - end - - def test_should_verify_can? - assert TypusUser.instance_methods.map { |i| i.to_sym }.include?(:can?) - @current_user = TypusUser.find(:first) - assert @current_user.can?('delete', TypusUser) - assert @current_user.can?('delete', 'TypusUser') - assert !@current_user.cannot?('delete', 'TypusUser') - end - -end \ No newline at end of file diff --git a/vendor/plugins/typus/test/vendor/paginator_test.rb b/vendor/plugins/typus/test/vendor/paginator_test.rb deleted file mode 100644 index 29235fb..0000000 --- a/vendor/plugins/typus/test/vendor/paginator_test.rb +++ /dev/null @@ -1,138 +0,0 @@ -require 'test/helper' - -class PaginatorTest < ActiveSupport::TestCase - - PER_PAGE = 10 - - def setup - @data = (0..43).to_a - @pager = Paginator.new(@data.size, PER_PAGE) do |offset,per_page| - @data[offset,per_page] - end - end - - def test_initializing_paginator_raises_exception - assert_raises(Paginator::MissingSelectError) do - @pager = Paginator.new(@data.size, PER_PAGE) - end - end - - def test_can_get_last_page_from_page_object - assert_equal @pager.last, @pager.page(2).last - end - - # FIXME: Problem with paginator.rb. - def test_can_get_first_page_from_page_object - return - assert_equal @pager.first, @pager.page(2).first - end - - def test_does_not_exceed_per_page - @pager.each do |page| - assert page.items.size <= PER_PAGE - end - end - - def test_only_last_page_has_less_items - @pager.each do |page| - if page != @pager.last - assert page.items.size <= PER_PAGE - else - assert page.items.size < PER_PAGE - end - end - end - - def test_returns_correct_first_page - assert_equal @pager.page(1).number, @pager.first.number - end - - def test_returns_correct_last_page - assert_equal @pager.page(5).number, @pager.last.number - end - - def test_last_page_has_no_next_page - assert !@pager.last.next? - assert !@pager.last.next - end - - def test_first_page_has_no_prev_page - assert !@pager.first.prev? - assert !@pager.first.prev - end - - def test_page_enumerable - @pager.each do |page| - assert page - page.each do |item| - assert item - end - page.each_with_index do |item, index| - assert_equal page.items[index], item - end - assert_equal page.items, page.inject([]) { |list, item| list << item } - end - end - - def test_each_with_index - page_offset = 0 - @pager.each_with_index do |page, page_index| - assert page - assert_equal page_offset, page_index - item_offset = 0 - page.each_with_index do |item, item_index| - assert item - assert_equal item_offset, item_index - item_offset += 1 - end - page_offset += 1 - end - end - - def test_number_of_pages - assert_equal 5, @pager.number_of_pages - end - - def test_passing_block_to_initializer_with_arity_of_two_yields_per_page - pager = Paginator.new(20,2) do |offset,per_page| - assert_equal 2, per_page - end - pager.page(1).items - end - - def test_passing_block_to_initializer_with_arity_of_one_does_not_yield_per_page - pager = Paginator.new(20,2) do |offset| - assert_equal 0, offset - end - pager.page(1).items - end - - def test_page_object_knows_first_and_last_item_numbers - items = (1..11).to_a - pager = Paginator.new(items.size,3) do |offset, per_page| - items[offset, per_page] - end - page = pager.page(1) - assert_equal 1, page.first_item_number - assert_equal 3, page.last_item_number - page = pager.page(2) - assert_equal 4, page.first_item_number - assert_equal 6, page.last_item_number - page = pager.page(3) - assert_equal 7, page.first_item_number - assert_equal 9, page.last_item_number - page = pager.page(4) - assert_equal 10, page.first_item_number - assert_equal 11, page.last_item_number - end - -end - -class PaginatorTestWithMathN < PaginatorTest - - def setup - require 'mathn' - super - end - -end \ No newline at end of file diff --git a/vendor/plugins/typus/typus.gemspec b/vendor/plugins/typus/typus.gemspec deleted file mode 100644 index 2db962b..0000000 --- a/vendor/plugins/typus/typus.gemspec +++ /dev/null @@ -1,24 +0,0 @@ -# -*- encoding: utf-8 -*- -lib = File.expand_path('../lib/', __FILE__) -$:.unshift lib unless $:.include?(lib) - -require "typus/version" - -Gem::Specification.new do |s| - - s.name = "typus" - s.version = Typus::VERSION - s.platform = Gem::Platform::RUBY - s.authors = ["Francesc Esplugas"] - s.email = ["francesc@intraducibles.com"] - s.homepage = "http://labs.intraducibles.com/projects/typus" - s.summary = "Effortless backend interface for Ruby on Rails applications. (Admin scaffold generator.)" - s.description = "Awesone admin scaffold generator for Ruby on Rails applications." - - s.required_rubygems_version = ">= 1.3.6" - s.rubyforge_project = "typus" - - s.files = Dir.glob("**/*") - s.require_path = "lib" - -end