impressionizer 0.0.3 → 0.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/.gitignore CHANGED
@@ -1,9 +1,9 @@
1
1
  .bundle/
2
2
  log/*.log
3
3
  pkg/
4
- test/dummy/db/*.sqlite3
5
- test/dummy/log/*.log
6
- test/dummy/tmp/
4
+ spec/dummy/db/*.sqlite3
5
+ spec/dummy/log/*.log
6
+ spec/dummy/tmp/
7
7
  Gemfile.lock
8
8
  .DS_Store
9
9
  doc/
data/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ 0.0.4 (2011-08-30)
2
+ ------------------
3
+ * changed logging from show actions only to every action
4
+ * added `impressions_for_actions` class method
5
+ * added some more sample output to dummy application
6
+
1
7
  0.0.3 (2011-07-06)
2
8
  ------------------
3
9
  * added `most_impressions` and `most_unique_impressions` to impressionable class
@@ -1,5 +1,5 @@
1
1
  module Impressionizer
2
- module ImpressionsController
2
+ module ImpressionsController
3
3
  module ClassMethods
4
4
  def impressionize(args={})
5
5
  end
@@ -7,16 +7,17 @@ module Impressionizer
7
7
 
8
8
  module InstanceMethods
9
9
  def impressionize
10
- if %q('show').include? action_name
11
- @object = controller_name.singularize.capitalize.constantize.find(params[:id])
12
- @object.impressions.create(
13
- :session_hash => request.session_options[:id],
14
- :request_hash => ActiveSupport::SecureRandom.hex(187),
15
- :referrer => request.referer,
16
- :ip_address => request.remote_ip,
17
- :user_id => current_user_id
18
- )
19
- end
10
+ Impressionizer::Impression.create(
11
+ :impressionable_type => controller_name.singularize.capitalize,
12
+ :impressionable_id => params[:id],
13
+ :controller_name => controller_name,
14
+ :action_name => action_name,
15
+ :session_hash => request.session_options[:id],
16
+ :request_hash => ActiveSupport::SecureRandom.hex(187),
17
+ :referrer => request.referer,
18
+ :ip_address => request.remote_ip,
19
+ :user_id => current_user_id
20
+ )
20
21
  end
21
22
 
22
23
  private
@@ -14,6 +14,10 @@ module Impressionizer
14
14
  def most_unique_impressions
15
15
  self.scoped.select{|obj| obj.impression_count > 0}.sort_by{|obj| -obj.unique_impression_count}
16
16
  end
17
+
18
+ def impressions_for_action(action_name)
19
+ Impressionizer::Impression.where(:action_name => action_name).count
20
+ end
17
21
  end
18
22
 
19
23
  module InstanceMethods
@@ -3,6 +3,8 @@ class CreateImpressions < ActiveRecord::Migration
3
3
  create_table :impressions, :force => true do |t|
4
4
  t.string :impressionable_type
5
5
  t.integer :impressionable_id
6
+ t.string :controller_name
7
+ t.string :action_name
6
8
  t.string :session_hash
7
9
  t.string :request_hash
8
10
  t.string :referrer
@@ -1,3 +1,3 @@
1
1
  module Impressionizer
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
@@ -1,10 +1,17 @@
1
1
  <h1>Listing pages</h1>
2
2
 
3
+ <p>Page index impressions: <%= Page.impressions_for_action('index') %></p>
4
+ <p>Page with most impressions: <%= Page.most_impressions.first.title %></p>
5
+ <p>Page with most unique impressions: <%= Page.most_unique_impressions.first.title %></p>
6
+ <p>Page new impressions: <%= Page.impressions_for_action('new') %></p>
7
+ <p>Page show impressions: <%= Page.impressions_for_action('show') %></p>
8
+
3
9
  <table>
4
10
  <tr>
5
11
  <th>Title</th>
6
12
  <th>Body</th>
7
13
  <th>Impression Count</th>
14
+ <th>Unique Impression Count</th>
8
15
  <th></th>
9
16
  <th></th>
10
17
  <th></th>
@@ -15,6 +22,7 @@
15
22
  <td><%= page.title %></td>
16
23
  <td><%= page.body %></td>
17
24
  <td><%= page.impression_count %></td>
25
+ <td><%= page.unique_impression_count %></td>
18
26
  <td><%= link_to 'Show', page %></td>
19
27
  <td><%= link_to 'Edit', edit_page_path(page) %></td>
20
28
  <td><%= link_to 'Destroy', page, :confirm => 'Are you sure?', :method => :delete %></td>
@@ -3,6 +3,8 @@ class CreateImpressions < ActiveRecord::Migration
3
3
  create_table :impressions, :force => true do |t|
4
4
  t.string :impressionable_type
5
5
  t.integer :impressionable_id
6
+ t.string :controller_name
7
+ t.string :action_name
6
8
  t.string :session_hash
7
9
  t.string :request_hash
8
10
  t.string :referrer
@@ -10,11 +10,14 @@
10
10
  #
11
11
  # It's strongly recommended to check this file into your version control system.
12
12
 
13
- ActiveRecord::Schema.define(:version => 20110701044058) do
13
+ ActiveRecord::Schema.define(:version => 20110830151041) do
14
14
 
15
15
  create_table "impressions", :force => true do |t|
16
16
  t.string "impressionable_type"
17
17
  t.integer "impressionable_id"
18
+ t.string "controller_name"
19
+ t.string "action_name"
20
+ t.string "view_name"
18
21
  t.string "session_hash"
19
22
  t.string "request_hash"
20
23
  t.string "referrer"
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: impressionizer
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.0.3
5
+ version: 0.0.4
6
6
  platform: ruby
7
7
  authors:
8
8
  - Patrick Bartels
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-07-06 00:00:00 +12:00
13
+ date: 2011-08-30 00:00:00 +02:00
14
14
  default_executable:
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
@@ -101,15 +101,9 @@ files:
101
101
  - spec/dummy/coverage/rcov.js
102
102
  - spec/dummy/coverage/screen.css
103
103
  - spec/dummy/coverage/spec-models-page_spec_rb.html
104
- - spec/dummy/db/development.sqlite3
105
104
  - spec/dummy/db/migrate/20110701011920_create_pages.rb
106
- - spec/dummy/db/migrate/20110701044058_create_impressions.rb
105
+ - spec/dummy/db/migrate/20110830151041_create_impressions.rb
107
106
  - spec/dummy/db/schema.rb
108
- - spec/dummy/db/test.sqlite3
109
- - spec/dummy/log/development.log
110
- - spec/dummy/log/production.log
111
- - spec/dummy/log/server.log
112
- - spec/dummy/log/test.log
113
107
  - spec/dummy/public/404.html
114
108
  - spec/dummy/public/422.html
115
109
  - spec/dummy/public/500.html
@@ -207,15 +201,9 @@ test_files:
207
201
  - spec/dummy/coverage/rcov.js
208
202
  - spec/dummy/coverage/screen.css
209
203
  - spec/dummy/coverage/spec-models-page_spec_rb.html
210
- - spec/dummy/db/development.sqlite3
211
204
  - spec/dummy/db/migrate/20110701011920_create_pages.rb
212
- - spec/dummy/db/migrate/20110701044058_create_impressions.rb
205
+ - spec/dummy/db/migrate/20110830151041_create_impressions.rb
213
206
  - spec/dummy/db/schema.rb
214
- - spec/dummy/db/test.sqlite3
215
- - spec/dummy/log/development.log
216
- - spec/dummy/log/production.log
217
- - spec/dummy/log/server.log
218
- - spec/dummy/log/test.log
219
207
  - spec/dummy/public/404.html
220
208
  - spec/dummy/public/422.html
221
209
  - spec/dummy/public/500.html
Binary file
Binary file
@@ -1,813 +0,0 @@
1
- SQL (0.2ms)  SELECT name
2
- FROM sqlite_master
3
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
4
- 
5
- SQL (0.1ms) select sqlite_version(*)
6
- SQL (1.6ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
7
- SQL (0.0ms) PRAGMA index_list("schema_migrations")
8
- SQL (1.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
9
- SQL (0.1ms) SELECT name
10
- FROM sqlite_master
11
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
12
- SQL (0.2ms)  SELECT name
13
- FROM sqlite_master
14
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
15
- 
16
- SQL (0.2ms) SELECT name
17
- FROM sqlite_master
18
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
19
- SQL (0.3ms)  SELECT name
20
- FROM sqlite_master
21
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
22
- 
23
- SQL (0.2ms) SELECT name
24
- FROM sqlite_master
25
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
26
- SQL (0.1ms)  SELECT name
27
- FROM sqlite_master
28
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
29
- 
30
- SQL (0.2ms) SELECT name
31
- FROM sqlite_master
32
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
33
- SQL (0.3ms)  SELECT name
34
- FROM sqlite_master
35
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
36
- 
37
- SQL (0.3ms)  SELECT name
38
- FROM sqlite_master
39
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
40
- 
41
- SQL (0.3ms)  SELECT name
42
- FROM sqlite_master
43
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
44
- 
45
- SQL (0.1ms) SELECT name
46
- FROM sqlite_master
47
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
48
- SQL (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
49
- Migrating to CreatePages (20110701011920)
50
- SQL (0.0ms) select sqlite_version(*)
51
- SQL (0.3ms) CREATE TABLE "pages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "created_at" datetime, "updated_at" datetime) 
52
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110701011920')
53
- SQL (0.1ms)  SELECT name
54
- FROM sqlite_master
55
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
56
- 
57
- SQL (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
58
- SQL (0.1ms)  SELECT name
59
- FROM sqlite_master
60
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
61
- 
62
- SQL (0.0ms) PRAGMA index_list("pages")
63
- SQL (0.1ms)  SELECT name
64
- FROM sqlite_master
65
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
66
- 
67
- 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)
68
-
69
-
70
- Started GET "/" for 127.0.0.1 at 2011-07-01 16:05:54 +1200
71
-
72
- ActionController::RoutingError (No route matches "/"):
73
-
74
-
75
- 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)
76
-
77
-
78
- Started GET "/" for 127.0.0.1 at 2011-07-01 16:06:20 +1200
79
- Processing by PagesController#index as HTML
80
- Completed 500 Internal Server Error in 1ms
81
-
82
- NameError (undefined local variable or method `impressionize' for #<PagesController:0x00000102445220>):
83
-
84
-
85
- 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)
86
- 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)
87
- 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)
88
- 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)
89
-
90
-
91
- Started GET "/" for 127.0.0.1 at 2011-07-01 16:07:11 +1200
92
- Processing by PagesController#index as HTML
93
- Page Load (0.3ms) SELECT "pages".* FROM "pages"
94
- Rendered pages/index.html.erb within layouts/application (1.7ms)
95
- Completed 200 OK in 69ms (Views: 5.0ms | ActiveRecord: 0.3ms)
96
-
97
-
98
- Started GET "/pages/new" for 127.0.0.1 at 2011-07-01 16:07:48 +1200
99
- Processing by PagesController#new as HTML
100
- Rendered pages/_form.html.erb (7.7ms)
101
- Rendered pages/new.html.erb within layouts/application (10.1ms)
102
- Completed 200 OK in 21ms (Views: 13.4ms | ActiveRecord: 0.0ms)
103
-
104
-
105
- Started POST "/pages" for 127.0.0.1 at 2011-07-01 16:07:55 +1200
106
- Processing by PagesController#create as HTML
107
- Parameters: {"utf8"=>"✓", "authenticity_token"=>"1fHsFsD3dMjZu0jMvdNGm7y2cIC8l9bSgMxGNe2El/o=", "page"=>{"title"=>"Test", "body"=>"Test"}, "commit"=>"Create Page"}
108
- SQL (0.1ms) SELECT name
109
- FROM sqlite_master
110
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
111
- 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')
112
- Redirected to http://localhost:3000/pages/1
113
- Completed 302 Found in 62ms
114
-
115
-
116
- Started GET "/pages/1" for 127.0.0.1 at 2011-07-01 16:07:56 +1200
117
- Processing by PagesController#show as HTML
118
- Parameters: {"id"=>"1"}
119
- Page Load (0.1ms) SELECT "pages".* FROM "pages" WHERE "pages"."id" = 1 LIMIT 1
120
- Rendered pages/show.html.erb within layouts/application (6.2ms)
121
- Completed 200 OK in 17ms (Views: 9.4ms | ActiveRecord: 0.1ms)
122
-
123
-
124
- Started GET "/pages" for 127.0.0.1 at 2011-07-01 16:07:59 +1200
125
- Processing by PagesController#index as HTML
126
- Page Load (0.3ms) SELECT "pages".* FROM "pages"
127
- Rendered pages/index.html.erb within layouts/application (23.2ms)
128
- Completed 200 OK in 33ms (Views: 26.3ms | ActiveRecord: 0.3ms)
129
-
130
-
131
- Started GET "/pages" for 127.0.0.1 at 2011-07-01 16:09:17 +1200
132
- Processing by PagesController#index as HTML
133
- Page Load (0.3ms) SELECT "pages".* FROM "pages"
134
- Rendered pages/index.html.erb within layouts/application (41.4ms)
135
- Completed 500 Internal Server Error in 50ms
136
-
137
- ActionView::Template::Error (Could not find table 'impressions'):
138
- 14: <tr>
139
- 15: <td><%= page.title %></td>
140
- 16: <td><%= page.body %></td>
141
- 17: <td><%= page.impression_count %></td>
142
- 18: <td><%= link_to 'Show', page %></td>
143
- 19: <td><%= link_to 'Edit', edit_page_path(page) %></td>
144
- 20: <td><%= link_to 'Destroy', page, :confirm => 'Are you sure?', :method => :delete %></td>
145
- app/views/pages/index.html.erb:17:in `block in _app_views_pages_index_html_erb__3314047445204517918_2153078360_1275174332812639410'
146
- app/views/pages/index.html.erb:13:in `each'
147
- app/views/pages/index.html.erb:13:in `_app_views_pages_index_html_erb__3314047445204517918_2153078360_1275174332812639410'
148
- app/controllers/pages_controller.rb:9:in `index'
149
-
150
- 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)
151
- 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)
152
- 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)
153
- SQL (0.3ms)  SELECT name
154
- FROM sqlite_master
155
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
156
- 
157
- SQL (0.1ms) SELECT name
158
- FROM sqlite_master
159
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
160
- SQL (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
161
- Migrating to CreatePages (20110701011920)
162
- Migrating to CreateImpressions (20110701040959)
163
- SQL (0.0ms) select sqlite_version(*)
164
- SQL (0.1ms)  SELECT name
165
- FROM sqlite_master
166
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
167
- 
168
- 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)
169
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110701040959')
170
- SQL (0.1ms) SELECT name
171
- FROM sqlite_master
172
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
173
- SQL (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
174
- SQL (0.1ms) SELECT name
175
- FROM sqlite_master
176
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
177
- SQL (0.0ms) PRAGMA index_list("impressions")
178
- SQL (0.0ms) PRAGMA index_list("pages")
179
- 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)
180
-
181
-
182
- Started GET "/pages" for 127.0.0.1 at 2011-07-01 16:10:24 +1200
183
- Processing by PagesController#index as HTML
184
- Page Load (0.4ms) SELECT "pages".* FROM "pages"
185
- SQL (0.2ms) SELECT COUNT(*) FROM "impressions" WHERE ("impressions".page_id = 1)
186
- SQLite3::SQLException: no such column: impressions.page_id: SELECT COUNT(*) FROM "impressions" WHERE ("impressions".page_id = 1)
187
- Rendered pages/index.html.erb within layouts/application (48.9ms)
188
- Completed 500 Internal Server Error in 116ms
189
-
190
- ActionView::Template::Error (SQLite3::SQLException: no such column: impressions.page_id: SELECT COUNT(*) FROM "impressions" WHERE ("impressions".page_id = 1)):
191
- 14: <tr>
192
- 15: <td><%= page.title %></td>
193
- 16: <td><%= page.body %></td>
194
- 17: <td><%= page.impression_count %></td>
195
- 18: <td><%= link_to 'Show', page %></td>
196
- 19: <td><%= link_to 'Edit', edit_page_path(page) %></td>
197
- 20: <td><%= link_to 'Destroy', page, :confirm => 'Are you sure?', :method => :delete %></td>
198
- app/views/pages/index.html.erb:17:in `block in _app_views_pages_index_html_erb___2256720710288493514_2152552040_114456384112737612'
199
- app/views/pages/index.html.erb:13:in `each'
200
- app/views/pages/index.html.erb:13:in `_app_views_pages_index_html_erb___2256720710288493514_2152552040_114456384112737612'
201
- app/controllers/pages_controller.rb:9:in `index'
202
-
203
- 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)
204
- 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)
205
- 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)
206
- 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)
207
-
208
-
209
- Started GET "/pages" for 127.0.0.1 at 2011-07-01 16:11:58 +1200
210
- Processing by PagesController#index as HTML
211
- Page Load (0.3ms) SELECT "pages".* FROM "pages"
212
- SQL (0.2ms) SELECT COUNT(*) FROM "impressions" WHERE ("impressions".page_id = 1)
213
- SQLite3::SQLException: no such column: impressions.page_id: SELECT COUNT(*) FROM "impressions" WHERE ("impressions".page_id = 1)
214
- Rendered pages/index.html.erb within layouts/application (49.1ms)
215
- Completed 500 Internal Server Error in 116ms
216
-
217
- ActionView::Template::Error (SQLite3::SQLException: no such column: impressions.page_id: SELECT COUNT(*) FROM "impressions" WHERE ("impressions".page_id = 1)):
218
- 14: <tr>
219
- 15: <td><%= page.title %></td>
220
- 16: <td><%= page.body %></td>
221
- 17: <td><%= page.impression_count %></td>
222
- 18: <td><%= link_to 'Show', page %></td>
223
- 19: <td><%= link_to 'Edit', edit_page_path(page) %></td>
224
- 20: <td><%= link_to 'Destroy', page, :confirm => 'Are you sure?', :method => :delete %></td>
225
- app/views/pages/index.html.erb:17:in `block in _app_views_pages_index_html_erb__1199822382288966927_2156652280__3186014091112392536'
226
- app/views/pages/index.html.erb:13:in `each'
227
- app/views/pages/index.html.erb:13:in `_app_views_pages_index_html_erb__1199822382288966927_2156652280__3186014091112392536'
228
- app/controllers/pages_controller.rb:9:in `index'
229
-
230
- 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)
231
- 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)
232
- 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)
233
- SQL (0.2ms)  SELECT name
234
- FROM sqlite_master
235
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
236
- 
237
- SQL (0.1ms) select sqlite_version(*)
238
- SQL (2.7ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
239
- SQL (0.1ms) PRAGMA index_list("schema_migrations")
240
- SQL (1.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
241
- SQL (0.1ms) SELECT name
242
- FROM sqlite_master
243
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
244
- SQL (0.1ms)  SELECT name
245
- FROM sqlite_master
246
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
247
- 
248
- SQL (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
249
- Migrating to CreatePages (20110701011920)
250
- SQL (0.3ms) CREATE TABLE "pages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "created_at" datetime, "updated_at" datetime) 
251
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110701011920')
252
- Migrating to CreateImpressions (20110701040959)
253
- SQL (0.1ms)  SELECT name
254
- FROM sqlite_master
255
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
256
- 
257
- 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)
258
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110701040959')
259
- SQL (0.1ms) SELECT name
260
- FROM sqlite_master
261
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
262
- SQL (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
263
- SQL (0.1ms) SELECT name
264
- FROM sqlite_master
265
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
266
- SQL (0.0ms) PRAGMA index_list("impressions")
267
- SQL (0.0ms) PRAGMA index_list("pages")
268
- 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)
269
-
270
-
271
- Started GET "/pages" for 127.0.0.1 at 2011-07-01 16:12:25 +1200
272
- Processing by PagesController#index as HTML
273
- Page Load (0.3ms) SELECT "pages".* FROM "pages"
274
- Rendered pages/index.html.erb within layouts/application (1.8ms)
275
- Completed 200 OK in 68ms (Views: 5.0ms | ActiveRecord: 0.3ms)
276
-
277
-
278
- Started GET "/pages/new" for 127.0.0.1 at 2011-07-01 16:12:29 +1200
279
- Processing by PagesController#new as HTML
280
- Rendered pages/_form.html.erb (7.4ms)
281
- Rendered pages/new.html.erb within layouts/application (9.7ms)
282
- Completed 200 OK in 21ms (Views: 12.8ms | ActiveRecord: 0.0ms)
283
-
284
-
285
- Started POST "/pages" for 127.0.0.1 at 2011-07-01 16:12:37 +1200
286
- Processing by PagesController#create as HTML
287
- Parameters: {"utf8"=>"✓", "authenticity_token"=>"1fHsFsD3dMjZu0jMvdNGm7y2cIC8l9bSgMxGNe2El/o=", "page"=>{"title"=>"Test", "body"=>"Bla"}, "commit"=>"Create Page"}
288
- SQL (0.1ms) SELECT name
289
- FROM sqlite_master
290
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
291
- 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')
292
- Redirected to http://localhost:3000/pages/1
293
- Completed 302 Found in 25ms
294
-
295
-
296
- Started GET "/pages/1" for 127.0.0.1 at 2011-07-01 16:12:37 +1200
297
- Processing by PagesController#show as HTML
298
- Parameters: {"id"=>"1"}
299
- Page Load (0.1ms) SELECT "pages".* FROM "pages" WHERE "pages"."id" = 1 LIMIT 1
300
- Rendered pages/show.html.erb within layouts/application (6.1ms)
301
- Completed 200 OK in 16ms (Views: 9.0ms | ActiveRecord: 0.1ms)
302
-
303
-
304
- Started GET "/pages" for 127.0.0.1 at 2011-07-01 16:12:42 +1200
305
- Processing by PagesController#index as HTML
306
- Page Load (0.3ms) SELECT "pages".* FROM "pages"
307
- SQL (0.2ms) SELECT COUNT(*) FROM "impressions" WHERE ("impressions".page_id = 1)
308
- SQLite3::SQLException: no such column: impressions.page_id: SELECT COUNT(*) FROM "impressions" WHERE ("impressions".page_id = 1)
309
- Rendered pages/index.html.erb within layouts/application (42.4ms)
310
- Completed 500 Internal Server Error in 51ms
311
-
312
- ActionView::Template::Error (SQLite3::SQLException: no such column: impressions.page_id: SELECT COUNT(*) FROM "impressions" WHERE ("impressions".page_id = 1)):
313
- 14: <tr>
314
- 15: <td><%= page.title %></td>
315
- 16: <td><%= page.body %></td>
316
- 17: <td><%= page.impression_count %></td>
317
- 18: <td><%= link_to 'Show', page %></td>
318
- 19: <td><%= link_to 'Edit', edit_page_path(page) %></td>
319
- 20: <td><%= link_to 'Destroy', page, :confirm => 'Are you sure?', :method => :delete %></td>
320
- app/views/pages/index.html.erb:17:in `block in _app_views_pages_index_html_erb___1174119244800351848_2160883200__3850886717389898353'
321
- app/views/pages/index.html.erb:13:in `each'
322
- app/views/pages/index.html.erb:13:in `_app_views_pages_index_html_erb___1174119244800351848_2160883200__3850886717389898353'
323
- app/controllers/pages_controller.rb:9:in `index'
324
-
325
- 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)
326
- 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)
327
- 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)
328
-
329
-
330
- Started GET "/pages" for 127.0.0.1 at 2011-07-01 16:14:26 +1200
331
- Processing by PagesController#index as HTML
332
- Page Load (0.3ms) SELECT "pages".* FROM "pages"
333
- SQL (0.2ms) SELECT COUNT(*) FROM "impressions" WHERE ("impressions".page_id = 1)
334
- SQLite3::SQLException: no such column: impressions.page_id: SELECT COUNT(*) FROM "impressions" WHERE ("impressions".page_id = 1)
335
- Rendered pages/index.html.erb within layouts/application (13.3ms)
336
- Completed 500 Internal Server Error in 38ms
337
-
338
- ActionView::Template::Error (SQLite3::SQLException: no such column: impressions.page_id: SELECT COUNT(*) FROM "impressions" WHERE ("impressions".page_id = 1)):
339
- 14: <tr>
340
- 15: <td><%= page.title %></td>
341
- 16: <td><%= page.body %></td>
342
- 17: <td><%= page.impression_count %></td>
343
- 18: <td><%= link_to 'Show', page %></td>
344
- 19: <td><%= link_to 'Edit', edit_page_path(page) %></td>
345
- 20: <td><%= link_to 'Destroy', page, :confirm => 'Are you sure?', :method => :delete %></td>
346
- app/views/pages/index.html.erb:17:in `block in _app_views_pages_index_html_erb___1174119244800351848_2177686520__3850886717389898353'
347
- app/views/pages/index.html.erb:13:in `each'
348
- app/views/pages/index.html.erb:13:in `_app_views_pages_index_html_erb___1174119244800351848_2177686520__3850886717389898353'
349
- app/controllers/pages_controller.rb:9:in `index'
350
-
351
- 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)
352
- 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)
353
- 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)
354
- 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)
355
-
356
-
357
- Started GET "/pages" for 127.0.0.1 at 2011-07-01 16:14:57 +1200
358
- Processing by PagesController#index as HTML
359
- Page Load (0.3ms) SELECT "pages".* FROM "pages"
360
- SQL (0.1ms) SELECT COUNT(*) FROM "impressions" WHERE ("impressions".impressionable_id = 1 AND "impressions".impressionable_type = 'Page')
361
- Rendered pages/index.html.erb within layouts/application (41.6ms)
362
- Completed 200 OK in 108ms (Views: 44.5ms | ActiveRecord: 0.5ms)
363
-
364
-
365
- Started GET "/pages/1" for 127.0.0.1 at 2011-07-01 16:15:02 +1200
366
- Processing by PagesController#show as HTML
367
- Parameters: {"id"=>"1"}
368
- SQL (0.3ms)  SELECT name
369
- FROM sqlite_master
370
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
371
- 
372
- Page Load (0.1ms) SELECT "pages".* FROM "pages" WHERE "pages"."id" = 1 LIMIT 1
373
- Rendered pages/show.html.erb within layouts/application (5.7ms)
374
- Completed 200 OK in 16ms (Views: 8.6ms | ActiveRecord: 0.3ms)
375
-
376
-
377
- Started GET "/pages" for 127.0.0.1 at 2011-07-01 16:15:06 +1200
378
- Processing by PagesController#index as HTML
379
- Page Load (0.3ms) SELECT "pages".* FROM "pages"
380
- SQL (0.1ms) SELECT COUNT(*) FROM "impressions" WHERE ("impressions".impressionable_id = 1 AND "impressions".impressionable_type = 'Page')
381
- Rendered pages/index.html.erb within layouts/application (14.9ms)
382
- Completed 200 OK in 24ms (Views: 17.9ms | ActiveRecord: 0.4ms)
383
-
384
-
385
- Started GET "/pages" for 127.0.0.1 at 2011-07-01 16:15:39 +1200
386
- Processing by PagesController#index as HTML
387
- Page Load (0.3ms) SELECT "pages".* FROM "pages"
388
- SQL (0.1ms) SELECT COUNT(*) FROM "impressions" WHERE ("impressions".impressionable_id = 1 AND "impressions".impressionable_type = 'Page')
389
- Rendered pages/index.html.erb within layouts/application (16.9ms)
390
- Completed 200 OK in 26ms (Views: 19.9ms | ActiveRecord: 0.4ms)
391
-
392
-
393
- Started GET "/pages/1" for 127.0.0.1 at 2011-07-01 16:15:42 +1200
394
- Processing by PagesController#show as HTML
395
- Parameters: {"id"=>"1"}
396
- Page Load (0.1ms) SELECT "pages".* FROM "pages" WHERE "pages"."id" = 1 LIMIT 1
397
- Rendered pages/show.html.erb within layouts/application (5.9ms)
398
- Completed 200 OK in 34ms (Views: 9.0ms | ActiveRecord: 0.1ms)
399
-
400
-
401
- Started GET "/pages/1" for 127.0.0.1 at 2011-07-01 16:15:47 +1200
402
- Processing by PagesController#show as HTML
403
- Parameters: {"id"=>"1"}
404
- Page Load (0.1ms) SELECT "pages".* FROM "pages" WHERE "pages"."id" = 1 LIMIT 1
405
- Rendered pages/show.html.erb within layouts/application (22.3ms)
406
- Completed 200 OK in 32ms (Views: 25.2ms | ActiveRecord: 0.1ms)
407
-
408
-
409
- Started GET "/pages/1" for 127.0.0.1 at 2011-07-01 16:16:00 +1200
410
- Processing by PagesController#show as HTML
411
- Parameters: {"id"=>"1"}
412
- Page Load (0.1ms) SELECT "pages".* FROM "pages" WHERE "pages"."id" = 1 LIMIT 1
413
- Rendered pages/show.html.erb within layouts/application (5.7ms)
414
- Completed 200 OK in 16ms (Views: 8.8ms | ActiveRecord: 0.1ms)
415
- 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)
416
-
417
-
418
- Started GET "/pages/1" for 127.0.0.1 at 2011-07-01 16:16:22 +1200
419
- Processing by PagesController#show as HTML
420
- Parameters: {"id"=>"1"}
421
- SQL (0.4ms)  SELECT name
422
- FROM sqlite_master
423
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
424
- 
425
- Page Load (0.1ms) SELECT "pages".* FROM "pages" WHERE "pages"."id" = 1 LIMIT 1
426
- Rendered pages/show.html.erb within layouts/application (22.3ms)
427
- Completed 200 OK in 97ms (Views: 25.6ms | ActiveRecord: 0.5ms)
428
-
429
-
430
- Started GET "/pages/1" for 127.0.0.1 at 2011-07-01 16:16:52 +1200
431
- Processing by PagesController#show as HTML
432
- Parameters: {"id"=>"1"}
433
- Page Load (0.1ms) SELECT "pages".* FROM "pages" WHERE "pages"."id" = 1 LIMIT 1
434
- Rendered pages/show.html.erb within layouts/application (6.1ms)
435
- Completed 200 OK in 17ms (Views: 9.1ms | ActiveRecord: 0.1ms)
436
-
437
-
438
- Started GET "/pages/1" for 127.0.0.1 at 2011-07-01 16:17:20 +1200
439
- Processing by PagesController#show as HTML
440
- Parameters: {"id"=>"1"}
441
- Page Load (0.1ms) SELECT "pages".* FROM "pages" WHERE "pages"."id" = 1 LIMIT 1
442
- Rendered pages/show.html.erb within layouts/application (22.5ms)
443
- Completed 200 OK in 34ms (Views: 25.7ms | ActiveRecord: 0.1ms)
444
- 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)
445
-
446
-
447
- Started GET "/pages/1" for 127.0.0.1 at 2011-07-01 16:17:37 +1200
448
- Processing by PagesController#show as HTML
449
- Parameters: {"id"=>"1"}
450
- Completed 500 Internal Server Error in 0ms
451
-
452
- NameError (wrong constant name page):
453
-
454
-
455
- 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)
456
- 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)
457
- 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)
458
- SQL (0.3ms)  SELECT name
459
- FROM sqlite_master
460
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
461
- 
462
- SQL (0.3ms) SELECT name
463
- FROM sqlite_master
464
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
465
- 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)
466
-
467
-
468
- Started GET "/pages/1" for 127.0.0.1 at 2011-07-01 16:21:51 +1200
469
- Processing by PagesController#show as HTML
470
- Parameters: {"id"=>"1"}
471
- Completed 500 Internal Server Error in 15ms
472
-
473
- NameError (undefined local variable or method `capitalize' for #<PagesController:0x00000102335ce0>):
474
-
475
-
476
- 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)
477
- 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)
478
- 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)
479
- 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)
480
-
481
-
482
- Started GET "/pages/1" for 127.0.0.1 at 2011-07-01 16:22:11 +1200
483
- Processing by PagesController#show as HTML
484
- Parameters: {"id"=>"1"}
485
- SQL (0.4ms)  SELECT name
486
- FROM sqlite_master
487
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
488
- 
489
- Page Load (0.1ms) SELECT "pages".* FROM "pages" WHERE "pages"."id" = 1 LIMIT 1
490
- Completed 500 Internal Server Error in 98ms
491
-
492
- NameError (undefined local variable or method `current_user' for #<PagesController:0x00000101b39a28>):
493
-
494
-
495
- 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)
496
- 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)
497
- 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)
498
- 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)
499
-
500
-
501
- Started GET "/pages/1" for 127.0.0.1 at 2011-07-01 16:22:38 +1200
502
- Processing by PagesController#show as HTML
503
- Parameters: {"id"=>"1"}
504
- SQL (0.3ms)  SELECT name
505
- FROM sqlite_master
506
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
507
- 
508
- Page Load (0.1ms) SELECT "pages".* FROM "pages" WHERE "pages"."id" = 1 LIMIT 1
509
- 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')
510
- Page Load (0.1ms) SELECT "pages".* FROM "pages" WHERE "pages"."id" = 1 LIMIT 1
511
- Rendered pages/show.html.erb within layouts/application (1.8ms)
512
- Completed 200 OK in 117ms (Views: 5.0ms | ActiveRecord: 0.8ms)
513
-
514
-
515
- Started GET "/pages" for 127.0.0.1 at 2011-07-01 16:22:41 +1200
516
- Processing by PagesController#index as HTML
517
- Completed 404 Not Found in 4ms
518
-
519
- ActiveRecord::RecordNotFound (Couldn't find Page without an ID):
520
-
521
-
522
- 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)
523
- 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)
524
- 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)
525
- 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)
526
-
527
-
528
- Started GET "/pages" for 127.0.0.1 at 2011-07-01 16:26:20 +1200
529
- Processing by PagesController#index as HTML
530
- Completed 404 Not Found in 61ms
531
-
532
- ActiveRecord::RecordNotFound (Couldn't find Page without an ID):
533
-
534
-
535
- 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)
536
- 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)
537
- 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)
538
- 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)
539
-
540
-
541
- Started GET "/pages" for 127.0.0.1 at 2011-07-01 16:26:58 +1200
542
- Processing by PagesController#index as HTML
543
- Page Load (0.4ms) SELECT "pages".* FROM "pages"
544
- SQL (0.1ms) SELECT COUNT(*) FROM "impressions" WHERE ("impressions".impressionable_id = 1 AND "impressions".impressionable_type = 'Page')
545
- Rendered pages/index.html.erb within layouts/application (41.4ms)
546
- Completed 200 OK in 107ms (Views: 44.3ms | ActiveRecord: 0.5ms)
547
-
548
-
549
- Started GET "/pages/1" for 127.0.0.1 at 2011-07-01 16:27:00 +1200
550
- Processing by PagesController#show as HTML
551
- Parameters: {"id"=>"1"}
552
- SQL (0.3ms)  SELECT name
553
- FROM sqlite_master
554
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
555
- 
556
- Page Load (0.1ms) SELECT "pages".* FROM "pages" WHERE "pages"."id" = 1 LIMIT 1
557
- 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')
558
- Page Load (0.1ms) SELECT "pages".* FROM "pages" WHERE "pages"."id" = 1 LIMIT 1
559
- Rendered pages/show.html.erb within layouts/application (18.3ms)
560
- Completed 200 OK in 52ms (Views: 21.5ms | ActiveRecord: 0.8ms)
561
-
562
-
563
- Started GET "/pages" for 127.0.0.1 at 2011-07-01 16:27:03 +1200
564
- Processing by PagesController#index as HTML
565
- Page Load (0.3ms) SELECT "pages".* FROM "pages"
566
- SQL (0.1ms) SELECT COUNT(*) FROM "impressions" WHERE ("impressions".impressionable_id = 1 AND "impressions".impressionable_type = 'Page')
567
- Rendered pages/index.html.erb within layouts/application (15.9ms)
568
- Completed 200 OK in 25ms (Views: 18.9ms | ActiveRecord: 0.4ms)
569
-
570
-
571
- Started GET "/pages/1" for 127.0.0.1 at 2011-07-01 16:27:06 +1200
572
- Processing by PagesController#show as HTML
573
- Parameters: {"id"=>"1"}
574
- Page Load (0.1ms) SELECT "pages".* FROM "pages" WHERE "pages"."id" = 1 LIMIT 1
575
- 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')
576
- Page Load (0.1ms) SELECT "pages".* FROM "pages" WHERE "pages"."id" = 1 LIMIT 1
577
- Rendered pages/show.html.erb within layouts/application (1.8ms)
578
- Completed 200 OK in 49ms (Views: 4.9ms | ActiveRecord: 0.5ms)
579
-
580
-
581
- Started GET "/pages" for 127.0.0.1 at 2011-07-01 16:27:10 +1200
582
- Processing by PagesController#index as HTML
583
- Page Load (0.3ms) SELECT "pages".* FROM "pages"
584
- SQL (0.1ms) SELECT COUNT(*) FROM "impressions" WHERE ("impressions".impressionable_id = 1 AND "impressions".impressionable_type = 'Page')
585
- Rendered pages/index.html.erb within layouts/application (15.8ms)
586
- Completed 200 OK in 26ms (Views: 19.1ms | ActiveRecord: 0.4ms)
587
- Impressionizer::Impression Load (0.5ms) SELECT "impressions".* FROM "impressions"
588
- Impressionizer::Impression Load (0.4ms) SELECT "impressions".* FROM "impressions" LIMIT 1
589
- SQL (0.2ms)  SELECT name
590
- FROM sqlite_master
591
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
592
- 
593
- SQL (0.1ms) select sqlite_version(*)
594
- SQL (1.3ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
595
- SQL (0.0ms) PRAGMA index_list("schema_migrations")
596
- SQL (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
597
- SQL (0.1ms) SELECT name
598
- FROM sqlite_master
599
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
600
- SQL (0.1ms)  SELECT name
601
- FROM sqlite_master
602
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
603
- 
604
- SQL (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
605
- Migrating to CreatePages (20110701011920)
606
- SQL (0.3ms) CREATE TABLE "pages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "created_at" datetime, "updated_at" datetime) 
607
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110701011920')
608
- Migrating to CreateImpressions (20110701044058)
609
- SQL (0.1ms)  SELECT name
610
- FROM sqlite_master
611
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
612
- 
613
- 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)
614
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110701044058')
615
- SQL (0.1ms) SELECT name
616
- FROM sqlite_master
617
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
618
- SQL (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
619
- SQL (0.1ms) SELECT name
620
- FROM sqlite_master
621
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
622
- SQL (0.0ms) PRAGMA index_list("impressions")
623
- SQL (0.0ms) PRAGMA index_list("pages")
624
- Impressionizer::Impression Load (0.2ms) SELECT "impressions".* FROM "impressions" LIMIT 1
625
- 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)
626
-
627
-
628
- Started GET "/pages" for 127.0.0.1 at 2011-07-01 16:41:51 +1200
629
- Processing by PagesController#index as HTML
630
- Page Load (0.3ms) SELECT "pages".* FROM "pages"
631
- Rendered pages/index.html.erb within layouts/application (1.8ms)
632
- Completed 200 OK in 67ms (Views: 4.8ms | ActiveRecord: 0.3ms)
633
-
634
-
635
- Started GET "/pages/new" for 127.0.0.1 at 2011-07-01 16:41:54 +1200
636
- Processing by PagesController#new as HTML
637
- Rendered pages/_form.html.erb (7.8ms)
638
- Rendered pages/new.html.erb within layouts/application (10.1ms)
639
- Completed 200 OK in 21ms (Views: 13.5ms | ActiveRecord: 0.0ms)
640
-
641
-
642
- Started POST "/pages" for 127.0.0.1 at 2011-07-01 16:42:02 +1200
643
- Processing by PagesController#create as HTML
644
- Parameters: {"utf8"=>"✓", "authenticity_token"=>"1fHsFsD3dMjZu0jMvdNGm7y2cIC8l9bSgMxGNe2El/o=", "page"=>{"title"=>"Test", "body"=>""}, "commit"=>"Create Page"}
645
- SQL (0.1ms) SELECT name
646
- FROM sqlite_master
647
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
648
- 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')
649
- Redirected to http://localhost:3000/pages/1
650
- Completed 302 Found in 26ms
651
-
652
-
653
- Started GET "/pages/1" for 127.0.0.1 at 2011-07-01 16:42:02 +1200
654
- Processing by PagesController#show as HTML
655
- Parameters: {"id"=>"1"}
656
- Page Load (0.1ms) SELECT "pages".* FROM "pages" WHERE "pages"."id" = 1 LIMIT 1
657
- 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')
658
- Page Load (0.1ms) SELECT "pages".* FROM "pages" WHERE "pages"."id" = 1 LIMIT 1
659
- Rendered pages/show.html.erb within layouts/application (1.9ms)
660
- Completed 200 OK in 39ms (Views: 5.0ms | ActiveRecord: 0.5ms)
661
-
662
-
663
- Started GET "/pages" for 127.0.0.1 at 2011-07-01 16:42:06 +1200
664
- Processing by PagesController#index as HTML
665
- Page Load (0.3ms) SELECT "pages".* FROM "pages"
666
- SQL (0.1ms) SELECT COUNT(*) FROM "impressions" WHERE ("impressions".impressionable_id = 1 AND "impressions".impressionable_type = 'Page')
667
- Rendered pages/index.html.erb within layouts/application (17.1ms)
668
- Completed 200 OK in 26ms (Views: 20.1ms | ActiveRecord: 0.4ms)
669
- Impressionizer::Impression Load (0.2ms) SELECT "impressions".* FROM "impressions" LIMIT 1
670
-
671
-
672
- Started GET "/pages/1" for 127.0.0.1 at 2011-07-01 16:42:36 +1200
673
- Processing by PagesController#show as HTML
674
- Parameters: {"id"=>"1"}
675
- Page Load (0.1ms) SELECT "pages".* FROM "pages" WHERE "pages"."id" = 1 LIMIT 1
676
- 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')
677
- Page Load (0.1ms) SELECT "pages".* FROM "pages" WHERE "pages"."id" = 1 LIMIT 1
678
- Rendered pages/show.html.erb within layouts/application (1.8ms)
679
- Completed 200 OK in 53ms (Views: 4.9ms | ActiveRecord: 0.5ms)
680
-
681
-
682
- Started GET "/pages" for 127.0.0.1 at 2011-07-01 16:42:38 +1200
683
- Processing by PagesController#index as HTML
684
- Page Load (0.3ms) SELECT "pages".* FROM "pages"
685
- SQL (0.2ms) SELECT COUNT(*) FROM "impressions" WHERE ("impressions".impressionable_id = 1 AND "impressions".impressionable_type = 'Page')
686
- Rendered pages/index.html.erb within layouts/application (33.7ms)
687
- Completed 200 OK in 43ms (Views: 36.6ms | ActiveRecord: 0.4ms)
688
- SQL (0.3ms)  SELECT name
689
- FROM sqlite_master
690
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
691
- 
692
- Impressionizer::Impression Load (0.3ms) SELECT "impressions".* FROM "impressions" WHERE "impressions"."id" = 2 LIMIT 1
693
- Page Load (0.4ms) SELECT "pages".* FROM "pages" LIMIT 1
694
- SQL (0.1ms) SELECT COUNT(*) FROM "impressions" WHERE ("impressions".impressionable_id = 1 AND "impressions".impressionable_type = 'Page')
695
- 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
696
- 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
697
- Page Load (0.4ms) SELECT "pages".* FROM "pages" LIMIT 1
698
- 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
699
- 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
700
- Impressionizer::Impression Load (0.7ms) SELECT "impressions".* FROM "impressions" WHERE ("impressions".impressionable_id = 1 AND "impressions".impressionable_type = 'Page')
701
- Impressionizer::Impression Load (0.6ms) SELECT "impressions".* FROM "impressions" WHERE ("impressions".impressionable_id = 1 AND "impressions".impressionable_type = 'Page') GROUP BY ip_address
702
- 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
703
- 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
704
- Impressionizer::Impression Load (0.5ms) SELECT "impressions".* FROM "impressions" WHERE ("impressions".impressionable_id = 1 AND "impressions".impressionable_type = 'Page') GROUP BY ip_address
705
- 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
706
- Page Load (0.4ms) SELECT "pages".* FROM "pages" ORDER BY pages.id DESC LIMIT 1
707
- SQL (0.1ms)  SELECT name
708
- FROM sqlite_master
709
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
710
- 
711
- 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')
712
- Impressionizer::Impression Load (0.2ms) SELECT "impressions".* FROM "impressions" WHERE ("impressions".impressionable_id = 2 AND "impressions".impressionable_type = 'Page')
713
- SQL (0.4ms) SELECT name
714
- FROM sqlite_master
715
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
716
- SQL (0.4ms)  SELECT name
717
- FROM sqlite_master
718
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
719
- 
720
- SQL (0.3ms) SELECT name
721
- FROM sqlite_master
722
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
723
- SQL (0.4ms)  SELECT name
724
- FROM sqlite_master
725
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
726
- 
727
- SQL (0.3ms)  SELECT name
728
- FROM sqlite_master
729
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
730
- 
731
- SQL (0.4ms) SELECT name
732
- FROM sqlite_master
733
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
734
- Page Load (0.4ms) SELECT "pages".* FROM "pages"
735
- SQL (0.1ms) SELECT COUNT(*) FROM "impressions" WHERE ("impressions".impressionable_id = 1 AND "impressions".impressionable_type = 'Page')
736
- SQL (0.1ms) SELECT COUNT(*) FROM "impressions" WHERE ("impressions".impressionable_id = 2 AND "impressions".impressionable_type = 'Page')
737
- Page Load (0.7ms) SELECT "pages".* FROM "pages"
738
- SQL (0.4ms) SELECT COUNT(*) FROM "impressions" WHERE ("impressions".impressionable_id = 1 AND "impressions".impressionable_type = 'Page')
739
- SQL (0.1ms) SELECT COUNT(*) FROM "impressions" WHERE ("impressions".impressionable_id = 2 AND "impressions".impressionable_type = 'Page')
740
- SQL (0.1ms) SELECT COUNT(*) FROM "impressions" WHERE ("impressions".impressionable_id = 1 AND "impressions".impressionable_type = 'Page')
741
- Page Load (0.4ms) SELECT "pages".* FROM "pages"
742
- SQL (0.2ms) SELECT COUNT(*) FROM "impressions" WHERE ("impressions".impressionable_id = 1 AND "impressions".impressionable_type = 'Page')
743
- SQL (0.2ms) SELECT COUNT(*) FROM "impressions" WHERE ("impressions".impressionable_id = 2 AND "impressions".impressionable_type = 'Page')
744
- SQL (0.1ms) SELECT COUNT(*) FROM "impressions" WHERE ("impressions".impressionable_id = 1 AND "impressions".impressionable_type = 'Page')
745
- Page Load (0.5ms) SELECT "pages".* FROM "pages"
746
- SQL (0.2ms) SELECT COUNT(*) FROM "impressions" WHERE ("impressions".impressionable_id = 1 AND "impressions".impressionable_type = 'Page')
747
- SQL (0.2ms) SELECT COUNT(*) FROM "impressions" WHERE ("impressions".impressionable_id = 2 AND "impressions".impressionable_type = 'Page')
748
- SQL (0.2ms) SELECT COUNT(*) FROM "impressions" WHERE ("impressions".impressionable_id = 1 AND "impressions".impressionable_type = 'Page')
749
- SQL (0.3ms)  SELECT name
750
- FROM sqlite_master
751
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
752
- 
753
- Impressionizer::Impression Load (0.3ms) SELECT "impressions".* FROM "impressions" WHERE "impressions"."impressionable_type" = 'Page'
754
- Impressionizer::Impression Load (0.5ms) SELECT "impressions".* FROM "impressions" WHERE "impressions"."impressionable_type" = 'Page' GROUP BY ip_address
755
- SQL (0.3ms) SELECT COUNT(*) AS count_all, ip_address AS ip_address FROM "impressions" WHERE "impressions"."impressionable_type" = 'Page' GROUP BY ip_address
756
- Page Load (0.4ms) SELECT "pages".* FROM "pages" WHERE "pages"."id" = 2 LIMIT 1
757
- SQL (0.2ms) SELECT COUNT(*) FROM "impressions" WHERE ("impressions".impressionable_id = 2 AND "impressions".impressionable_type = 'Page')
758
- Page Load (0.3ms) SELECT "pages".* FROM "pages" WHERE "pages"."id" = 1 LIMIT 1
759
- SQL (0.2ms) SELECT COUNT(*) FROM "impressions" WHERE ("impressions".impressionable_id = 1 AND "impressions".impressionable_type = 'Page')
760
- SQL (0.3ms) SELECT COUNT(*) AS count_all, ip_address AS ip_address FROM "impressions" WHERE "impressions"."impressionable_type" = 'Page' GROUP BY ip_address
761
- Impressionizer::Impression Load (0.5ms) SELECT "impressions".* FROM "impressions" WHERE "impressions"."impressionable_type" = 'Page' GROUP BY ip_address
762
- Impressionizer::Impression Load (0.5ms) SELECT "impressions".* FROM "impressions" WHERE "impressions"."impressionable_type" = 'Page' GROUP BY impressionable_id
763
- Impressionizer::Impression Load (0.6ms) SELECT "impressions".* FROM "impressions" WHERE "impressions"."impressionable_type" = 'Page'
764
- SQL (0.2ms)  SELECT name
765
- FROM sqlite_master
766
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
767
- 
768
- SQL (0.3ms) select sqlite_version(*)
769
- SQL (2.4ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
770
- SQL (0.1ms) PRAGMA index_list("schema_migrations")
771
- SQL (1.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
772
- SQL (0.2ms) SELECT name
773
- FROM sqlite_master
774
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
775
- SQL (0.2ms)  SELECT name
776
- FROM sqlite_master
777
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
778
- 
779
- SQL (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
780
- Migrating to CreatePages (20110701011920)
781
- SQL (0.5ms) CREATE TABLE "pages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "created_at" datetime, "updated_at" datetime) 
782
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110701011920')
783
- Migrating to CreateImpressions (20110701044058)
784
- SQL (0.1ms)  SELECT name
785
- FROM sqlite_master
786
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
787
- 
788
- 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)
789
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110701044058')
790
- SQL (0.2ms) SELECT name
791
- FROM sqlite_master
792
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
793
- SQL (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
794
- SQL (0.1ms) SELECT name
795
- FROM sqlite_master
796
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
797
- SQL (0.0ms) PRAGMA index_list("impressions")
798
- SQL (0.0ms) PRAGMA index_list("pages")
799
- SQL (0.3ms) select sqlite_version(*)
800
- SQL (0.1ms) SELECT name
801
- FROM sqlite_master
802
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
803
- SQL (0.1ms)  SELECT name
804
- FROM sqlite_master
805
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
806
- 
807
- SQL (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
808
- SQL (0.1ms)  SELECT name
809
- FROM sqlite_master
810
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
811
- 
812
- SQL (0.0ms) PRAGMA index_list("impressions")
813
- SQL (0.0ms) PRAGMA index_list("pages")