serpentine 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -20,15 +20,29 @@ module Serpentine
20
20
 
21
21
  def apply_scopes!
22
22
  self.class.collection_filters.each do |callback|
23
- if callback.options[:if] && (callback.options[:if].respond_to?(:call) ? callback.options[:if].call(params) : send(options[:if]))
24
- self.collection = send callback.name
25
- elsif callback.options[:unless] && !(callback.options[:unless].respond_to?(:call) ? callback.options[:unless].call(params) : send(options[:unless]))
26
- self.collection = send callback.name
27
- elsif !callback.options[:if] && !callback.options[:unless]
23
+ if apply_scopes?(callback.options)
28
24
  self.collection = send callback.name
29
25
  end
30
26
  end
31
27
  end
28
+
29
+ def apply_scopes?(options)
30
+ apply_scope_if?(options[:if]) ||
31
+ apply_scope_unless?(options[:unless]) ||
32
+ !options[:if] && !options[:unless]
33
+ end
34
+
35
+ def apply_scope_if?(operator)
36
+ operator && (operator.respond_to?(:call) ? operator.call(params) : send(operator))
37
+ end
38
+
39
+ def apply_scope_unless?(operator)
40
+ operator && (operator.respond_to?(:call) ? !operator.call(params) : !send(operator))
41
+ end
42
+
43
+ def collection=(collection)
44
+ @collection = collection
45
+ end
32
46
  end
33
47
  end
34
48
 
@@ -1,3 +1,3 @@
1
1
  module Serpentine
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
data/readme.md CHANGED
@@ -14,9 +14,9 @@ class PostsController < ApplicationController
14
14
  filter_collection :alphabetically
15
15
  filter_collection :by_ids, :if => proc { |params| params[:ids] }
16
16
 
17
- # apply_filters! is added by Serpentine. You can call it yourself
17
+ # apply_scopes! is added by Serpentine. You can call it yourself
18
18
  # in your own actions if you like.
19
- before_filter :apply_filters!, :only => :index
19
+ before_filter :apply_scopes!, :only => :index
20
20
 
21
21
  # define a collection accessor
22
22
  # It is important to use ||= here
@@ -1,43 +0,0 @@
1
- Connecting to database specified by database.yml
2
- Connecting to database specified by database.yml
3
-  (0.2ms) select sqlite_version(*)
4
-  (1.6ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
5
-  (0.1ms) PRAGMA index_list("schema_migrations")
6
-  (1.3ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
7
-  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
8
- Migrating to CreateUsers (20120622090434)
9
-  (0.1ms) begin transaction
10
-  (0.1ms) rollback transaction
11
- Connecting to database specified by database.yml
12
-  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
13
- Migrating to CreateUsers (20120622090434)
14
-  (0.1ms) select sqlite_version(*)
15
-  (0.1ms) begin transaction
16
-  (0.5ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255))
17
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120622090434')
18
-  (2.0ms) commit transaction
19
-  (0.3ms) select sqlite_version(*)
20
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
21
-  (0.0ms) PRAGMA index_list("users")
22
- Connecting to database specified by database.yml
23
-  (0.1ms) select sqlite_version(*)
24
-  (1.6ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
25
-  (0.1ms) PRAGMA index_list("schema_migrations")
26
-  (1.3ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
27
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
28
- Migrating to CreateUsers (20120622090434)
29
-  (0.0ms) begin transaction
30
-  (0.4ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "key" varchar(255)) 
31
-  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120622090434')
32
-  (0.9ms) commit transaction
33
-  (0.3ms) select sqlite_version(*)
34
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
35
-  (0.0ms) PRAGMA index_list("users")
36
- Connecting to database specified by database.yml
37
-  (0.9ms) select sqlite_version(*)
38
-  (2.4ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "key" varchar(255))
39
-  (1.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
40
-  (0.1ms) PRAGMA index_list("schema_migrations")
41
-  (1.4ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
42
-  (0.1ms) SELECT version FROM "schema_migrations"
43
-  (1.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20120622090434')
@@ -1,636 +1,11 @@
1
1
  Connecting to database specified by database.yml
2
2
   (0.3ms) begin transaction
3
-  (0.1ms) rollback transaction
4
-  (0.1ms) begin transaction
5
-  (0.1ms) rollback transaction
6
- Connecting to database specified by database.yml
7
-  (0.4ms) begin transaction
8
-  (0.9ms) SAVEPOINT active_record_1
9
- SQL (3.9ms) INSERT INTO "users" ("key") VALUES (?) [["key", 1]]
10
-  (0.1ms) RELEASE SAVEPOINT active_record_1
11
-  (0.0ms) SAVEPOINT active_record_1
12
- SQL (0.3ms) INSERT INTO "users" ("key") VALUES (?) [["key", 2]]
13
-  (0.0ms) RELEASE SAVEPOINT active_record_1
14
-  (0.0ms) SAVEPOINT active_record_1
15
- SQL (0.0ms) INSERT INTO "users" ("key") VALUES (?) [["key", 3]]
16
-  (0.0ms) RELEASE SAVEPOINT active_record_1
17
-  (0.0ms) SAVEPOINT active_record_1
18
- SQL (0.0ms) INSERT INTO "users" ("key") VALUES (?) [["key", 4]]
19
-  (0.0ms) RELEASE SAVEPOINT active_record_1
20
-
21
-
22
- Started GET "/basic_filter_controller/index?keys[]=1&keys[]=2&keys[]=3" for 127.0.0.1 at 2012-06-22 11:18:41 +0200
23
-  (1.0ms) rollback transaction
24
-  (0.1ms) begin transaction
25
-  (0.0ms) rollback transaction
26
- Connecting to database specified by database.yml
27
-  (0.4ms) begin transaction
28
-  (0.0ms) SAVEPOINT active_record_1
29
- SQL (2.2ms) INSERT INTO "users" ("key") VALUES (?) [["key", 1]]
30
-  (0.0ms) RELEASE SAVEPOINT active_record_1
31
-  (0.0ms) SAVEPOINT active_record_1
32
- SQL (0.2ms) INSERT INTO "users" ("key") VALUES (?) [["key", 2]]
33
-  (0.0ms) RELEASE SAVEPOINT active_record_1
34
-  (0.0ms) SAVEPOINT active_record_1
35
- SQL (0.1ms) INSERT INTO "users" ("key") VALUES (?) [["key", 3]]
36
-  (0.1ms) RELEASE SAVEPOINT active_record_1
37
-  (0.1ms) SAVEPOINT active_record_1
38
- SQL (0.1ms) INSERT INTO "users" ("key") VALUES (?) [["key", 4]]
39
-  (0.1ms) RELEASE SAVEPOINT active_record_1
40
-
41
-
42
- Started GET "/basic_filter/index?keys[]=1&keys[]=2&keys[]=3" for 127.0.0.1 at 2012-06-22 11:19:16 +0200
43
- Processing by BasicFilterController#index as HTML
44
- Parameters: {"keys"=>["1", "2", "3"]}
45
- Completed 500 Internal Server Error in 0ms
46
-  (0.6ms) rollback transaction
47
-  (0.1ms) begin transaction
48
-  (0.1ms) rollback transaction
49
- Connecting to database specified by database.yml
50
-  (0.3ms) begin transaction
51
-  (0.1ms) SAVEPOINT active_record_1
52
- SQL (2.5ms) INSERT INTO "users" ("key") VALUES (?) [["key", 1]]
53
-  (0.1ms) RELEASE SAVEPOINT active_record_1
54
-  (0.0ms) SAVEPOINT active_record_1
55
- SQL (0.3ms) INSERT INTO "users" ("key") VALUES (?) [["key", 2]]
56
-  (0.0ms) RELEASE SAVEPOINT active_record_1
57
-  (0.0ms) SAVEPOINT active_record_1
58
- SQL (0.0ms) INSERT INTO "users" ("key") VALUES (?) [["key", 3]]
59
-  (0.0ms) RELEASE SAVEPOINT active_record_1
60
-  (0.0ms) SAVEPOINT active_record_1
61
- SQL (0.0ms) INSERT INTO "users" ("key") VALUES (?) [["key", 4]]
62
-  (0.0ms) RELEASE SAVEPOINT active_record_1
63
-
64
-
65
- Started GET "/basic_filter/index?keys[]=1&keys[]=2&keys[]=3" for 127.0.0.1 at 2012-06-22 11:20:02 +0200
66
- Processing by BasicFilterController#index as HTML
67
- Parameters: {"keys"=>["1", "2", "3"]}
68
- Completed 500 Internal Server Error in 0ms
69
-  (1.7ms) rollback transaction
70
-  (0.1ms) begin transaction
71
-  (0.1ms) rollback transaction
72
- Connecting to database specified by database.yml
73
-  (0.3ms) begin transaction
74
-  (0.1ms) SAVEPOINT active_record_1
75
- SQL (3.5ms) INSERT INTO "users" ("key") VALUES (?) [["key", 1]]
76
-  (0.1ms) RELEASE SAVEPOINT active_record_1
77
-  (0.0ms) SAVEPOINT active_record_1
78
- SQL (0.6ms) INSERT INTO "users" ("key") VALUES (?) [["key", 2]]
79
-  (0.1ms) RELEASE SAVEPOINT active_record_1
80
-  (0.1ms) SAVEPOINT active_record_1
81
- SQL (0.2ms) INSERT INTO "users" ("key") VALUES (?) [["key", 3]]
82
-  (0.0ms) RELEASE SAVEPOINT active_record_1
83
-  (0.0ms) SAVEPOINT active_record_1
84
- SQL (0.1ms) INSERT INTO "users" ("key") VALUES (?) [["key", 4]]
85
-  (0.0ms) RELEASE SAVEPOINT active_record_1
86
-
87
-
88
- Started GET "/basic_filter/index?keys[]=1&keys[]=2&keys[]=3" for 127.0.0.1 at 2012-06-22 11:20:20 +0200
89
- Processing by BasicFilterController#index as HTML
90
- Parameters: {"keys"=>["1", "2", "3"]}
91
- Completed 500 Internal Server Error in 2ms
92
-  (1.8ms) rollback transaction
93
-  (0.1ms) begin transaction
94
-  (0.1ms) rollback transaction
95
- Connecting to database specified by database.yml
96
-  (0.3ms) begin transaction
97
-  (0.0ms) SAVEPOINT active_record_1
98
- SQL (2.3ms) INSERT INTO "users" ("key") VALUES (?) [["key", 1]]
99
-  (0.1ms) RELEASE SAVEPOINT active_record_1
100
-  (0.0ms) SAVEPOINT active_record_1
101
- SQL (0.3ms) INSERT INTO "users" ("key") VALUES (?) [["key", 2]]
102
-  (0.0ms) RELEASE SAVEPOINT active_record_1
103
-  (0.0ms) SAVEPOINT active_record_1
104
- SQL (0.0ms) INSERT INTO "users" ("key") VALUES (?) [["key", 3]]
105
-  (0.0ms) RELEASE SAVEPOINT active_record_1
106
-  (0.0ms) SAVEPOINT active_record_1
107
- SQL (0.0ms) INSERT INTO "users" ("key") VALUES (?) [["key", 4]]
108
-  (0.0ms) RELEASE SAVEPOINT active_record_1
109
-
110
-
111
- Started GET "/basic_filter/index?keys[]=1&keys[]=2&keys[]=3" for 127.0.0.1 at 2012-06-22 11:20:37 +0200
112
- Processing by BasicFilterController#index as HTML
113
- Parameters: {"keys"=>["1", "2", "3"]}
114
- Completed 500 Internal Server Error in 5ms
115
-  (0.6ms) rollback transaction
116
-  (0.1ms) begin transaction
117
-  (0.0ms) rollback transaction
118
- Connecting to database specified by database.yml
119
-  (0.4ms) begin transaction
120
-  (0.0ms) SAVEPOINT active_record_1
121
- SQL (4.8ms) INSERT INTO "users" ("key") VALUES (?) [["key", 1]]
122
-  (0.1ms) RELEASE SAVEPOINT active_record_1
123
-  (0.0ms) SAVEPOINT active_record_1
124
- SQL (0.3ms) INSERT INTO "users" ("key") VALUES (?) [["key", 2]]
125
-  (0.0ms) RELEASE SAVEPOINT active_record_1
126
-  (0.0ms) SAVEPOINT active_record_1
127
- SQL (0.0ms) INSERT INTO "users" ("key") VALUES (?) [["key", 3]]
128
-  (0.0ms) RELEASE SAVEPOINT active_record_1
129
-  (0.0ms) SAVEPOINT active_record_1
130
- SQL (0.0ms) INSERT INTO "users" ("key") VALUES (?) [["key", 4]]
131
-  (0.0ms) RELEASE SAVEPOINT active_record_1
132
-
133
-
134
- Started GET "/basic_filter/index?keys[]=1&keys[]=2&keys[]=3" for 127.0.0.1 at 2012-06-22 11:22:59 +0200
135
- Processing by BasicFilterController#index as HTML
136
- Parameters: {"keys"=>["1", "2", "3"]}
137
- User Load (1.9ms) SELECT "users".* FROM "users" ORDER BY key asc
138
- Completed 200 OK in 8ms (Views: 0.2ms | ActiveRecord: 1.9ms)
139
-  (0.5ms) rollback transaction
140
-  (0.1ms) begin transaction
141
-  (0.0ms) rollback transaction
142
- Connecting to database specified by database.yml
143
-  (0.4ms) begin transaction
144
-  (0.0ms) SAVEPOINT active_record_1
145
- SQL (3.1ms) INSERT INTO "users" ("key") VALUES (?) [["key", 1]]
146
-  (0.1ms) RELEASE SAVEPOINT active_record_1
147
-  (0.1ms) SAVEPOINT active_record_1
148
- SQL (0.4ms) INSERT INTO "users" ("key") VALUES (?) [["key", 2]]
149
-  (0.1ms) RELEASE SAVEPOINT active_record_1
150
-  (0.1ms) SAVEPOINT active_record_1
151
- SQL (0.1ms) INSERT INTO "users" ("key") VALUES (?) [["key", 3]]
152
-  (0.1ms) RELEASE SAVEPOINT active_record_1
153
-  (0.0ms) SAVEPOINT active_record_1
154
- SQL (0.1ms) INSERT INTO "users" ("key") VALUES (?) [["key", 4]]
155
-  (0.0ms) RELEASE SAVEPOINT active_record_1
156
-
157
-
158
- Started GET "/basic_filter/index?keys[]=1&keys[]=2&keys[]=3" for 127.0.0.1 at 2012-06-22 11:23:17 +0200
159
- Processing by BasicFilterController#index as HTML
160
- Parameters: {"keys"=>["1", "2", "3"]}
161
- User Load (0.2ms) SELECT "users".* FROM "users" ORDER BY key asc
162
- Completed 200 OK in 7ms (Views: 0.2ms | ActiveRecord: 0.2ms)
163
-  (0.4ms) rollback transaction
164
-  (0.1ms) begin transaction
165
-  (0.1ms) rollback transaction
166
- Connecting to database specified by database.yml
167
-  (0.7ms) begin transaction
168
-  (0.1ms) SAVEPOINT active_record_1
169
- SQL (3.0ms) INSERT INTO "users" ("key") VALUES (?) [["key", 1]]
170
-  (0.1ms) RELEASE SAVEPOINT active_record_1
171
-  (0.1ms) SAVEPOINT active_record_1
172
- SQL (0.4ms) INSERT INTO "users" ("key") VALUES (?) [["key", 2]]
173
-  (0.1ms) RELEASE SAVEPOINT active_record_1
174
-  (0.0ms) SAVEPOINT active_record_1
175
- SQL (0.1ms) INSERT INTO "users" ("key") VALUES (?) [["key", 3]]
176
-  (0.1ms) RELEASE SAVEPOINT active_record_1
177
-  (0.0ms) SAVEPOINT active_record_1
178
- SQL (0.1ms) INSERT INTO "users" ("key") VALUES (?) [["key", 4]]
179
-  (0.0ms) RELEASE SAVEPOINT active_record_1
180
-
181
-
182
- Started GET "/basic_filter/index?keys[]=1&keys[]=2&keys[]=3" for 127.0.0.1 at 2012-06-22 11:26:33 +0200
183
- Processing by BasicFilterController#index as HTML
184
- Parameters: {"keys"=>["1", "2", "3"]}
185
- User Load (0.3ms) SELECT "users".* FROM "users" ORDER BY key asc
186
- Completed 200 OK in 20ms (Views: 0.3ms | ActiveRecord: 0.3ms)
187
-  (1.7ms) rollback transaction
188
-  (0.1ms) begin transaction
189
-  (0.1ms) rollback transaction
190
- Connecting to database specified by database.yml
191
-  (0.3ms) begin transaction
192
-  (0.0ms) SAVEPOINT active_record_1
193
- SQL (2.3ms) INSERT INTO "users" ("key") VALUES (?) [["key", 1]]
194
-  (0.0ms) RELEASE SAVEPOINT active_record_1
195
-  (0.0ms) SAVEPOINT active_record_1
196
- SQL (0.3ms) INSERT INTO "users" ("key") VALUES (?) [["key", 2]]
197
-  (0.0ms) RELEASE SAVEPOINT active_record_1
198
-  (0.0ms) SAVEPOINT active_record_1
199
- SQL (0.0ms) INSERT INTO "users" ("key") VALUES (?) [["key", 3]]
200
-  (0.0ms) RELEASE SAVEPOINT active_record_1
201
-  (0.0ms) SAVEPOINT active_record_1
202
- SQL (0.0ms) INSERT INTO "users" ("key") VALUES (?) [["key", 4]]
203
-  (0.0ms) RELEASE SAVEPOINT active_record_1
204
-
205
-
206
- Started GET "/basic_filter/index?keys[]=1&keys[]=2&keys[]=3" for 127.0.0.1 at 2012-06-22 11:27:33 +0200
207
- Processing by BasicFilterController#index as HTML
208
- Parameters: {"keys"=>["1", "2", "3"]}
209
- User Load (0.2ms) SELECT "users".* FROM "users" ORDER BY key asc
210
- Completed 200 OK in 7ms (Views: 0.3ms | ActiveRecord: 0.2ms)
211
-  (1.8ms) rollback transaction
212
-  (0.1ms) begin transaction
213
-  (0.0ms) rollback transaction
214
- Connecting to database specified by database.yml
215
-  (0.4ms) begin transaction
216
-  (0.0ms) SAVEPOINT active_record_1
217
- SQL (2.1ms) INSERT INTO "users" ("key") VALUES (?) [["key", 1]]
218
-  (0.0ms) RELEASE SAVEPOINT active_record_1
219
-  (0.0ms) SAVEPOINT active_record_1
220
- SQL (0.3ms) INSERT INTO "users" ("key") VALUES (?) [["key", 2]]
221
-  (0.0ms) RELEASE SAVEPOINT active_record_1
222
-  (0.0ms) SAVEPOINT active_record_1
223
- SQL (0.0ms) INSERT INTO "users" ("key") VALUES (?) [["key", 3]]
224
-  (0.0ms) RELEASE SAVEPOINT active_record_1
225
-  (0.0ms) SAVEPOINT active_record_1
226
- SQL (0.0ms) INSERT INTO "users" ("key") VALUES (?) [["key", 4]]
227
-  (0.0ms) RELEASE SAVEPOINT active_record_1
228
-
229
-
230
- Started GET "/basic_filter/index?keys[]=1&keys[]=2&keys[]=3" for 127.0.0.1 at 2012-06-22 11:28:55 +0200
231
- Processing by BasicFilterController#index as HTML
232
- Parameters: {"keys"=>["1", "2", "3"]}
233
- User Load (0.3ms) SELECT "users".* FROM "users" ORDER BY key asc
234
- Completed 200 OK in 9ms (Views: 0.3ms | ActiveRecord: 0.3ms)
235
-  (0.7ms) rollback transaction
236
-  (0.1ms) begin transaction
237
-  (0.0ms) rollback transaction
238
- Connecting to database specified by database.yml
239
-  (0.4ms) begin transaction
240
-  (0.0ms) SAVEPOINT active_record_1
241
- SQL (2.2ms) INSERT INTO "users" ("key") VALUES (?) [["key", 1]]
242
-  (0.1ms) RELEASE SAVEPOINT active_record_1
243
-  (0.0ms) SAVEPOINT active_record_1
244
- SQL (0.3ms) INSERT INTO "users" ("key") VALUES (?) [["key", 2]]
245
-  (0.0ms) RELEASE SAVEPOINT active_record_1
246
-  (0.0ms) SAVEPOINT active_record_1
247
- SQL (0.0ms) INSERT INTO "users" ("key") VALUES (?) [["key", 3]]
248
-  (0.0ms) RELEASE SAVEPOINT active_record_1
249
-  (0.0ms) SAVEPOINT active_record_1
250
- SQL (0.0ms) INSERT INTO "users" ("key") VALUES (?) [["key", 4]]
251
-  (0.0ms) RELEASE SAVEPOINT active_record_1
252
-
253
-
254
- Started GET "/basic_filter/index?keys[]=1&keys[]=2&keys[]=3" for 127.0.0.1 at 2012-06-22 11:29:12 +0200
255
- Processing by BasicFilterController#index as HTML
256
- Parameters: {"keys"=>["1", "2", "3"]}
257
- User Load (0.3ms) SELECT "users".* FROM "users" ORDER BY key asc
258
- Completed 200 OK in 10ms (Views: 0.4ms | ActiveRecord: 0.3ms)
259
-  (1.8ms) rollback transaction
260
-  (0.1ms) begin transaction
261
-  (0.1ms) rollback transaction
262
- Connecting to database specified by database.yml
263
-  (0.5ms) begin transaction
264
-  (0.0ms) SAVEPOINT active_record_1
265
- SQL (4.3ms) INSERT INTO "users" ("key") VALUES (?) [["key", 1]]
266
-  (0.1ms) RELEASE SAVEPOINT active_record_1
267
-  (0.0ms) SAVEPOINT active_record_1
268
- SQL (0.3ms) INSERT INTO "users" ("key") VALUES (?) [["key", 2]]
269
-  (0.1ms) RELEASE SAVEPOINT active_record_1
270
-  (0.1ms) SAVEPOINT active_record_1
271
- SQL (0.2ms) INSERT INTO "users" ("key") VALUES (?) [["key", 3]]
272
-  (0.0ms) RELEASE SAVEPOINT active_record_1
273
-  (0.0ms) SAVEPOINT active_record_1
274
- SQL (0.1ms) INSERT INTO "users" ("key") VALUES (?) [["key", 4]]
275
-  (0.0ms) RELEASE SAVEPOINT active_record_1
276
-
277
-
278
- Started GET "/basic_filter/index?keys[]=1&keys[]=2&keys[]=3" for 127.0.0.1 at 2012-06-22 11:30:32 +0200
279
- Processing by BasicFilterController#index as HTML
280
- Parameters: {"keys"=>["1", "2", "3"]}
281
- User Load (0.3ms) SELECT "users".* FROM "users" ORDER BY key asc
282
- Completed 200 OK in 8ms (Views: 0.2ms | ActiveRecord: 0.3ms)
283
-  (0.5ms) rollback transaction
284
-  (0.1ms) begin transaction
285
-  (0.0ms) rollback transaction
286
- Connecting to database specified by database.yml
287
-  (0.4ms) begin transaction
288
-  (0.1ms) SAVEPOINT active_record_1
289
- SQL (2.5ms) INSERT INTO "users" ("key") VALUES (?) [["key", 1]]
290
-  (0.1ms) RELEASE SAVEPOINT active_record_1
291
-  (0.1ms) SAVEPOINT active_record_1
292
- SQL (0.5ms) INSERT INTO "users" ("key") VALUES (?) [["key", 2]]
293
-  (0.1ms) RELEASE SAVEPOINT active_record_1
294
-  (0.1ms) SAVEPOINT active_record_1
295
- SQL (0.1ms) INSERT INTO "users" ("key") VALUES (?) [["key", 3]]
296
-  (0.1ms) RELEASE SAVEPOINT active_record_1
297
-  (0.1ms) SAVEPOINT active_record_1
298
- SQL (0.1ms) INSERT INTO "users" ("key") VALUES (?) [["key", 4]]
299
-  (0.1ms) RELEASE SAVEPOINT active_record_1
300
-
301
-
302
- Started GET "/basic_filter/index?keys[]=1&keys[]=2&keys[]=3" for 127.0.0.1 at 2012-06-22 11:30:58 +0200
303
- Processing by BasicFilterController#index as HTML
304
- Parameters: {"keys"=>["1", "2", "3"]}
305
- User Load (0.5ms) SELECT "users".* FROM "users" ORDER BY key asc
306
- Completed 200 OK in 12ms (Views: 0.4ms | ActiveRecord: 0.5ms)
307
-  (1.9ms) rollback transaction
308
-  (0.1ms) begin transaction
309
-  (0.1ms) rollback transaction
310
- Connecting to database specified by database.yml
311
-  (0.3ms) begin transaction
312
-  (0.0ms) SAVEPOINT active_record_1
313
- SQL (2.1ms) INSERT INTO "users" ("key") VALUES (?) [["key", 1]]
314
-  (0.0ms) RELEASE SAVEPOINT active_record_1
315
-  (0.0ms) SAVEPOINT active_record_1
316
- SQL (0.3ms) INSERT INTO "users" ("key") VALUES (?) [["key", 2]]
317
-  (0.0ms) RELEASE SAVEPOINT active_record_1
318
-  (0.0ms) SAVEPOINT active_record_1
319
- SQL (0.0ms) INSERT INTO "users" ("key") VALUES (?) [["key", 3]]
320
-  (0.0ms) RELEASE SAVEPOINT active_record_1
321
-  (0.0ms) SAVEPOINT active_record_1
322
- SQL (0.0ms) INSERT INTO "users" ("key") VALUES (?) [["key", 4]]
323
-  (0.0ms) RELEASE SAVEPOINT active_record_1
324
-
325
-
326
- Started GET "/basic_filter/index?keys[]=1&keys[]=2&keys[]=3" for 127.0.0.1 at 2012-06-22 11:33:27 +0200
327
- Processing by BasicFilterController#index as HTML
328
- Parameters: {"keys"=>["1", "2", "3"]}
329
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."key" IS NULL ORDER BY key asc
330
- Completed 200 OK in 5ms (Views: 0.1ms | ActiveRecord: 0.2ms)
331
-  (0.6ms) rollback transaction
332
-  (0.0ms) begin transaction
333
-  (0.0ms) rollback transaction
334
- Connecting to database specified by database.yml
335
-  (0.4ms) begin transaction
336
-  (0.0ms) SAVEPOINT active_record_1
337
- SQL (0.4ms) INSERT INTO "users" ("key") VALUES (?) [["key", "1"]]
338
-  (0.0ms) RELEASE SAVEPOINT active_record_1
339
-  (0.0ms) SAVEPOINT active_record_1
340
- SQL (0.2ms) INSERT INTO "users" ("key") VALUES (?) [["key", "2"]]
341
-  (0.0ms) RELEASE SAVEPOINT active_record_1
342
-  (0.0ms) SAVEPOINT active_record_1
343
- SQL (0.1ms) INSERT INTO "users" ("key") VALUES (?) [["key", "3"]]
344
-  (0.0ms) RELEASE SAVEPOINT active_record_1
345
-  (0.0ms) SAVEPOINT active_record_1
346
- SQL (0.0ms) INSERT INTO "users" ("key") VALUES (?) [["key", "4"]]
347
-  (0.0ms) RELEASE SAVEPOINT active_record_1
348
-
349
-
350
- Started GET "/basic_filter/index?keys[]=1&keys[]=2&keys[]=3" for 127.0.0.1 at 2012-06-22 11:34:09 +0200
351
- Processing by BasicFilterController#index as HTML
352
- Parameters: {"keys"=>["1", "2", "3"]}
353
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."key" IS NULL ORDER BY key asc
354
- Completed 200 OK in 5ms (Views: 0.1ms | ActiveRecord: 0.2ms)
355
-  (1.9ms) rollback transaction
356
-  (0.1ms) begin transaction
357
-  (0.0ms) rollback transaction
358
- Connecting to database specified by database.yml
359
-  (0.3ms) begin transaction
360
-  (0.1ms) SAVEPOINT active_record_1
361
- SQL (2.2ms) INSERT INTO "users" ("key") VALUES (?) [["key", 1]]
362
-  (0.0ms) RELEASE SAVEPOINT active_record_1
363
-  (0.0ms) SAVEPOINT active_record_1
364
- SQL (0.2ms) INSERT INTO "users" ("key") VALUES (?) [["key", 2]]
365
-  (0.0ms) RELEASE SAVEPOINT active_record_1
366
-  (0.0ms) SAVEPOINT active_record_1
367
- SQL (0.0ms) INSERT INTO "users" ("key") VALUES (?) [["key", 3]]
368
-  (0.0ms) RELEASE SAVEPOINT active_record_1
369
-  (0.0ms) SAVEPOINT active_record_1
370
- SQL (0.0ms) INSERT INTO "users" ("key") VALUES (?) [["key", 4]]
371
-  (0.0ms) RELEASE SAVEPOINT active_record_1
372
-
373
-
374
- Started GET "/basic_filter/index?keys[]=1&keys[]=2&keys[]=3" for 127.0.0.1 at 2012-06-22 11:34:29 +0200
375
- Processing by BasicFilterController#index as HTML
376
- Parameters: {"keys"=>["1", "2", "3"]}
377
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."key" IN ('1', '2', '3') ORDER BY key asc
378
- Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.2ms)
379
-  (1.9ms) rollback transaction
380
-  (0.1ms) begin transaction
381
-  (0.0ms) rollback transaction
382
- Connecting to database specified by database.yml
383
-  (0.3ms) begin transaction
384
-  (0.0ms) SAVEPOINT active_record_1
385
- SQL (2.1ms) INSERT INTO "users" ("key") VALUES (?) [["key", 1]]
386
-  (0.0ms) RELEASE SAVEPOINT active_record_1
387
-  (0.0ms) SAVEPOINT active_record_1
388
- SQL (0.2ms) INSERT INTO "users" ("key") VALUES (?) [["key", 2]]
389
-  (0.0ms) RELEASE SAVEPOINT active_record_1
390
-  (0.0ms) SAVEPOINT active_record_1
391
- SQL (0.0ms) INSERT INTO "users" ("key") VALUES (?) [["key", 3]]
392
-  (0.0ms) RELEASE SAVEPOINT active_record_1
393
-  (0.0ms) SAVEPOINT active_record_1
394
- SQL (0.0ms) INSERT INTO "users" ("key") VALUES (?) [["key", 4]]
395
-  (0.0ms) RELEASE SAVEPOINT active_record_1
396
-
397
-
398
- Started GET "/basic_filter/index?keys[]=1&keys[]=2&keys[]=3" for 127.0.0.1 at 2012-06-22 11:36:40 +0200
399
- Processing by BasicFilterController#index as HTML
400
- Parameters: {"keys"=>["1", "2", "3"]}
401
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."key" IN ('1', '2', '3') AND "users"."key" IN ('1', '2', '3') ORDER BY key asc
402
- Completed 500 Internal Server Error in 3ms
403
-  (0.5ms) rollback transaction
404
-  (0.1ms) begin transaction
405
-  (0.0ms) rollback transaction
406
- Connecting to database specified by database.yml
407
-  (0.3ms) begin transaction
408
-  (0.0ms) SAVEPOINT active_record_1
409
- SQL (2.1ms) INSERT INTO "users" ("key") VALUES (?) [["key", 1]]
410
-  (0.0ms) RELEASE SAVEPOINT active_record_1
411
-  (0.0ms) SAVEPOINT active_record_1
412
- SQL (0.5ms) INSERT INTO "users" ("key") VALUES (?) [["key", 2]]
413
-  (0.0ms) RELEASE SAVEPOINT active_record_1
414
-  (0.0ms) SAVEPOINT active_record_1
415
- SQL (0.0ms) INSERT INTO "users" ("key") VALUES (?) [["key", 3]]
416
-  (0.0ms) RELEASE SAVEPOINT active_record_1
417
-  (0.0ms) SAVEPOINT active_record_1
418
- SQL (0.0ms) INSERT INTO "users" ("key") VALUES (?) [["key", 4]]
419
-  (0.0ms) RELEASE SAVEPOINT active_record_1
420
-
421
-
422
- Started GET "/basic_filter/index?keys[]=1&keys[]=2&keys[]=3" for 127.0.0.1 at 2012-06-22 11:37:10 +0200
423
- Processing by BasicFilterController#index as HTML
424
- Parameters: {"keys"=>["1", "2", "3"]}
425
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."key" IN ('1', '2', '3') AND "users"."key" IN ('1', '2', '3') ORDER BY key asc
426
- Completed 500 Internal Server Error in 4ms
427
-  (1.8ms) rollback transaction
428
-  (0.1ms) begin transaction
429
-  (0.0ms) SAVEPOINT active_record_1
430
- SQL (0.2ms) INSERT INTO "users" ("key") VALUES (?) [["key", 1]]
431
-  (0.0ms) RELEASE SAVEPOINT active_record_1
432
-  (0.0ms) SAVEPOINT active_record_1
433
- SQL (0.5ms) INSERT INTO "users" ("key") VALUES (?) [["key", 2]]
434
-  (0.0ms) RELEASE SAVEPOINT active_record_1
435
-  (0.0ms) SAVEPOINT active_record_1
436
- SQL (0.0ms) INSERT INTO "users" ("key") VALUES (?) [["key", 3]]
437
-  (0.0ms) RELEASE SAVEPOINT active_record_1
438
-  (0.0ms) SAVEPOINT active_record_1
439
- SQL (0.0ms) INSERT INTO "users" ("key") VALUES (?) [["key", 4]]
440
-  (0.0ms) RELEASE SAVEPOINT active_record_1
441
-
442
-
443
- Started GET "/multiple_filters/index?keys[]=1&keys[]=2&keys[]=3" for 127.0.0.1 at 2012-06-22 11:37:10 +0200
444
- Processing by MultipleFiltersController#index as HTML
445
- Parameters: {"keys"=>["1", "2", "3"]}
446
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."key" IN ('1', '2', '3') AND "users"."key" IN ('1', '2', '3') AND "users"."key" IS NULL ORDER BY key asc
447
- Completed 200 OK in 24ms (Views: 16.2ms | ActiveRecord: 0.3ms)
448
-  (0.5ms) rollback transaction
449
-  (0.1ms) begin transaction
450
-  (0.0ms) rollback transaction
451
- Connecting to database specified by database.yml
452
-  (0.4ms) begin transaction
453
-  (0.0ms) SAVEPOINT active_record_1
454
- SQL (2.2ms) INSERT INTO "users" ("key") VALUES (?) [["key", 1]]
455
-  (0.1ms) RELEASE SAVEPOINT active_record_1
456
-  (0.0ms) SAVEPOINT active_record_1
457
- SQL (0.2ms) INSERT INTO "users" ("key") VALUES (?) [["key", 2]]
458
-  (0.0ms) RELEASE SAVEPOINT active_record_1
459
-  (0.0ms) SAVEPOINT active_record_1
460
- SQL (0.0ms) INSERT INTO "users" ("key") VALUES (?) [["key", 3]]
461
-  (0.0ms) RELEASE SAVEPOINT active_record_1
462
-  (0.0ms) SAVEPOINT active_record_1
463
- SQL (0.0ms) INSERT INTO "users" ("key") VALUES (?) [["key", 4]]
464
-  (0.0ms) RELEASE SAVEPOINT active_record_1
465
-
466
-
467
- Started GET "/basic_filter/index?keys[]=1&keys[]=2&keys[]=3" for 127.0.0.1 at 2012-06-22 11:37:43 +0200
468
- Processing by BasicFilterController#index as HTML
469
- Parameters: {"keys"=>["1", "2", "3"]}
470
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."key" IN ('1', '2', '3') AND "users"."key" IN ('1', '2', '3') ORDER BY key asc
471
- Completed 500 Internal Server Error in 3ms
472
-  (1.9ms) rollback transaction
473
-  (0.1ms) begin transaction
474
-  (0.0ms) SAVEPOINT active_record_1
475
- SQL (0.2ms) INSERT INTO "users" ("key") VALUES (?) [["key", 1]]
476
-  (0.0ms) RELEASE SAVEPOINT active_record_1
477
-  (0.0ms) SAVEPOINT active_record_1
478
- SQL (0.2ms) INSERT INTO "users" ("key") VALUES (?) [["key", 2]]
479
-  (0.0ms) RELEASE SAVEPOINT active_record_1
480
-  (0.0ms) SAVEPOINT active_record_1
481
- SQL (0.0ms) INSERT INTO "users" ("key") VALUES (?) [["key", 3]]
482
-  (0.0ms) RELEASE SAVEPOINT active_record_1
483
-  (0.0ms) SAVEPOINT active_record_1
484
- SQL (0.0ms) INSERT INTO "users" ("key") VALUES (?) [["key", 4]]
485
-  (0.0ms) RELEASE SAVEPOINT active_record_1
486
-
487
-
488
- Started GET "/multiple_filters/index?keys[]=1&keys[]=2&keys[]=3" for 127.0.0.1 at 2012-06-22 11:37:43 +0200
489
- Processing by MultipleFiltersController#index as HTML
490
- Parameters: {"keys"=>["1", "2", "3"]}
491
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."key" IN ('1', '2', '3') AND "users"."key" IN ('1', '2', '3') AND "users"."key" IS NULL ORDER BY key asc
492
- Completed 200 OK in 7ms (Views: 0.2ms | ActiveRecord: 0.3ms)
493
-  (0.5ms) rollback transaction
494
-  (0.1ms) begin transaction
495
-  (0.0ms) rollback transaction
496
- Connecting to database specified by database.yml
497
- Connecting to database specified by database.yml
498
- Connecting to database specified by database.yml
499
-  (0.3ms) begin transaction
500
-  (0.0ms) SAVEPOINT active_record_1
501
- SQL (2.1ms) INSERT INTO "users" ("key") VALUES (?) [["key", 1]]
502
-  (0.1ms) RELEASE SAVEPOINT active_record_1
503
-  (0.0ms) SAVEPOINT active_record_1
504
- SQL (0.2ms) INSERT INTO "users" ("key") VALUES (?) [["key", 2]]
505
-  (0.0ms) RELEASE SAVEPOINT active_record_1
506
-  (0.0ms) SAVEPOINT active_record_1
507
- SQL (0.0ms) INSERT INTO "users" ("key") VALUES (?) [["key", 3]]
508
-  (0.0ms) RELEASE SAVEPOINT active_record_1
509
-  (0.0ms) SAVEPOINT active_record_1
510
- SQL (0.0ms) INSERT INTO "users" ("key") VALUES (?) [["key", 4]]
511
-  (0.0ms) RELEASE SAVEPOINT active_record_1
512
-
513
-
514
- Started GET "/basic_filter/index?keys[]=1&keys[]=2&keys[]=3" for 127.0.0.1 at 2012-06-22 11:41:43 +0200
515
- Processing by BasicFilterController#index as HTML
516
- Parameters: {"keys"=>["1", "2", "3"]}
517
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."key" IN ('1', '2', '3') ORDER BY key asc
518
- Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.2ms)
519
-  (1.8ms) rollback transaction
520
-  (0.1ms) begin transaction
521
-  (0.0ms) SAVEPOINT active_record_1
522
- SQL (0.2ms) INSERT INTO "users" ("key") VALUES (?) [["key", 1]]
523
-  (0.0ms) RELEASE SAVEPOINT active_record_1
524
-  (0.0ms) SAVEPOINT active_record_1
525
- SQL (0.3ms) INSERT INTO "users" ("key") VALUES (?) [["key", 2]]
526
-  (0.1ms) RELEASE SAVEPOINT active_record_1
527
-  (0.0ms) SAVEPOINT active_record_1
528
- SQL (0.1ms) INSERT INTO "users" ("key") VALUES (?) [["key", 3]]
529
-  (0.0ms) RELEASE SAVEPOINT active_record_1
530
-  (0.0ms) SAVEPOINT active_record_1
531
- SQL (0.0ms) INSERT INTO "users" ("key") VALUES (?) [["key", 4]]
532
-  (0.0ms) RELEASE SAVEPOINT active_record_1
533
-
534
-
535
- Started GET "/multiple_filters/index?keys[]=1&keys[]=2&keys[]=3" for 127.0.0.1 at 2012-06-22 11:41:43 +0200
536
- Processing by MultipleFiltersController#index as HTML
537
- Parameters: {"keys"=>["1", "2", "3"]}
538
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."key" IN ('1', '2', '3') AND "users"."key" IS NULL ORDER BY key asc
539
- Completed 200 OK in 8ms (Views: 0.2ms | ActiveRecord: 0.3ms)
540
-  (0.5ms) rollback transaction
541
- Connecting to database specified by database.yml
542
-  (0.3ms) begin transaction
543
-  (0.0ms) SAVEPOINT active_record_1
544
- SQL (2.2ms) INSERT INTO "users" ("key") VALUES (?) [["key", 1]]
545
-  (0.1ms) RELEASE SAVEPOINT active_record_1
546
-  (0.0ms) SAVEPOINT active_record_1
547
- SQL (0.2ms) INSERT INTO "users" ("key") VALUES (?) [["key", 2]]
548
-  (0.0ms) RELEASE SAVEPOINT active_record_1
549
-  (0.0ms) SAVEPOINT active_record_1
550
- SQL (0.0ms) INSERT INTO "users" ("key") VALUES (?) [["key", 3]]
551
-  (0.0ms) RELEASE SAVEPOINT active_record_1
552
-  (0.0ms) SAVEPOINT active_record_1
553
- SQL (0.0ms) INSERT INTO "users" ("key") VALUES (?) [["key", 4]]
554
-  (0.0ms) RELEASE SAVEPOINT active_record_1
555
-
556
-
557
- Started GET "/basic_filter/index?keys[]=1&keys[]=2&keys[]=3" for 127.0.0.1 at 2012-06-22 12:06:44 +0200
558
- Processing by BasicFilterController#index as HTML
559
- Parameters: {"keys"=>["1", "2", "3"]}
560
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."key" IN ('1', '2', '3') ORDER BY key asc
561
- Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.2ms)
562
-  (1.8ms) rollback transaction
563
-  (0.1ms) begin transaction
564
-  (0.0ms) SAVEPOINT active_record_1
565
- SQL (0.3ms) INSERT INTO "users" ("key") VALUES (?) [["key", 1]]
566
-  (0.0ms) RELEASE SAVEPOINT active_record_1
567
-  (0.0ms) SAVEPOINT active_record_1
568
- SQL (0.2ms) INSERT INTO "users" ("key") VALUES (?) [["key", 2]]
569
-  (0.0ms) RELEASE SAVEPOINT active_record_1
570
-  (0.0ms) SAVEPOINT active_record_1
571
- SQL (0.0ms) INSERT INTO "users" ("key") VALUES (?) [["key", 3]]
572
-  (0.0ms) RELEASE SAVEPOINT active_record_1
573
-  (0.0ms) SAVEPOINT active_record_1
574
- SQL (0.0ms) INSERT INTO "users" ("key") VALUES (?) [["key", 4]]
575
-  (0.0ms) RELEASE SAVEPOINT active_record_1
576
-
577
-
578
- Started GET "/if_filter/index?keys[]=1&keys[]=2&keys[]=3&monkey=true" for 127.0.0.1 at 2012-06-22 12:06:44 +0200
579
- Processing by IfFilterController#index as HTML
580
- Parameters: {"keys"=>["1", "2", "3"], "monkey"=>"true"}
581
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."key" IN ('1', '2', '3') ORDER BY key asc
582
- Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.3ms)
583
-  (0.5ms) rollback transaction
584
-  (0.1ms) begin transaction
585
-  (0.1ms) SAVEPOINT active_record_1
586
- SQL (0.4ms) INSERT INTO "users" ("key") VALUES (?) [["key", 1]]
587
-  (17.2ms) RELEASE SAVEPOINT active_record_1
588
-  (0.1ms) SAVEPOINT active_record_1
589
- SQL (0.3ms) INSERT INTO "users" ("key") VALUES (?) [["key", 2]]
590
-  (0.0ms) RELEASE SAVEPOINT active_record_1
591
-  (0.0ms) SAVEPOINT active_record_1
592
- SQL (0.0ms) INSERT INTO "users" ("key") VALUES (?) [["key", 3]]
593
-  (0.0ms) RELEASE SAVEPOINT active_record_1
594
-  (0.0ms) SAVEPOINT active_record_1
595
- SQL (0.0ms) INSERT INTO "users" ("key") VALUES (?) [["key", 4]]
596
-  (0.0ms) RELEASE SAVEPOINT active_record_1
597
-
598
-
599
- Started GET "/multiple_filters/index?keys[]=1&keys[]=2&keys[]=3" for 127.0.0.1 at 2012-06-22 12:06:44 +0200
600
- Processing by MultipleFiltersController#index as HTML
601
- Parameters: {"keys"=>["1", "2", "3"]}
602
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."key" IN ('1', '2', '3') AND "users"."key" IS NULL ORDER BY key asc
603
- Completed 200 OK in 6ms (Views: 0.2ms | ActiveRecord: 0.3ms)
604
-  (0.6ms) rollback transaction
605
-  (0.1ms) begin transaction
606
-  (0.0ms) SAVEPOINT active_record_1
607
- SQL (0.3ms) INSERT INTO "users" ("key") VALUES (?) [["key", 1]]
608
-  (0.0ms) RELEASE SAVEPOINT active_record_1
609
-  (0.0ms) SAVEPOINT active_record_1
610
- SQL (0.3ms) INSERT INTO "users" ("key") VALUES (?) [["key", 2]]
611
-  (0.0ms) RELEASE SAVEPOINT active_record_1
612
-  (0.0ms) SAVEPOINT active_record_1
613
- SQL (0.1ms) INSERT INTO "users" ("key") VALUES (?) [["key", 3]]
614
-  (0.0ms) RELEASE SAVEPOINT active_record_1
615
-  (0.0ms) SAVEPOINT active_record_1
616
- SQL (0.1ms) INSERT INTO "users" ("key") VALUES (?) [["key", 4]]
617
-  (0.0ms) RELEASE SAVEPOINT active_record_1
618
-
619
-
620
- Started GET "/unless_filter/index?keys[]=1&keys[]=2&keys[]=3&monkey=true" for 127.0.0.1 at 2012-06-22 12:06:44 +0200
621
- Processing by UnlessFilterController#index as HTML
622
- Parameters: {"keys"=>["1", "2", "3"], "monkey"=>"true"}
623
- User Load (0.2ms) SELECT "users".* FROM "users" ORDER BY key asc
624
- Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.2ms)
625
-  (0.5ms) rollback transaction
626
- Connecting to database specified by database.yml
627
-  (0.4ms) begin transaction
628
3
   (0.1ms) SAVEPOINT active_record_1
629
- SQL (2.4ms) INSERT INTO "users" ("key") VALUES (?) [["key", 1]]
4
+ SQL (3.3ms) INSERT INTO "users" ("key") VALUES (?) [["key", 1]]
630
5
   (0.1ms) RELEASE SAVEPOINT active_record_1
631
6
   (0.0ms) SAVEPOINT active_record_1
632
- SQL (0.3ms) INSERT INTO "users" ("key") VALUES (?) [["key", 2]]
633
-  (0.0ms) RELEASE SAVEPOINT active_record_1
7
+ SQL (0.2ms) INSERT INTO "users" ("key") VALUES (?) [["key", 2]]
8
+  (0.1ms) RELEASE SAVEPOINT active_record_1
634
9
   (0.0ms) SAVEPOINT active_record_1
635
10
  SQL (0.0ms) INSERT INTO "users" ("key") VALUES (?) [["key", 3]]
636
11
   (0.0ms) RELEASE SAVEPOINT active_record_1
@@ -639,62 +14,20 @@ Connecting to database specified by database.yml
639
14
   (0.0ms) RELEASE SAVEPOINT active_record_1
640
15
 
641
16
 
642
- Started GET "/basic_filter/index?keys[]=1&keys[]=2&keys[]=3" for 127.0.0.1 at 2012-06-22 12:39:07 +0200
17
+ Started GET "/basic_filter/index?keys[]=1&keys[]=2&keys[]=3" for 127.0.0.1 at 2013-01-04 18:08:17 +0100
643
18
  Processing by BasicFilterController#index as HTML
644
19
  Parameters: {"keys"=>["1", "2", "3"]}
645
20
  User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."key" IN ('1', '2', '3') ORDER BY key asc
646
21
  Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.2ms)
647
-  (0.6ms) rollback transaction
22
+  (0.7ms) rollback transaction
648
23
   (0.1ms) begin transaction
649
24
   (0.1ms) SAVEPOINT active_record_1
650
25
  SQL (0.3ms) INSERT INTO "users" ("key") VALUES (?) [["key", 1]]
651
-  (0.0ms) RELEASE SAVEPOINT active_record_1
652
-  (0.0ms) SAVEPOINT active_record_1
653
- SQL (0.2ms) INSERT INTO "users" ("key") VALUES (?) [["key", 2]]
654
-  (0.0ms) RELEASE SAVEPOINT active_record_1
655
-  (0.0ms) SAVEPOINT active_record_1
656
- SQL (0.0ms) INSERT INTO "users" ("key") VALUES (?) [["key", 3]]
657
-  (0.0ms) RELEASE SAVEPOINT active_record_1
658
-  (0.0ms) SAVEPOINT active_record_1
659
- SQL (0.0ms) INSERT INTO "users" ("key") VALUES (?) [["key", 4]]
660
-  (0.0ms) RELEASE SAVEPOINT active_record_1
661
-
662
-
663
- Started GET "/if_filter/index?keys[]=1&keys[]=2&keys[]=3&monkey=true" for 127.0.0.1 at 2012-06-22 12:39:07 +0200
664
- Processing by IfFilterController#index as HTML
665
- Parameters: {"keys"=>["1", "2", "3"], "monkey"=>"true"}
666
- User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."key" IN ('1', '2', '3') ORDER BY key asc
667
- Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.4ms)
668
-  (0.5ms) rollback transaction
669
-  (0.1ms) begin transaction
670
-  (0.0ms) SAVEPOINT active_record_1
671
- SQL (0.3ms) INSERT INTO "users" ("key") VALUES (?) [["key", 1]]
672
-  (0.1ms) RELEASE SAVEPOINT active_record_1
673
-  (0.0ms) SAVEPOINT active_record_1
674
- SQL (0.3ms) INSERT INTO "users" ("key") VALUES (?) [["key", 2]]
675
-  (0.0ms) RELEASE SAVEPOINT active_record_1
26
+  (0.1ms) RELEASE SAVEPOINT active_record_1
676
27
   (0.0ms) SAVEPOINT active_record_1
677
- SQL (0.1ms) INSERT INTO "users" ("key") VALUES (?) [["key", 3]]
28
+ SQL (0.3ms) INSERT INTO "users" ("key") VALUES (?) [["key", 2]]
678
29
   (0.0ms) RELEASE SAVEPOINT active_record_1
679
30
   (0.0ms) SAVEPOINT active_record_1
680
- SQL (0.0ms) INSERT INTO "users" ("key") VALUES (?) [["key", 4]]
681
-  (0.0ms) RELEASE SAVEPOINT active_record_1
682
-
683
-
684
- Started GET "/multiple_filters/index?keys[]=1&keys[]=2&keys[]=3" for 127.0.0.1 at 2012-06-22 12:39:07 +0200
685
- Processing by MultipleFiltersController#index as HTML
686
- Parameters: {"keys"=>["1", "2", "3"]}
687
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."key" IN ('1', '2', '3') AND "users"."key" IS NULL ORDER BY key asc
688
- Completed 200 OK in 7ms (Views: 0.2ms | ActiveRecord: 0.3ms)
689
-  (0.5ms) rollback transaction
690
-  (0.1ms) begin transaction
691
-  (0.1ms) SAVEPOINT active_record_1
692
- SQL (0.3ms) INSERT INTO "users" ("key") VALUES (?) [["key", 1]]
693
-  (0.0ms) RELEASE SAVEPOINT active_record_1
694
-  (0.0ms) SAVEPOINT active_record_1
695
- SQL (0.2ms) INSERT INTO "users" ("key") VALUES (?) [["key", 2]]
696
-  (0.0ms) RELEASE SAVEPOINT active_record_1
697
-  (0.1ms) SAVEPOINT active_record_1
698
31
  SQL (0.1ms) INSERT INTO "users" ("key") VALUES (?) [["key", 3]]
699
32
   (0.0ms) RELEASE SAVEPOINT active_record_1
700
33
   (0.0ms) SAVEPOINT active_record_1
@@ -702,127 +35,27 @@ Completed 200 OK in 7ms (Views: 0.2ms | ActiveRecord: 0.3ms)
702
35
   (0.0ms) RELEASE SAVEPOINT active_record_1
703
36
 
704
37
 
705
- Started GET "/unless_filter/index?keys[]=1&keys[]=2&keys[]=3&monkey=true" for 127.0.0.1 at 2012-06-22 12:39:07 +0200
706
- Processing by UnlessFilterController#index as HTML
707
- Parameters: {"keys"=>["1", "2", "3"], "monkey"=>"true"}
708
- User Load (0.2ms) SELECT "users".* FROM "users" ORDER BY key asc
709
- Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.2ms)
710
-  (0.5ms) rollback transaction
711
- Connecting to database specified by database.yml
712
-  (0.4ms) begin transaction
713
-  (0.1ms) SAVEPOINT active_record_1
714
- SQL (2.5ms) INSERT INTO "users" ("key") VALUES (?) [["key", 1]]
715
-  (0.1ms) RELEASE SAVEPOINT active_record_1
716
-  (0.0ms) SAVEPOINT active_record_1
717
- SQL (2.0ms) INSERT INTO "users" ("key") VALUES (?) [["key", 2]]
718
-  (0.1ms) RELEASE SAVEPOINT active_record_1
719
-  (0.1ms) SAVEPOINT active_record_1
720
- SQL (0.1ms) INSERT INTO "users" ("key") VALUES (?) [["key", 3]]
721
-  (0.0ms) RELEASE SAVEPOINT active_record_1
722
-  (0.0ms) SAVEPOINT active_record_1
723
- SQL (0.0ms) INSERT INTO "users" ("key") VALUES (?) [["key", 4]]
724
-  (0.0ms) RELEASE SAVEPOINT active_record_1
725
-
726
-
727
- Started GET "/basic_filter/index?keys[]=1&keys[]=2&keys[]=3" for 127.0.0.1 at 2012-06-22 12:40:02 +0200
728
- Processing by BasicFilterController#index as HTML
729
- Parameters: {"keys"=>["1", "2", "3"]}
730
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."key" IN ('1', '2', '3') ORDER BY key asc
731
- Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.2ms)
732
-  (0.7ms) rollback transaction
733
-  (0.1ms) begin transaction
734
-  (0.1ms) SAVEPOINT active_record_1
735
- SQL (0.3ms) INSERT INTO "users" ("key") VALUES (?) [["key", 1]]
736
-  (0.0ms) RELEASE SAVEPOINT active_record_1
737
-  (0.0ms) SAVEPOINT active_record_1
738
- SQL (0.3ms) INSERT INTO "users" ("key") VALUES (?) [["key", 2]]
739
-  (0.1ms) RELEASE SAVEPOINT active_record_1
740
-  (0.1ms) SAVEPOINT active_record_1
741
- SQL (0.1ms) INSERT INTO "users" ("key") VALUES (?) [["key", 3]]
742
-  (0.1ms) RELEASE SAVEPOINT active_record_1
743
-  (0.1ms) SAVEPOINT active_record_1
744
- SQL (0.1ms) INSERT INTO "users" ("key") VALUES (?) [["key", 4]]
745
-  (0.1ms) RELEASE SAVEPOINT active_record_1
746
-
747
-
748
- Started GET "/if_filter/index?keys[]=1&keys[]=2&keys[]=3&monkey=true" for 127.0.0.1 at 2012-06-22 12:40:02 +0200
38
+ Started GET "/if_filter/index?keys[]=1&keys[]=2&keys[]=3&monkey=true" for 127.0.0.1 at 2013-01-04 18:08:17 +0100
749
39
  Processing by IfFilterController#index as HTML
750
40
  Parameters: {"keys"=>["1", "2", "3"], "monkey"=>"true"}
751
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."key" IN ('1', '2', '3') ORDER BY key asc
752
- Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.3ms)
753
-  (0.4ms) rollback transaction
754
-  (0.1ms) begin transaction
755
-  (0.0ms) SAVEPOINT active_record_1
756
- SQL (0.3ms) INSERT INTO "users" ("key") VALUES (?) [["key", 1]]
757
-  (0.0ms) RELEASE SAVEPOINT active_record_1
758
-  (0.0ms) SAVEPOINT active_record_1
759
- SQL (0.2ms) INSERT INTO "users" ("key") VALUES (?) [["key", 2]]
760
-  (0.0ms) RELEASE SAVEPOINT active_record_1
761
-  (0.0ms) SAVEPOINT active_record_1
762
- SQL (0.1ms) INSERT INTO "users" ("key") VALUES (?) [["key", 3]]
763
-  (0.0ms) RELEASE SAVEPOINT active_record_1
764
-  (0.0ms) SAVEPOINT active_record_1
765
- SQL (0.0ms) INSERT INTO "users" ("key") VALUES (?) [["key", 4]]
766
-  (0.0ms) RELEASE SAVEPOINT active_record_1
41
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."key" IN ('1', '2', '3') ORDER BY key asc
42
+ Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.2ms)
767
43
 
768
44
 
769
- Started GET "/multiple_filters/index?keys[]=1&keys[]=2&keys[]=3" for 127.0.0.1 at 2012-06-22 12:40:02 +0200
770
- Processing by MultipleFiltersController#index as HTML
45
+ Started GET "/if_filter/index?keys[]=1&keys[]=2&keys[]=3" for 127.0.0.1 at 2013-01-04 18:08:17 +0100
46
+ Processing by IfFilterController#index as HTML
771
47
  Parameters: {"keys"=>["1", "2", "3"]}
772
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."key" IN ('1', '2', '3') AND "users"."key" IS NULL ORDER BY key asc
773
- Completed 200 OK in 7ms (Views: 0.2ms | ActiveRecord: 0.3ms)
774
-  (0.4ms) rollback transaction
48
+ User Load (0.2ms) SELECT "users".* FROM "users" ORDER BY key asc
49
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
50
+  (0.6ms) rollback transaction
775
51
   (0.1ms) begin transaction
776
52
   (0.0ms) SAVEPOINT active_record_1
777
53
  SQL (0.3ms) INSERT INTO "users" ("key") VALUES (?) [["key", 1]]
778
54
   (0.1ms) RELEASE SAVEPOINT active_record_1
779
-  (0.0ms) SAVEPOINT active_record_1
780
- SQL (0.3ms) INSERT INTO "users" ("key") VALUES (?) [["key", 2]]
781
-  (0.0ms) RELEASE SAVEPOINT active_record_1
782
-  (0.1ms) SAVEPOINT active_record_1
783
- SQL (0.1ms) INSERT INTO "users" ("key") VALUES (?) [["key", 3]]
784
-  (0.0ms) RELEASE SAVEPOINT active_record_1
785
-  (0.0ms) SAVEPOINT active_record_1
786
- SQL (0.1ms) INSERT INTO "users" ("key") VALUES (?) [["key", 4]]
787
-  (0.1ms) RELEASE SAVEPOINT active_record_1
788
-
789
-
790
- Started GET "/unless_filter/index?keys[]=1&keys[]=2&keys[]=3&monkey=false" for 127.0.0.1 at 2012-06-22 12:40:03 +0200
791
- Processing by UnlessFilterController#index as HTML
792
- Parameters: {"keys"=>["1", "2", "3"], "monkey"=>"false"}
793
- User Load (0.2ms) SELECT "users".* FROM "users" ORDER BY key asc
794
- Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.2ms)
795
-  (0.6ms) rollback transaction
796
- Connecting to database specified by database.yml
797
-  (0.4ms) begin transaction
798
55
   (0.1ms) SAVEPOINT active_record_1
799
- SQL (2.5ms) INSERT INTO "users" ("key") VALUES (?) [["key", 1]]
56
+ SQL (0.3ms) INSERT INTO "users" ("key") VALUES (?) [["key", 2]]
800
57
   (0.1ms) RELEASE SAVEPOINT active_record_1
801
58
   (0.0ms) SAVEPOINT active_record_1
802
- SQL (0.3ms) INSERT INTO "users" ("key") VALUES (?) [["key", 2]]
803
-  (0.0ms) RELEASE SAVEPOINT active_record_1
804
-  (0.0ms) SAVEPOINT active_record_1
805
- SQL (0.0ms) INSERT INTO "users" ("key") VALUES (?) [["key", 3]]
806
-  (0.0ms) RELEASE SAVEPOINT active_record_1
807
-  (0.0ms) SAVEPOINT active_record_1
808
- SQL (0.0ms) INSERT INTO "users" ("key") VALUES (?) [["key", 4]]
809
-  (0.0ms) RELEASE SAVEPOINT active_record_1
810
-
811
-
812
- Started GET "/basic_filter/index?keys[]=1&keys[]=2&keys[]=3" for 127.0.0.1 at 2012-06-22 12:40:44 +0200
813
- Processing by BasicFilterController#index as HTML
814
- Parameters: {"keys"=>["1", "2", "3"]}
815
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."key" IN ('1', '2', '3') ORDER BY key asc
816
- Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
817
-  (1.9ms) rollback transaction
818
-  (0.1ms) begin transaction
819
-  (0.1ms) SAVEPOINT active_record_1
820
- SQL (0.4ms) INSERT INTO "users" ("key") VALUES (?) [["key", 1]]
821
-  (0.1ms) RELEASE SAVEPOINT active_record_1
822
-  (0.1ms) SAVEPOINT active_record_1
823
- SQL (0.4ms) INSERT INTO "users" ("key") VALUES (?) [["key", 2]]
824
-  (0.1ms) RELEASE SAVEPOINT active_record_1
825
-  (0.1ms) SAVEPOINT active_record_1
826
59
  SQL (0.1ms) INSERT INTO "users" ("key") VALUES (?) [["key", 3]]
827
60
   (0.1ms) RELEASE SAVEPOINT active_record_1
828
61
   (0.1ms) SAVEPOINT active_record_1
@@ -830,150 +63,93 @@ Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
830
63
   (0.1ms) RELEASE SAVEPOINT active_record_1
831
64
 
832
65
 
833
- Started GET "/if_filter/index?keys[]=1&keys[]=2&keys[]=3&monkey=true" for 127.0.0.1 at 2012-06-22 12:40:44 +0200
834
- Processing by IfFilterController#index as HTML
66
+ Started GET "/inline_if_filter/index?keys[]=1&keys[]=2&keys[]=3&monkey=true" for 127.0.0.1 at 2013-01-04 18:08:17 +0100
67
+ Processing by InlineIfFilterController#index as HTML
835
68
  Parameters: {"keys"=>["1", "2", "3"], "monkey"=>"true"}
836
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."key" IN ('1', '2', '3') ORDER BY key asc
837
- Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.2ms)
838
-  (0.6ms) rollback transaction
839
-  (0.1ms) begin transaction
840
-  (0.0ms) SAVEPOINT active_record_1
841
- SQL (0.9ms) INSERT INTO "users" ("key") VALUES (?) [["key", 1]]
842
-  (0.1ms) RELEASE SAVEPOINT active_record_1
843
-  (0.1ms) SAVEPOINT active_record_1
844
- SQL (0.3ms) INSERT INTO "users" ("key") VALUES (?) [["key", 2]]
845
-  (0.1ms) RELEASE SAVEPOINT active_record_1
846
-  (0.1ms) SAVEPOINT active_record_1
847
- SQL (0.1ms) INSERT INTO "users" ("key") VALUES (?) [["key", 3]]
848
-  (0.1ms) RELEASE SAVEPOINT active_record_1
849
-  (0.0ms) SAVEPOINT active_record_1
850
- SQL (0.1ms) INSERT INTO "users" ("key") VALUES (?) [["key", 4]]
851
-  (0.1ms) RELEASE SAVEPOINT active_record_1
69
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."key" IN ('1', '2', '3') ORDER BY key asc
70
+ Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.3ms)
852
71
 
853
72
 
854
- Started GET "/multiple_filters/index?keys[]=1&keys[]=2&keys[]=3" for 127.0.0.1 at 2012-06-22 12:40:44 +0200
855
- Processing by MultipleFiltersController#index as HTML
73
+ Started GET "/inline_if_filter/index?keys[]=1&keys[]=2&keys[]=3" for 127.0.0.1 at 2013-01-04 18:08:17 +0100
74
+ Processing by InlineIfFilterController#index as HTML
856
75
  Parameters: {"keys"=>["1", "2", "3"]}
857
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."key" IN ('1', '2', '3') AND "users"."key" IS NULL ORDER BY key asc
858
- Completed 200 OK in 7ms (Views: 0.2ms | ActiveRecord: 0.3ms)
859
-  (0.5ms) rollback transaction
76
+ User Load (0.1ms) SELECT "users".* FROM "users" ORDER BY key asc
77
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
78
+  (0.6ms) rollback transaction
860
79
   (0.1ms) begin transaction
861
80
   (0.0ms) SAVEPOINT active_record_1
862
81
  SQL (0.3ms) INSERT INTO "users" ("key") VALUES (?) [["key", 1]]
863
82
   (0.0ms) RELEASE SAVEPOINT active_record_1
864
83
   (0.0ms) SAVEPOINT active_record_1
865
- SQL (0.3ms) INSERT INTO "users" ("key") VALUES (?) [["key", 2]]
84
+ SQL (0.2ms) INSERT INTO "users" ("key") VALUES (?) [["key", 2]]
866
85
   (0.0ms) RELEASE SAVEPOINT active_record_1
867
86
   (0.1ms) SAVEPOINT active_record_1
868
87
  SQL (0.1ms) INSERT INTO "users" ("key") VALUES (?) [["key", 3]]
869
-  (0.0ms) RELEASE SAVEPOINT active_record_1
870
-  (0.0ms) SAVEPOINT active_record_1
871
- SQL (0.1ms) INSERT INTO "users" ("key") VALUES (?) [["key", 4]]
872
-  (0.1ms) RELEASE SAVEPOINT active_record_1
873
-
874
-
875
- Started GET "/unless_filter/index?keys[]=1&keys[]=2&keys[]=3" for 127.0.0.1 at 2012-06-22 12:40:44 +0200
876
- Processing by UnlessFilterController#index as HTML
877
- Parameters: {"keys"=>["1", "2", "3"]}
878
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."key" IN ('1', '2', '3') ORDER BY key asc
879
- Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.2ms)
880
-  (0.6ms) rollback transaction
881
- Connecting to database specified by database.yml
882
-  (0.4ms) begin transaction
883
-  (0.1ms) SAVEPOINT active_record_1
884
- SQL (2.2ms) INSERT INTO "users" ("key") VALUES (?) [["key", 1]]
885
-  (0.1ms) RELEASE SAVEPOINT active_record_1
886
-  (0.0ms) SAVEPOINT active_record_1
887
- SQL (0.3ms) INSERT INTO "users" ("key") VALUES (?) [["key", 2]]
888
-  (0.0ms) RELEASE SAVEPOINT active_record_1
889
-  (0.0ms) SAVEPOINT active_record_1
890
- SQL (0.1ms) INSERT INTO "users" ("key") VALUES (?) [["key", 3]]
891
-  (0.0ms) RELEASE SAVEPOINT active_record_1
892
-  (0.0ms) SAVEPOINT active_record_1
893
- SQL (0.0ms) INSERT INTO "users" ("key") VALUES (?) [["key", 4]]
894
-  (0.0ms) RELEASE SAVEPOINT active_record_1
895
-
896
-
897
- Started GET "/basic_filter/index?keys[]=1&keys[]=2&keys[]=3" for 127.0.0.1 at 2012-06-22 12:41:20 +0200
898
- Processing by BasicFilterController#index as HTML
899
- Parameters: {"keys"=>["1", "2", "3"]}
900
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."key" IN ('1', '2', '3') ORDER BY key asc
901
- Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.2ms)
902
-  (1.8ms) rollback transaction
903
-  (0.1ms) begin transaction
904
-  (0.0ms) SAVEPOINT active_record_1
905
- SQL (0.4ms) INSERT INTO "users" ("key") VALUES (?) [["key", 1]]
906
88
   (0.1ms) RELEASE SAVEPOINT active_record_1
907
89
   (0.0ms) SAVEPOINT active_record_1
908
- SQL (0.3ms) INSERT INTO "users" ("key") VALUES (?) [["key", 2]]
909
-  (0.1ms) RELEASE SAVEPOINT active_record_1
910
-  (0.0ms) SAVEPOINT active_record_1
911
- SQL (0.1ms) INSERT INTO "users" ("key") VALUES (?) [["key", 3]]
912
-  (0.0ms) RELEASE SAVEPOINT active_record_1
913
-  (0.0ms) SAVEPOINT active_record_1
914
90
  SQL (0.1ms) INSERT INTO "users" ("key") VALUES (?) [["key", 4]]
915
91
   (0.0ms) RELEASE SAVEPOINT active_record_1
916
92
 
917
93
 
918
- Started GET "/if_filter/index?keys[]=1&keys[]=2&keys[]=3&monkey=true" for 127.0.0.1 at 2012-06-22 12:41:20 +0200
919
- Processing by IfFilterController#index as HTML
920
- Parameters: {"keys"=>["1", "2", "3"], "monkey"=>"true"}
94
+ Started GET "/inline_unless_filter/index?keys[]=1&keys[]=2&keys[]=3" for 127.0.0.1 at 2013-01-04 18:08:17 +0100
95
+ Processing by InlineUnlessFilterController#index as HTML
96
+ Parameters: {"keys"=>["1", "2", "3"]}
921
97
  User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."key" IN ('1', '2', '3') ORDER BY key asc
922
98
  Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.3ms)
923
99
 
924
100
 
925
- Started GET "/if_filter/index?keys[]=1&keys[]=2&keys[]=3" for 127.0.0.1 at 2012-06-22 12:41:20 +0200
926
- Processing by IfFilterController#index as HTML
927
- Parameters: {"keys"=>["1", "2", "3"]}
928
- User Load (0.3ms) SELECT "users".* FROM "users" ORDER BY key asc
929
- Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.3ms)
101
+ Started GET "/inline_unless_filter/index?keys[]=1&keys[]=2&keys[]=3&skip_filters=true" for 127.0.0.1 at 2013-01-04 18:08:17 +0100
102
+ Processing by InlineUnlessFilterController#index as HTML
103
+ Parameters: {"keys"=>["1", "2", "3"], "skip_filters"=>"true"}
104
+ User Load (0.1ms) SELECT "users".* FROM "users" ORDER BY key asc
105
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
930
106
   (0.5ms) rollback transaction
931
107
   (0.1ms) begin transaction
932
108
   (0.0ms) SAVEPOINT active_record_1
933
109
  SQL (0.3ms) INSERT INTO "users" ("key") VALUES (?) [["key", 1]]
934
-  (0.1ms) RELEASE SAVEPOINT active_record_1
110
+  (0.0ms) RELEASE SAVEPOINT active_record_1
935
111
   (0.0ms) SAVEPOINT active_record_1
936
- SQL (0.3ms) INSERT INTO "users" ("key") VALUES (?) [["key", 2]]
112
+ SQL (0.2ms) INSERT INTO "users" ("key") VALUES (?) [["key", 2]]
937
113
   (0.0ms) RELEASE SAVEPOINT active_record_1
938
114
   (0.0ms) SAVEPOINT active_record_1
939
- SQL (0.1ms) INSERT INTO "users" ("key") VALUES (?) [["key", 3]]
115
+ SQL (0.0ms) INSERT INTO "users" ("key") VALUES (?) [["key", 3]]
940
116
   (0.0ms) RELEASE SAVEPOINT active_record_1
941
117
   (0.0ms) SAVEPOINT active_record_1
942
- SQL (0.1ms) INSERT INTO "users" ("key") VALUES (?) [["key", 4]]
118
+ SQL (0.0ms) INSERT INTO "users" ("key") VALUES (?) [["key", 4]]
943
119
   (0.0ms) RELEASE SAVEPOINT active_record_1
944
120
 
945
121
 
946
- Started GET "/multiple_filters/index?keys[]=1&keys[]=2&keys[]=3" for 127.0.0.1 at 2012-06-22 12:41:20 +0200
122
+ Started GET "/multiple_filters/index?keys[]=1&keys[]=2&keys[]=3" for 127.0.0.1 at 2013-01-04 18:08:17 +0100
947
123
  Processing by MultipleFiltersController#index as HTML
948
124
  Parameters: {"keys"=>["1", "2", "3"]}
949
125
  User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."key" IN ('1', '2', '3') AND "users"."key" IS NULL ORDER BY key asc
950
- Completed 200 OK in 8ms (Views: 0.2ms | ActiveRecord: 0.2ms)
126
+ Completed 200 OK in 6ms (Views: 0.2ms | ActiveRecord: 0.2ms)
951
127
   (0.6ms) rollback transaction
952
128
   (0.1ms) begin transaction
953
-  (0.0ms) SAVEPOINT active_record_1
954
- SQL (0.3ms) INSERT INTO "users" ("key") VALUES (?) [["key", 1]]
955
-  (0.0ms) RELEASE SAVEPOINT active_record_1
956
-  (0.0ms) SAVEPOINT active_record_1
957
- SQL (0.2ms) INSERT INTO "users" ("key") VALUES (?) [["key", 2]]
958
-  (0.0ms) RELEASE SAVEPOINT active_record_1
959
-  (0.0ms) SAVEPOINT active_record_1
960
- SQL (0.0ms) INSERT INTO "users" ("key") VALUES (?) [["key", 3]]
961
-  (0.0ms) RELEASE SAVEPOINT active_record_1
129
+  (0.1ms) SAVEPOINT active_record_1
130
+ SQL (0.4ms) INSERT INTO "users" ("key") VALUES (?) [["key", 1]]
131
+  (0.1ms) RELEASE SAVEPOINT active_record_1
132
+  (0.1ms) SAVEPOINT active_record_1
133
+ SQL (0.5ms) INSERT INTO "users" ("key") VALUES (?) [["key", 2]]
134
+  (0.1ms) RELEASE SAVEPOINT active_record_1
135
+  (0.1ms) SAVEPOINT active_record_1
136
+ SQL (0.1ms) INSERT INTO "users" ("key") VALUES (?) [["key", 3]]
137
+  (0.1ms) RELEASE SAVEPOINT active_record_1
962
138
   (0.0ms) SAVEPOINT active_record_1
963
139
  SQL (0.1ms) INSERT INTO "users" ("key") VALUES (?) [["key", 4]]
964
140
   (0.0ms) RELEASE SAVEPOINT active_record_1
965
141
 
966
142
 
967
- Started GET "/unless_filter/index?keys[]=1&keys[]=2&keys[]=3" for 127.0.0.1 at 2012-06-22 12:41:20 +0200
143
+ Started GET "/unless_filter/index?keys[]=1&keys[]=2&keys[]=3" for 127.0.0.1 at 2013-01-04 18:08:17 +0100
968
144
  Processing by UnlessFilterController#index as HTML
969
145
  Parameters: {"keys"=>["1", "2", "3"]}
970
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."key" IN ('1', '2', '3') ORDER BY key asc
971
- Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.2ms)
146
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."key" IN ('1', '2', '3') ORDER BY key asc
147
+ Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.3ms)
972
148
 
973
149
 
974
- Started GET "/unless_filter/index?keys[]=1&keys[]=2&keys[]=3&skip_filters=true" for 127.0.0.1 at 2012-06-22 12:41:20 +0200
150
+ Started GET "/unless_filter/index?keys[]=1&keys[]=2&keys[]=3&skip_filters=true" for 127.0.0.1 at 2013-01-04 18:08:17 +0100
975
151
  Processing by UnlessFilterController#index as HTML
976
152
  Parameters: {"keys"=>["1", "2", "3"], "skip_filters"=>"true"}
977
- User Load (0.2ms) SELECT "users".* FROM "users" ORDER BY key asc
978
- Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.2ms)
153
+ User Load (0.1ms) SELECT "users".* FROM "users" ORDER BY key asc
154
+ Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.1ms)
979
155
   (0.5ms) rollback transaction