SQL (0.2ms)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.1ms) select sqlite_version(*) SQL (1.6ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  SQL (0.0ms) PRAGMA index_list("schema_migrations") SQL (1.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 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.3ms)  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 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.3ms)  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.3ms)  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 CreatePages (20110701011920) SQL (0.0ms) select sqlite_version(*) SQL (0.3ms) CREATE TABLE "pages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "created_at" datetime, "updated_at" datetime)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110701011920') 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("pages") SQL (0.1ms)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  DEPRECATION WARNING: config.action_view.debug_rjs will be removed in 3.1, from 3.1 onwards you will need to install prototype-rails to continue to use RJS templates . (called from service at /Users/pbartels/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/webrick/httpserver.rb:111) Started GET "/" for 127.0.0.1 at 2011-07-01 16:05:54 +1200 ActionController::RoutingError (No route matches "/"): Rendered /Users/pbartels/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.9/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.8ms) Started GET "/" for 127.0.0.1 at 2011-07-01 16:06:20 +1200 Processing by PagesController#index as HTML Completed 500 Internal Server Error in 1ms NameError (undefined local variable or method `impressionize' for #): Rendered /Users/pbartels/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.9/lib/action_dispatch/middleware/templates/rescues/_trace.erb (0.8ms) Rendered /Users/pbartels/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.9/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (2.0ms) Rendered /Users/pbartels/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.9/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (6.0ms) DEPRECATION WARNING: config.action_view.debug_rjs will be removed in 3.1, from 3.1 onwards you will need to install prototype-rails to continue to use RJS templates . (called from service at /Users/pbartels/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/webrick/httpserver.rb:111) Started GET "/" for 127.0.0.1 at 2011-07-01 16:07:11 +1200 Processing by PagesController#index as HTML Page Load (0.3ms) SELECT "pages".* FROM "pages" Rendered pages/index.html.erb within layouts/application (1.7ms) Completed 200 OK in 69ms (Views: 5.0ms | ActiveRecord: 0.3ms) Started GET "/pages/new" for 127.0.0.1 at 2011-07-01 16:07:48 +1200 Processing by PagesController#new as HTML Rendered pages/_form.html.erb (7.7ms) Rendered pages/new.html.erb within layouts/application (10.1ms) Completed 200 OK in 21ms (Views: 13.4ms | ActiveRecord: 0.0ms) Started POST "/pages" for 127.0.0.1 at 2011-07-01 16:07:55 +1200 Processing by PagesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"1fHsFsD3dMjZu0jMvdNGm7y2cIC8l9bSgMxGNe2El/o=", "page"=>{"title"=>"Test", "body"=>"Test"}, "commit"=>"Create Page"} SQL (0.1ms) SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence' AREL (0.3ms) INSERT INTO "pages" ("title", "body", "created_at", "updated_at") VALUES ('Test', 'Test', '2011-07-01 04:07:55.912590', '2011-07-01 04:07:55.912590') Redirected to http://localhost:3000/pages/1 Completed 302 Found in 62ms Started GET "/pages/1" for 127.0.0.1 at 2011-07-01 16:07:56 +1200 Processing by PagesController#show as HTML Parameters: {"id"=>"1"} Page Load (0.1ms) SELECT "pages".* FROM "pages" WHERE "pages"."id" = 1 LIMIT 1 Rendered pages/show.html.erb within layouts/application (6.2ms) Completed 200 OK in 17ms (Views: 9.4ms | ActiveRecord: 0.1ms) Started GET "/pages" for 127.0.0.1 at 2011-07-01 16:07:59 +1200 Processing by PagesController#index as HTML Page Load (0.3ms) SELECT "pages".* FROM "pages" Rendered pages/index.html.erb within layouts/application (23.2ms) Completed 200 OK in 33ms (Views: 26.3ms | ActiveRecord: 0.3ms) Started GET "/pages" for 127.0.0.1 at 2011-07-01 16:09:17 +1200 Processing by PagesController#index as HTML Page Load (0.3ms) SELECT "pages".* FROM "pages" Rendered pages/index.html.erb within layouts/application (41.4ms) Completed 500 Internal Server Error in 50ms ActionView::Template::Error (Could not find table 'impressions'): 14: 15: <%= page.title %> 16: <%= page.body %> 17: <%= page.impression_count %> 18: <%= link_to 'Show', page %> 19: <%= link_to 'Edit', edit_page_path(page) %> 20: <%= link_to 'Destroy', page, :confirm => 'Are you sure?', :method => :delete %> app/views/pages/index.html.erb:17:in `block in _app_views_pages_index_html_erb__3314047445204517918_2153078360_1275174332812639410' app/views/pages/index.html.erb:13:in `each' app/views/pages/index.html.erb:13:in `_app_views_pages_index_html_erb__3314047445204517918_2153078360_1275174332812639410' app/controllers/pages_controller.rb:9:in `index' Rendered /Users/pbartels/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.9/lib/action_dispatch/middleware/templates/rescues/_trace.erb (0.9ms) Rendered /Users/pbartels/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.9/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (2.5ms) Rendered /Users/pbartels/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.9/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (6.1ms) SQL (0.3ms)  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 CreatePages (20110701011920) Migrating to CreateImpressions (20110701040959) SQL (0.0ms) select sqlite_version(*) SQL (0.1ms)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.3ms) CREATE TABLE "impressions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "impressionable_type" varchar(255), "impressionable_id" integer, "user_id" integer, "ip_address" varchar(255), "created_at" datetime, "updated_at" datetime) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110701040959') 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("impressions") SQL (0.0ms) PRAGMA index_list("pages") DEPRECATION WARNING: config.action_view.debug_rjs will be removed in 3.1, from 3.1 onwards you will need to install prototype-rails to continue to use RJS templates . (called from service at /Users/pbartels/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/webrick/httpserver.rb:111) Started GET "/pages" for 127.0.0.1 at 2011-07-01 16:10:24 +1200 Processing by PagesController#index as HTML Page Load (0.4ms) SELECT "pages".* FROM "pages" SQL (0.2ms) SELECT COUNT(*) FROM "impressions" WHERE ("impressions".page_id = 1) SQLite3::SQLException: no such column: impressions.page_id: SELECT COUNT(*) FROM "impressions" WHERE ("impressions".page_id = 1) Rendered pages/index.html.erb within layouts/application (48.9ms) Completed 500 Internal Server Error in 116ms ActionView::Template::Error (SQLite3::SQLException: no such column: impressions.page_id: SELECT COUNT(*) FROM "impressions" WHERE ("impressions".page_id = 1)): 14: 15: <%= page.title %> 16: <%= page.body %> 17: <%= page.impression_count %> 18: <%= link_to 'Show', page %> 19: <%= link_to 'Edit', edit_page_path(page) %> 20: <%= link_to 'Destroy', page, :confirm => 'Are you sure?', :method => :delete %> app/views/pages/index.html.erb:17:in `block in _app_views_pages_index_html_erb___2256720710288493514_2152552040_114456384112737612' app/views/pages/index.html.erb:13:in `each' app/views/pages/index.html.erb:13:in `_app_views_pages_index_html_erb___2256720710288493514_2152552040_114456384112737612' app/controllers/pages_controller.rb:9:in `index' Rendered /Users/pbartels/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.9/lib/action_dispatch/middleware/templates/rescues/_trace.erb (0.9ms) Rendered /Users/pbartels/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.9/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (2.7ms) Rendered /Users/pbartels/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.9/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (6.2ms) DEPRECATION WARNING: config.action_view.debug_rjs will be removed in 3.1, from 3.1 onwards you will need to install prototype-rails to continue to use RJS templates . (called from service at /Users/pbartels/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/webrick/httpserver.rb:111) Started GET "/pages" for 127.0.0.1 at 2011-07-01 16:11:58 +1200 Processing by PagesController#index as HTML Page Load (0.3ms) SELECT "pages".* FROM "pages" SQL (0.2ms) SELECT COUNT(*) FROM "impressions" WHERE ("impressions".page_id = 1) SQLite3::SQLException: no such column: impressions.page_id: SELECT COUNT(*) FROM "impressions" WHERE ("impressions".page_id = 1) Rendered pages/index.html.erb within layouts/application (49.1ms) Completed 500 Internal Server Error in 116ms ActionView::Template::Error (SQLite3::SQLException: no such column: impressions.page_id: SELECT COUNT(*) FROM "impressions" WHERE ("impressions".page_id = 1)): 14: 15: <%= page.title %> 16: <%= page.body %> 17: <%= page.impression_count %> 18: <%= link_to 'Show', page %> 19: <%= link_to 'Edit', edit_page_path(page) %> 20: <%= link_to 'Destroy', page, :confirm => 'Are you sure?', :method => :delete %> app/views/pages/index.html.erb:17:in `block in _app_views_pages_index_html_erb__1199822382288966927_2156652280__3186014091112392536' app/views/pages/index.html.erb:13:in `each' app/views/pages/index.html.erb:13:in `_app_views_pages_index_html_erb__1199822382288966927_2156652280__3186014091112392536' app/controllers/pages_controller.rb:9:in `index' Rendered /Users/pbartels/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.9/lib/action_dispatch/middleware/templates/rescues/_trace.erb (0.8ms) Rendered /Users/pbartels/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.9/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (2.5ms) Rendered /Users/pbartels/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.9/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (5.8ms) SQL (0.2ms)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.1ms) select sqlite_version(*) SQL (2.7ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  SQL (0.1ms) PRAGMA index_list("schema_migrations") SQL (1.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.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 CreatePages (20110701011920) SQL (0.3ms) CREATE TABLE "pages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "created_at" datetime, "updated_at" datetime)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110701011920') Migrating to CreateImpressions (20110701040959) SQL (0.1ms)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.2ms) CREATE TABLE "impressions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "impressionable_type" varchar(255), "impressionable_id" integer, "user_id" integer, "ip_address" varchar(255), "created_at" datetime, "updated_at" datetime) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110701040959') 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("impressions") SQL (0.0ms) PRAGMA index_list("pages") DEPRECATION WARNING: config.action_view.debug_rjs will be removed in 3.1, from 3.1 onwards you will need to install prototype-rails to continue to use RJS templates . (called from service at /Users/pbartels/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/webrick/httpserver.rb:111) Started GET "/pages" for 127.0.0.1 at 2011-07-01 16:12:25 +1200 Processing by PagesController#index as HTML Page Load (0.3ms) SELECT "pages".* FROM "pages" Rendered pages/index.html.erb within layouts/application (1.8ms) Completed 200 OK in 68ms (Views: 5.0ms | ActiveRecord: 0.3ms) Started GET "/pages/new" for 127.0.0.1 at 2011-07-01 16:12:29 +1200 Processing by PagesController#new as HTML Rendered pages/_form.html.erb (7.4ms) Rendered pages/new.html.erb within layouts/application (9.7ms) Completed 200 OK in 21ms (Views: 12.8ms | ActiveRecord: 0.0ms) Started POST "/pages" for 127.0.0.1 at 2011-07-01 16:12:37 +1200 Processing by PagesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"1fHsFsD3dMjZu0jMvdNGm7y2cIC8l9bSgMxGNe2El/o=", "page"=>{"title"=>"Test", "body"=>"Bla"}, "commit"=>"Create Page"} SQL (0.1ms) SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence' AREL (0.3ms) INSERT INTO "pages" ("title", "body", "created_at", "updated_at") VALUES ('Test', 'Bla', '2011-07-01 04:12:37.911364', '2011-07-01 04:12:37.911364') Redirected to http://localhost:3000/pages/1 Completed 302 Found in 25ms Started GET "/pages/1" for 127.0.0.1 at 2011-07-01 16:12:37 +1200 Processing by PagesController#show as HTML Parameters: {"id"=>"1"} Page Load (0.1ms) SELECT "pages".* FROM "pages" WHERE "pages"."id" = 1 LIMIT 1 Rendered pages/show.html.erb within layouts/application (6.1ms) Completed 200 OK in 16ms (Views: 9.0ms | ActiveRecord: 0.1ms) Started GET "/pages" for 127.0.0.1 at 2011-07-01 16:12:42 +1200 Processing by PagesController#index as HTML Page Load (0.3ms) SELECT "pages".* FROM "pages" SQL (0.2ms) SELECT COUNT(*) FROM "impressions" WHERE ("impressions".page_id = 1) SQLite3::SQLException: no such column: impressions.page_id: SELECT COUNT(*) FROM "impressions" WHERE ("impressions".page_id = 1) Rendered pages/index.html.erb within layouts/application (42.4ms) Completed 500 Internal Server Error in 51ms ActionView::Template::Error (SQLite3::SQLException: no such column: impressions.page_id: SELECT COUNT(*) FROM "impressions" WHERE ("impressions".page_id = 1)): 14: 15: <%= page.title %> 16: <%= page.body %> 17: <%= page.impression_count %> 18: <%= link_to 'Show', page %> 19: <%= link_to 'Edit', edit_page_path(page) %> 20: <%= link_to 'Destroy', page, :confirm => 'Are you sure?', :method => :delete %> app/views/pages/index.html.erb:17:in `block in _app_views_pages_index_html_erb___1174119244800351848_2160883200__3850886717389898353' app/views/pages/index.html.erb:13:in `each' app/views/pages/index.html.erb:13:in `_app_views_pages_index_html_erb___1174119244800351848_2160883200__3850886717389898353' app/controllers/pages_controller.rb:9:in `index' Rendered /Users/pbartels/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.9/lib/action_dispatch/middleware/templates/rescues/_trace.erb (0.9ms) Rendered /Users/pbartels/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.9/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (2.6ms) Rendered /Users/pbartels/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.9/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (6.0ms) Started GET "/pages" for 127.0.0.1 at 2011-07-01 16:14:26 +1200 Processing by PagesController#index as HTML Page Load (0.3ms) SELECT "pages".* FROM "pages" SQL (0.2ms) SELECT COUNT(*) FROM "impressions" WHERE ("impressions".page_id = 1) SQLite3::SQLException: no such column: impressions.page_id: SELECT COUNT(*) FROM "impressions" WHERE ("impressions".page_id = 1) Rendered pages/index.html.erb within layouts/application (13.3ms) Completed 500 Internal Server Error in 38ms ActionView::Template::Error (SQLite3::SQLException: no such column: impressions.page_id: SELECT COUNT(*) FROM "impressions" WHERE ("impressions".page_id = 1)): 14: 15: <%= page.title %> 16: <%= page.body %> 17: <%= page.impression_count %> 18: <%= link_to 'Show', page %> 19: <%= link_to 'Edit', edit_page_path(page) %> 20: <%= link_to 'Destroy', page, :confirm => 'Are you sure?', :method => :delete %> app/views/pages/index.html.erb:17:in `block in _app_views_pages_index_html_erb___1174119244800351848_2177686520__3850886717389898353' app/views/pages/index.html.erb:13:in `each' app/views/pages/index.html.erb:13:in `_app_views_pages_index_html_erb___1174119244800351848_2177686520__3850886717389898353' app/controllers/pages_controller.rb:9:in `index' Rendered /Users/pbartels/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.9/lib/action_dispatch/middleware/templates/rescues/_trace.erb (0.8ms) Rendered /Users/pbartels/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.9/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (2.5ms) Rendered /Users/pbartels/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.9/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (6.0ms) DEPRECATION WARNING: config.action_view.debug_rjs will be removed in 3.1, from 3.1 onwards you will need to install prototype-rails to continue to use RJS templates . (called from service at /Users/pbartels/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/webrick/httpserver.rb:111) Started GET "/pages" for 127.0.0.1 at 2011-07-01 16:14:57 +1200 Processing by PagesController#index as HTML Page Load (0.3ms) SELECT "pages".* FROM "pages" SQL (0.1ms) SELECT COUNT(*) FROM "impressions" WHERE ("impressions".impressionable_id = 1 AND "impressions".impressionable_type = 'Page') Rendered pages/index.html.erb within layouts/application (41.6ms) Completed 200 OK in 108ms (Views: 44.5ms | ActiveRecord: 0.5ms) Started GET "/pages/1" for 127.0.0.1 at 2011-07-01 16:15:02 +1200 Processing by PagesController#show as HTML Parameters: {"id"=>"1"} SQL (0.3ms)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  Page Load (0.1ms) SELECT "pages".* FROM "pages" WHERE "pages"."id" = 1 LIMIT 1 Rendered pages/show.html.erb within layouts/application (5.7ms) Completed 200 OK in 16ms (Views: 8.6ms | ActiveRecord: 0.3ms) Started GET "/pages" for 127.0.0.1 at 2011-07-01 16:15:06 +1200 Processing by PagesController#index as HTML Page Load (0.3ms) SELECT "pages".* FROM "pages" SQL (0.1ms) SELECT COUNT(*) FROM "impressions" WHERE ("impressions".impressionable_id = 1 AND "impressions".impressionable_type = 'Page') Rendered pages/index.html.erb within layouts/application (14.9ms) Completed 200 OK in 24ms (Views: 17.9ms | ActiveRecord: 0.4ms) Started GET "/pages" for 127.0.0.1 at 2011-07-01 16:15:39 +1200 Processing by PagesController#index as HTML Page Load (0.3ms) SELECT "pages".* FROM "pages" SQL (0.1ms) SELECT COUNT(*) FROM "impressions" WHERE ("impressions".impressionable_id = 1 AND "impressions".impressionable_type = 'Page') Rendered pages/index.html.erb within layouts/application (16.9ms) Completed 200 OK in 26ms (Views: 19.9ms | ActiveRecord: 0.4ms) Started GET "/pages/1" for 127.0.0.1 at 2011-07-01 16:15:42 +1200 Processing by PagesController#show as HTML Parameters: {"id"=>"1"} Page Load (0.1ms) SELECT "pages".* FROM "pages" WHERE "pages"."id" = 1 LIMIT 1 Rendered pages/show.html.erb within layouts/application (5.9ms) Completed 200 OK in 34ms (Views: 9.0ms | ActiveRecord: 0.1ms) Started GET "/pages/1" for 127.0.0.1 at 2011-07-01 16:15:47 +1200 Processing by PagesController#show as HTML Parameters: {"id"=>"1"} Page Load (0.1ms) SELECT "pages".* FROM "pages" WHERE "pages"."id" = 1 LIMIT 1 Rendered pages/show.html.erb within layouts/application (22.3ms) Completed 200 OK in 32ms (Views: 25.2ms | ActiveRecord: 0.1ms) Started GET "/pages/1" for 127.0.0.1 at 2011-07-01 16:16:00 +1200 Processing by PagesController#show as HTML Parameters: {"id"=>"1"} Page Load (0.1ms) SELECT "pages".* FROM "pages" WHERE "pages"."id" = 1 LIMIT 1 Rendered pages/show.html.erb within layouts/application (5.7ms) Completed 200 OK in 16ms (Views: 8.8ms | ActiveRecord: 0.1ms) DEPRECATION WARNING: config.action_view.debug_rjs will be removed in 3.1, from 3.1 onwards you will need to install prototype-rails to continue to use RJS templates . (called from service at /Users/pbartels/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/webrick/httpserver.rb:111) Started GET "/pages/1" for 127.0.0.1 at 2011-07-01 16:16:22 +1200 Processing by PagesController#show as HTML Parameters: {"id"=>"1"} SQL (0.4ms)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  Page Load (0.1ms) SELECT "pages".* FROM "pages" WHERE "pages"."id" = 1 LIMIT 1 Rendered pages/show.html.erb within layouts/application (22.3ms) Completed 200 OK in 97ms (Views: 25.6ms | ActiveRecord: 0.5ms) Started GET "/pages/1" for 127.0.0.1 at 2011-07-01 16:16:52 +1200 Processing by PagesController#show as HTML Parameters: {"id"=>"1"} Page Load (0.1ms) SELECT "pages".* FROM "pages" WHERE "pages"."id" = 1 LIMIT 1 Rendered pages/show.html.erb within layouts/application (6.1ms) Completed 200 OK in 17ms (Views: 9.1ms | ActiveRecord: 0.1ms) Started GET "/pages/1" for 127.0.0.1 at 2011-07-01 16:17:20 +1200 Processing by PagesController#show as HTML Parameters: {"id"=>"1"} Page Load (0.1ms) SELECT "pages".* FROM "pages" WHERE "pages"."id" = 1 LIMIT 1 Rendered pages/show.html.erb within layouts/application (22.5ms) Completed 200 OK in 34ms (Views: 25.7ms | ActiveRecord: 0.1ms) DEPRECATION WARNING: config.action_view.debug_rjs will be removed in 3.1, from 3.1 onwards you will need to install prototype-rails to continue to use RJS templates . (called from service at /Users/pbartels/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/webrick/httpserver.rb:111) Started GET "/pages/1" for 127.0.0.1 at 2011-07-01 16:17:37 +1200 Processing by PagesController#show as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms NameError (wrong constant name page): Rendered /Users/pbartels/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.9/lib/action_dispatch/middleware/templates/rescues/_trace.erb (0.8ms) Rendered /Users/pbartels/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.9/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (2.4ms) Rendered /Users/pbartels/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.9/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (5.8ms) SQL (0.3ms)  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' DEPRECATION WARNING: config.action_view.debug_rjs will be removed in 3.1, from 3.1 onwards you will need to install prototype-rails to continue to use RJS templates . (called from service at /Users/pbartels/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/webrick/httpserver.rb:111) Started GET "/pages/1" for 127.0.0.1 at 2011-07-01 16:21:51 +1200 Processing by PagesController#show as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 15ms NameError (undefined local variable or method `capitalize' for #): Rendered /Users/pbartels/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.9/lib/action_dispatch/middleware/templates/rescues/_trace.erb (0.8ms) Rendered /Users/pbartels/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.9/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (2.1ms) Rendered /Users/pbartels/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.9/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (5.3ms) DEPRECATION WARNING: config.action_view.debug_rjs will be removed in 3.1, from 3.1 onwards you will need to install prototype-rails to continue to use RJS templates . (called from service at /Users/pbartels/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/webrick/httpserver.rb:111) Started GET "/pages/1" for 127.0.0.1 at 2011-07-01 16:22:11 +1200 Processing by PagesController#show as HTML Parameters: {"id"=>"1"} SQL (0.4ms)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  Page Load (0.1ms) SELECT "pages".* FROM "pages" WHERE "pages"."id" = 1 LIMIT 1 Completed 500 Internal Server Error in 98ms NameError (undefined local variable or method `current_user' for #): Rendered /Users/pbartels/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.9/lib/action_dispatch/middleware/templates/rescues/_trace.erb (0.8ms) Rendered /Users/pbartels/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.9/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (2.3ms) Rendered /Users/pbartels/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.9/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (5.5ms) DEPRECATION WARNING: config.action_view.debug_rjs will be removed in 3.1, from 3.1 onwards you will need to install prototype-rails to continue to use RJS templates . (called from service at /Users/pbartels/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/webrick/httpserver.rb:111) Started GET "/pages/1" for 127.0.0.1 at 2011-07-01 16:22:38 +1200 Processing by PagesController#show as HTML Parameters: {"id"=>"1"} SQL (0.3ms)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  Page Load (0.1ms) SELECT "pages".* FROM "pages" WHERE "pages"."id" = 1 LIMIT 1 AREL (0.3ms) INSERT INTO "impressions" ("impressionable_type", "impressionable_id", "user_id", "ip_address", "created_at", "updated_at") VALUES ('Page', 1, 1, '127.0.0.1', '2011-07-01 04:22:38.736433', '2011-07-01 04:22:38.736433') Page Load (0.1ms) SELECT "pages".* FROM "pages" WHERE "pages"."id" = 1 LIMIT 1 Rendered pages/show.html.erb within layouts/application (1.8ms) Completed 200 OK in 117ms (Views: 5.0ms | ActiveRecord: 0.8ms) Started GET "/pages" for 127.0.0.1 at 2011-07-01 16:22:41 +1200 Processing by PagesController#index as HTML Completed 404 Not Found in 4ms ActiveRecord::RecordNotFound (Couldn't find Page without an ID): Rendered /Users/pbartels/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.9/lib/action_dispatch/middleware/templates/rescues/_trace.erb (0.8ms) Rendered /Users/pbartels/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.9/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (2.4ms) Rendered /Users/pbartels/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.9/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (6.0ms) DEPRECATION WARNING: config.action_view.debug_rjs will be removed in 3.1, from 3.1 onwards you will need to install prototype-rails to continue to use RJS templates . (called from service at /Users/pbartels/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/webrick/httpserver.rb:111) Started GET "/pages" for 127.0.0.1 at 2011-07-01 16:26:20 +1200 Processing by PagesController#index as HTML Completed 404 Not Found in 61ms ActiveRecord::RecordNotFound (Couldn't find Page without an ID): Rendered /Users/pbartels/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.9/lib/action_dispatch/middleware/templates/rescues/_trace.erb (0.8ms) Rendered /Users/pbartels/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.9/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (16.3ms) Rendered /Users/pbartels/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.9/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (19.7ms) DEPRECATION WARNING: config.action_view.debug_rjs will be removed in 3.1, from 3.1 onwards you will need to install prototype-rails to continue to use RJS templates . (called from service at /Users/pbartels/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/webrick/httpserver.rb:111) Started GET "/pages" for 127.0.0.1 at 2011-07-01 16:26:58 +1200 Processing by PagesController#index as HTML Page Load (0.4ms) SELECT "pages".* FROM "pages" SQL (0.1ms) SELECT COUNT(*) FROM "impressions" WHERE ("impressions".impressionable_id = 1 AND "impressions".impressionable_type = 'Page') Rendered pages/index.html.erb within layouts/application (41.4ms) Completed 200 OK in 107ms (Views: 44.3ms | ActiveRecord: 0.5ms) Started GET "/pages/1" for 127.0.0.1 at 2011-07-01 16:27:00 +1200 Processing by PagesController#show as HTML Parameters: {"id"=>"1"} SQL (0.3ms)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  Page Load (0.1ms) SELECT "pages".* FROM "pages" WHERE "pages"."id" = 1 LIMIT 1 AREL (0.3ms) INSERT INTO "impressions" ("impressionable_type", "impressionable_id", "user_id", "ip_address", "created_at", "updated_at") VALUES ('Page', 1, 1, '127.0.0.1', '2011-07-01 04:27:00.887213', '2011-07-01 04:27:00.887213') Page Load (0.1ms) SELECT "pages".* FROM "pages" WHERE "pages"."id" = 1 LIMIT 1 Rendered pages/show.html.erb within layouts/application (18.3ms) Completed 200 OK in 52ms (Views: 21.5ms | ActiveRecord: 0.8ms) Started GET "/pages" for 127.0.0.1 at 2011-07-01 16:27:03 +1200 Processing by PagesController#index as HTML Page Load (0.3ms) SELECT "pages".* FROM "pages" SQL (0.1ms) SELECT COUNT(*) FROM "impressions" WHERE ("impressions".impressionable_id = 1 AND "impressions".impressionable_type = 'Page') Rendered pages/index.html.erb within layouts/application (15.9ms) Completed 200 OK in 25ms (Views: 18.9ms | ActiveRecord: 0.4ms) Started GET "/pages/1" for 127.0.0.1 at 2011-07-01 16:27:06 +1200 Processing by PagesController#show as HTML Parameters: {"id"=>"1"} Page Load (0.1ms) SELECT "pages".* FROM "pages" WHERE "pages"."id" = 1 LIMIT 1 AREL (0.2ms) INSERT INTO "impressions" ("impressionable_type", "impressionable_id", "user_id", "ip_address", "created_at", "updated_at") VALUES ('Page', 1, 1, '127.0.0.1', '2011-07-01 04:27:06.497681', '2011-07-01 04:27:06.497681') Page Load (0.1ms) SELECT "pages".* FROM "pages" WHERE "pages"."id" = 1 LIMIT 1 Rendered pages/show.html.erb within layouts/application (1.8ms) Completed 200 OK in 49ms (Views: 4.9ms | ActiveRecord: 0.5ms) Started GET "/pages" for 127.0.0.1 at 2011-07-01 16:27:10 +1200 Processing by PagesController#index as HTML Page Load (0.3ms) SELECT "pages".* FROM "pages" SQL (0.1ms) SELECT COUNT(*) FROM "impressions" WHERE ("impressions".impressionable_id = 1 AND "impressions".impressionable_type = 'Page') Rendered pages/index.html.erb within layouts/application (15.8ms) Completed 200 OK in 26ms (Views: 19.1ms | ActiveRecord: 0.4ms) Impressionizer::Impression Load (0.5ms) SELECT "impressions".* FROM "impressions" Impressionizer::Impression Load (0.4ms) SELECT "impressions".* FROM "impressions" LIMIT 1 SQL (0.2ms)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.1ms) select sqlite_version(*) SQL (1.3ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  SQL (0.0ms) PRAGMA index_list("schema_migrations") SQL (0.9ms) 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.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 CreatePages (20110701011920) SQL (0.3ms) CREATE TABLE "pages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "created_at" datetime, "updated_at" datetime)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110701011920') Migrating to CreateImpressions (20110701044058) SQL (0.1ms)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.2ms) CREATE TABLE "impressions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "impressionable_type" varchar(255), "impressionable_id" integer, "session_hash" varchar(255), "request_hash" varchar(255), "referrer" varchar(255), "ip_address" varchar(255), "user_id" integer, "created_at" datetime, "updated_at" datetime) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110701044058') 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("impressions") SQL (0.0ms) PRAGMA index_list("pages") Impressionizer::Impression Load (0.2ms) SELECT "impressions".* FROM "impressions" LIMIT 1 DEPRECATION WARNING: config.action_view.debug_rjs will be removed in 3.1, from 3.1 onwards you will need to install prototype-rails to continue to use RJS templates . (called from service at /Users/pbartels/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/webrick/httpserver.rb:111) Started GET "/pages" for 127.0.0.1 at 2011-07-01 16:41:51 +1200 Processing by PagesController#index as HTML Page Load (0.3ms) SELECT "pages".* FROM "pages" Rendered pages/index.html.erb within layouts/application (1.8ms) Completed 200 OK in 67ms (Views: 4.8ms | ActiveRecord: 0.3ms) Started GET "/pages/new" for 127.0.0.1 at 2011-07-01 16:41:54 +1200 Processing by PagesController#new as HTML Rendered pages/_form.html.erb (7.8ms) Rendered pages/new.html.erb within layouts/application (10.1ms) Completed 200 OK in 21ms (Views: 13.5ms | ActiveRecord: 0.0ms) Started POST "/pages" for 127.0.0.1 at 2011-07-01 16:42:02 +1200 Processing by PagesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"1fHsFsD3dMjZu0jMvdNGm7y2cIC8l9bSgMxGNe2El/o=", "page"=>{"title"=>"Test", "body"=>""}, "commit"=>"Create Page"} SQL (0.1ms) SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence' AREL (0.3ms) INSERT INTO "pages" ("title", "body", "created_at", "updated_at") VALUES ('Test', '', '2011-07-01 04:42:02.559080', '2011-07-01 04:42:02.559080') Redirected to http://localhost:3000/pages/1 Completed 302 Found in 26ms Started GET "/pages/1" for 127.0.0.1 at 2011-07-01 16:42:02 +1200 Processing by PagesController#show as HTML Parameters: {"id"=>"1"} Page Load (0.1ms) SELECT "pages".* FROM "pages" WHERE "pages"."id" = 1 LIMIT 1 AREL (0.3ms) INSERT INTO "impressions" ("impressionable_type", "impressionable_id", "session_hash", "request_hash", "referrer", "ip_address", "user_id", "created_at", "updated_at") VALUES ('Page', 1, '33c2a02e415821dbd16b806e478ec2ee', '6a2807da6fec4a1c627e4f22905c36e8635eedadff89c5f4001e5e633bf16641572bcad43b91ee809689582b98757c49da070f1a267208591502a22d689811dd08b665dd3ae2e58aa3b67890d07e60d5c727acab1565d4e377a55d6904cd40996a20157ceefae67a72bb486b897f5529599b05cab1358a842dbbdf8a674c81c11dee709e28b882638360d18b68152332d19958b7a2d2e72f2baa214bda662e4827aeba36108d5c4da27ad6fe63167c8a087944a7a43787c45ab2c2', 'http://localhost:3000/pages/new', '127.0.0.1', NULL, '2011-07-01 04:42:02.635759', '2011-07-01 04:42:02.635759') Page Load (0.1ms) SELECT "pages".* FROM "pages" WHERE "pages"."id" = 1 LIMIT 1 Rendered pages/show.html.erb within layouts/application (1.9ms) Completed 200 OK in 39ms (Views: 5.0ms | ActiveRecord: 0.5ms) Started GET "/pages" for 127.0.0.1 at 2011-07-01 16:42:06 +1200 Processing by PagesController#index as HTML Page Load (0.3ms) SELECT "pages".* FROM "pages" SQL (0.1ms) SELECT COUNT(*) FROM "impressions" WHERE ("impressions".impressionable_id = 1 AND "impressions".impressionable_type = 'Page') Rendered pages/index.html.erb within layouts/application (17.1ms) Completed 200 OK in 26ms (Views: 20.1ms | ActiveRecord: 0.4ms) Impressionizer::Impression Load (0.2ms) SELECT "impressions".* FROM "impressions" LIMIT 1 Started GET "/pages/1" for 127.0.0.1 at 2011-07-01 16:42:36 +1200 Processing by PagesController#show as HTML Parameters: {"id"=>"1"} Page Load (0.1ms) SELECT "pages".* FROM "pages" WHERE "pages"."id" = 1 LIMIT 1 AREL (0.3ms) INSERT INTO "impressions" ("impressionable_type", "impressionable_id", "session_hash", "request_hash", "referrer", "ip_address", "user_id", "created_at", "updated_at") VALUES ('Page', 1, '33c2a02e415821dbd16b806e478ec2ee', 'e6f2584861dcfd587bab5b9793715702eea16d5d7f22cb456e451dd44a03841e9dc0da8b4df8133e6383770c50a3c5180ccabb05bc008d15ada49269dc6a636a0f73aee24a6cfab795b86b3e86806bc5435a423637808e11e5dafd01e43e388929c915715ec4c81fbf355ea5feb42ad2ded9affc8916c27a8fa138285efe6b78d6a9b4760916d7b165a4d6c5cdb6a36927d067e86d8fd8b752e7e779bc0ebc8afeba7ae6bc48bb33c1f89bef4056afa667f6801d7e4992e81ea743', 'http://localhost:3000/pages', '127.0.0.1', NULL, '2011-07-01 04:42:36.681840', '2011-07-01 04:42:36.681840') Page Load (0.1ms) SELECT "pages".* FROM "pages" WHERE "pages"."id" = 1 LIMIT 1 Rendered pages/show.html.erb within layouts/application (1.8ms) Completed 200 OK in 53ms (Views: 4.9ms | ActiveRecord: 0.5ms) Started GET "/pages" for 127.0.0.1 at 2011-07-01 16:42:38 +1200 Processing by PagesController#index as HTML Page Load (0.3ms) SELECT "pages".* FROM "pages" SQL (0.2ms) SELECT COUNT(*) FROM "impressions" WHERE ("impressions".impressionable_id = 1 AND "impressions".impressionable_type = 'Page') Rendered pages/index.html.erb within layouts/application (33.7ms) Completed 200 OK in 43ms (Views: 36.6ms | ActiveRecord: 0.4ms) SQL (0.3ms)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  Impressionizer::Impression Load (0.3ms) SELECT "impressions".* FROM "impressions" WHERE "impressions"."id" = 2 LIMIT 1 Page Load (0.4ms) SELECT "pages".* FROM "pages" LIMIT 1 SQL (0.1ms) SELECT COUNT(*) FROM "impressions" WHERE ("impressions".impressionable_id = 1 AND "impressions".impressionable_type = 'Page') SQL (0.3ms) SELECT COUNT(*) AS count_all, ip_address AS ip_address FROM "impressions" WHERE ("impressions".impressionable_id = 1 AND "impressions".impressionable_type = 'Page') GROUP BY ip_address SQL (0.3ms) SELECT COUNT(*) AS count_all, ip_address AS ip_address FROM "impressions" WHERE ("impressions".impressionable_id = 1 AND "impressions".impressionable_type = 'Page') GROUP BY ip_address Page Load (0.4ms) SELECT "pages".* FROM "pages" LIMIT 1 SQL (0.2ms) SELECT COUNT(*) AS count_all, ip_address AS ip_address FROM "impressions" WHERE ("impressions".impressionable_id = 1 AND "impressions".impressionable_type = 'Page') GROUP BY ip_address SQL (0.3ms) SELECT COUNT(*) AS count_all, ip_address AS ip_address FROM "impressions" WHERE ("impressions".impressionable_id = 1 AND "impressions".impressionable_type = 'Page') GROUP BY ip_address Impressionizer::Impression Load (0.7ms) SELECT "impressions".* FROM "impressions" WHERE ("impressions".impressionable_id = 1 AND "impressions".impressionable_type = 'Page') Impressionizer::Impression Load (0.6ms) SELECT "impressions".* FROM "impressions" WHERE ("impressions".impressionable_id = 1 AND "impressions".impressionable_type = 'Page') GROUP BY ip_address SQL (0.3ms) SELECT COUNT(*) AS count_all, ip_address AS ip_address FROM "impressions" WHERE ("impressions".impressionable_id = 1 AND "impressions".impressionable_type = 'Page') GROUP BY ip_address SQL (0.3ms) SELECT COUNT(*) AS count_all, ip_address AS ip_address FROM "impressions" WHERE ("impressions".impressionable_id = 1 AND "impressions".impressionable_type = 'Page') GROUP BY ip_address Impressionizer::Impression Load (0.5ms) SELECT "impressions".* FROM "impressions" WHERE ("impressions".impressionable_id = 1 AND "impressions".impressionable_type = 'Page') GROUP BY ip_address SQL (0.3ms) SELECT COUNT(*) AS count_all, ip_address AS ip_address FROM "impressions" WHERE ("impressions".impressionable_id = 1 AND "impressions".impressionable_type = 'Page') GROUP BY ip_address Page Load (0.4ms) SELECT "pages".* FROM "pages" ORDER BY pages.id DESC LIMIT 1 SQL (0.1ms)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  AREL (0.2ms) INSERT INTO "pages" ("title", "body", "created_at", "updated_at") VALUES (NULL, NULL, '2011-07-03 23:32:45.133534', '2011-07-03 23:32:45.133534') Impressionizer::Impression Load (0.2ms) SELECT "impressions".* FROM "impressions" WHERE ("impressions".impressionable_id = 2 AND "impressions".impressionable_type = 'Page') 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.3ms) 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.3ms)  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' Page Load (0.4ms) SELECT "pages".* FROM "pages" SQL (0.1ms) SELECT COUNT(*) FROM "impressions" WHERE ("impressions".impressionable_id = 1 AND "impressions".impressionable_type = 'Page') SQL (0.1ms) SELECT COUNT(*) FROM "impressions" WHERE ("impressions".impressionable_id = 2 AND "impressions".impressionable_type = 'Page') Page Load (0.7ms) SELECT "pages".* FROM "pages" SQL (0.4ms) SELECT COUNT(*) FROM "impressions" WHERE ("impressions".impressionable_id = 1 AND "impressions".impressionable_type = 'Page') SQL (0.1ms) SELECT COUNT(*) FROM "impressions" WHERE ("impressions".impressionable_id = 2 AND "impressions".impressionable_type = 'Page') SQL (0.1ms) SELECT COUNT(*) FROM "impressions" WHERE ("impressions".impressionable_id = 1 AND "impressions".impressionable_type = 'Page') Page Load (0.4ms) SELECT "pages".* FROM "pages" SQL (0.2ms) SELECT COUNT(*) FROM "impressions" WHERE ("impressions".impressionable_id = 1 AND "impressions".impressionable_type = 'Page') SQL (0.2ms) SELECT COUNT(*) FROM "impressions" WHERE ("impressions".impressionable_id = 2 AND "impressions".impressionable_type = 'Page') SQL (0.1ms) SELECT COUNT(*) FROM "impressions" WHERE ("impressions".impressionable_id = 1 AND "impressions".impressionable_type = 'Page') Page Load (0.5ms) SELECT "pages".* FROM "pages" SQL (0.2ms) SELECT COUNT(*) FROM "impressions" WHERE ("impressions".impressionable_id = 1 AND "impressions".impressionable_type = 'Page') SQL (0.2ms) SELECT COUNT(*) FROM "impressions" WHERE ("impressions".impressionable_id = 2 AND "impressions".impressionable_type = 'Page') SQL (0.2ms) SELECT COUNT(*) FROM "impressions" WHERE ("impressions".impressionable_id = 1 AND "impressions".impressionable_type = 'Page') SQL (0.3ms)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  Impressionizer::Impression Load (0.3ms) SELECT "impressions".* FROM "impressions" WHERE "impressions"."impressionable_type" = 'Page' Impressionizer::Impression Load (0.5ms) SELECT "impressions".* FROM "impressions" WHERE "impressions"."impressionable_type" = 'Page' GROUP BY ip_address SQL (0.3ms) SELECT COUNT(*) AS count_all, ip_address AS ip_address FROM "impressions" WHERE "impressions"."impressionable_type" = 'Page' GROUP BY ip_address Page Load (0.4ms) SELECT "pages".* FROM "pages" WHERE "pages"."id" = 2 LIMIT 1 SQL (0.2ms) SELECT COUNT(*) FROM "impressions" WHERE ("impressions".impressionable_id = 2 AND "impressions".impressionable_type = 'Page') Page Load (0.3ms) SELECT "pages".* FROM "pages" WHERE "pages"."id" = 1 LIMIT 1 SQL (0.2ms) SELECT COUNT(*) FROM "impressions" WHERE ("impressions".impressionable_id = 1 AND "impressions".impressionable_type = 'Page') SQL (0.3ms) SELECT COUNT(*) AS count_all, ip_address AS ip_address FROM "impressions" WHERE "impressions"."impressionable_type" = 'Page' GROUP BY ip_address Impressionizer::Impression Load (0.5ms) SELECT "impressions".* FROM "impressions" WHERE "impressions"."impressionable_type" = 'Page' GROUP BY ip_address Impressionizer::Impression Load (0.5ms) SELECT "impressions".* FROM "impressions" WHERE "impressions"."impressionable_type" = 'Page' GROUP BY impressionable_id Impressionizer::Impression Load (0.6ms) SELECT "impressions".* FROM "impressions" WHERE "impressions"."impressionable_type" = 'Page' SQL (0.2ms)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.3ms) select sqlite_version(*) SQL (2.4ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  SQL (0.1ms) PRAGMA index_list("schema_migrations") SQL (1.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") SQL (0.2ms) 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" Migrating to CreatePages (20110701011920) SQL (0.5ms) CREATE TABLE "pages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "created_at" datetime, "updated_at" datetime)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110701011920') Migrating to CreateImpressions (20110701044058) SQL (0.1ms)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.2ms) CREATE TABLE "impressions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "impressionable_type" varchar(255), "impressionable_id" integer, "session_hash" varchar(255), "request_hash" varchar(255), "referrer" varchar(255), "ip_address" varchar(255), "user_id" integer, "created_at" datetime, "updated_at" datetime) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110701044058') 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("impressions") SQL (0.0ms) PRAGMA index_list("pages") SQL (0.3ms) select sqlite_version(*) SQL (0.1ms) 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" SQL (0.1ms)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.0ms) PRAGMA index_list("impressions") SQL (0.0ms) PRAGMA index_list("pages")