referer_tracking 2.0.0 → 2.1.0

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -1,12 +1,33 @@
1
1
  # RefererTracking
2
2
 
3
- Referer tracking is saves referrer url to session and automates better tracking of who creates models in your Rails app.
3
+ Referer tracking automates better tracking in your Rails app. It tells you who creates
4
+ activerecord objects / models, where did they originally come from, what url did they use etc.
5
+ It does it by saving referrer url to session and saving information about the request when creating new item.
6
+ It enables you to optimize your web-app user interface and flow.
4
7
 
5
8
  Http referer_url and first_url are saved to session in controller before_filter. When creating a new model these values are
6
- saved to referer_trackings table.
9
+ saved to referer_trackings table. Also current request url and current request referer are saved.
10
+
11
+ You can query how specific objects were made by querying following. It will let you know how did the user end up in your page and where did he create the object.
12
+
13
+ ```
14
+ RefererTracking::RefererTracking.where(:trackable_type => 'class_name').collect{|rt| [rt.first_url, rt.referer_url, rt.current_request_referer_url]}
15
+ ```
7
16
 
8
17
  [<img src="https://secure.travis-ci.org/holli/referer_tracking.png" />](http://travis-ci.org/holli/referer_tracking)
9
18
 
19
+ ## Monitored items
20
+
21
+ ```
22
+ - referer_url - where did the user originally come from
23
+ - first_url - what was the first url for this session
24
+ - current_request_url - when creating the item
25
+ - current_request_referer_url - when creating the item, where did the request originate
26
+ - user_agent, ip, session_id
27
+ - cookies_yaml - saves cookies if enabled in initializers with RefererTracking.save_cookies = true
28
+ - handy for parsing information related to google analytics, e.g. number of visits
29
+ ```
30
+
10
31
  ## Install
11
32
 
12
33
  ```
@@ -5,7 +5,12 @@ class CreateRefererTrackingRefererTrackings < ActiveRecord::Migration
5
5
  t.string :trackable_type
6
6
  t.text :referer_url
7
7
  t.text :first_url
8
+ t.text :current_request_url
9
+ t.text :current_request_referer_url
8
10
  t.string :user_agent
11
+ t.string :ip
12
+ t.string :session_id
13
+ t.text :cookies_yaml
9
14
 
10
15
  t.timestamps
11
16
  end
@@ -4,6 +4,9 @@ require "referer_tracking/sweeper"
4
4
 
5
5
  module RefererTracking
6
6
 
7
+ mattr_accessor :save_cookies
8
+ self.save_cookies = false
9
+
7
10
  def self.add_tracking_to(*models_list)
8
11
  models_list.each do |model|
9
12
  model.class_eval do
@@ -17,8 +17,22 @@ class RefererTracking::Sweeper < ActionController::Caching::Sweeper
17
17
  end
18
18
  end
19
19
 
20
-
20
+ ref_mod[:ip] = request.ip
21
21
  ref_mod[:user_agent] = request.env['HTTP_USER_AGENT']
22
+ ref_mod[:current_request_url] = request.url
23
+ ref_mod[:current_request_referer_url] = request.env["HTTP_REFERER"] # or request.headers["HTTP_REFERER"]
24
+ ref_mod[:session_id] = request.session["session_id"]
25
+
26
+ if RefererTracking.save_cookies
27
+ begin
28
+ ref_mod[:cookies_yaml] = cookies.instance_variable_get('@cookies').to_yaml
29
+ rescue
30
+ str = "referer_tracking after create problem encoding cookie yml, probably non utf8 chars #{e}"
31
+ logger.error(str)
32
+ ref_mod[:cookies_yaml] = "error: #{str}"
33
+ end
34
+ end
35
+
22
36
  ref_mod.save
23
37
  end
24
38
 
@@ -1,3 +1,3 @@
1
1
  module RefererTracking
2
- VERSION = "2.0.0"
2
+ VERSION = "2.1.0"
3
3
  end
Binary file
@@ -1,11 +1,13 @@
1
1
  class TableRename < ActiveRecord::Migration
2
2
  def up
3
- rename_table :referer_tracking_referer_trackings, :referer_trackings
3
+ #rename_table :referer_tracking_referer_trackings, :referer_trackings
4
4
  add_column :referer_trackings, :request_added, :string
5
5
  add_column :referer_trackings, :session_added, :string
6
6
  end
7
7
 
8
8
  def down
9
- rename_table :referer_trackings, :referer_tracking_referer_trackings
9
+ remove_column :referer_trackings, :session_added
10
+ remove_column :referer_trackings, :request_added
11
+ #rename_table :referer_trackings, :referer_tracking_referer_trackings
10
12
  end
11
13
  end
@@ -1,3 +1,4 @@
1
+ # encoding: UTF-8
1
2
  # This file is auto-generated from the current state of the database. Instead
2
3
  # of editing this file, please use the migrations feature of Active Record to
3
4
  # incrementally modify your database, and then regenerate this schema definition.
@@ -17,7 +18,12 @@ ActiveRecord::Schema.define(:version => 20120418183653) do
17
18
  t.string "trackable_type"
18
19
  t.text "referer_url"
19
20
  t.text "first_url"
21
+ t.text "current_request_url"
22
+ t.text "current_request_referer_url"
20
23
  t.string "user_agent"
24
+ t.string "ip"
25
+ t.string "session_id"
26
+ t.text "cookies_yaml"
21
27
  t.datetime "created_at"
22
28
  t.datetime "updated_at"
23
29
  t.string "request_added"
Binary file
@@ -127,3 +127,274 @@ Migrating to TableRename (20120418183653)
127
127
   (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
128
128
   (0.1ms) PRAGMA index_list("referer_trackings")
129
129
   (0.1ms) PRAGMA index_list("users")
130
+  (0.8ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
131
+ Migrating to CreateUsers (20120119111039)
132
+ Migrating to CreateRefererTrackingRefererTrackings (20120119124101)
133
+ Migrating to TableRename (20120418183653)
134
+  (0.2ms) select sqlite_version(*)
135
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
136
+  (0.0ms) PRAGMA index_list("referer_trackings")
137
+  (0.0ms) PRAGMA index_list("users")
138
+  (0.8ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
139
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
140
+ Migrating to TableRename (20120418183653)
141
+  (0.0ms) select sqlite_version(*)
142
+  (0.4ms) ALTER TABLE "referer_trackings" RENAME TO "referer_tracking_referer_trackings"
143
+  (0.2ms) DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20120418183653'
144
+  (0.2ms) select sqlite_version(*)
145
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
146
+  (0.0ms) PRAGMA index_list("referer_tracking_referer_trackings")
147
+  (0.0ms) PRAGMA index_list("users")
148
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
149
+ Migrating to CreateUsers (20120119111039)
150
+ Migrating to CreateRefererTrackingRefererTrackings (20120119124101)
151
+ Migrating to TableRename (20120418183653)
152
+  (0.5ms) ALTER TABLE "referer_tracking_referer_trackings" RENAME TO "referer_trackings"
153
+  (0.1ms) ALTER TABLE "referer_trackings" ADD "request_added" varchar(255)
154
+ SQLite3::SQLException: duplicate column name: request_added: ALTER TABLE "referer_trackings" ADD "request_added" varchar(255)
155
+  (0.8ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
156
+ Migrating to CreateUsers (20120119111039)
157
+ Migrating to CreateRefererTrackingRefererTrackings (20120119124101)
158
+ Migrating to TableRename (20120418183653)
159
+  (0.0ms) select sqlite_version(*)
160
+  (0.2ms) ALTER TABLE "referer_trackings" ADD "request_added" varchar(255)
161
+ SQLite3::SQLException: no such table: referer_trackings: ALTER TABLE "referer_trackings" ADD "request_added" varchar(255)
162
+  (0.8ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
163
+ Migrating to CreateUsers (20120119111039)
164
+ Migrating to CreateRefererTrackingRefererTrackings (20120119124101)
165
+ Migrating to TableRename (20120418183653)
166
+  (0.1ms) select sqlite_version(*)
167
+  (0.5ms) ALTER TABLE "referer_tracking_referer_trackings" RENAME TO "referer_trackings"
168
+  (0.1ms) ALTER TABLE "referer_trackings" ADD "request_added" varchar(255)
169
+ SQLite3::SQLException: duplicate column name: request_added: ALTER TABLE "referer_trackings" ADD "request_added" varchar(255)
170
+  (0.8ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
171
+ Migrating to CreateUsers (20120119111039)
172
+ Migrating to CreateRefererTrackingRefererTrackings (20120119124101)
173
+ Migrating to TableRename (20120418183653)
174
+  (0.0ms) select sqlite_version(*)
175
+  (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120418183653')
176
+  (0.7ms) select sqlite_version(*)
177
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
178
+  (0.0ms) PRAGMA index_list("referer_tracking_referer_trackings")
179
+  (0.0ms) PRAGMA index_list("users")
180
+  (0.8ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
181
+ Migrating to CreateUsers (20120119111039)
182
+ Migrating to CreateRefererTrackingRefererTrackings (20120119124101)
183
+ Migrating to TableRename (20120418183653)
184
+  (0.2ms) select sqlite_version(*)
185
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
186
+  (0.0ms) PRAGMA index_list("referer_tracking_referer_trackings")
187
+  (0.0ms) PRAGMA index_list("users")
188
+  (0.8ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
189
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
190
+ Migrating to TableRename (20120418183653)
191
+  (0.0ms) select sqlite_version(*)
192
+  (0.1ms) ALTER TABLE "referer_trackings" RENAME TO "referer_tracking_referer_trackings"
193
+ SQLite3::SQLException: no such table: referer_trackings: ALTER TABLE "referer_trackings" RENAME TO "referer_tracking_referer_trackings"
194
+  (0.8ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
195
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
196
+ Migrating to TableRename (20120418183653)
197
+  (0.0ms) select sqlite_version(*)
198
+  (0.8ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
199
+ Migrating to CreateUsers (20120119111039)
200
+ Migrating to CreateRefererTrackingRefererTrackings (20120119124101)
201
+ Migrating to TableRename (20120418183653)
202
+  (0.2ms) select sqlite_version(*)
203
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
204
+  (0.0ms) PRAGMA index_list("referer_tracking_referer_trackings")
205
+  (0.0ms) PRAGMA index_list("users")
206
+  (0.8ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
207
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
208
+ Migrating to TableRename (20120418183653)
209
+  (0.0ms) select sqlite_version(*)
210
+  (0.1ms) ALTER TABLE "referer_trackings" RENAME TO "referer_tracking_referer_trackings"
211
+ SQLite3::SQLException: no such table: referer_trackings: ALTER TABLE "referer_trackings" RENAME TO "referer_tracking_referer_trackings"
212
+  (0.8ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
213
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
214
+ Migrating to TableRename (20120418183653)
215
+  (0.0ms) select sqlite_version(*)
216
+  (0.6ms) ALTER TABLE "referer_tracking_referer_trackings" RENAME TO "referer_trackings"
217
+  (0.2ms) CREATE TEMPORARY TABLE "altered_referer_trackings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "trackable_id" integer, "trackable_type" varchar(255), "referer_url" text, "first_url" text, "user_agent" varchar(255), "created_at" datetime, "updated_at" datetime, "request_added" varchar(255), "session_added" varchar(255)) 
218
+  (0.0ms) PRAGMA index_list("referer_trackings")
219
+  (0.1ms) SELECT * FROM "referer_trackings"
220
+  (5.1ms) DROP TABLE "referer_trackings"
221
+  (0.1ms) CREATE TABLE "referer_trackings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "trackable_id" integer, "trackable_type" varchar(255), "referer_url" text, "first_url" text, "user_agent" varchar(255), "created_at" datetime, "updated_at" datetime, "request_added" varchar(255)) 
222
+  (0.1ms) PRAGMA index_list("altered_referer_trackings")
223
+  (0.1ms) SELECT * FROM "altered_referer_trackings"
224
+  (0.2ms) DROP TABLE "altered_referer_trackings"
225
+  (0.1ms) CREATE TEMPORARY TABLE "altered_referer_trackings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "trackable_id" integer, "trackable_type" varchar(255), "referer_url" text, "first_url" text, "user_agent" varchar(255), "created_at" datetime, "updated_at" datetime, "request_added" varchar(255)) 
226
+  (0.1ms) PRAGMA index_list("referer_trackings")
227
+  (0.1ms) SELECT * FROM "referer_trackings"
228
+  (0.1ms) DROP TABLE "referer_trackings"
229
+  (0.1ms) CREATE TABLE "referer_trackings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "trackable_id" integer, "trackable_type" varchar(255), "referer_url" text, "first_url" text, "user_agent" varchar(255), "created_at" datetime, "updated_at" datetime) 
230
+  (0.0ms) PRAGMA index_list("altered_referer_trackings")
231
+  (0.0ms) SELECT * FROM "altered_referer_trackings"
232
+  (0.1ms) DROP TABLE "altered_referer_trackings"
233
+  (0.3ms) DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20120418183653'
234
+  (0.7ms) select sqlite_version(*)
235
+  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
236
+  (0.0ms) PRAGMA index_list("referer_trackings")
237
+  (0.0ms) PRAGMA index_list("users")
238
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
239
+ Migrating to CreateUsers (20120119111039)
240
+ Migrating to CreateRefererTrackingRefererTrackings (20120119124101)
241
+ Migrating to TableRename (20120418183653)
242
+  (0.5ms) ALTER TABLE "referer_trackings" RENAME TO "referer_tracking_referer_trackings"
243
+  (0.1ms) ALTER TABLE "referer_trackings" ADD "request_added" varchar(255)
244
+ SQLite3::SQLException: no such table: referer_trackings: ALTER TABLE "referer_trackings" ADD "request_added" varchar(255)
245
+  (0.8ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
246
+ Migrating to CreateUsers (20120119111039)
247
+ Migrating to CreateRefererTrackingRefererTrackings (20120119124101)
248
+ Migrating to TableRename (20120418183653)
249
+  (0.0ms) select sqlite_version(*)
250
+  (0.1ms) ALTER TABLE "referer_tracking_referer_trackings" RENAME TO "referer_trackings"
251
+ SQLite3::SQLException: no such table: referer_tracking_referer_trackings: ALTER TABLE "referer_tracking_referer_trackings" RENAME TO "referer_trackings"
252
+  (0.8ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
253
+ Migrating to CreateUsers (20120119111039)
254
+ Migrating to CreateRefererTrackingRefererTrackings (20120119124101)
255
+ Migrating to TableRename (20120418183653)
256
+  (0.0ms) select sqlite_version(*)
257
+  (0.5ms) ALTER TABLE "referer_trackings" ADD "request_added" varchar(255)
258
+  (0.1ms) ALTER TABLE "referer_trackings" ADD "session_added" varchar(255)
259
+  (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120418183653')
260
+  (0.2ms) select sqlite_version(*)
261
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
262
+  (0.0ms) PRAGMA index_list("referer_trackings")
263
+  (0.0ms) PRAGMA index_list("users")
264
+  (0.8ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
265
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
266
+ Migrating to TableRename (20120418183653)
267
+  (0.0ms) select sqlite_version(*)
268
+  (0.3ms) CREATE TEMPORARY TABLE "altered_referer_trackings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "trackable_id" integer, "trackable_type" varchar(255), "referer_url" text, "first_url" text, "user_agent" varchar(255), "created_at" datetime, "updated_at" datetime, "request_added" varchar(255), "session_added" varchar(255))
269
+  (0.0ms) PRAGMA index_list("referer_trackings")
270
+  (0.1ms) SELECT * FROM "referer_trackings"
271
+  (0.5ms) DROP TABLE "referer_trackings"
272
+  (0.1ms) CREATE TABLE "referer_trackings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "trackable_id" integer, "trackable_type" varchar(255), "referer_url" text, "first_url" text, "user_agent" varchar(255), "created_at" datetime, "updated_at" datetime, "request_added" varchar(255))
273
+  (0.0ms) PRAGMA index_list("altered_referer_trackings")
274
+  (0.1ms) SELECT * FROM "altered_referer_trackings"
275
+  (0.1ms) DROP TABLE "altered_referer_trackings"
276
+  (0.1ms) CREATE TEMPORARY TABLE "altered_referer_trackings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "trackable_id" integer, "trackable_type" varchar(255), "referer_url" text, "first_url" text, "user_agent" varchar(255), "created_at" datetime, "updated_at" datetime, "request_added" varchar(255))
277
+  (0.0ms) PRAGMA index_list("referer_trackings")
278
+  (0.1ms) SELECT * FROM "referer_trackings"
279
+  (0.1ms) DROP TABLE "referer_trackings"
280
+  (0.1ms) CREATE TABLE "referer_trackings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "trackable_id" integer, "trackable_type" varchar(255), "referer_url" text, "first_url" text, "user_agent" varchar(255), "created_at" datetime, "updated_at" datetime)
281
+  (0.0ms) PRAGMA index_list("altered_referer_trackings")
282
+  (0.0ms) SELECT * FROM "altered_referer_trackings"
283
+  (0.1ms) DROP TABLE "altered_referer_trackings"
284
+  (0.2ms) ALTER TABLE "referer_trackings" RENAME TO "referer_tracking_referer_trackings"
285
+  (0.2ms) DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20120418183653'
286
+  (0.7ms) select sqlite_version(*)
287
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
288
+  (0.0ms) PRAGMA index_list("referer_tracking_referer_trackings")
289
+  (0.0ms) PRAGMA index_list("users")
290
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
291
+ Migrating to CreateUsers (20120119111039)
292
+ Migrating to CreateRefererTrackingRefererTrackings (20120119124101)
293
+ Migrating to TableRename (20120418183653)
294
+  (0.5ms) ALTER TABLE "referer_tracking_referer_trackings" RENAME TO "referer_trackings"
295
+  (0.1ms) ALTER TABLE "referer_trackings" ADD "request_added" varchar(255)
296
+  (0.1ms) ALTER TABLE "referer_trackings" ADD "session_added" varchar(255)
297
+  (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120418183653')
298
+  (1.0ms) select sqlite_version(*)
299
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
300
+  (0.0ms) PRAGMA index_list("referer_trackings")
301
+  (0.1ms) PRAGMA index_list("users")
302
+  (0.8ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
303
+  (0.0ms) select sqlite_version(*)
304
+  (0.3ms) CREATE TEMPORARY TABLE "altered_referer_trackings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "trackable_id" integer, "trackable_type" varchar(255), "referer_url" text, "first_url" text, "user_agent" varchar(255), "created_at" datetime, "updated_at" datetime, "request_added" varchar(255), "session_added" varchar(255)) 
305
+  (0.0ms) PRAGMA index_list("referer_trackings")
306
+  (0.1ms) SELECT * FROM "referer_trackings"
307
+  (0.4ms) DROP TABLE "referer_trackings"
308
+  (0.1ms) CREATE TABLE "referer_trackings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "trackable_id" integer, "trackable_type" varchar(255), "referer_url" text, "first_url" text, "user_agent" varchar(255), "created_at" datetime, "updated_at" datetime, "request_added" varchar(255)) 
309
+  (0.0ms) PRAGMA index_list("altered_referer_trackings")
310
+  (0.1ms) SELECT * FROM "altered_referer_trackings"
311
+  (0.1ms) DROP TABLE "altered_referer_trackings"
312
+  (0.6ms) CREATE TEMPORARY TABLE "altered_referer_trackings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "trackable_id" integer, "trackable_type" varchar(255), "referer_url" text, "first_url" text, "user_agent" varchar(255), "created_at" datetime, "updated_at" datetime, "request_added" varchar(255)) 
313
+  (0.1ms) PRAGMA index_list("referer_trackings")
314
+  (0.4ms) SELECT * FROM "referer_trackings"
315
+  (1.2ms) DROP TABLE "referer_trackings"
316
+  (0.1ms) CREATE TABLE "referer_trackings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "trackable_id" integer, "trackable_type" varchar(255), "referer_url" text, "first_url" text, "user_agent" varchar(255), "created_at" datetime, "updated_at" datetime) 
317
+  (0.0ms) PRAGMA index_list("altered_referer_trackings")
318
+  (0.0ms) SELECT * FROM "altered_referer_trackings"
319
+  (0.1ms) DROP TABLE "altered_referer_trackings"
320
+  (34.9ms) ALTER TABLE "referer_trackings" RENAME TO "referer_tracking_referer_trackings"
321
+  (29.9ms) DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20120418183653'
322
+  (0.2ms) select sqlite_version(*)
323
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
324
+  (0.0ms) PRAGMA index_list("referer_tracking_referer_trackings")
325
+  (0.0ms) PRAGMA index_list("users")
326
+  (0.8ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
327
+  (0.1ms) DROP TABLE "referer_trackings"
328
+ SQLite3::SQLException: no such table: referer_trackings: DROP TABLE "referer_trackings"
329
+  (0.8ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
330
+ Migrating to CreateUsers (20120119111039)
331
+ Migrating to CreateRefererTrackingRefererTrackings (20120119124101)
332
+ Migrating to TableRename (20120418183653)
333
+  (0.0ms) select sqlite_version(*)
334
+  (0.5ms) ALTER TABLE "referer_tracking_referer_trackings" RENAME TO "referer_trackings"
335
+  (0.1ms) ALTER TABLE "referer_trackings" ADD "request_added" varchar(255)
336
+  (0.1ms) ALTER TABLE "referer_trackings" ADD "session_added" varchar(255)
337
+  (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120418183653')
338
+  (0.7ms) select sqlite_version(*)
339
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
340
+  (0.0ms) PRAGMA index_list("referer_trackings")
341
+  (0.0ms) PRAGMA index_list("users")
342
+  (0.8ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
343
+  (0.0ms) select sqlite_version(*)
344
+  (0.3ms) CREATE TEMPORARY TABLE "altered_referer_trackings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "trackable_id" integer, "trackable_type" varchar(255), "referer_url" text, "first_url" text, "user_agent" varchar(255), "created_at" datetime, "updated_at" datetime, "request_added" varchar(255), "session_added" varchar(255)) 
345
+  (0.0ms) PRAGMA index_list("referer_trackings")
346
+  (0.1ms) SELECT * FROM "referer_trackings"
347
+  (0.5ms) DROP TABLE "referer_trackings"
348
+  (0.1ms) CREATE TABLE "referer_trackings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "trackable_id" integer, "trackable_type" varchar(255), "referer_url" text, "first_url" text, "user_agent" varchar(255), "created_at" datetime, "updated_at" datetime, "request_added" varchar(255)) 
349
+  (0.0ms) PRAGMA index_list("altered_referer_trackings")
350
+  (0.1ms) SELECT * FROM "altered_referer_trackings"
351
+  (0.2ms) DROP TABLE "altered_referer_trackings"
352
+  (0.4ms) CREATE TEMPORARY TABLE "altered_referer_trackings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "trackable_id" integer, "trackable_type" varchar(255), "referer_url" text, "first_url" text, "user_agent" varchar(255), "created_at" datetime, "updated_at" datetime, "request_added" varchar(255)) 
353
+  (0.1ms) PRAGMA index_list("referer_trackings")
354
+  (0.3ms) SELECT * FROM "referer_trackings"
355
+  (1.2ms) DROP TABLE "referer_trackings"
356
+  (0.1ms) CREATE TABLE "referer_trackings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "trackable_id" integer, "trackable_type" varchar(255), "referer_url" text, "first_url" text, "user_agent" varchar(255), "created_at" datetime, "updated_at" datetime) 
357
+  (0.0ms) PRAGMA index_list("altered_referer_trackings")
358
+  (0.1ms) SELECT * FROM "altered_referer_trackings"
359
+  (0.1ms) DROP TABLE "altered_referer_trackings"
360
+  (24.8ms) DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20120418183653'
361
+  (0.3ms) select sqlite_version(*)
362
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
363
+  (0.0ms) PRAGMA index_list("referer_trackings")
364
+  (0.0ms) PRAGMA index_list("users")
365
+  (0.8ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
366
+  (39.3ms) DROP TABLE "referer_trackings"
367
+  (24.2ms) DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20120119124101'
368
+  (0.2ms) select sqlite_version(*)
369
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
370
+  (0.0ms) PRAGMA index_list("users")
371
+  (0.8ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
372
+ Migrating to CreateUsers (20120119111039)
373
+ Migrating to CreateRefererTrackingRefererTrackings (20120119124101)
374
+  (0.0ms) select sqlite_version(*)
375
+  (0.6ms) CREATE TABLE "referer_trackings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "trackable_id" integer, "trackable_type" varchar(255), "referer_url" text, "first_url" text, "current_request_url" text, "current_request_referer_url" text, "user_agent" varchar(255), "created_at" datetime, "updated_at" datetime) 
376
+  (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120119124101')
377
+ Migrating to TableRename (20120418183653)
378
+  (1.7ms) ALTER TABLE "referer_trackings" ADD "request_added" varchar(255)
379
+  (0.5ms) ALTER TABLE "referer_trackings" ADD "session_added" varchar(255)
380
+  (0.9ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120418183653')
381
+  (0.2ms) select sqlite_version(*)
382
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
383
+  (0.0ms) PRAGMA index_list("referer_trackings")
384
+  (0.0ms) PRAGMA index_list("users")
385
+  (0.8ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
386
+ Migrating to CreateUsers (20120119111039)
387
+ Migrating to CreateRefererTrackingRefererTrackings (20120119124101)
388
+ Migrating to TableRename (20120418183653)
389
+  (0.2ms) select sqlite_version(*)
390
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
391
+  (0.0ms) PRAGMA index_list("referer_trackings")
392
+  (0.0ms) PRAGMA index_list("users")
393
+  (0.8ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
394
+ Migrating to CreateUsers (20120119111039)
395
+ Migrating to CreateRefererTrackingRefererTrackings (20120119124101)
396
+ Migrating to TableRename (20120418183653)
397
+  (0.2ms) select sqlite_version(*)
398
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
399
+  (0.0ms) PRAGMA index_list("referer_trackings")
400
+  (0.0ms) PRAGMA index_list("users")
@@ -5882,3 +5882,1239 @@ Started GET "/users" for 127.0.0.1 at 2012-04-19 17:43:45 +0300
5882
5882
  REFERER_TRACKING_FIRST: ver03 (ref|first) ||| www.some-source-forward.com ||| http://www.example.com/users
5883
5883
  User Load (0.2ms) SELECT "users".* FROM "users"
5884
5884
  Completed 200 OK in 9ms (Views: 7.7ms | ActiveRecord: 0.2ms)
5885
+ Fixture Delete (4.6ms) DELETE FROM "users"
5886
+ Fixture Insert (0.9ms) INSERT INTO "users" ("name", "created_at", "updated_at", "id") VALUES ('Agent Smith', '2013-06-07 15:23:35', '2013-06-07 15:23:35', 980190962)
5887
+ Fixture Insert (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at", "id") VALUES ('Agent Born', '2013-06-07 15:23:35', '2013-06-07 15:23:35', 298486374)
5888
+
5889
+
5890
+ Started GET "/users" for 127.0.0.1 at 2013-06-07 18:23:35 +0300
5891
+ Processing by UsersController#index as HTML
5892
+ REFERER_TRACKING_FIRST: ver03 (ref|first) ||| www.some-source-forward.com ||| http://www.example.com/users
5893
+ User Load (0.2ms) SELECT "users".* FROM "users"
5894
+ Rendered users/index.html.erb within layouts/application (23.9ms)
5895
+ Completed 200 OK in 37ms (Views: 35.2ms | ActiveRecord: 0.2ms)
5896
+
5897
+
5898
+ Started POST "/users" for 127.0.0.1 at 2013-06-07 18:23:35 +0300
5899
+ Processing by UsersController#create as HTML
5900
+ Parameters: {"user"=>{"name"=>"test name"}}
5901
+  (0.1ms) SAVEPOINT active_record_1
5902
+ SQL (2.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 07 Jun 2013 15:23:35 UTC +00:00], ["name", "test name"], ["updated_at", Fri, 07 Jun 2013 15:23:35 UTC +00:00]]
5903
+ RefererTracking::Sweeper.after_create problem with creating record: Exception
5904
+  (0.1ms) RELEASE SAVEPOINT active_record_1
5905
+ Redirected to http://www.example.com/users/980190963
5906
+ Completed 302 Found in 16ms
5907
+
5908
+
5909
+ Started GET "/users" for 127.0.0.1 at 2013-06-07 18:23:36 +0300
5910
+ Processing by UsersController#index as HTML
5911
+ REFERER_TRACKING_FIRST: ver03 (ref|first) ||| www.some-source-forward.com ||| http://www.example.com/users
5912
+ User Load (0.1ms) SELECT "users".* FROM "users"
5913
+ Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.1ms)
5914
+  (0.1ms) SELECT COUNT(*) FROM "referer_trackings" 
5915
+
5916
+
5917
+ Started POST "/users" for 127.0.0.1 at 2013-06-07 18:23:36 +0300
5918
+ Processing by UsersController#create as HTML
5919
+ Parameters: {"user"=>{"name"=>"test name"}}
5920
+  (0.0ms) SAVEPOINT active_record_1
5921
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 07 Jun 2013 15:23:36 UTC +00:00], ["name", "test name"], ["updated_at", Fri, 07 Jun 2013 15:23:36 UTC +00:00]]
5922
+ SQL (0.3ms) INSERT INTO "referer_trackings" ("created_at", "first_url", "referer_url", "request_added", "session_added", "trackable_id", "trackable_type", "updated_at", "user_agent") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 07 Jun 2013 15:23:36 UTC +00:00], ["first_url", "http://www.example.com/users"], ["referer_url", "www.some-source-forward.com"], ["request_added", "testing_request_add"], ["session_added", "testing_session_add"], ["trackable_id", 980190963], ["trackable_type", "User"], ["updated_at", Fri, 07 Jun 2013 15:23:36 UTC +00:00], ["user_agent", "som user agent"]]
5923
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5924
+ Redirected to http://www.example.com/users/980190963
5925
+ Completed 302 Found in 3ms
5926
+  (0.1ms) SELECT COUNT(*) FROM "referer_trackings"
5927
+ RefererTracking::RefererTracking Load (0.1ms) SELECT "referer_trackings".* FROM "referer_trackings" ORDER BY created_at DESC LIMIT 1
5928
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'test name' LIMIT 1
5929
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 980190963 LIMIT 1
5930
+ RefererTracking::RefererTracking Load (0.1ms) SELECT "referer_trackings".* FROM "referer_trackings" WHERE "referer_trackings"."trackable_id" = 980190963 AND "referer_trackings"."trackable_type" = 'User' LIMIT 1
5931
+
5932
+
5933
+ Started PUT "/users/980190963" for 127.0.0.1 at 2013-06-07 18:23:36 +0300
5934
+ Processing by UsersController#update as HTML
5935
+ Parameters: {"user"=>{"name"=>"test name"}, "id"=>"980190963"}
5936
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "980190963"]]
5937
+  (0.0ms) SAVEPOINT active_record_1
5938
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5939
+ Redirected to http://www.example.com/users/980190963
5940
+ Completed 302 Found in 2ms
5941
+  (0.1ms) SELECT COUNT(*) FROM "referer_trackings"
5942
+
5943
+
5944
+ Started GET "/users" for 127.0.0.1 at 2013-06-07 18:23:36 +0300
5945
+ Processing by UsersController#index as HTML
5946
+ REFERER_TRACKING_FIRST: ver03 (ref|first) ||| www.some-source-forward.com ||| http://www.example.com/users
5947
+ User Load (0.1ms) SELECT "users".* FROM "users" 
5948
+ Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.1ms)
5949
+ User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 1
5950
+
5951
+
5952
+ Started GET "/users/298486374" for 127.0.0.1 at 2013-06-07 18:23:36 +0300
5953
+ Processing by UsersController#show as HTML
5954
+ Parameters: {"id"=>"298486374"}
5955
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "298486374"]]
5956
+ Completed 200 OK in 3ms (Views: 2.0ms | ActiveRecord: 0.0ms)
5957
+
5958
+
5959
+ Started GET "/users" for 127.0.0.1 at 2013-06-07 18:23:36 +0300
5960
+ Processing by UsersController#index as HTML
5961
+ REFERER_TRACKING_FIRST: ver03 (ref|first) ||| www.some-source-forward.com ||| http://www.example.com/users
5962
+ User Load (0.1ms) SELECT "users".* FROM "users"
5963
+ Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.1ms)
5964
+ Fixture Delete (0.3ms) DELETE FROM "users"
5965
+ Fixture Insert (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at", "id") VALUES ('Agent Smith', '2013-06-07 15:35:36', '2013-06-07 15:35:36', 980190962)
5966
+ Fixture Insert (0.0ms) INSERT INTO "users" ("name", "created_at", "updated_at", "id") VALUES ('Agent Born', '2013-06-07 15:35:36', '2013-06-07 15:35:36', 298486374)
5967
+
5968
+
5969
+ Started GET "/users" for 127.0.0.1 at 2013-06-07 18:35:36 +0300
5970
+ Processing by UsersController#index as HTML
5971
+ REFERER_TRACKING_FIRST: ver03 (ref|first) ||| www.some-source-forward.com ||| http://www.example.com/users
5972
+ User Load (0.2ms) SELECT "users".* FROM "users"
5973
+ Rendered users/index.html.erb within layouts/application (7.6ms)
5974
+ Completed 200 OK in 17ms (Views: 15.9ms | ActiveRecord: 0.2ms)
5975
+
5976
+
5977
+ Started POST "/users" for 127.0.0.1 at 2013-06-07 18:35:37 +0300
5978
+ Processing by UsersController#create as HTML
5979
+ Parameters: {"user"=>{"name"=>"test name"}}
5980
+  (0.1ms) SAVEPOINT active_record_1
5981
+ SQL (2.0ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 07 Jun 2013 15:35:37 UTC +00:00], ["name", "test name"], ["updated_at", Fri, 07 Jun 2013 15:35:37 UTC +00:00]]
5982
+ RefererTracking::Sweeper.after_create problem with creating record: Exception
5983
+  (0.1ms) RELEASE SAVEPOINT active_record_1
5984
+ Redirected to http://www.example.com/users/980190963
5985
+ Completed 302 Found in 15ms
5986
+
5987
+
5988
+ Started GET "/users" for 127.0.0.1 at 2013-06-07 18:35:37 +0300
5989
+ Processing by UsersController#index as HTML
5990
+ REFERER_TRACKING_FIRST: ver03 (ref|first) ||| www.some-source-forward.com ||| http://www.example.com/users
5991
+ User Load (0.1ms) SELECT "users".* FROM "users"
5992
+ Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.1ms)
5993
+  (0.1ms) SELECT COUNT(*) FROM "referer_trackings" 
5994
+
5995
+
5996
+ Started POST "/users" for 127.0.0.1 at 2013-06-07 18:35:37 +0300
5997
+ Processing by UsersController#create as HTML
5998
+ Parameters: {"user"=>{"name"=>"test name"}}
5999
+  (0.0ms) SAVEPOINT active_record_1
6000
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 07 Jun 2013 15:35:37 UTC +00:00], ["name", "test name"], ["updated_at", Fri, 07 Jun 2013 15:35:37 UTC +00:00]]
6001
+ SQL (0.4ms) INSERT INTO "referer_trackings" ("created_at", "first_url", "referer_url", "request_added", "session_added", "trackable_id", "trackable_type", "updated_at", "user_agent") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 07 Jun 2013 15:35:37 UTC +00:00], ["first_url", "http://www.example.com/users"], ["referer_url", "www.some-source-forward.com"], ["request_added", "testing_request_add"], ["session_added", "testing_session_add"], ["trackable_id", 980190963], ["trackable_type", "User"], ["updated_at", Fri, 07 Jun 2013 15:35:37 UTC +00:00], ["user_agent", "som user agent"]]
6002
+  (0.0ms) RELEASE SAVEPOINT active_record_1
6003
+ Redirected to http://www.example.com/users/980190963
6004
+ Completed 302 Found in 4ms
6005
+  (0.1ms) SELECT COUNT(*) FROM "referer_trackings"
6006
+ RefererTracking::RefererTracking Load (0.1ms) SELECT "referer_trackings".* FROM "referer_trackings" ORDER BY created_at DESC LIMIT 1
6007
+
6008
+
6009
+ Started GET "/users" for 127.0.0.1 at 2013-06-07 18:35:37 +0300
6010
+ Processing by UsersController#index as HTML
6011
+ REFERER_TRACKING_FIRST: ver03 (ref|first) ||| www.some-source-forward.com ||| http://www.example.com/users
6012
+ User Load (0.1ms) SELECT "users".* FROM "users"
6013
+ Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.1ms)
6014
+ User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 1
6015
+
6016
+
6017
+ Started GET "/users/298486374" for 127.0.0.1 at 2013-06-07 18:35:37 +0300
6018
+ Processing by UsersController#show as HTML
6019
+ Parameters: {"id"=>"298486374"}
6020
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "298486374"]]
6021
+ Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.1ms)
6022
+
6023
+
6024
+ Started GET "/users" for 127.0.0.1 at 2013-06-07 18:35:37 +0300
6025
+ Processing by UsersController#index as HTML
6026
+ REFERER_TRACKING_FIRST: ver03 (ref|first) ||| www.some-source-forward.com ||| http://www.example.com/users
6027
+ User Load (0.1ms) SELECT "users".* FROM "users" 
6028
+ Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.1ms)
6029
+ Fixture Delete (0.3ms) DELETE FROM "users"
6030
+ Fixture Insert (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at", "id") VALUES ('Agent Smith', '2013-06-07 15:36:52', '2013-06-07 15:36:52', 980190962)
6031
+ Fixture Insert (0.0ms) INSERT INTO "users" ("name", "created_at", "updated_at", "id") VALUES ('Agent Born', '2013-06-07 15:36:52', '2013-06-07 15:36:52', 298486374)
6032
+
6033
+
6034
+ Started GET "/users" for 127.0.0.1 at 2013-06-07 18:36:52 +0300
6035
+ Processing by UsersController#index as HTML
6036
+ REFERER_TRACKING_FIRST: ver03 (ref|first) ||| www.some-source-forward.com ||| http://www.example.com/users
6037
+ User Load (0.2ms) SELECT "users".* FROM "users"
6038
+ Rendered users/index.html.erb within layouts/application (7.5ms)
6039
+ Completed 200 OK in 17ms (Views: 15.6ms | ActiveRecord: 0.2ms)
6040
+
6041
+
6042
+ Started POST "/users" for 127.0.0.1 at 2013-06-07 18:36:52 +0300
6043
+ Processing by UsersController#create as HTML
6044
+ Parameters: {"user"=>{"name"=>"test name"}}
6045
+  (0.1ms) SAVEPOINT active_record_1
6046
+ SQL (2.0ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 07 Jun 2013 15:36:52 UTC +00:00], ["name", "test name"], ["updated_at", Fri, 07 Jun 2013 15:36:52 UTC +00:00]]
6047
+ RefererTracking::Sweeper.after_create problem with creating record: undefined method `pry' for #<Binding:0x00000003e2b398>
6048
+  (0.0ms) RELEASE SAVEPOINT active_record_1
6049
+ Redirected to http://www.example.com/users/980190963
6050
+ Completed 302 Found in 15ms
6051
+
6052
+
6053
+ Started GET "/users" for 127.0.0.1 at 2013-06-07 18:36:52 +0300
6054
+ Processing by UsersController#index as HTML
6055
+ REFERER_TRACKING_FIRST: ver03 (ref|first) ||| www.some-source-forward.com ||| http://www.example.com/users
6056
+ User Load (0.1ms) SELECT "users".* FROM "users"
6057
+ Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.1ms)
6058
+  (0.1ms) SELECT COUNT(*) FROM "referer_trackings" 
6059
+
6060
+
6061
+ Started POST "/users" for 127.0.0.1 at 2013-06-07 18:36:52 +0300
6062
+ Processing by UsersController#create as HTML
6063
+ Parameters: {"user"=>{"name"=>"test name"}}
6064
+  (0.0ms) SAVEPOINT active_record_1
6065
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 07 Jun 2013 15:36:52 UTC +00:00], ["name", "test name"], ["updated_at", Fri, 07 Jun 2013 15:36:52 UTC +00:00]]
6066
+ RefererTracking::Sweeper.after_create problem with creating record: undefined method `pry' for #<Binding:0x00000003dc41c0>
6067
+  (0.0ms) RELEASE SAVEPOINT active_record_1
6068
+ Redirected to http://www.example.com/users/980190963
6069
+ Completed 302 Found in 3ms
6070
+  (0.1ms) SELECT COUNT(*) FROM "referer_trackings" 
6071
+
6072
+
6073
+ Started GET "/users" for 127.0.0.1 at 2013-06-07 18:36:52 +0300
6074
+ Processing by UsersController#index as HTML
6075
+ REFERER_TRACKING_FIRST: ver03 (ref|first) ||| www.some-source-forward.com ||| http://www.example.com/users
6076
+ User Load (0.1ms) SELECT "users".* FROM "users"
6077
+ Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.1ms)
6078
+ User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 1
6079
+
6080
+
6081
+ Started GET "/users/298486374" for 127.0.0.1 at 2013-06-07 18:36:52 +0300
6082
+ Processing by UsersController#show as HTML
6083
+ Parameters: {"id"=>"298486374"}
6084
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "298486374"]]
6085
+ Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.1ms)
6086
+
6087
+
6088
+ Started GET "/users" for 127.0.0.1 at 2013-06-07 18:36:52 +0300
6089
+ Processing by UsersController#index as HTML
6090
+ REFERER_TRACKING_FIRST: ver03 (ref|first) ||| www.some-source-forward.com ||| http://www.example.com/users
6091
+ User Load (0.1ms) SELECT "users".* FROM "users" 
6092
+ Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.1ms)
6093
+ Fixture Delete (0.3ms) DELETE FROM "users"
6094
+ Fixture Insert (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at", "id") VALUES ('Agent Smith', '2013-06-07 15:37:03', '2013-06-07 15:37:03', 980190962)
6095
+ Fixture Insert (0.0ms) INSERT INTO "users" ("name", "created_at", "updated_at", "id") VALUES ('Agent Born', '2013-06-07 15:37:03', '2013-06-07 15:37:03', 298486374)
6096
+
6097
+
6098
+ Started GET "/users" for 127.0.0.1 at 2013-06-07 18:37:04 +0300
6099
+ Processing by UsersController#index as HTML
6100
+ REFERER_TRACKING_FIRST: ver03 (ref|first) ||| www.some-source-forward.com ||| http://www.example.com/users
6101
+ User Load (0.2ms) SELECT "users".* FROM "users"
6102
+ Rendered users/index.html.erb within layouts/application (7.5ms)
6103
+ Completed 200 OK in 17ms (Views: 15.5ms | ActiveRecord: 0.2ms)
6104
+
6105
+
6106
+ Started POST "/users" for 127.0.0.1 at 2013-06-07 18:37:04 +0300
6107
+ Processing by UsersController#create as HTML
6108
+ Parameters: {"user"=>{"name"=>"test name"}}
6109
+  (0.1ms) SAVEPOINT active_record_1
6110
+ SQL (1.9ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 07 Jun 2013 15:37:04 UTC +00:00], ["name", "test name"], ["updated_at", Fri, 07 Jun 2013 15:37:04 UTC +00:00]]
6111
+ RefererTracking::Sweeper.after_create problem with creating record: undefined method `pry' for #<Binding:0x000000039305a0>
6112
+  (0.0ms) RELEASE SAVEPOINT active_record_1
6113
+ Redirected to http://www.example.com/users/980190963
6114
+ Completed 302 Found in 15ms
6115
+
6116
+
6117
+ Started GET "/users" for 127.0.0.1 at 2013-06-07 18:37:04 +0300
6118
+ Processing by UsersController#index as HTML
6119
+ REFERER_TRACKING_FIRST: ver03 (ref|first) ||| www.some-source-forward.com ||| http://www.example.com/users
6120
+ User Load (0.1ms) SELECT "users".* FROM "users"
6121
+ Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.1ms)
6122
+  (0.1ms) SELECT COUNT(*) FROM "referer_trackings" 
6123
+
6124
+
6125
+ Started POST "/users" for 127.0.0.1 at 2013-06-07 18:37:04 +0300
6126
+ Processing by UsersController#create as HTML
6127
+ Parameters: {"user"=>{"name"=>"test name"}}
6128
+  (0.0ms) SAVEPOINT active_record_1
6129
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 07 Jun 2013 15:37:04 UTC +00:00], ["name", "test name"], ["updated_at", Fri, 07 Jun 2013 15:37:04 UTC +00:00]]
6130
+ RefererTracking::Sweeper.after_create problem with creating record: undefined method `pry' for #<Binding:0x000000038c9580>
6131
+  (0.0ms) RELEASE SAVEPOINT active_record_1
6132
+ Redirected to http://www.example.com/users/980190963
6133
+ Completed 302 Found in 3ms
6134
+  (0.1ms) SELECT COUNT(*) FROM "referer_trackings" 
6135
+
6136
+
6137
+ Started GET "/users" for 127.0.0.1 at 2013-06-07 18:37:04 +0300
6138
+ Processing by UsersController#index as HTML
6139
+ REFERER_TRACKING_FIRST: ver03 (ref|first) ||| www.some-source-forward.com ||| http://www.example.com/users
6140
+ User Load (0.1ms) SELECT "users".* FROM "users"
6141
+ Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.1ms)
6142
+ User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 1
6143
+
6144
+
6145
+ Started GET "/users/298486374" for 127.0.0.1 at 2013-06-07 18:37:04 +0300
6146
+ Processing by UsersController#show as HTML
6147
+ Parameters: {"id"=>"298486374"}
6148
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "298486374"]]
6149
+ Completed 200 OK in 3ms (Views: 2.0ms | ActiveRecord: 0.1ms)
6150
+
6151
+
6152
+ Started GET "/users" for 127.0.0.1 at 2013-06-07 18:37:04 +0300
6153
+ Processing by UsersController#index as HTML
6154
+ REFERER_TRACKING_FIRST: ver03 (ref|first) ||| www.some-source-forward.com ||| http://www.example.com/users
6155
+ User Load (0.2ms) SELECT "users".* FROM "users" 
6156
+ Completed 200 OK in 5ms (Views: 3.8ms | ActiveRecord: 0.2ms)
6157
+ Fixture Delete (0.3ms) DELETE FROM "users"
6158
+ Fixture Insert (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at", "id") VALUES ('Agent Smith', '2013-06-07 15:38:03', '2013-06-07 15:38:03', 980190962)
6159
+ Fixture Insert (0.0ms) INSERT INTO "users" ("name", "created_at", "updated_at", "id") VALUES ('Agent Born', '2013-06-07 15:38:03', '2013-06-07 15:38:03', 298486374)
6160
+
6161
+
6162
+ Started GET "/users" for 127.0.0.1 at 2013-06-07 18:38:03 +0300
6163
+ Processing by UsersController#index as HTML
6164
+ REFERER_TRACKING_FIRST: ver03 (ref|first) ||| www.some-source-forward.com ||| http://www.example.com/users
6165
+ User Load (0.2ms) SELECT "users".* FROM "users"
6166
+ Rendered users/index.html.erb within layouts/application (7.2ms)
6167
+ Completed 200 OK in 17ms (Views: 15.5ms | ActiveRecord: 0.2ms)
6168
+
6169
+
6170
+ Started POST "/users" for 127.0.0.1 at 2013-06-07 18:38:03 +0300
6171
+ Processing by UsersController#create as HTML
6172
+ Parameters: {"user"=>{"name"=>"test name"}}
6173
+  (0.1ms) SAVEPOINT active_record_1
6174
+ SQL (2.1ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 07 Jun 2013 15:38:03 UTC +00:00], ["name", "test name"], ["updated_at", Fri, 07 Jun 2013 15:38:03 UTC +00:00]]
6175
+ RefererTracking::Sweeper.after_create problem with creating record: Exception
6176
+  (0.2ms) RELEASE SAVEPOINT active_record_1
6177
+ Redirected to http://www.example.com/users/980190963
6178
+ Completed 302 Found in 77121ms
6179
+
6180
+
6181
+ Started GET "/users" for 127.0.0.1 at 2013-06-07 18:39:21 +0300
6182
+ Processing by UsersController#index as HTML
6183
+ REFERER_TRACKING_FIRST: ver03 (ref|first) ||| www.some-source-forward.com ||| http://www.example.com/users
6184
+ User Load (0.1ms) SELECT "users".* FROM "users"
6185
+ Completed 200 OK in 4ms (Views: 3.6ms | ActiveRecord: 0.1ms)
6186
+  (0.1ms) SELECT COUNT(*) FROM "referer_trackings" 
6187
+
6188
+
6189
+ Started POST "/users" for 127.0.0.1 at 2013-06-07 18:39:21 +0300
6190
+ Processing by UsersController#create as HTML
6191
+ Parameters: {"user"=>{"name"=>"test name"}}
6192
+  (0.0ms) SAVEPOINT active_record_1
6193
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 07 Jun 2013 15:39:21 UTC +00:00], ["name", "test name"], ["updated_at", Fri, 07 Jun 2013 15:39:21 UTC +00:00]]
6194
+ SQL (1.3ms) INSERT INTO "referer_trackings" ("created_at", "first_url", "referer_url", "request_added", "session_added", "trackable_id", "trackable_type", "updated_at", "user_agent") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 07 Jun 2013 15:40:13 UTC +00:00], ["first_url", "http://www.example.com/users"], ["referer_url", "www.some-source-forward.com"], ["request_added", "testing_request_add"], ["session_added", "testing_session_add"], ["trackable_id", 980190963], ["trackable_type", "User"], ["updated_at", Fri, 07 Jun 2013 15:40:13 UTC +00:00], ["user_agent", "som user agent"]]
6195
+  (0.1ms) RELEASE SAVEPOINT active_record_1
6196
+ Redirected to http://www.example.com/users/980190963
6197
+ Completed 302 Found in 51976ms
6198
+  (0.2ms) SELECT COUNT(*) FROM "referer_trackings"
6199
+ RefererTracking::RefererTracking Load (0.4ms) SELECT "referer_trackings".* FROM "referer_trackings" ORDER BY created_at DESC LIMIT 1
6200
+
6201
+
6202
+ Started GET "/users" for 127.0.0.1 at 2013-06-07 18:40:13 +0300
6203
+ Processing by UsersController#index as HTML
6204
+ REFERER_TRACKING_FIRST: ver03 (ref|first) ||| www.some-source-forward.com ||| http://www.example.com/users
6205
+ User Load (0.1ms) SELECT "users".* FROM "users"
6206
+ Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.1ms)
6207
+ User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 1
6208
+
6209
+
6210
+ Started GET "/users/298486374" for 127.0.0.1 at 2013-06-07 18:40:13 +0300
6211
+ Processing by UsersController#show as HTML
6212
+ Parameters: {"id"=>"298486374"}
6213
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "298486374"]]
6214
+ Completed 200 OK in 3ms (Views: 2.0ms | ActiveRecord: 0.1ms)
6215
+
6216
+
6217
+ Started GET "/users" for 127.0.0.1 at 2013-06-07 18:40:13 +0300
6218
+ Processing by UsersController#index as HTML
6219
+ REFERER_TRACKING_FIRST: ver03 (ref|first) ||| www.some-source-forward.com ||| http://www.example.com/users
6220
+ User Load (0.1ms) SELECT "users".* FROM "users" 
6221
+ Completed 200 OK in 6ms (Views: 4.9ms | ActiveRecord: 0.1ms)
6222
+ Fixture Delete (0.3ms) DELETE FROM "users"
6223
+ Fixture Insert (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at", "id") VALUES ('Agent Smith', '2013-06-07 15:40:44', '2013-06-07 15:40:44', 980190962)
6224
+ Fixture Insert (0.0ms) INSERT INTO "users" ("name", "created_at", "updated_at", "id") VALUES ('Agent Born', '2013-06-07 15:40:44', '2013-06-07 15:40:44', 298486374)
6225
+
6226
+
6227
+ Started GET "/users" for 127.0.0.1 at 2013-06-07 18:40:44 +0300
6228
+ Processing by UsersController#index as HTML
6229
+ REFERER_TRACKING_FIRST: ver03 (ref|first) ||| www.some-source-forward.com ||| http://www.example.com/users
6230
+ User Load (16.2ms) SELECT "users".* FROM "users"
6231
+ Rendered users/index.html.erb within layouts/application (7.2ms)
6232
+ Completed 200 OK in 34ms (Views: 16.0ms | ActiveRecord: 16.2ms)
6233
+
6234
+
6235
+ Started POST "/users" for 127.0.0.1 at 2013-06-07 18:40:44 +0300
6236
+ Processing by UsersController#create as HTML
6237
+ Parameters: {"user"=>{"name"=>"test name"}}
6238
+  (0.1ms) SAVEPOINT active_record_1
6239
+ SQL (2.1ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 07 Jun 2013 15:40:44 UTC +00:00], ["name", "test name"], ["updated_at", Fri, 07 Jun 2013 15:40:44 UTC +00:00]]
6240
+ RefererTracking::RefererTracking Load (0.3ms) SELECT "referer_trackings".* FROM "referer_trackings" LIMIT 1
6241
+ CACHE (0.0ms) SELECT "referer_trackings".* FROM "referer_trackings" LIMIT 1
6242
+ RefererTracking::Sweeper.after_create problem with creating record: Exception
6243
+  (0.2ms) RELEASE SAVEPOINT active_record_1
6244
+ Redirected to http://www.example.com/users/980190963
6245
+ Completed 302 Found in 45469ms
6246
+
6247
+
6248
+ Started GET "/users" for 127.0.0.1 at 2013-06-07 18:41:29 +0300
6249
+ Processing by UsersController#index as HTML
6250
+ REFERER_TRACKING_FIRST: ver03 (ref|first) ||| www.some-source-forward.com ||| http://www.example.com/users
6251
+ User Load (0.5ms) SELECT "users".* FROM "users"
6252
+ Completed 200 OK in 9ms (Views: 5.4ms | ActiveRecord: 0.5ms)
6253
+  (0.1ms) SELECT COUNT(*) FROM "referer_trackings" 
6254
+
6255
+
6256
+ Started POST "/users" for 127.0.0.1 at 2013-06-07 18:41:29 +0300
6257
+ Processing by UsersController#create as HTML
6258
+ Parameters: {"user"=>{"name"=>"test name"}}
6259
+  (0.0ms) SAVEPOINT active_record_1
6260
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 07 Jun 2013 15:41:29 UTC +00:00], ["name", "test name"], ["updated_at", Fri, 07 Jun 2013 15:41:29 UTC +00:00]]
6261
+ SQL (1.3ms) INSERT INTO "referer_trackings" ("created_at", "first_url", "referer_url", "request_added", "session_added", "trackable_id", "trackable_type", "updated_at", "user_agent") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 07 Jun 2013 15:41:39 UTC +00:00], ["first_url", "http://www.example.com/users"], ["referer_url", "www.some-source-forward.com"], ["request_added", "testing_request_add"], ["session_added", "testing_session_add"], ["trackable_id", 980190963], ["trackable_type", "User"], ["updated_at", Fri, 07 Jun 2013 15:41:39 UTC +00:00], ["user_agent", "som user agent"]]
6262
+  (0.1ms) RELEASE SAVEPOINT active_record_1
6263
+ Redirected to http://www.example.com/users/980190963
6264
+ Completed 302 Found in 9855ms
6265
+  (0.2ms) SELECT COUNT(*) FROM "referer_trackings"
6266
+ RefererTracking::RefererTracking Load (0.1ms) SELECT "referer_trackings".* FROM "referer_trackings" ORDER BY created_at DESC LIMIT 1
6267
+
6268
+
6269
+ Started GET "/users" for 127.0.0.1 at 2013-06-07 18:41:39 +0300
6270
+ Processing by UsersController#index as HTML
6271
+ REFERER_TRACKING_FIRST: ver03 (ref|first) ||| www.some-source-forward.com ||| http://www.example.com/users
6272
+ User Load (0.1ms) SELECT "users".* FROM "users"
6273
+ Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.1ms)
6274
+ User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 1
6275
+
6276
+
6277
+ Started GET "/users/298486374" for 127.0.0.1 at 2013-06-07 18:41:39 +0300
6278
+ Processing by UsersController#show as HTML
6279
+ Parameters: {"id"=>"298486374"}
6280
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "298486374"]]
6281
+ Completed 200 OK in 3ms (Views: 1.9ms | ActiveRecord: 0.1ms)
6282
+
6283
+
6284
+ Started GET "/users" for 127.0.0.1 at 2013-06-07 18:41:39 +0300
6285
+ Processing by UsersController#index as HTML
6286
+ REFERER_TRACKING_FIRST: ver03 (ref|first) ||| www.some-source-forward.com ||| http://www.example.com/users
6287
+ User Load (0.1ms) SELECT "users".* FROM "users" 
6288
+ Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.1ms)
6289
+  (0.9ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
6290
+  (42.6ms) DROP TABLE "referer_trackings"
6291
+  (27.8ms) DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20120119124101'
6292
+  (0.6ms) select sqlite_version(*)
6293
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
6294
+  (0.0ms) PRAGMA index_list("users")
6295
+  (0.9ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
6296
+  (31.7ms) DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20120418183653'
6297
+  (0.2ms) select sqlite_version(*)
6298
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
6299
+  (0.0ms) PRAGMA index_list("users")
6300
+  (0.9ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
6301
+ Migrating to CreateUsers (20120119111039)
6302
+ Migrating to CreateRefererTrackingRefererTrackings (20120119124101)
6303
+  (0.0ms) select sqlite_version(*)
6304
+  (0.5ms) CREATE TABLE "referer_trackings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "trackable_id" integer, "trackable_type" varchar(255), "referer_url" text, "first_url" text, "current_request_url" text, "current_request_referer_url" text, "user_agent" varchar(255), "created_at" datetime, "updated_at" datetime) 
6305
+  (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120119124101')
6306
+ Migrating to TableRename (20120418183653)
6307
+  (1.3ms) ALTER TABLE "referer_trackings" ADD "request_added" varchar(255)
6308
+  (0.5ms) ALTER TABLE "referer_trackings" ADD "session_added" varchar(255)
6309
+  (0.8ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120418183653')
6310
+  (0.7ms) select sqlite_version(*)
6311
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
6312
+  (0.0ms) PRAGMA index_list("referer_trackings")
6313
+  (0.0ms) PRAGMA index_list("users")
6314
+ Fixture Delete (0.3ms) DELETE FROM "users"
6315
+ Fixture Insert (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at", "id") VALUES ('Agent Smith', '2013-06-07 15:42:50', '2013-06-07 15:42:50', 980190962)
6316
+ Fixture Insert (0.0ms) INSERT INTO "users" ("name", "created_at", "updated_at", "id") VALUES ('Agent Born', '2013-06-07 15:42:50', '2013-06-07 15:42:50', 298486374)
6317
+
6318
+
6319
+ Started GET "/users" for 127.0.0.1 at 2013-06-07 18:42:50 +0300
6320
+ Processing by UsersController#index as HTML
6321
+ REFERER_TRACKING_FIRST: ver03 (ref|first) ||| www.some-source-forward.com ||| http://www.example.com/users
6322
+ User Load (16.2ms) SELECT "users".* FROM "users"
6323
+ Rendered users/index.html.erb within layouts/application (7.4ms)
6324
+ Completed 200 OK in 34ms (Views: 15.7ms | ActiveRecord: 16.2ms)
6325
+
6326
+
6327
+ Started POST "/users" for 127.0.0.1 at 2013-06-07 18:42:50 +0300
6328
+ Processing by UsersController#create as HTML
6329
+ Parameters: {"user"=>{"name"=>"test name"}}
6330
+  (0.1ms) SAVEPOINT active_record_1
6331
+ SQL (2.1ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 07 Jun 2013 15:42:50 UTC +00:00], ["name", "test name"], ["updated_at", Fri, 07 Jun 2013 15:42:50 UTC +00:00]]
6332
+ RefererTracking::Sweeper.after_create problem with creating record: Exception
6333
+  (0.2ms) RELEASE SAVEPOINT active_record_1
6334
+ Redirected to http://www.example.com/users/980190963
6335
+ Completed 302 Found in 4170ms
6336
+
6337
+
6338
+ Started GET "/users" for 127.0.0.1 at 2013-06-07 18:42:54 +0300
6339
+ Processing by UsersController#index as HTML
6340
+ REFERER_TRACKING_FIRST: ver03 (ref|first) ||| www.some-source-forward.com ||| http://www.example.com/users
6341
+ User Load (0.4ms) SELECT "users".* FROM "users"
6342
+ Completed 200 OK in 6ms (Views: 3.3ms | ActiveRecord: 0.4ms)
6343
+  (0.1ms) SELECT COUNT(*) FROM "referer_trackings" 
6344
+
6345
+
6346
+ Started POST "/users" for 127.0.0.1 at 2013-06-07 18:42:54 +0300
6347
+ Processing by UsersController#create as HTML
6348
+ Parameters: {"user"=>{"name"=>"test name"}}
6349
+  (0.0ms) SAVEPOINT active_record_1
6350
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 07 Jun 2013 15:42:54 UTC +00:00], ["name", "test name"], ["updated_at", Fri, 07 Jun 2013 15:42:54 UTC +00:00]]
6351
+ SQL (1.5ms) INSERT INTO "referer_trackings" ("created_at", "current_request_referer_url", "current_request_url", "first_url", "referer_url", "request_added", "session_added", "trackable_id", "trackable_type", "updated_at", "user_agent") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 07 Jun 2013 15:42:55 UTC +00:00], ["current_request_referer_url", "localhost.inv/request_from_this_page"], ["current_request_url", "http://www.example.com/users"], ["first_url", "http://www.example.com/users"], ["referer_url", "www.some-source-forward.com"], ["request_added", "testing_request_add"], ["session_added", "testing_session_add"], ["trackable_id", 980190963], ["trackable_type", "User"], ["updated_at", Fri, 07 Jun 2013 15:42:55 UTC +00:00], ["user_agent", "som user agent"]]
6352
+  (0.1ms) RELEASE SAVEPOINT active_record_1
6353
+ Redirected to http://www.example.com/users/980190963
6354
+ Completed 302 Found in 1114ms
6355
+  (0.2ms) SELECT COUNT(*) FROM "referer_trackings"
6356
+ RefererTracking::RefererTracking Load (0.4ms) SELECT "referer_trackings".* FROM "referer_trackings" ORDER BY created_at DESC LIMIT 1
6357
+
6358
+
6359
+ Started GET "/users" for 127.0.0.1 at 2013-06-07 18:42:55 +0300
6360
+ Processing by UsersController#index as HTML
6361
+ REFERER_TRACKING_FIRST: ver03 (ref|first) ||| www.some-source-forward.com ||| http://www.example.com/users
6362
+ User Load (0.1ms) SELECT "users".* FROM "users"
6363
+ Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.1ms)
6364
+ User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 1
6365
+
6366
+
6367
+ Started GET "/users/298486374" for 127.0.0.1 at 2013-06-07 18:42:55 +0300
6368
+ Processing by UsersController#show as HTML
6369
+ Parameters: {"id"=>"298486374"}
6370
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "298486374"]]
6371
+ Completed 200 OK in 3ms (Views: 2.0ms | ActiveRecord: 0.1ms)
6372
+
6373
+
6374
+ Started GET "/users" for 127.0.0.1 at 2013-06-07 18:42:55 +0300
6375
+ Processing by UsersController#index as HTML
6376
+ REFERER_TRACKING_FIRST: ver03 (ref|first) ||| www.some-source-forward.com ||| http://www.example.com/users
6377
+ User Load (0.1ms) SELECT "users".* FROM "users" 
6378
+ Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.1ms)
6379
+  (0.9ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
6380
+  (46.4ms) DROP TABLE "referer_trackings"
6381
+  (31.1ms) DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20120119124101'
6382
+  (0.2ms) select sqlite_version(*)
6383
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
6384
+  (0.0ms) PRAGMA index_list("users")
6385
+  (0.9ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
6386
+  (0.3ms) select sqlite_version(*)
6387
+  (40.2ms) DROP TABLE "users"
6388
+  (25.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime, "updated_at" datetime) 
6389
+  (0.2ms) SELECT version FROM "schema_migrations"
6390
+  (21.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20120119124101')
6391
+  (2.7ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
6392
+ Fixture Delete (0.3ms) DELETE FROM "users"
6393
+ Fixture Insert (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at", "id") VALUES ('Agent Smith', '2013-06-07 15:52:13', '2013-06-07 15:52:13', 980190962)
6394
+ Fixture Insert (0.0ms) INSERT INTO "users" ("name", "created_at", "updated_at", "id") VALUES ('Agent Born', '2013-06-07 15:52:13', '2013-06-07 15:52:13', 298486374)
6395
+
6396
+
6397
+ Started GET "/users" for 127.0.0.1 at 2013-06-07 18:52:14 +0300
6398
+ Processing by UsersController#index as HTML
6399
+ REFERER_TRACKING_FIRST: ver03 (ref|first) ||| www.some-source-forward.com ||| http://www.example.com/users
6400
+ User Load (0.2ms) SELECT "users".* FROM "users"
6401
+ Rendered users/index.html.erb within layouts/application (7.4ms)
6402
+ Completed 200 OK in 34ms (Views: 16.1ms | ActiveRecord: 0.2ms)
6403
+
6404
+
6405
+ Started POST "/users" for 127.0.0.1 at 2013-06-07 18:52:14 +0300
6406
+ Processing by UsersController#create as HTML
6407
+ Parameters: {"user"=>{"name"=>"test name"}}
6408
+  (0.1ms) SAVEPOINT active_record_1
6409
+ SQL (4.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 07 Jun 2013 15:52:14 UTC +00:00], ["name", "test name"], ["updated_at", Fri, 07 Jun 2013 15:52:14 UTC +00:00]]
6410
+ RefererTracking::Sweeper.after_create problem with creating record: Could not find table 'referer_trackings'
6411
+  (0.0ms) RELEASE SAVEPOINT active_record_1
6412
+ Redirected to http://www.example.com/users/980190963
6413
+ Completed 302 Found in 7ms
6414
+
6415
+
6416
+ Started GET "/users" for 127.0.0.1 at 2013-06-07 18:52:14 +0300
6417
+ Processing by UsersController#index as HTML
6418
+ REFERER_TRACKING_FIRST: ver03 (ref|first) ||| www.some-source-forward.com ||| http://www.example.com/users
6419
+ User Load (0.1ms) SELECT "users".* FROM "users"
6420
+ Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.1ms)
6421
+
6422
+
6423
+ Started GET "/users" for 127.0.0.1 at 2013-06-07 18:52:14 +0300
6424
+ Processing by UsersController#index as HTML
6425
+ REFERER_TRACKING_FIRST: ver03 (ref|first) ||| www.some-source-forward.com ||| http://www.example.com/users
6426
+ User Load (0.1ms) SELECT "users".* FROM "users" 
6427
+ Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.1ms)
6428
+ User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 1
6429
+
6430
+
6431
+ Started GET "/users/298486374" for 127.0.0.1 at 2013-06-07 18:52:14 +0300
6432
+ Processing by UsersController#show as HTML
6433
+ Parameters: {"id"=>"298486374"}
6434
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "298486374"]]
6435
+ Completed 200 OK in 3ms (Views: 2.0ms | ActiveRecord: 0.1ms)
6436
+
6437
+
6438
+ Started GET "/users" for 127.0.0.1 at 2013-06-07 18:52:14 +0300
6439
+ Processing by UsersController#index as HTML
6440
+ REFERER_TRACKING_FIRST: ver03 (ref|first) ||| www.some-source-forward.com ||| http://www.example.com/users
6441
+ User Load (0.1ms) SELECT "users".* FROM "users"
6442
+ Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.1ms)
6443
+  (0.2ms) select sqlite_version(*)
6444
+  (71.7ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime, "updated_at" datetime)
6445
+  (30.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
6446
+  (0.1ms) PRAGMA index_list("schema_migrations")
6447
+  (19.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
6448
+  (0.2ms) SELECT version FROM "schema_migrations"
6449
+  (30.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20120418183653')
6450
+  (42.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20120119111039')
6451
+  (21.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20120119124101')
6452
+  (3.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
6453
+ Fixture Delete (0.3ms) DELETE FROM "users"
6454
+ Fixture Insert (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at", "id") VALUES ('Agent Smith', '2013-06-07 15:52:53', '2013-06-07 15:52:53', 980190962)
6455
+ Fixture Insert (0.0ms) INSERT INTO "users" ("name", "created_at", "updated_at", "id") VALUES ('Agent Born', '2013-06-07 15:52:53', '2013-06-07 15:52:53', 298486374)
6456
+
6457
+
6458
+ Started GET "/users" for 127.0.0.1 at 2013-06-07 18:52:53 +0300
6459
+ Processing by UsersController#index as HTML
6460
+ REFERER_TRACKING_FIRST: ver03 (ref|first) ||| www.some-source-forward.com ||| http://www.example.com/users
6461
+ User Load (16.1ms) SELECT "users".* FROM "users"
6462
+ Rendered users/index.html.erb within layouts/application (7.4ms)
6463
+ Completed 200 OK in 34ms (Views: 16.0ms | ActiveRecord: 16.1ms)
6464
+
6465
+
6466
+ Started POST "/users" for 127.0.0.1 at 2013-06-07 18:52:53 +0300
6467
+ Processing by UsersController#create as HTML
6468
+ Parameters: {"user"=>{"name"=>"test name"}}
6469
+  (0.1ms) SAVEPOINT active_record_1
6470
+ SQL (2.1ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 07 Jun 2013 15:52:53 UTC +00:00], ["name", "test name"], ["updated_at", Fri, 07 Jun 2013 15:52:53 UTC +00:00]]
6471
+ RefererTracking::Sweeper.after_create problem with creating record: Could not find table 'referer_trackings'
6472
+  (0.0ms) RELEASE SAVEPOINT active_record_1
6473
+ Redirected to http://www.example.com/users/980190963
6474
+ Completed 302 Found in 5ms
6475
+
6476
+
6477
+ Started GET "/users" for 127.0.0.1 at 2013-06-07 18:52:53 +0300
6478
+ Processing by UsersController#index as HTML
6479
+ REFERER_TRACKING_FIRST: ver03 (ref|first) ||| www.some-source-forward.com ||| http://www.example.com/users
6480
+ User Load (0.1ms) SELECT "users".* FROM "users"
6481
+ Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.1ms)
6482
+
6483
+
6484
+ Started GET "/users" for 127.0.0.1 at 2013-06-07 18:52:53 +0300
6485
+ Processing by UsersController#index as HTML
6486
+ REFERER_TRACKING_FIRST: ver03 (ref|first) ||| www.some-source-forward.com ||| http://www.example.com/users
6487
+ User Load (0.1ms) SELECT "users".* FROM "users" 
6488
+ Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.1ms)
6489
+ User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 1
6490
+
6491
+
6492
+ Started GET "/users/298486374" for 127.0.0.1 at 2013-06-07 18:52:53 +0300
6493
+ Processing by UsersController#show as HTML
6494
+ Parameters: {"id"=>"298486374"}
6495
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "298486374"]]
6496
+ Completed 200 OK in 4ms (Views: 2.1ms | ActiveRecord: 0.2ms)
6497
+
6498
+
6499
+ Started GET "/users" for 127.0.0.1 at 2013-06-07 18:52:54 +0300
6500
+ Processing by UsersController#index as HTML
6501
+ REFERER_TRACKING_FIRST: ver03 (ref|first) ||| www.some-source-forward.com ||| http://www.example.com/users
6502
+ User Load (0.1ms) SELECT "users".* FROM "users"
6503
+ Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.1ms)
6504
+  (0.9ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
6505
+ Migrating to CreateUsers (20120119111039)
6506
+ Migrating to CreateRefererTrackingRefererTrackings (20120119124101)
6507
+ Migrating to TableRename (20120418183653)
6508
+  (0.2ms) select sqlite_version(*)
6509
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
6510
+  (0.0ms) PRAGMA index_list("users")
6511
+  (0.9ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
6512
+  (0.9ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
6513
+  (40.8ms) DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20120418183653'
6514
+  (0.6ms) select sqlite_version(*)
6515
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
6516
+  (0.0ms) PRAGMA index_list("users")
6517
+  (0.9ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
6518
+  (46.5ms) DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20120119124101'
6519
+  (0.2ms) select sqlite_version(*)
6520
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
6521
+  (0.0ms) PRAGMA index_list("users")
6522
+ Fixture Delete (0.3ms) DELETE FROM "users"
6523
+ Fixture Insert (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at", "id") VALUES ('Agent Smith', '2013-06-07 15:54:20', '2013-06-07 15:54:20', 980190962)
6524
+ Fixture Insert (0.0ms) INSERT INTO "users" ("name", "created_at", "updated_at", "id") VALUES ('Agent Born', '2013-06-07 15:54:20', '2013-06-07 15:54:20', 298486374)
6525
+
6526
+
6527
+ Started GET "/users" for 127.0.0.1 at 2013-06-07 18:54:20 +0300
6528
+ Processing by UsersController#index as HTML
6529
+ REFERER_TRACKING_FIRST: ver03 (ref|first) ||| www.some-source-forward.com ||| http://www.example.com/users
6530
+ User Load (0.2ms) SELECT "users".* FROM "users"
6531
+ Rendered users/index.html.erb within layouts/application (7.3ms)
6532
+ Completed 200 OK in 34ms (Views: 32.9ms | ActiveRecord: 0.2ms)
6533
+
6534
+
6535
+ Started POST "/users" for 127.0.0.1 at 2013-06-07 18:54:20 +0300
6536
+ Processing by UsersController#create as HTML
6537
+ Parameters: {"user"=>{"name"=>"test name"}}
6538
+  (0.1ms) SAVEPOINT active_record_1
6539
+ SQL (2.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 07 Jun 2013 15:54:20 UTC +00:00], ["name", "test name"], ["updated_at", Fri, 07 Jun 2013 15:54:20 UTC +00:00]]
6540
+ RefererTracking::Sweeper.after_create problem with creating record: Could not find table 'referer_trackings'
6541
+  (0.0ms) RELEASE SAVEPOINT active_record_1
6542
+ Redirected to http://www.example.com/users/980190963
6543
+ Completed 302 Found in 5ms
6544
+
6545
+
6546
+ Started GET "/users" for 127.0.0.1 at 2013-06-07 18:54:20 +0300
6547
+ Processing by UsersController#index as HTML
6548
+ REFERER_TRACKING_FIRST: ver03 (ref|first) ||| www.some-source-forward.com ||| http://www.example.com/users
6549
+ User Load (0.1ms) SELECT "users".* FROM "users"
6550
+ Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.1ms)
6551
+
6552
+
6553
+ Started GET "/users" for 127.0.0.1 at 2013-06-07 18:54:20 +0300
6554
+ Processing by UsersController#index as HTML
6555
+ REFERER_TRACKING_FIRST: ver03 (ref|first) ||| www.some-source-forward.com ||| http://www.example.com/users
6556
+ User Load (0.1ms) SELECT "users".* FROM "users" 
6557
+ Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.1ms)
6558
+ User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 1
6559
+
6560
+
6561
+ Started GET "/users/298486374" for 127.0.0.1 at 2013-06-07 18:54:20 +0300
6562
+ Processing by UsersController#show as HTML
6563
+ Parameters: {"id"=>"298486374"}
6564
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "298486374"]]
6565
+ Completed 200 OK in 3ms (Views: 2.0ms | ActiveRecord: 0.1ms)
6566
+
6567
+
6568
+ Started GET "/users" for 127.0.0.1 at 2013-06-07 18:54:20 +0300
6569
+ Processing by UsersController#index as HTML
6570
+ REFERER_TRACKING_FIRST: ver03 (ref|first) ||| www.some-source-forward.com ||| http://www.example.com/users
6571
+ User Load (0.1ms) SELECT "users".* FROM "users"
6572
+ Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.1ms)
6573
+  (0.9ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
6574
+  (0.2ms) select sqlite_version(*)
6575
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
6576
+  (0.0ms) PRAGMA index_list("users")
6577
+  (1.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
6578
+  (0.2ms) select sqlite_version(*)
6579
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
6580
+  (0.0ms) PRAGMA index_list("users")
6581
+  (0.9ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
6582
+ Migrating to CreateUsers (20120119111039)
6583
+ Migrating to CreateRefererTrackingRefererTrackings (20120119124101)
6584
+  (0.0ms) select sqlite_version(*)
6585
+  (0.4ms) CREATE TABLE "referer_trackings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "trackable_id" integer, "trackable_type" varchar(255), "referer_url" text, "first_url" text, "current_request_url" text, "current_request_referer_url" text, "user_agent" varchar(255), "ip" varchar(255), "session_id" varchar(255), "cookies_yaml" text, "created_at" datetime, "updated_at" datetime) 
6586
+  (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120119124101')
6587
+ Migrating to TableRename (20120418183653)
6588
+  (1.7ms) ALTER TABLE "referer_trackings" ADD "request_added" varchar(255)
6589
+  (0.5ms) ALTER TABLE "referer_trackings" ADD "session_added" varchar(255)
6590
+  (1.0ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120418183653')
6591
+  (0.2ms) select sqlite_version(*)
6592
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
6593
+  (0.0ms) PRAGMA index_list("referer_trackings")
6594
+  (0.0ms) PRAGMA index_list("users")
6595
+ Fixture Delete (0.3ms) DELETE FROM "users"
6596
+ Fixture Insert (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at", "id") VALUES ('Agent Smith', '2013-06-07 15:55:41', '2013-06-07 15:55:41', 980190962)
6597
+ Fixture Insert (0.0ms) INSERT INTO "users" ("name", "created_at", "updated_at", "id") VALUES ('Agent Born', '2013-06-07 15:55:41', '2013-06-07 15:55:41', 298486374)
6598
+
6599
+
6600
+ Started GET "/users" for 127.0.0.1 at 2013-06-07 18:55:41 +0300
6601
+ Processing by UsersController#index as HTML
6602
+ REFERER_TRACKING_FIRST: ver03 (ref|first) ||| www.some-source-forward.com ||| http://www.example.com/users
6603
+ User Load (0.2ms) SELECT "users".* FROM "users"
6604
+ Rendered users/index.html.erb within layouts/application (8.4ms)
6605
+ Completed 200 OK in 39ms (Views: 37.0ms | ActiveRecord: 0.2ms)
6606
+
6607
+
6608
+ Started POST "/users" for 127.0.0.1 at 2013-06-07 18:55:41 +0300
6609
+ Processing by UsersController#create as HTML
6610
+ Parameters: {"user"=>{"name"=>"test name"}}
6611
+  (0.1ms) SAVEPOINT active_record_1
6612
+ SQL (2.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 07 Jun 2013 15:55:41 UTC +00:00], ["name", "test name"], ["updated_at", Fri, 07 Jun 2013 15:55:41 UTC +00:00]]
6613
+ JOO
6614
+ RefererTracking::Sweeper.after_create problem with creating record: Exception
6615
+  (0.2ms) RELEASE SAVEPOINT active_record_1
6616
+ Redirected to http://www.example.com/users/980190963
6617
+ Completed 302 Found in 688034ms
6618
+
6619
+
6620
+ Started GET "/users" for 127.0.0.1 at 2013-06-07 19:07:09 +0300
6621
+ Processing by UsersController#index as HTML
6622
+ REFERER_TRACKING_FIRST: ver03 (ref|first) ||| www.some-source-forward.com ||| http://www.example.com/users
6623
+ User Load (0.2ms) SELECT "users".* FROM "users"
6624
+ Completed 200 OK in 6ms (Views: 4.4ms | ActiveRecord: 0.2ms)
6625
+  (0.1ms) SELECT COUNT(*) FROM "referer_trackings" 
6626
+
6627
+
6628
+ Started POST "/users" for 127.0.0.1 at 2013-06-07 19:07:09 +0300
6629
+ Processing by UsersController#create as HTML
6630
+ Parameters: {"user"=>{"name"=>"test name"}}
6631
+  (0.1ms) SAVEPOINT active_record_1
6632
+ SQL (0.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 07 Jun 2013 16:07:09 UTC +00:00], ["name", "test name"], ["updated_at", Fri, 07 Jun 2013 16:07:09 UTC +00:00]]
6633
+ SQL (2.9ms) INSERT INTO "referer_trackings" ("cookies_yaml", "created_at", "current_request_referer_url", "current_request_url", "first_url", "ip", "referer_url", "request_added", "session_added", "session_id", "trackable_id", "trackable_type", "updated_at", "user_agent") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cookies_yaml", nil], ["created_at", Fri, 07 Jun 2013 16:07:10 UTC +00:00], ["current_request_referer_url", "localhost.inv/request_from_this_page"], ["current_request_url", "http://www.example.com/users"], ["first_url", "http://www.example.com/users"], ["ip", nil], ["referer_url", "www.some-source-forward.com"], ["request_added", "testing_request_add"], ["session_added", "testing_session_add"], ["session_id", nil], ["trackable_id", 980190963], ["trackable_type", "User"], ["updated_at", Fri, 07 Jun 2013 16:07:10 UTC +00:00], ["user_agent", "som user agent"]]
6634
+  (0.2ms) RELEASE SAVEPOINT active_record_1
6635
+ Redirected to http://www.example.com/users/980190963
6636
+ Completed 302 Found in 1151ms
6637
+  (0.3ms) SELECT COUNT(*) FROM "referer_trackings"
6638
+ RefererTracking::RefererTracking Load (0.1ms) SELECT "referer_trackings".* FROM "referer_trackings" ORDER BY created_at DESC LIMIT 1
6639
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'test name' LIMIT 1
6640
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 980190963 LIMIT 1
6641
+ RefererTracking::RefererTracking Load (0.1ms) SELECT "referer_trackings".* FROM "referer_trackings" WHERE "referer_trackings"."trackable_id" = 980190963 AND "referer_trackings"."trackable_type" = 'User' LIMIT 1
6642
+
6643
+
6644
+ Started PUT "/users/980190963" for 127.0.0.1 at 2013-06-07 19:07:10 +0300
6645
+ Processing by UsersController#update as HTML
6646
+ Parameters: {"user"=>{"name"=>"test name"}, "id"=>"980190963"}
6647
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "980190963"]]
6648
+  (0.0ms) SAVEPOINT active_record_1
6649
+  (0.0ms) RELEASE SAVEPOINT active_record_1
6650
+ Redirected to http://www.example.com/users/980190963
6651
+ Completed 302 Found in 2ms
6652
+  (0.1ms) SELECT COUNT(*) FROM "referer_trackings"
6653
+
6654
+
6655
+ Started GET "/users" for 127.0.0.1 at 2013-06-07 19:07:10 +0300
6656
+ Processing by UsersController#index as HTML
6657
+ REFERER_TRACKING_FIRST: ver03 (ref|first) ||| www.some-source-forward.com ||| http://www.example.com/users
6658
+ User Load (0.1ms) SELECT "users".* FROM "users" 
6659
+ Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.1ms)
6660
+ User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 1
6661
+
6662
+
6663
+ Started GET "/users/298486374" for 127.0.0.1 at 2013-06-07 19:07:10 +0300
6664
+ Processing by UsersController#show as HTML
6665
+ Parameters: {"id"=>"298486374"}
6666
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "298486374"]]
6667
+ Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.1ms)
6668
+
6669
+
6670
+ Started GET "/users" for 127.0.0.1 at 2013-06-07 19:07:10 +0300
6671
+ Processing by UsersController#index as HTML
6672
+ REFERER_TRACKING_FIRST: ver03 (ref|first) ||| www.some-source-forward.com ||| http://www.example.com/users
6673
+ User Load (0.1ms) SELECT "users".* FROM "users"
6674
+ Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.1ms)
6675
+ Fixture Delete (0.3ms) DELETE FROM "users"
6676
+ Fixture Insert (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at", "id") VALUES ('Agent Smith', '2013-06-07 16:08:47', '2013-06-07 16:08:47', 980190962)
6677
+ Fixture Insert (0.0ms) INSERT INTO "users" ("name", "created_at", "updated_at", "id") VALUES ('Agent Born', '2013-06-07 16:08:47', '2013-06-07 16:08:47', 298486374)
6678
+
6679
+
6680
+ Started GET "/users" for 127.0.0.1 at 2013-06-07 19:08:47 +0300
6681
+ Processing by UsersController#index as HTML
6682
+ REFERER_TRACKING_FIRST: ver03 (ref|first) ||| www.some-source-forward.com ||| http://www.example.com/users
6683
+ User Load (0.2ms) SELECT "users".* FROM "users"
6684
+ Rendered users/index.html.erb within layouts/application (7.2ms)
6685
+ Completed 200 OK in 17ms (Views: 15.9ms | ActiveRecord: 0.2ms)
6686
+
6687
+
6688
+ Started POST "/users" for 127.0.0.1 at 2013-06-07 19:08:47 +0300
6689
+ Processing by UsersController#create as HTML
6690
+ Parameters: {"user"=>{"name"=>"test name"}}
6691
+  (0.1ms) SAVEPOINT active_record_1
6692
+ SQL (2.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 07 Jun 2013 16:08:48 UTC +00:00], ["name", "test name"], ["updated_at", Fri, 07 Jun 2013 16:08:48 UTC +00:00]]
6693
+ RefererTracking::Sweeper.after_create problem with creating record: Exception
6694
+  (0.1ms) RELEASE SAVEPOINT active_record_1
6695
+ Redirected to http://www.example.com/users/980190963
6696
+ Completed 302 Found in 20ms
6697
+
6698
+
6699
+ Started GET "/users" for 127.0.0.1 at 2013-06-07 19:08:48 +0300
6700
+ Processing by UsersController#index as HTML
6701
+ REFERER_TRACKING_FIRST: ver03 (ref|first) ||| www.some-source-forward.com ||| http://www.example.com/users
6702
+ User Load (0.1ms) SELECT "users".* FROM "users"
6703
+ Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.1ms)
6704
+  (0.1ms) SELECT COUNT(*) FROM "referer_trackings" 
6705
+
6706
+
6707
+ Started POST "/users" for 127.0.0.1 at 2013-06-07 19:08:48 +0300
6708
+ Processing by UsersController#create as HTML
6709
+ Parameters: {"user"=>{"name"=>"test name"}}
6710
+  (0.0ms) SAVEPOINT active_record_1
6711
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 07 Jun 2013 16:08:48 UTC +00:00], ["name", "test name"], ["updated_at", Fri, 07 Jun 2013 16:08:48 UTC +00:00]]
6712
+ SQL (0.4ms) INSERT INTO "referer_trackings" ("cookies_yaml", "created_at", "current_request_referer_url", "current_request_url", "first_url", "ip", "referer_url", "request_added", "session_added", "session_id", "trackable_id", "trackable_type", "updated_at", "user_agent") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cookies_yaml", "---\n_dummy_session: BAh7B0kiD3Nlc3Npb25faWQGOgZFRkkiJWIzNThkOWFjYThhNmNmYTUyNzA3YjIxOTFmNWY2OTgxBjsAVEkiFXJlZmVyZXJfdHJhY2tpbmcGOwBGewg6EHJlZmVyZXJfdXJsSSIgd3d3LnNvbWUtc291cmNlLWZvcndhcmQuY29tBjsARjoOZmlyc3RfdXJsSSIhaHR0cDovL3d3dy5leGFtcGxlLmNvbS91c2VycwY7AEY6EnNlc3Npb25fYWRkZWRJIhh0ZXN0aW5nX3Nlc3Npb25fYWRkBjsARg==--47df6014ac8d819dcfa655a442b4d8eebe466e2d\n"], ["created_at", Fri, 07 Jun 2013 16:08:48 UTC +00:00], ["current_request_referer_url", "localhost.inv/request_from_this_page"], ["current_request_url", "http://www.example.com/users"], ["first_url", "http://www.example.com/users"], ["ip", "127.0.0.1"], ["referer_url", "www.some-source-forward.com"], ["request_added", "testing_request_add"], ["session_added", "testing_session_add"], ["session_id", "b358d9aca8a6cfa52707b2191f5f6981"], ["trackable_id", 980190963], ["trackable_type", "User"], ["updated_at", Fri, 07 Jun 2013 16:08:48 UTC +00:00], ["user_agent", "som user agent"]]
6713
+  (0.0ms) RELEASE SAVEPOINT active_record_1
6714
+ Redirected to http://www.example.com/users/980190963
6715
+ Completed 302 Found in 5ms
6716
+  (0.1ms) SELECT COUNT(*) FROM "referer_trackings"
6717
+ RefererTracking::RefererTracking Load (0.1ms) SELECT "referer_trackings".* FROM "referer_trackings" ORDER BY created_at DESC LIMIT 1
6718
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'test name' LIMIT 1
6719
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 980190963 LIMIT 1
6720
+ RefererTracking::RefererTracking Load (0.1ms) SELECT "referer_trackings".* FROM "referer_trackings" WHERE "referer_trackings"."trackable_id" = 980190963 AND "referer_trackings"."trackable_type" = 'User' LIMIT 1
6721
+
6722
+
6723
+ Started PUT "/users/980190963" for 127.0.0.1 at 2013-06-07 19:08:48 +0300
6724
+ Processing by UsersController#update as HTML
6725
+ Parameters: {"user"=>{"name"=>"test name"}, "id"=>"980190963"}
6726
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "980190963"]]
6727
+  (0.0ms) SAVEPOINT active_record_1
6728
+  (0.0ms) RELEASE SAVEPOINT active_record_1
6729
+ Redirected to http://www.example.com/users/980190963
6730
+ Completed 302 Found in 2ms
6731
+  (0.1ms) SELECT COUNT(*) FROM "referer_trackings"
6732
+
6733
+
6734
+ Started GET "/users" for 127.0.0.1 at 2013-06-07 19:08:48 +0300
6735
+ Processing by UsersController#index as HTML
6736
+ REFERER_TRACKING_FIRST: ver03 (ref|first) ||| www.some-source-forward.com ||| http://www.example.com/users
6737
+ User Load (0.1ms) SELECT "users".* FROM "users" 
6738
+ Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.1ms)
6739
+ User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 1
6740
+
6741
+
6742
+ Started GET "/users/298486374" for 127.0.0.1 at 2013-06-07 19:08:48 +0300
6743
+ Processing by UsersController#show as HTML
6744
+ Parameters: {"id"=>"298486374"}
6745
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "298486374"]]
6746
+ Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.0ms)
6747
+
6748
+
6749
+ Started GET "/users" for 127.0.0.1 at 2013-06-07 19:08:48 +0300
6750
+ Processing by UsersController#index as HTML
6751
+ REFERER_TRACKING_FIRST: ver03 (ref|first) ||| www.some-source-forward.com ||| http://www.example.com/users
6752
+ User Load (0.1ms) SELECT "users".* FROM "users"
6753
+ Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.1ms)
6754
+ Fixture Delete (0.3ms) DELETE FROM "users"
6755
+ Fixture Insert (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at", "id") VALUES ('Agent Smith', '2013-06-07 16:08:57', '2013-06-07 16:08:57', 980190962)
6756
+ Fixture Insert (0.0ms) INSERT INTO "users" ("name", "created_at", "updated_at", "id") VALUES ('Agent Born', '2013-06-07 16:08:57', '2013-06-07 16:08:57', 298486374)
6757
+
6758
+
6759
+ Started GET "/users" for 127.0.0.1 at 2013-06-07 19:08:57 +0300
6760
+ Processing by UsersController#index as HTML
6761
+ REFERER_TRACKING_FIRST: ver03 (ref|first) ||| www.some-source-forward.com ||| http://www.example.com/users
6762
+ User Load (0.2ms) SELECT "users".* FROM "users"
6763
+ Rendered users/index.html.erb within layouts/application (8.0ms)
6764
+ Completed 200 OK in 18ms (Views: 16.7ms | ActiveRecord: 0.2ms)
6765
+
6766
+
6767
+ Started POST "/users" for 127.0.0.1 at 2013-06-07 19:08:57 +0300
6768
+ Processing by UsersController#create as HTML
6769
+ Parameters: {"user"=>{"name"=>"test name"}}
6770
+  (0.1ms) SAVEPOINT active_record_1
6771
+ SQL (2.1ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 07 Jun 2013 16:08:57 UTC +00:00], ["name", "test name"], ["updated_at", Fri, 07 Jun 2013 16:08:57 UTC +00:00]]
6772
+ RefererTracking::Sweeper.after_create problem with creating record: Exception
6773
+  (0.1ms) RELEASE SAVEPOINT active_record_1
6774
+ Redirected to http://www.example.com/users/980190963
6775
+ Completed 302 Found in 19ms
6776
+
6777
+
6778
+ Started GET "/users" for 127.0.0.1 at 2013-06-07 19:08:57 +0300
6779
+ Processing by UsersController#index as HTML
6780
+ REFERER_TRACKING_FIRST: ver03 (ref|first) ||| www.some-source-forward.com ||| http://www.example.com/users
6781
+ User Load (0.1ms) SELECT "users".* FROM "users"
6782
+ Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.1ms)
6783
+  (0.1ms) SELECT COUNT(*) FROM "referer_trackings" 
6784
+
6785
+
6786
+ Started POST "/users" for 127.0.0.1 at 2013-06-07 19:08:57 +0300
6787
+ Processing by UsersController#create as HTML
6788
+ Parameters: {"user"=>{"name"=>"test name"}}
6789
+  (0.0ms) SAVEPOINT active_record_1
6790
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 07 Jun 2013 16:08:57 UTC +00:00], ["name", "test name"], ["updated_at", Fri, 07 Jun 2013 16:08:57 UTC +00:00]]
6791
+ SQL (0.6ms) INSERT INTO "referer_trackings" ("cookies_yaml", "created_at", "current_request_referer_url", "current_request_url", "first_url", "ip", "referer_url", "request_added", "session_added", "session_id", "trackable_id", "trackable_type", "updated_at", "user_agent") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cookies_yaml", nil], ["created_at", Fri, 07 Jun 2013 16:08:57 UTC +00:00], ["current_request_referer_url", "localhost.inv/request_from_this_page"], ["current_request_url", "http://www.example.com/users"], ["first_url", "http://www.example.com/users"], ["ip", "127.0.0.1"], ["referer_url", "www.some-source-forward.com"], ["request_added", "testing_request_add"], ["session_added", "testing_session_add"], ["session_id", "bee53e03486c0455f08f8e7b0ec7553f"], ["trackable_id", 980190963], ["trackable_type", "User"], ["updated_at", Fri, 07 Jun 2013 16:08:57 UTC +00:00], ["user_agent", "som user agent"]]
6792
+  (0.0ms) RELEASE SAVEPOINT active_record_1
6793
+ Redirected to http://www.example.com/users/980190963
6794
+ Completed 302 Found in 4ms
6795
+  (0.1ms) SELECT COUNT(*) FROM "referer_trackings"
6796
+ RefererTracking::RefererTracking Load (0.1ms) SELECT "referer_trackings".* FROM "referer_trackings" ORDER BY created_at DESC LIMIT 1
6797
+
6798
+
6799
+ Started GET "/users" for 127.0.0.1 at 2013-06-07 19:08:57 +0300
6800
+ Processing by UsersController#index as HTML
6801
+ REFERER_TRACKING_FIRST: ver03 (ref|first) ||| www.some-source-forward.com ||| http://www.example.com/users
6802
+ User Load (0.1ms) SELECT "users".* FROM "users"
6803
+ Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.1ms)
6804
+ User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 1
6805
+
6806
+
6807
+ Started GET "/users/298486374" for 127.0.0.1 at 2013-06-07 19:08:57 +0300
6808
+ Processing by UsersController#show as HTML
6809
+ Parameters: {"id"=>"298486374"}
6810
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "298486374"]]
6811
+ Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.1ms)
6812
+
6813
+
6814
+ Started GET "/users" for 127.0.0.1 at 2013-06-07 19:08:57 +0300
6815
+ Processing by UsersController#index as HTML
6816
+ REFERER_TRACKING_FIRST: ver03 (ref|first) ||| www.some-source-forward.com ||| http://www.example.com/users
6817
+ User Load (0.1ms) SELECT "users".* FROM "users" 
6818
+ Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.1ms)
6819
+ Fixture Delete (0.3ms) DELETE FROM "users"
6820
+ Fixture Insert (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at", "id") VALUES ('Agent Smith', '2013-06-07 16:09:11', '2013-06-07 16:09:11', 980190962)
6821
+ Fixture Insert (0.0ms) INSERT INTO "users" ("name", "created_at", "updated_at", "id") VALUES ('Agent Born', '2013-06-07 16:09:11', '2013-06-07 16:09:11', 298486374)
6822
+
6823
+
6824
+ Started GET "/users" for 127.0.0.1 at 2013-06-07 19:09:11 +0300
6825
+ Processing by UsersController#index as HTML
6826
+ REFERER_TRACKING_FIRST: ver03 (ref|first) ||| www.some-source-forward.com ||| http://www.example.com/users
6827
+ User Load (0.2ms) SELECT "users".* FROM "users"
6828
+ Rendered users/index.html.erb within layouts/application (7.4ms)
6829
+ Completed 200 OK in 17ms (Views: 15.8ms | ActiveRecord: 0.2ms)
6830
+
6831
+
6832
+ Started POST "/users" for 127.0.0.1 at 2013-06-07 19:09:11 +0300
6833
+ Processing by UsersController#create as HTML
6834
+ Parameters: {"user"=>{"name"=>"test name"}}
6835
+  (0.1ms) SAVEPOINT active_record_1
6836
+ SQL (2.1ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 07 Jun 2013 16:09:11 UTC +00:00], ["name", "test name"], ["updated_at", Fri, 07 Jun 2013 16:09:11 UTC +00:00]]
6837
+ RefererTracking::Sweeper.after_create problem with creating record: Exception
6838
+  (0.0ms) RELEASE SAVEPOINT active_record_1
6839
+ Redirected to http://www.example.com/users/980190963
6840
+ Completed 302 Found in 19ms
6841
+
6842
+
6843
+ Started GET "/users" for 127.0.0.1 at 2013-06-07 19:09:11 +0300
6844
+ Processing by UsersController#index as HTML
6845
+ REFERER_TRACKING_FIRST: ver03 (ref|first) ||| www.some-source-forward.com ||| http://www.example.com/users
6846
+ User Load (0.1ms) SELECT "users".* FROM "users"
6847
+ Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.1ms)
6848
+  (0.1ms) SELECT COUNT(*) FROM "referer_trackings" 
6849
+
6850
+
6851
+ Started POST "/users" for 127.0.0.1 at 2013-06-07 19:09:11 +0300
6852
+ Processing by UsersController#create as HTML
6853
+ Parameters: {"user"=>{"name"=>"test name"}}
6854
+  (0.0ms) SAVEPOINT active_record_1
6855
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 07 Jun 2013 16:09:11 UTC +00:00], ["name", "test name"], ["updated_at", Fri, 07 Jun 2013 16:09:11 UTC +00:00]]
6856
+ SQL (0.5ms) INSERT INTO "referer_trackings" ("cookies_yaml", "created_at", "current_request_referer_url", "current_request_url", "first_url", "ip", "referer_url", "request_added", "session_added", "session_id", "trackable_id", "trackable_type", "updated_at", "user_agent") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cookies_yaml", "---\n_dummy_session: BAh7B0kiD3Nlc3Npb25faWQGOgZFRkkiJTliMmRjOWUzYmUzZmY1MDc1YjhiNzZjZTQ2YzVjNzFlBjsAVEkiFXJlZmVyZXJfdHJhY2tpbmcGOwBGewg6EHJlZmVyZXJfdXJsSSIgd3d3LnNvbWUtc291cmNlLWZvcndhcmQuY29tBjsARjoOZmlyc3RfdXJsSSIhaHR0cDovL3d3dy5leGFtcGxlLmNvbS91c2VycwY7AEY6EnNlc3Npb25fYWRkZWRJIhh0ZXN0aW5nX3Nlc3Npb25fYWRkBjsARg==--25b903695eeaa6d31949f9e75980875604c7870c\n"], ["created_at", Fri, 07 Jun 2013 16:09:11 UTC +00:00], ["current_request_referer_url", "localhost.inv/request_from_this_page"], ["current_request_url", "http://www.example.com/users"], ["first_url", "http://www.example.com/users"], ["ip", "127.0.0.1"], ["referer_url", "www.some-source-forward.com"], ["request_added", "testing_request_add"], ["session_added", "testing_session_add"], ["session_id", nil], ["trackable_id", 980190963], ["trackable_type", "User"], ["updated_at", Fri, 07 Jun 2013 16:09:11 UTC +00:00], ["user_agent", "som user agent"]]
6857
+  (0.0ms) RELEASE SAVEPOINT active_record_1
6858
+ Redirected to http://www.example.com/users/980190963
6859
+ Completed 302 Found in 4ms
6860
+  (0.1ms) SELECT COUNT(*) FROM "referer_trackings"
6861
+ RefererTracking::RefererTracking Load (0.1ms) SELECT "referer_trackings".* FROM "referer_trackings" ORDER BY created_at DESC LIMIT 1
6862
+
6863
+
6864
+ Started GET "/users" for 127.0.0.1 at 2013-06-07 19:09:11 +0300
6865
+ Processing by UsersController#index as HTML
6866
+ REFERER_TRACKING_FIRST: ver03 (ref|first) ||| www.some-source-forward.com ||| http://www.example.com/users
6867
+ User Load (0.1ms) SELECT "users".* FROM "users"
6868
+ Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.1ms)
6869
+ User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 1
6870
+
6871
+
6872
+ Started GET "/users/298486374" for 127.0.0.1 at 2013-06-07 19:09:11 +0300
6873
+ Processing by UsersController#show as HTML
6874
+ Parameters: {"id"=>"298486374"}
6875
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "298486374"]]
6876
+ Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.1ms)
6877
+
6878
+
6879
+ Started GET "/users" for 127.0.0.1 at 2013-06-07 19:09:11 +0300
6880
+ Processing by UsersController#index as HTML
6881
+ REFERER_TRACKING_FIRST: ver03 (ref|first) ||| www.some-source-forward.com ||| http://www.example.com/users
6882
+ User Load (0.1ms) SELECT "users".* FROM "users" 
6883
+ Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.1ms)
6884
+ Fixture Delete (0.3ms) DELETE FROM "users"
6885
+ Fixture Insert (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at", "id") VALUES ('Agent Smith', '2013-06-07 16:09:19', '2013-06-07 16:09:19', 980190962)
6886
+ Fixture Insert (0.0ms) INSERT INTO "users" ("name", "created_at", "updated_at", "id") VALUES ('Agent Born', '2013-06-07 16:09:19', '2013-06-07 16:09:19', 298486374)
6887
+
6888
+
6889
+ Started GET "/users" for 127.0.0.1 at 2013-06-07 19:09:19 +0300
6890
+ Processing by UsersController#index as HTML
6891
+ REFERER_TRACKING_FIRST: ver03 (ref|first) ||| www.some-source-forward.com ||| http://www.example.com/users
6892
+ User Load (0.2ms) SELECT "users".* FROM "users"
6893
+ Rendered users/index.html.erb within layouts/application (7.4ms)
6894
+ Completed 200 OK in 17ms (Views: 15.9ms | ActiveRecord: 0.2ms)
6895
+
6896
+
6897
+ Started POST "/users" for 127.0.0.1 at 2013-06-07 19:09:19 +0300
6898
+ Processing by UsersController#create as HTML
6899
+ Parameters: {"user"=>{"name"=>"test name"}}
6900
+  (0.1ms) SAVEPOINT active_record_1
6901
+ SQL (2.1ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 07 Jun 2013 16:09:19 UTC +00:00], ["name", "test name"], ["updated_at", Fri, 07 Jun 2013 16:09:19 UTC +00:00]]
6902
+ RefererTracking::Sweeper.after_create problem with creating record: Exception
6903
+  (0.1ms) RELEASE SAVEPOINT active_record_1
6904
+ Redirected to http://www.example.com/users/980190963
6905
+ Completed 302 Found in 19ms
6906
+
6907
+
6908
+ Started GET "/users" for 127.0.0.1 at 2013-06-07 19:09:19 +0300
6909
+ Processing by UsersController#index as HTML
6910
+ REFERER_TRACKING_FIRST: ver03 (ref|first) ||| www.some-source-forward.com ||| http://www.example.com/users
6911
+ User Load (0.1ms) SELECT "users".* FROM "users"
6912
+ Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.1ms)
6913
+  (0.1ms) SELECT COUNT(*) FROM "referer_trackings" 
6914
+
6915
+
6916
+ Started POST "/users" for 127.0.0.1 at 2013-06-07 19:09:19 +0300
6917
+ Processing by UsersController#create as HTML
6918
+ Parameters: {"user"=>{"name"=>"test name"}}
6919
+  (0.0ms) SAVEPOINT active_record_1
6920
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 07 Jun 2013 16:09:19 UTC +00:00], ["name", "test name"], ["updated_at", Fri, 07 Jun 2013 16:09:19 UTC +00:00]]
6921
+ SQL (0.3ms) INSERT INTO "referer_trackings" ("cookies_yaml", "created_at", "current_request_referer_url", "current_request_url", "first_url", "ip", "referer_url", "request_added", "session_added", "session_id", "trackable_id", "trackable_type", "updated_at", "user_agent") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cookies_yaml", "---\n_dummy_session: BAh7B0kiD3Nlc3Npb25faWQGOgZFRkkiJTI2NmY0MDE5NDkzYTExZmVhY2FjMmFkYjIwMTZjNTg5BjsAVEkiFXJlZmVyZXJfdHJhY2tpbmcGOwBGewg6EHJlZmVyZXJfdXJsSSIgd3d3LnNvbWUtc291cmNlLWZvcndhcmQuY29tBjsARjoOZmlyc3RfdXJsSSIhaHR0cDovL3d3dy5leGFtcGxlLmNvbS91c2VycwY7AEY6EnNlc3Npb25fYWRkZWRJIhh0ZXN0aW5nX3Nlc3Npb25fYWRkBjsARg==--598d996cf302d33cef757ea3ab9c3867edd102da\n"], ["created_at", Fri, 07 Jun 2013 16:09:19 UTC +00:00], ["current_request_referer_url", "localhost.inv/request_from_this_page"], ["current_request_url", "http://www.example.com/users"], ["first_url", "http://www.example.com/users"], ["ip", "127.0.0.1"], ["referer_url", "www.some-source-forward.com"], ["request_added", "testing_request_add"], ["session_added", "testing_session_add"], ["session_id", "266f4019493a11feacac2adb2016c589"], ["trackable_id", 980190963], ["trackable_type", "User"], ["updated_at", Fri, 07 Jun 2013 16:09:19 UTC +00:00], ["user_agent", "som user agent"]]
6922
+  (0.0ms) RELEASE SAVEPOINT active_record_1
6923
+ Redirected to http://www.example.com/users/980190963
6924
+ Completed 302 Found in 5ms
6925
+  (0.1ms) SELECT COUNT(*) FROM "referer_trackings"
6926
+ RefererTracking::RefererTracking Load (0.1ms) SELECT "referer_trackings".* FROM "referer_trackings" ORDER BY created_at DESC LIMIT 1
6927
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'test name' LIMIT 1
6928
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 980190963 LIMIT 1
6929
+ RefererTracking::RefererTracking Load (0.1ms) SELECT "referer_trackings".* FROM "referer_trackings" WHERE "referer_trackings"."trackable_id" = 980190963 AND "referer_trackings"."trackable_type" = 'User' LIMIT 1
6930
+
6931
+
6932
+ Started PUT "/users/980190963" for 127.0.0.1 at 2013-06-07 19:09:19 +0300
6933
+ Processing by UsersController#update as HTML
6934
+ Parameters: {"user"=>{"name"=>"test name"}, "id"=>"980190963"}
6935
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "980190963"]]
6936
+  (0.0ms) SAVEPOINT active_record_1
6937
+  (0.0ms) RELEASE SAVEPOINT active_record_1
6938
+ Redirected to http://www.example.com/users/980190963
6939
+ Completed 302 Found in 2ms
6940
+  (0.1ms) SELECT COUNT(*) FROM "referer_trackings"
6941
+
6942
+
6943
+ Started GET "/users" for 127.0.0.1 at 2013-06-07 19:09:19 +0300
6944
+ Processing by UsersController#index as HTML
6945
+ REFERER_TRACKING_FIRST: ver03 (ref|first) ||| www.some-source-forward.com ||| http://www.example.com/users
6946
+ User Load (0.1ms) SELECT "users".* FROM "users" 
6947
+ Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.1ms)
6948
+ User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 1
6949
+
6950
+
6951
+ Started GET "/users/298486374" for 127.0.0.1 at 2013-06-07 19:09:19 +0300
6952
+ Processing by UsersController#show as HTML
6953
+ Parameters: {"id"=>"298486374"}
6954
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "298486374"]]
6955
+ Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.0ms)
6956
+
6957
+
6958
+ Started GET "/users" for 127.0.0.1 at 2013-06-07 19:09:19 +0300
6959
+ Processing by UsersController#index as HTML
6960
+ REFERER_TRACKING_FIRST: ver03 (ref|first) ||| www.some-source-forward.com ||| http://www.example.com/users
6961
+ User Load (0.1ms) SELECT "users".* FROM "users"
6962
+ Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.1ms)
6963
+ Fixture Delete (1.4ms) DELETE FROM "users"
6964
+ Fixture Insert (0.4ms) INSERT INTO "users" ("name", "created_at", "updated_at", "id") VALUES ('Agent Smith', '2013-06-07 16:21:06', '2013-06-07 16:21:06', 980190962)
6965
+ Fixture Insert (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at", "id") VALUES ('Agent Born', '2013-06-07 16:21:06', '2013-06-07 16:21:06', 298486374)
6966
+
6967
+
6968
+ Started GET "/users" for 127.0.0.1 at 2013-06-07 19:21:06 +0300
6969
+ Processing by UsersController#index as HTML
6970
+ REFERER_TRACKING_FIRST: ver03 (ref|first) ||| www.some-source-forward.com ||| http://www.example.com/users
6971
+ User Load (0.2ms) SELECT "users".* FROM "users"
6972
+ Rendered users/index.html.erb within layouts/application (8.5ms)
6973
+ Completed 200 OK in 43ms (Views: 41.3ms | ActiveRecord: 0.2ms)
6974
+
6975
+
6976
+ Started POST "/users" for 127.0.0.1 at 2013-06-07 19:21:06 +0300
6977
+ Processing by UsersController#create as HTML
6978
+ Parameters: {"user"=>{"name"=>"test name"}}
6979
+  (0.1ms) SAVEPOINT active_record_1
6980
+ SQL (6.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 07 Jun 2013 16:21:06 UTC +00:00], ["name", "test name"], ["updated_at", Fri, 07 Jun 2013 16:21:06 UTC +00:00]]
6981
+ RefererTracking::Sweeper.after_create problem with creating record: Exception
6982
+  (0.1ms) RELEASE SAVEPOINT active_record_1
6983
+ Redirected to http://www.example.com/users/980190963
6984
+ Completed 302 Found in 49ms
6985
+
6986
+
6987
+ Started GET "/users" for 127.0.0.1 at 2013-06-07 19:21:06 +0300
6988
+ Processing by UsersController#index as HTML
6989
+ REFERER_TRACKING_FIRST: ver03 (ref|first) ||| www.some-source-forward.com ||| http://www.example.com/users
6990
+ User Load (0.2ms) SELECT "users".* FROM "users"
6991
+ Completed 200 OK in 5ms (Views: 3.5ms | ActiveRecord: 0.2ms)
6992
+  (0.1ms) SELECT COUNT(*) FROM "referer_trackings" 
6993
+
6994
+
6995
+ Started POST "/users" for 127.0.0.1 at 2013-06-07 19:21:06 +0300
6996
+ Processing by UsersController#create as HTML
6997
+ Parameters: {"user"=>{"name"=>"test name"}}
6998
+  (0.1ms) SAVEPOINT active_record_1
6999
+ SQL (0.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 07 Jun 2013 16:21:06 UTC +00:00], ["name", "test name"], ["updated_at", Fri, 07 Jun 2013 16:21:06 UTC +00:00]]
7000
+ SQL (0.4ms) INSERT INTO "referer_trackings" ("cookies_yaml", "created_at", "current_request_referer_url", "current_request_url", "first_url", "ip", "referer_url", "request_added", "session_added", "session_id", "trackable_id", "trackable_type", "updated_at", "user_agent") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cookies_yaml", "---\n_dummy_session: BAh7B0kiD3Nlc3Npb25faWQGOgZFRkkiJWVkZDVhZWY4ZmVkYmNhMTc2MjA3OTgzMTZkNDQ1YWFjBjsAVEkiFXJlZmVyZXJfdHJhY2tpbmcGOwBGewg6EHJlZmVyZXJfdXJsSSIgd3d3LnNvbWUtc291cmNlLWZvcndhcmQuY29tBjsARjoOZmlyc3RfdXJsSSIhaHR0cDovL3d3dy5leGFtcGxlLmNvbS91c2VycwY7AEY6EnNlc3Npb25fYWRkZWRJIhh0ZXN0aW5nX3Nlc3Npb25fYWRkBjsARg==--5f8aa2bb055d2b556f2d105206d3d22eafccb4e2\n"], ["created_at", Fri, 07 Jun 2013 16:21:06 UTC +00:00], ["current_request_referer_url", "localhost.inv/request_from_this_page"], ["current_request_url", "http://www.example.com/users"], ["first_url", "http://www.example.com/users"], ["ip", "127.0.0.1"], ["referer_url", "www.some-source-forward.com"], ["request_added", "testing_request_add"], ["session_added", "testing_session_add"], ["session_id", "edd5aef8fedbca17620798316d445aac"], ["trackable_id", 980190963], ["trackable_type", "User"], ["updated_at", Fri, 07 Jun 2013 16:21:06 UTC +00:00], ["user_agent", "som user agent"]]
7001
+  (0.0ms) RELEASE SAVEPOINT active_record_1
7002
+ Redirected to http://www.example.com/users/980190963
7003
+ Completed 302 Found in 5ms
7004
+  (0.1ms) SELECT COUNT(*) FROM "referer_trackings"
7005
+ RefererTracking::RefererTracking Load (0.1ms) SELECT "referer_trackings".* FROM "referer_trackings" ORDER BY created_at DESC LIMIT 1
7006
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'test name' LIMIT 1
7007
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 980190963 LIMIT 1
7008
+ RefererTracking::RefererTracking Load (0.2ms) SELECT "referer_trackings".* FROM "referer_trackings" WHERE "referer_trackings"."trackable_id" = 980190963 AND "referer_trackings"."trackable_type" = 'User' LIMIT 1
7009
+
7010
+
7011
+ Started PUT "/users/980190963" for 127.0.0.1 at 2013-06-07 19:21:06 +0300
7012
+ Processing by UsersController#update as HTML
7013
+ Parameters: {"user"=>{"name"=>"test name"}, "id"=>"980190963"}
7014
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "980190963"]]
7015
+  (0.0ms) SAVEPOINT active_record_1
7016
+  (0.0ms) RELEASE SAVEPOINT active_record_1
7017
+ Redirected to http://www.example.com/users/980190963
7018
+ Completed 302 Found in 3ms
7019
+  (0.1ms) SELECT COUNT(*) FROM "referer_trackings"
7020
+
7021
+
7022
+ Started GET "/users" for 127.0.0.1 at 2013-06-07 19:21:06 +0300
7023
+ Processing by UsersController#index as HTML
7024
+ REFERER_TRACKING_FIRST: ver03 (ref|first) ||| www.some-source-forward.com ||| http://www.example.com/users
7025
+ User Load (0.2ms) SELECT "users".* FROM "users" 
7026
+ Completed 200 OK in 5ms (Views: 4.3ms | ActiveRecord: 0.2ms)
7027
+ User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 1
7028
+
7029
+
7030
+ Started GET "/users/298486374" for 127.0.0.1 at 2013-06-07 19:21:06 +0300
7031
+ Processing by UsersController#show as HTML
7032
+ Parameters: {"id"=>"298486374"}
7033
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "298486374"]]
7034
+ Completed 200 OK in 4ms (Views: 2.5ms | ActiveRecord: 0.1ms)
7035
+
7036
+
7037
+ Started GET "/users" for 127.0.0.1 at 2013-06-07 19:21:06 +0300
7038
+ Processing by UsersController#index as HTML
7039
+ REFERER_TRACKING_FIRST: ver03 (ref|first) ||| www.some-source-forward.com ||| http://www.example.com/users
7040
+ User Load (0.2ms) SELECT "users".* FROM "users"
7041
+ Completed 200 OK in 5ms (Views: 3.7ms | ActiveRecord: 0.2ms)
7042
+ Fixture Delete (0.3ms) DELETE FROM "users"
7043
+ Fixture Insert (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at", "id") VALUES ('Agent Smith', '2013-06-07 16:22:28', '2013-06-07 16:22:28', 980190962)
7044
+ Fixture Insert (0.0ms) INSERT INTO "users" ("name", "created_at", "updated_at", "id") VALUES ('Agent Born', '2013-06-07 16:22:28', '2013-06-07 16:22:28', 298486374)
7045
+
7046
+
7047
+ Started GET "/users" for 127.0.0.1 at 2013-06-07 19:22:28 +0300
7048
+ Processing by UsersController#index as HTML
7049
+ REFERER_TRACKING_FIRST: ver03 (ref|first) ||| www.some-source-forward.com ||| http://www.example.com/users
7050
+ User Load (0.2ms) SELECT "users".* FROM "users"
7051
+ Rendered users/index.html.erb within layouts/application (7.2ms)
7052
+ Completed 200 OK in 17ms (Views: 15.5ms | ActiveRecord: 0.2ms)
7053
+
7054
+
7055
+ Started POST "/users" for 127.0.0.1 at 2013-06-07 19:22:28 +0300
7056
+ Processing by UsersController#create as HTML
7057
+ Parameters: {"user"=>{"name"=>"test name"}}
7058
+  (0.1ms) SAVEPOINT active_record_1
7059
+ SQL (2.0ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 07 Jun 2013 16:22:28 UTC +00:00], ["name", "test name"], ["updated_at", Fri, 07 Jun 2013 16:22:28 UTC +00:00]]
7060
+ RefererTracking::Sweeper.after_create problem with creating record: Exception
7061
+  (0.0ms) RELEASE SAVEPOINT active_record_1
7062
+ Redirected to http://www.example.com/users/980190963
7063
+ Completed 302 Found in 19ms
7064
+
7065
+
7066
+ Started GET "/users" for 127.0.0.1 at 2013-06-07 19:22:28 +0300
7067
+ Processing by UsersController#index as HTML
7068
+ REFERER_TRACKING_FIRST: ver03 (ref|first) ||| www.some-source-forward.com ||| http://www.example.com/users
7069
+ User Load (0.2ms) SELECT "users".* FROM "users"
7070
+ Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.2ms)
7071
+  (0.1ms) SELECT COUNT(*) FROM "referer_trackings" 
7072
+
7073
+
7074
+ Started POST "/users" for 127.0.0.1 at 2013-06-07 19:22:28 +0300
7075
+ Processing by UsersController#create as HTML
7076
+ Parameters: {"user"=>{"name"=>"test name"}}
7077
+  (0.0ms) SAVEPOINT active_record_1
7078
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 07 Jun 2013 16:22:28 UTC +00:00], ["name", "test name"], ["updated_at", Fri, 07 Jun 2013 16:22:28 UTC +00:00]]
7079
+ SQL (0.3ms) INSERT INTO "referer_trackings" ("cookies_yaml", "created_at", "current_request_referer_url", "current_request_url", "first_url", "ip", "referer_url", "request_added", "session_added", "session_id", "trackable_id", "trackable_type", "updated_at", "user_agent") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cookies_yaml", "---\n_dummy_session: BAh7B0kiD3Nlc3Npb25faWQGOgZFRkkiJTkzNDJhNmIwYzAwYWQwYTNjOWFmN2RiZTA5NTM5MTQ0BjsAVEkiFXJlZmVyZXJfdHJhY2tpbmcGOwBGewg6EHJlZmVyZXJfdXJsSSIgd3d3LnNvbWUtc291cmNlLWZvcndhcmQuY29tBjsARjoOZmlyc3RfdXJsSSIhaHR0cDovL3d3dy5leGFtcGxlLmNvbS91c2VycwY7AEY6EnNlc3Npb25fYWRkZWRJIhh0ZXN0aW5nX3Nlc3Npb25fYWRkBjsARg==--9caa50795953d7aa432b39e99f2f628f1db08b92\n"], ["created_at", Fri, 07 Jun 2013 16:22:28 UTC +00:00], ["current_request_referer_url", "localhost.inv/request_from_this_page"], ["current_request_url", "http://www.example.com/users"], ["first_url", "http://www.example.com/users"], ["ip", "127.0.0.1"], ["referer_url", "www.some-source-forward.com"], ["request_added", "testing_request_add"], ["session_added", "testing_session_add"], ["session_id", "9342a6b0c00ad0a3c9af7dbe09539144"], ["trackable_id", 980190963], ["trackable_type", "User"], ["updated_at", Fri, 07 Jun 2013 16:22:28 UTC +00:00], ["user_agent", "som user agent"]]
7080
+  (0.0ms) RELEASE SAVEPOINT active_record_1
7081
+ Redirected to http://www.example.com/users/980190963
7082
+ Completed 302 Found in 4ms
7083
+  (0.1ms) SELECT COUNT(*) FROM "referer_trackings"
7084
+ RefererTracking::RefererTracking Load (0.1ms) SELECT "referer_trackings".* FROM "referer_trackings" ORDER BY created_at DESC LIMIT 1
7085
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'test name' LIMIT 1
7086
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 980190963 LIMIT 1
7087
+ RefererTracking::RefererTracking Load (0.1ms) SELECT "referer_trackings".* FROM "referer_trackings" WHERE "referer_trackings"."trackable_id" = 980190963 AND "referer_trackings"."trackable_type" = 'User' LIMIT 1
7088
+
7089
+
7090
+ Started PUT "/users/980190963" for 127.0.0.1 at 2013-06-07 19:22:28 +0300
7091
+ Processing by UsersController#update as HTML
7092
+ Parameters: {"user"=>{"name"=>"test name"}, "id"=>"980190963"}
7093
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "980190963"]]
7094
+  (0.0ms) SAVEPOINT active_record_1
7095
+  (0.0ms) RELEASE SAVEPOINT active_record_1
7096
+ Redirected to http://www.example.com/users/980190963
7097
+ Completed 302 Found in 2ms
7098
+  (0.1ms) SELECT COUNT(*) FROM "referer_trackings"
7099
+
7100
+
7101
+ Started GET "/users" for 127.0.0.1 at 2013-06-07 19:22:28 +0300
7102
+ Processing by UsersController#index as HTML
7103
+ REFERER_TRACKING_FIRST: ver03 (ref|first) ||| www.some-source-forward.com ||| http://www.example.com/users
7104
+ User Load (0.1ms) SELECT "users".* FROM "users" 
7105
+ Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.1ms)
7106
+ User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 1
7107
+
7108
+
7109
+ Started GET "/users/298486374" for 127.0.0.1 at 2013-06-07 19:22:28 +0300
7110
+ Processing by UsersController#show as HTML
7111
+ Parameters: {"id"=>"298486374"}
7112
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "298486374"]]
7113
+ Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.0ms)
7114
+
7115
+
7116
+ Started GET "/users" for 127.0.0.1 at 2013-06-07 19:22:28 +0300
7117
+ Processing by UsersController#index as HTML
7118
+ REFERER_TRACKING_FIRST: ver03 (ref|first) ||| www.some-source-forward.com ||| http://www.example.com/users
7119
+ User Load (0.1ms) SELECT "users".* FROM "users"
7120
+ Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.1ms)