cullender 0.0.4 → 0.0.5

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: be81b1051d211d117efec043f29ace9bf16db513
4
- data.tar.gz: 8da63423e53d497cd645a762c131d31e221c7748
3
+ metadata.gz: 906f86dcc8298f2c3876defd40e71dc1aff5a439
4
+ data.tar.gz: 85fc13540e3d62dc9f9f1866b94eaf91c6e98f9e
5
5
  SHA512:
6
- metadata.gz: 15d82a05e51265b7b31c2715689a6875bc46a6536678260154e8375c7f2c1de00841cda34a6d9a43e4743f4f92a111d927a8a903f65c63d8a4225e57de0eef87
7
- data.tar.gz: 3f06d84a263f2e175e3fa872992e9ce452a5bc1b8cc661de474bd5fde4130b23673f6d70846a6672cadf6023582f0ac607a61955c079c2c77763798b4d188268
6
+ metadata.gz: b37157044da4ed0d9470a3b97cce766aa057546e83e556e9e4c7852e61bff6806cff0364c65e26bdf53609b3f9be06df02f38e24c54e42b841253c2af0eee3a3
7
+ data.tar.gz: 221016f0534edd212cb1a08aec6ea0b650be01efa8dc3b46adcbb5108a43b68d921e32ab0619485c48438c4ac80d17e7c62aec557b163d0bc1c84b2455184cbc
@@ -1,6 +1,6 @@
1
1
  module Cullender
2
2
  class RulesController < CullenderController
3
- before_action :set_rule, only: [:show, :edit, :update, :destroy]
3
+ # before_action :set_rule, only: [:show, :edit, :update, :destroy]
4
4
  include Controllers::FilterLogic
5
5
 
6
6
  # TODO should route without resource. ie not event/rules just /rules
@@ -11,6 +11,7 @@ module Cullender
11
11
 
12
12
  # GET /rules/1
13
13
  def show
14
+ @rule = Cullender::Rule.find(params[:id])
14
15
  params.deep_merge!({"rule" => {"triggers" => @rule.triggers}})
15
16
  end
16
17
 
@@ -41,6 +42,7 @@ module Cullender
41
42
 
42
43
  # PATCH/PUT /rules/1
43
44
  def update
45
+ @rule = Cullender::Rule.find(params[:id])
44
46
  if !apply_filter_actions("triggers", params[:rule], params) && @rule.update_attributes(rule_params)
45
47
  redirect_to send("#{resource_name}_rules_url".to_sym), notice: 'Rule was successfully updated.'
46
48
  else
@@ -50,15 +52,12 @@ module Cullender
50
52
 
51
53
  # DELETE /rules/1
52
54
  def destroy
55
+ @rule = Cullender::Rule.find(params[:id])
53
56
  @rule.destroy
54
57
  redirect_to send("#{resource_name}_rules_url".to_sym), notice: 'Rule was successfully destroyed.'
55
58
  end
56
59
 
57
60
  private
58
- # Use callbacks to share common setup or constraints between actions.
59
- def set_rule
60
- @rule = Cullender::Rule.find(params[:id])
61
- end
62
61
 
63
62
  # Never trust parameters from the scary internet, only allow the white list through.
64
63
  def rule_params
@@ -1,6 +1,6 @@
1
1
  module Cullender
2
2
  class Rule < ActiveRecord::Base
3
-
3
+ include ActiveModel::ForbiddenAttributesProtection
4
4
  before_create :add_event_percolation
5
5
  before_update :modify_event_percolation
6
6
  before_destroy :remove_event_percolation
@@ -1,6 +1,7 @@
1
+ # require "elasticsearch"
1
2
  require "tire"
2
3
  require "cullender/core_ext/hash"
3
-
4
+ require "strong_parameters"
4
5
  module Cullender
5
6
 
6
7
  module Controllers
@@ -1,3 +1,3 @@
1
1
  module Cullender
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
3
3
  end
@@ -1,6 +1,6 @@
1
1
  module Cullender
2
2
  class EventsController < ApplicationController
3
- before_action :set_event, only: [:show, :edit, :update, :destroy]
3
+ # before_action :set_event, only: [:show, :edit, :update, :destroy]
4
4
 
5
5
  # GET /events
6
6
  def index
@@ -9,6 +9,7 @@ module Cullender
9
9
 
10
10
  # GET /events/1
11
11
  def show
12
+ @event = Event.find(params[:id])
12
13
  end
13
14
 
14
15
  # GET /events/new
@@ -18,6 +19,7 @@ module Cullender
18
19
 
19
20
  # GET /events/1/edit
20
21
  def edit
22
+ @event = Event.find(params[:id])
21
23
  end
22
24
 
23
25
  # POST /events
@@ -33,6 +35,7 @@ module Cullender
33
35
 
34
36
  # PATCH/PUT /events/1
35
37
  def update
38
+ @event = Event.find(params[:id])
36
39
  if @event.update(event_params)
37
40
  redirect_to @event, notice: 'Event was successfully updated.'
38
41
  else
@@ -42,15 +45,12 @@ module Cullender
42
45
 
43
46
  # DELETE /events/1
44
47
  def destroy
48
+ @event = Event.find(params[:id])
45
49
  @event.destroy
46
50
  redirect_to events_url, notice: 'Event was successfully destroyed.'
47
51
  end
48
52
 
49
53
  private
50
- # Use callbacks to share common setup or constraints between actions.
51
- def set_event
52
- @event = Event.find(params[:id])
53
- end
54
54
 
55
55
  # Never trust parameters from the scary internet, only allow the white list through.
56
56
  def event_params
@@ -18,6 +18,7 @@ module Dummy
18
18
  # The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
19
19
  # config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
20
20
  # config.i18n.default_locale = :de
21
+ config.active_record.whitelist_attributes = false
21
22
  end
22
23
  end
23
24
 
@@ -21102,3 +21102,969 @@ Completed 302 Found in 2ms (ActiveRecord: 0.1ms)
21102
21102
  Cullender::Rule Exists (0.2ms) SELECT 1 AS one FROM "rules" WHERE "rules"."name" = 'example' LIMIT 1
21103
21103
  SQL (0.4ms) INSERT INTO "rules" ("created_at", "name", "triggers", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 02 Nov 2013 14:42:03 UTC +00:00], ["name", "example"], ["triggers", "--- {}\n"], ["updated_at", Sat, 02 Nov 2013 14:42:03 UTC +00:00]]
21104
21104
   (0.5ms) rollback transaction
21105
+  (0.3ms) begin transaction
21106
+ Cullender::Rule Exists (0.1ms) SELECT 1 AS one FROM "rules" WHERE "rules"."name" = 'MyRule' LIMIT 1
21107
+ SQL (5.9ms) INSERT INTO "rules" ("created_at", "name", "triggers", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 02 Nov 2013 20:06:39 UTC +00:00], ["name", "MyRule"], ["triggers", "--- {}\n"], ["updated_at", Sat, 02 Nov 2013 20:06:39 UTC +00:00]]
21108
+ Processing by Cullender::RulesController#index as HTML
21109
+ Rendered cullender/rules/index.html.erb within layouts/application (0.3ms)
21110
+ Completed 200 OK in 8ms (Views: 7.7ms | ActiveRecord: 0.0ms)
21111
+ Cullender::Rule Load (0.1ms) SELECT "rules".* FROM "rules"
21112
+  (0.4ms) rollback transaction
21113
+  (0.1ms) begin transaction
21114
+ Processing by Cullender::RulesController#new as HTML
21115
+ Completed 200 OK in 2ms (Views: 1.3ms | ActiveRecord: 0.0ms)
21116
+  (0.1ms) rollback transaction
21117
+  (0.1ms) begin transaction
21118
+ Cullender::Rule Exists (0.2ms) SELECT 1 AS one FROM "rules" WHERE "rules"."name" = 'MyRule' LIMIT 1
21119
+ SQL (0.3ms) INSERT INTO "rules" ("created_at", "name", "triggers", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 02 Nov 2013 20:06:39 UTC +00:00], ["name", "MyRule"], ["triggers", "--- {}\n"], ["updated_at", Sat, 02 Nov 2013 20:06:39 UTC +00:00]]
21120
+ Processing by Cullender::RulesController#show as HTML
21121
+ Parameters: {"id"=>"1"}
21122
+ Cullender::Rule Load (0.1ms) SELECT "rules".* FROM "rules" WHERE "rules"."id" = ? LIMIT 1 [["id", "1"]]
21123
+ Completed 200 OK in 2ms (Views: 1.2ms | ActiveRecord: 0.1ms)
21124
+  (0.6ms) rollback transaction
21125
+  (0.1ms) begin transaction
21126
+  (0.1ms) SELECT COUNT(*) FROM "rules"
21127
+ Processing by Cullender::RulesController#create as HTML
21128
+ Parameters: {"rule"=>{"name"=>"MyRule"}}
21129
+ Cullender::Rule Exists (0.1ms) SELECT 1 AS one FROM "rules" WHERE "rules"."name" = 'MyRule' LIMIT 1
21130
+ SQL (0.4ms) INSERT INTO "rules" ("created_at", "name", "triggers", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 02 Nov 2013 20:06:39 UTC +00:00], ["name", "MyRule"], ["triggers", "--- {}\n"], ["updated_at", Sat, 02 Nov 2013 20:06:39 UTC +00:00]]
21131
+ Redirected to http://test.host/events/rule
21132
+ Completed 302 Found in 3ms (ActiveRecord: 0.5ms)
21133
+  (0.1ms) SELECT COUNT(*) FROM "rules"
21134
+  (0.4ms) rollback transaction
21135
+  (0.1ms) begin transaction
21136
+ Processing by Cullender::RulesController#create as HTML
21137
+ Parameters: {"rule"=>{"name"=>"MyRule"}}
21138
+ Cullender::Rule Exists (0.1ms) SELECT 1 AS one FROM "rules" WHERE "rules"."name" = 'MyRule' LIMIT 1
21139
+ SQL (0.3ms) INSERT INTO "rules" ("created_at", "name", "triggers", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 02 Nov 2013 20:06:39 UTC +00:00], ["name", "MyRule"], ["triggers", "--- {}\n"], ["updated_at", Sat, 02 Nov 2013 20:06:39 UTC +00:00]]
21140
+ Redirected to http://test.host/events/rule
21141
+ Completed 302 Found in 3ms (ActiveRecord: 0.5ms)
21142
+  (0.8ms) rollback transaction
21143
+  (0.1ms) begin transaction
21144
+ Processing by Cullender::RulesController#create as HTML
21145
+ Parameters: {"rule"=>{"name"=>"MyRule"}}
21146
+ Cullender::Rule Exists (0.2ms) SELECT 1 AS one FROM "rules" WHERE "rules"."name" = 'MyRule' LIMIT 1
21147
+ SQL (0.4ms) INSERT INTO "rules" ("created_at", "name", "triggers", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 02 Nov 2013 20:06:39 UTC +00:00], ["name", "MyRule"], ["triggers", "--- {}\n"], ["updated_at", Sat, 02 Nov 2013 20:06:39 UTC +00:00]]
21148
+ Redirected to http://test.host/events/rule
21149
+ Completed 302 Found in 3ms (ActiveRecord: 0.5ms)
21150
+  (0.8ms) rollback transaction
21151
+  (0.1ms) begin transaction
21152
+ Processing by Cullender::RulesController#create as HTML
21153
+ Parameters: {"rule"=>{"name"=>"asd"}}
21154
+ Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
21155
+  (0.1ms) rollback transaction
21156
+  (0.1ms) begin transaction
21157
+ Processing by Cullender::RulesController#create as HTML
21158
+ Parameters: {"rule"=>{"name"=>"asd"}}
21159
+ Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.0ms)
21160
+  (0.1ms) rollback transaction
21161
+  (0.1ms) begin transaction
21162
+ Cullender::Rule Exists (0.2ms) SELECT 1 AS one FROM "rules" WHERE "rules"."name" = 'MyRule' LIMIT 1
21163
+ SQL (0.3ms) INSERT INTO "rules" ("created_at", "name", "triggers", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 02 Nov 2013 20:06:39 UTC +00:00], ["name", "MyRule"], ["triggers", "--- {}\n"], ["updated_at", Sat, 02 Nov 2013 20:06:39 UTC +00:00]]
21164
+ Processing by Cullender::RulesController#update as HTML
21165
+ Parameters: {"rule"=>{"name"=>"New Name"}, "id"=>"1"}
21166
+ Cullender::Rule Load (0.1ms) SELECT "rules".* FROM "rules" WHERE "rules"."id" = ? LIMIT 1 [["id", "1"]]
21167
+ Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.1ms)
21168
+  (0.4ms) rollback transaction
21169
+  (0.1ms) begin transaction
21170
+ Cullender::Rule Exists (0.1ms) SELECT 1 AS one FROM "rules" WHERE "rules"."name" = 'MyRule' LIMIT 1
21171
+ SQL (0.3ms) INSERT INTO "rules" ("created_at", "name", "triggers", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 02 Nov 2013 20:06:39 UTC +00:00], ["name", "MyRule"], ["triggers", "--- {}\n"], ["updated_at", Sat, 02 Nov 2013 20:06:39 UTC +00:00]]
21172
+ Processing by Cullender::RulesController#update as HTML
21173
+ Parameters: {"rule"=>{"name"=>"MyRule"}, "id"=>"1"}
21174
+ Cullender::Rule Load (0.1ms) SELECT "rules".* FROM "rules" WHERE "rules"."id" = ? LIMIT 1 [["id", "1"]]
21175
+ Cullender::Rule Exists (0.1ms) SELECT 1 AS one FROM "rules" WHERE ("rules"."name" = 'MyRule' AND "rules"."id" != 1) LIMIT 1
21176
+ SQL (0.2ms) UPDATE "rules" SET "updated_at" = ?, "triggers" = ? WHERE "rules"."id" = 1 [["updated_at", Sat, 02 Nov 2013 20:06:39 UTC +00:00], ["triggers", "--- {}\n"]]
21177
+ Redirected to http://test.host/events/rule
21178
+ Completed 302 Found in 5ms (ActiveRecord: 0.4ms)
21179
+  (0.5ms) rollback transaction
21180
+  (0.1ms) begin transaction
21181
+ Cullender::Rule Exists (0.2ms) SELECT 1 AS one FROM "rules" WHERE "rules"."name" = 'MyRule' LIMIT 1
21182
+ SQL (0.4ms) INSERT INTO "rules" ("created_at", "name", "triggers", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 02 Nov 2013 20:06:39 UTC +00:00], ["name", "MyRule"], ["triggers", "--- {}\n"], ["updated_at", Sat, 02 Nov 2013 20:06:39 UTC +00:00]]
21183
+ Processing by Cullender::RulesController#update as HTML
21184
+ Parameters: {"rule"=>{"name"=>"MyRule"}, "id"=>"1"}
21185
+ Cullender::Rule Load (0.1ms) SELECT "rules".* FROM "rules" WHERE "rules"."id" = ? LIMIT 1 [["id", "1"]]
21186
+ Cullender::Rule Exists (0.1ms) SELECT 1 AS one FROM "rules" WHERE ("rules"."name" = 'MyRule' AND "rules"."id" != 1) LIMIT 1
21187
+ SQL (0.2ms) UPDATE "rules" SET "updated_at" = ?, "triggers" = ? WHERE "rules"."id" = 1 [["updated_at", Sat, 02 Nov 2013 20:06:39 UTC +00:00], ["triggers", "--- {}\n"]]
21188
+ Redirected to http://test.host/events/rule
21189
+ Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
21190
+  (0.6ms) rollback transaction
21191
+  (0.1ms) begin transaction
21192
+ Cullender::Rule Exists (0.2ms) SELECT 1 AS one FROM "rules" WHERE "rules"."name" = 'MyRule' LIMIT 1
21193
+ SQL (0.5ms) INSERT INTO "rules" ("created_at", "name", "triggers", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 02 Nov 2013 20:06:39 UTC +00:00], ["name", "MyRule"], ["triggers", "--- {}\n"], ["updated_at", Sat, 02 Nov 2013 20:06:39 UTC +00:00]]
21194
+ Processing by Cullender::RulesController#update as HTML
21195
+ Parameters: {"rule"=>{"name"=>"asd"}, "id"=>"1"}
21196
+ Cullender::Rule Load (0.1ms) SELECT "rules".* FROM "rules" WHERE "rules"."id" = ? LIMIT 1 [["id", "1"]]
21197
+ Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.1ms)
21198
+  (0.7ms) rollback transaction
21199
+  (0.1ms) begin transaction
21200
+ Cullender::Rule Exists (0.2ms) SELECT 1 AS one FROM "rules" WHERE "rules"."name" = 'MyRule' LIMIT 1
21201
+ SQL (0.3ms) INSERT INTO "rules" ("created_at", "name", "triggers", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 02 Nov 2013 20:06:39 UTC +00:00], ["name", "MyRule"], ["triggers", "--- {}\n"], ["updated_at", Sat, 02 Nov 2013 20:06:39 UTC +00:00]]
21202
+ Processing by Cullender::RulesController#update as HTML
21203
+ Parameters: {"rule"=>{"name"=>"asd"}, "id"=>"1"}
21204
+ Cullender::Rule Load (0.1ms) SELECT "rules".* FROM "rules" WHERE "rules"."id" = ? LIMIT 1 [["id", "1"]]
21205
+ Completed 200 OK in 2ms (Views: 0.9ms | ActiveRecord: 0.1ms)
21206
+  (0.8ms) rollback transaction
21207
+  (0.1ms) begin transaction
21208
+ Cullender::Rule Exists (0.2ms) SELECT 1 AS one FROM "rules" WHERE "rules"."name" = 'MyRule' LIMIT 1
21209
+ SQL (0.3ms) INSERT INTO "rules" ("created_at", "name", "triggers", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 02 Nov 2013 20:06:39 UTC +00:00], ["name", "MyRule"], ["triggers", "--- {}\n"], ["updated_at", Sat, 02 Nov 2013 20:06:39 UTC +00:00]]
21210
+  (0.1ms) SELECT COUNT(*) FROM "rules"
21211
+ Processing by Cullender::RulesController#destroy as HTML
21212
+ Parameters: {"id"=>"1"}
21213
+ Cullender::Rule Load (0.1ms) SELECT "rules".* FROM "rules" WHERE "rules"."id" = ? LIMIT 1 [["id", "1"]]
21214
+ SQL (0.1ms) DELETE FROM "rules" WHERE "rules"."id" = ? [["id", 1]]
21215
+ Redirected to http://test.host/events/rule
21216
+ Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
21217
+  (0.1ms) SELECT COUNT(*) FROM "rules"
21218
+  (22.1ms) rollback transaction
21219
+  (0.2ms) begin transaction
21220
+ Cullender::Rule Exists (0.3ms) SELECT 1 AS one FROM "rules" WHERE "rules"."name" = 'MyRule' LIMIT 1
21221
+ SQL (0.4ms) INSERT INTO "rules" ("created_at", "name", "triggers", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 02 Nov 2013 20:06:39 UTC +00:00], ["name", "MyRule"], ["triggers", "--- {}\n"], ["updated_at", Sat, 02 Nov 2013 20:06:39 UTC +00:00]]
21222
+ Processing by Cullender::RulesController#destroy as HTML
21223
+ Parameters: {"id"=>"1"}
21224
+ Cullender::Rule Load (0.1ms) SELECT "rules".* FROM "rules" WHERE "rules"."id" = ? LIMIT 1 [["id", "1"]]
21225
+ SQL (0.3ms) DELETE FROM "rules" WHERE "rules"."id" = ? [["id", 1]]
21226
+ Redirected to http://test.host/events/rule
21227
+ Completed 302 Found in 2ms (ActiveRecord: 0.4ms)
21228
+  (0.6ms) rollback transaction
21229
+  (0.1ms) begin transaction
21230
+ Cullender::Rule Exists (0.1ms) SELECT 1 AS one FROM "rules" WHERE "rules"."name" = 'MyRule' LIMIT 1
21231
+ SQL (0.3ms) INSERT INTO "rules" ("created_at", "name", "triggers", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 02 Nov 2013 20:06:39 UTC +00:00], ["name", "MyRule"], ["triggers", "--- {}\n"], ["updated_at", Sat, 02 Nov 2013 20:06:39 UTC +00:00]]
21232
+ Processing by Cullender::RulesController#destroy as HTML
21233
+ Parameters: {"id"=>"1"}
21234
+ Cullender::Rule Load (0.1ms) SELECT "rules".* FROM "rules" WHERE "rules"."id" = ? LIMIT 1 [["id", "1"]]
21235
+ SQL (0.1ms) DELETE FROM "rules" WHERE "rules"."id" = ? [["id", 1]]
21236
+ Redirected to http://test.host/events/rule
21237
+ Completed 302 Found in 2ms (ActiveRecord: 0.1ms)
21238
+  (0.6ms) rollback transaction
21239
+  (0.1ms) begin transaction
21240
+  (0.1ms) rollback transaction
21241
+  (0.1ms) begin transaction
21242
+  (0.0ms) rollback transaction
21243
+  (0.1ms) begin transaction
21244
+  (0.0ms) rollback transaction
21245
+  (0.0ms) begin transaction
21246
+  (0.0ms) rollback transaction
21247
+  (0.1ms) begin transaction
21248
+  (0.0ms) rollback transaction
21249
+  (0.0ms) begin transaction
21250
+  (0.0ms) rollback transaction
21251
+  (0.1ms) begin transaction
21252
+  (0.0ms) rollback transaction
21253
+  (0.0ms) begin transaction
21254
+  (0.0ms) rollback transaction
21255
+  (0.0ms) begin transaction
21256
+  (0.0ms) rollback transaction
21257
+  (0.0ms) begin transaction
21258
+  (0.0ms) rollback transaction
21259
+  (0.0ms) begin transaction
21260
+  (0.0ms) rollback transaction
21261
+  (0.1ms) begin transaction
21262
+  (0.0ms) rollback transaction
21263
+  (0.0ms) begin transaction
21264
+  (0.0ms) rollback transaction
21265
+  (0.1ms) begin transaction
21266
+  (0.1ms) rollback transaction
21267
+  (0.1ms) begin transaction
21268
+  (0.0ms) rollback transaction
21269
+  (0.0ms) begin transaction
21270
+  (0.0ms) rollback transaction
21271
+  (0.1ms) begin transaction
21272
+  (0.0ms) rollback transaction
21273
+  (0.0ms) begin transaction
21274
+  (0.1ms) rollback transaction
21275
+  (0.0ms) begin transaction
21276
+  (0.0ms) rollback transaction
21277
+  (0.0ms) begin transaction
21278
+  (0.1ms) rollback transaction
21279
+  (0.0ms) begin transaction
21280
+  (0.0ms) rollback transaction
21281
+  (0.0ms) begin transaction
21282
+  (0.0ms) rollback transaction
21283
+  (0.0ms) begin transaction
21284
+  (0.0ms) rollback transaction
21285
+  (0.1ms) begin transaction
21286
+  (0.1ms) rollback transaction
21287
+  (0.1ms) begin transaction
21288
+  (0.1ms) rollback transaction
21289
+  (0.1ms) begin transaction
21290
+  (0.1ms) rollback transaction
21291
+  (0.1ms) begin transaction
21292
+  (0.1ms) rollback transaction
21293
+  (0.1ms) begin transaction
21294
+  (0.1ms) rollback transaction
21295
+  (0.1ms) begin transaction
21296
+  (0.1ms) rollback transaction
21297
+  (0.1ms) begin transaction
21298
+  (0.1ms) rollback transaction
21299
+  (0.1ms) begin transaction
21300
+  (0.1ms) rollback transaction
21301
+  (0.1ms) begin transaction
21302
+  (0.1ms) rollback transaction
21303
+  (0.1ms) begin transaction
21304
+  (0.1ms) rollback transaction
21305
+  (0.1ms) begin transaction
21306
+  (0.1ms) rollback transaction
21307
+  (0.1ms) begin transaction
21308
+  (0.1ms) rollback transaction
21309
+  (0.1ms) begin transaction
21310
+  (0.1ms) rollback transaction
21311
+  (0.1ms) begin transaction
21312
+  (0.1ms) rollback transaction
21313
+  (0.1ms) begin transaction
21314
+  (0.1ms) rollback transaction
21315
+  (0.1ms) begin transaction
21316
+  (0.1ms) rollback transaction
21317
+  (0.1ms) begin transaction
21318
+  (0.1ms) rollback transaction
21319
+  (0.1ms) begin transaction
21320
+  (0.1ms) rollback transaction
21321
+  (0.1ms) begin transaction
21322
+  (0.1ms) rollback transaction
21323
+  (0.1ms) begin transaction
21324
+  (0.1ms) rollback transaction
21325
+  (0.1ms) begin transaction
21326
+  (0.1ms) rollback transaction
21327
+  (0.1ms) begin transaction
21328
+  (0.1ms) rollback transaction
21329
+  (0.1ms) begin transaction
21330
+  (0.1ms) rollback transaction
21331
+  (0.1ms) begin transaction
21332
+  (0.1ms) rollback transaction
21333
+  (0.1ms) begin transaction
21334
+  (0.1ms) rollback transaction
21335
+  (0.1ms) begin transaction
21336
+  (0.1ms) rollback transaction
21337
+  (0.1ms) begin transaction
21338
+  (0.1ms) rollback transaction
21339
+  (0.1ms) begin transaction
21340
+  (0.1ms) rollback transaction
21341
+  (0.1ms) begin transaction
21342
+  (0.1ms) rollback transaction
21343
+  (0.1ms) begin transaction
21344
+  (0.1ms) rollback transaction
21345
+  (0.1ms) begin transaction
21346
+  (0.0ms) rollback transaction
21347
+  (0.1ms) begin transaction
21348
+  (0.0ms) rollback transaction
21349
+  (0.0ms) begin transaction
21350
+  (0.0ms) rollback transaction
21351
+  (0.0ms) begin transaction
21352
+  (0.0ms) rollback transaction
21353
+  (0.1ms) begin transaction
21354
+  (0.0ms) rollback transaction
21355
+  (0.1ms) begin transaction
21356
+  (0.0ms) rollback transaction
21357
+  (0.1ms) begin transaction
21358
+  (0.1ms) rollback transaction
21359
+  (0.0ms) begin transaction
21360
+  (0.0ms) rollback transaction
21361
+  (0.0ms) begin transaction
21362
+  (0.0ms) rollback transaction
21363
+  (0.0ms) begin transaction
21364
+  (0.0ms) rollback transaction
21365
+  (0.0ms) begin transaction
21366
+  (0.1ms) rollback transaction
21367
+ Connecting to database specified by database.yml
21368
+ Connecting to database specified by database.yml
21369
+ Connecting to database specified by database.yml
21370
+ Connecting to database specified by database.yml
21371
+ Connecting to database specified by database.yml
21372
+ Connecting to database specified by database.yml
21373
+  (0.3ms) begin transaction
21374
+ WARNING: Can't mass-assign protected attributes: name
21375
+ Cullender::Rule Exists (0.2ms) SELECT 1 AS one FROM "rules" WHERE "rules"."name" IS NULL LIMIT 1
21376
+ Processing by Cullender::RulesController#index as HTML
21377
+ Cullender::Rule Load (0.1ms) SELECT "rules".* FROM "rules" 
21378
+ Rendered cullender/rules/index.html.erb within layouts/application (0.2ms)
21379
+ Completed 200 OK in 6.1ms (Views: 5.1ms | ActiveRecord: 0.1ms)
21380
+  (0.1ms) rollback transaction
21381
+  (0.1ms) begin transaction
21382
+ Processing by Cullender::RulesController#new as HTML
21383
+ WARNING: Can't mass-assign protected attributes: name
21384
+ Completed 200 OK in 1.9ms (Views: 1.2ms | ActiveRecord: 0.0ms)
21385
+  (0.1ms) rollback transaction
21386
+  (0.0ms) begin transaction
21387
+ WARNING: Can't mass-assign protected attributes: name
21388
+ Cullender::Rule Exists (0.1ms) SELECT 1 AS one FROM "rules" WHERE "rules"."name" IS NULL LIMIT 1
21389
+  (0.0ms) rollback transaction
21390
+  (0.0ms) begin transaction
21391
+  (0.1ms) SELECT COUNT(*) FROM "rules" 
21392
+ Processing by Cullender::RulesController#create as HTML
21393
+ Parameters: {"rule"=>{"name"=>"MyRule"}}
21394
+ WARNING: Can't mass-assign protected attributes: name
21395
+ Cullender::Rule Exists (0.1ms) SELECT 1 AS one FROM "rules" WHERE "rules"."name" IS NULL LIMIT 1
21396
+ Completed 200 OK in 3.0ms (Views: 0.7ms | ActiveRecord: 0.1ms)
21397
+  (0.1ms) SELECT COUNT(*) FROM "rules" 
21398
+  (0.0ms) rollback transaction
21399
+  (0.1ms) begin transaction
21400
+ Processing by Cullender::RulesController#create as HTML
21401
+ Parameters: {"rule"=>{"name"=>"MyRule"}}
21402
+ WARNING: Can't mass-assign protected attributes: name
21403
+ Cullender::Rule Exists (0.1ms) SELECT 1 AS one FROM "rules" WHERE "rules"."name" IS NULL LIMIT 1
21404
+ Completed 200 OK in 2.9ms (Views: 0.7ms | ActiveRecord: 0.1ms)
21405
+  (0.1ms) rollback transaction
21406
+  (0.1ms) begin transaction
21407
+ Processing by Cullender::RulesController#create as HTML
21408
+ Parameters: {"rule"=>{"name"=>"MyRule"}}
21409
+ WARNING: Can't mass-assign protected attributes: name
21410
+ Cullender::Rule Exists (0.1ms) SELECT 1 AS one FROM "rules" WHERE "rules"."name" IS NULL LIMIT 1
21411
+ Completed 200 OK in 3.7ms (Views: 0.9ms | ActiveRecord: 0.1ms)
21412
+  (0.1ms) rollback transaction
21413
+  (0.1ms) begin transaction
21414
+ Processing by Cullender::RulesController#create as HTML
21415
+ Parameters: {"rule"=>{"name"=>"asd"}}
21416
+ WARNING: Can't mass-assign protected attributes: name
21417
+ Completed 200 OK in 2.3ms (Views: 1.2ms | ActiveRecord: 0.0ms)
21418
+  (0.1ms) rollback transaction
21419
+  (0.0ms) begin transaction
21420
+ Processing by Cullender::RulesController#create as HTML
21421
+ Parameters: {"rule"=>{"name"=>"asd"}}
21422
+ WARNING: Can't mass-assign protected attributes: name
21423
+ Completed 200 OK in 1.3ms (Views: 0.7ms | ActiveRecord: 0.0ms)
21424
+  (0.1ms) rollback transaction
21425
+  (0.0ms) begin transaction
21426
+ WARNING: Can't mass-assign protected attributes: name
21427
+ Cullender::Rule Exists (0.2ms) SELECT 1 AS one FROM "rules" WHERE "rules"."name" IS NULL LIMIT 1
21428
+  (0.1ms) rollback transaction
21429
+  (0.1ms) begin transaction
21430
+ WARNING: Can't mass-assign protected attributes: name
21431
+ Cullender::Rule Exists (0.1ms) SELECT 1 AS one FROM "rules" WHERE "rules"."name" IS NULL LIMIT 1
21432
+  (0.0ms) rollback transaction
21433
+  (0.1ms) begin transaction
21434
+ WARNING: Can't mass-assign protected attributes: name
21435
+ Cullender::Rule Exists (0.1ms) SELECT 1 AS one FROM "rules" WHERE "rules"."name" IS NULL LIMIT 1
21436
+  (0.0ms) rollback transaction
21437
+  (0.0ms) begin transaction
21438
+ WARNING: Can't mass-assign protected attributes: name
21439
+ Cullender::Rule Exists (0.1ms) SELECT 1 AS one FROM "rules" WHERE "rules"."name" IS NULL LIMIT 1
21440
+  (0.0ms) rollback transaction
21441
+  (0.0ms) begin transaction
21442
+ WARNING: Can't mass-assign protected attributes: name
21443
+ Cullender::Rule Exists (0.1ms) SELECT 1 AS one FROM "rules" WHERE "rules"."name" IS NULL LIMIT 1
21444
+  (0.1ms) rollback transaction
21445
+  (0.1ms) begin transaction
21446
+ WARNING: Can't mass-assign protected attributes: name
21447
+ Cullender::Rule Exists (0.2ms) SELECT 1 AS one FROM "rules" WHERE "rules"."name" IS NULL LIMIT 1
21448
+  (0.1ms) SELECT COUNT(*) FROM "rules"
21449
+  (0.0ms) rollback transaction
21450
+  (0.0ms) begin transaction
21451
+ WARNING: Can't mass-assign protected attributes: name
21452
+ Cullender::Rule Exists (0.1ms) SELECT 1 AS one FROM "rules" WHERE "rules"."name" IS NULL LIMIT 1
21453
+  (0.0ms) rollback transaction
21454
+  (0.0ms) begin transaction
21455
+ WARNING: Can't mass-assign protected attributes: name
21456
+ Cullender::Rule Exists (0.1ms) SELECT 1 AS one FROM "rules" WHERE "rules"."name" IS NULL LIMIT 1
21457
+  (0.1ms) rollback transaction
21458
+  (0.0ms) begin transaction
21459
+  (0.0ms) rollback transaction
21460
+  (0.1ms) begin transaction
21461
+  (0.0ms) rollback transaction
21462
+  (0.0ms) begin transaction
21463
+  (0.0ms) rollback transaction
21464
+  (0.0ms) begin transaction
21465
+  (0.0ms) rollback transaction
21466
+  (0.0ms) begin transaction
21467
+  (0.0ms) rollback transaction
21468
+  (0.0ms) begin transaction
21469
+  (0.0ms) rollback transaction
21470
+  (0.0ms) begin transaction
21471
+  (0.0ms) rollback transaction
21472
+  (0.0ms) begin transaction
21473
+  (0.0ms) rollback transaction
21474
+  (0.0ms) begin transaction
21475
+  (0.0ms) rollback transaction
21476
+  (0.0ms) begin transaction
21477
+  (0.0ms) rollback transaction
21478
+  (0.0ms) begin transaction
21479
+  (0.0ms) rollback transaction
21480
+  (0.0ms) begin transaction
21481
+  (0.0ms) rollback transaction
21482
+  (0.0ms) begin transaction
21483
+  (0.0ms) rollback transaction
21484
+  (0.0ms) begin transaction
21485
+  (0.0ms) rollback transaction
21486
+  (0.0ms) begin transaction
21487
+  (0.0ms) rollback transaction
21488
+  (0.0ms) begin transaction
21489
+  (0.0ms) rollback transaction
21490
+  (0.0ms) begin transaction
21491
+  (0.0ms) rollback transaction
21492
+  (0.0ms) begin transaction
21493
+  (0.0ms) rollback transaction
21494
+  (0.0ms) begin transaction
21495
+  (0.0ms) rollback transaction
21496
+  (0.0ms) begin transaction
21497
+  (0.0ms) rollback transaction
21498
+  (0.1ms) begin transaction
21499
+  (0.0ms) rollback transaction
21500
+  (0.1ms) begin transaction
21501
+  (0.1ms) rollback transaction
21502
+  (0.0ms) begin transaction
21503
+  (0.0ms) rollback transaction
21504
+  (0.0ms) begin transaction
21505
+  (0.1ms) rollback transaction
21506
+  (0.0ms) begin transaction
21507
+  (0.0ms) rollback transaction
21508
+  (0.0ms) begin transaction
21509
+  (0.1ms) rollback transaction
21510
+  (0.1ms) begin transaction
21511
+  (0.0ms) rollback transaction
21512
+  (0.0ms) begin transaction
21513
+  (0.1ms) rollback transaction
21514
+  (0.0ms) begin transaction
21515
+  (0.1ms) rollback transaction
21516
+  (0.0ms) begin transaction
21517
+  (0.0ms) rollback transaction
21518
+  (0.0ms) begin transaction
21519
+  (0.0ms) rollback transaction
21520
+  (0.0ms) begin transaction
21521
+  (0.0ms) rollback transaction
21522
+  (0.0ms) begin transaction
21523
+  (0.0ms) rollback transaction
21524
+  (0.0ms) begin transaction
21525
+  (0.0ms) rollback transaction
21526
+  (0.0ms) begin transaction
21527
+  (0.1ms) rollback transaction
21528
+  (0.0ms) begin transaction
21529
+  (0.0ms) rollback transaction
21530
+  (0.0ms) begin transaction
21531
+  (0.0ms) rollback transaction
21532
+  (0.0ms) begin transaction
21533
+  (0.0ms) rollback transaction
21534
+  (0.1ms) begin transaction
21535
+  (0.1ms) rollback transaction
21536
+  (0.0ms) begin transaction
21537
+  (0.1ms) rollback transaction
21538
+  (0.0ms) begin transaction
21539
+  (0.0ms) rollback transaction
21540
+  (0.0ms) begin transaction
21541
+  (0.0ms) rollback transaction
21542
+  (0.0ms) begin transaction
21543
+  (0.1ms) rollback transaction
21544
+  (0.0ms) begin transaction
21545
+  (0.0ms) rollback transaction
21546
+  (0.0ms) begin transaction
21547
+  (0.1ms) rollback transaction
21548
+  (0.1ms) begin transaction
21549
+  (0.1ms) rollback transaction
21550
+  (0.1ms) begin transaction
21551
+  (0.0ms) rollback transaction
21552
+  (0.0ms) begin transaction
21553
+  (0.0ms) rollback transaction
21554
+  (0.1ms) begin transaction
21555
+  (0.0ms) rollback transaction
21556
+  (0.0ms) begin transaction
21557
+  (0.0ms) rollback transaction
21558
+  (0.0ms) begin transaction
21559
+  (0.0ms) rollback transaction
21560
+  (0.0ms) begin transaction
21561
+  (0.0ms) rollback transaction
21562
+  (0.0ms) begin transaction
21563
+  (0.0ms) rollback transaction
21564
+  (0.0ms) begin transaction
21565
+  (0.0ms) rollback transaction
21566
+  (0.0ms) begin transaction
21567
+  (0.0ms) rollback transaction
21568
+  (0.0ms) begin transaction
21569
+  (0.0ms) rollback transaction
21570
+  (0.0ms) begin transaction
21571
+  (0.0ms) rollback transaction
21572
+  (0.0ms) begin transaction
21573
+  (0.0ms) rollback transaction
21574
+  (0.0ms) begin transaction
21575
+  (0.0ms) rollback transaction
21576
+  (0.0ms) begin transaction
21577
+  (0.0ms) rollback transaction
21578
+  (0.1ms) begin transaction
21579
+  (0.0ms) rollback transaction
21580
+  (0.0ms) begin transaction
21581
+  (0.0ms) rollback transaction
21582
+  (0.0ms) begin transaction
21583
+  (0.0ms) rollback transaction
21584
+  (0.0ms) begin transaction
21585
+ WARNING: Can't mass-assign protected attributes: name, triggers
21586
+ Cullender::Rule Exists (0.2ms) SELECT 1 AS one FROM "rules" WHERE "rules"."name" IS NULL LIMIT 1
21587
+  (0.1ms) rollback transaction
21588
+ Connecting to database specified by database.yml
21589
+  (0.2ms) begin transaction
21590
+ WARNING: Can't mass-assign protected attributes: name
21591
+ Cullender::Rule Exists (0.1ms) SELECT 1 AS one FROM "rules" WHERE "rules"."name" IS NULL LIMIT 1
21592
+ Processing by Cullender::RulesController#index as HTML
21593
+ Cullender::Rule Load (0.1ms) SELECT "rules".* FROM "rules" 
21594
+ Rendered cullender/rules/index.html.erb within layouts/application (0.2ms)
21595
+ Completed 200 OK in 5.8ms (Views: 4.9ms | ActiveRecord: 0.1ms)
21596
+  (0.1ms) rollback transaction
21597
+  (0.1ms) begin transaction
21598
+ Processing by Cullender::RulesController#new as HTML
21599
+ WARNING: Can't mass-assign protected attributes: name
21600
+ Completed 200 OK in 1.5ms (Views: 1.0ms | ActiveRecord: 0.0ms)
21601
+  (0.1ms) rollback transaction
21602
+  (0.0ms) begin transaction
21603
+ WARNING: Can't mass-assign protected attributes: name
21604
+ Cullender::Rule Exists (0.1ms) SELECT 1 AS one FROM "rules" WHERE "rules"."name" IS NULL LIMIT 1
21605
+  (0.1ms) rollback transaction
21606
+  (0.0ms) begin transaction
21607
+  (0.1ms) SELECT COUNT(*) FROM "rules" 
21608
+ Processing by Cullender::RulesController#create as HTML
21609
+ Parameters: {"rule"=>{"name"=>"MyRule"}}
21610
+ WARNING: Can't mass-assign protected attributes: name
21611
+ Cullender::Rule Exists (0.1ms) SELECT 1 AS one FROM "rules" WHERE "rules"."name" IS NULL LIMIT 1
21612
+ Completed 200 OK in 3.1ms (Views: 0.7ms | ActiveRecord: 0.1ms)
21613
+  (0.1ms) SELECT COUNT(*) FROM "rules" 
21614
+  (0.0ms) rollback transaction
21615
+  (0.0ms) begin transaction
21616
+ Processing by Cullender::RulesController#create as HTML
21617
+ Parameters: {"rule"=>{"name"=>"MyRule"}}
21618
+ WARNING: Can't mass-assign protected attributes: name
21619
+ Cullender::Rule Exists (0.1ms) SELECT 1 AS one FROM "rules" WHERE "rules"."name" IS NULL LIMIT 1
21620
+ Completed 200 OK in 2.9ms (Views: 0.7ms | ActiveRecord: 0.1ms)
21621
+  (0.1ms) rollback transaction
21622
+  (0.0ms) begin transaction
21623
+ Processing by Cullender::RulesController#create as HTML
21624
+ Parameters: {"rule"=>{"name"=>"MyRule"}}
21625
+ WARNING: Can't mass-assign protected attributes: name
21626
+ Cullender::Rule Exists (0.1ms) SELECT 1 AS one FROM "rules" WHERE "rules"."name" IS NULL LIMIT 1
21627
+ Completed 200 OK in 3.1ms (Views: 0.7ms | ActiveRecord: 0.1ms)
21628
+  (0.1ms) rollback transaction
21629
+  (0.0ms) begin transaction
21630
+ Processing by Cullender::RulesController#create as HTML
21631
+ Parameters: {"rule"=>{"name"=>"asd"}}
21632
+ WARNING: Can't mass-assign protected attributes: name
21633
+ Completed 200 OK in 1.3ms (Views: 0.6ms | ActiveRecord: 0.0ms)
21634
+  (0.1ms) rollback transaction
21635
+  (0.0ms) begin transaction
21636
+ Processing by Cullender::RulesController#create as HTML
21637
+ Parameters: {"rule"=>{"name"=>"asd"}}
21638
+ WARNING: Can't mass-assign protected attributes: name
21639
+ Completed 200 OK in 1.3ms (Views: 0.6ms | ActiveRecord: 0.0ms)
21640
+  (0.1ms) rollback transaction
21641
+  (0.0ms) begin transaction
21642
+ WARNING: Can't mass-assign protected attributes: name
21643
+ Cullender::Rule Exists (0.1ms) SELECT 1 AS one FROM "rules" WHERE "rules"."name" IS NULL LIMIT 1
21644
+  (0.0ms) rollback transaction
21645
+  (0.1ms) begin transaction
21646
+ WARNING: Can't mass-assign protected attributes: name
21647
+ Cullender::Rule Exists (0.1ms) SELECT 1 AS one FROM "rules" WHERE "rules"."name" IS NULL LIMIT 1
21648
+  (0.0ms) rollback transaction
21649
+  (0.0ms) begin transaction
21650
+ WARNING: Can't mass-assign protected attributes: name
21651
+ Cullender::Rule Exists (0.1ms) SELECT 1 AS one FROM "rules" WHERE "rules"."name" IS NULL LIMIT 1
21652
+  (0.1ms) rollback transaction
21653
+  (0.1ms) begin transaction
21654
+ WARNING: Can't mass-assign protected attributes: name
21655
+ Cullender::Rule Exists (0.1ms) SELECT 1 AS one FROM "rules" WHERE "rules"."name" IS NULL LIMIT 1
21656
+  (0.1ms) rollback transaction
21657
+  (0.0ms) begin transaction
21658
+ WARNING: Can't mass-assign protected attributes: name
21659
+ Cullender::Rule Exists (0.1ms) SELECT 1 AS one FROM "rules" WHERE "rules"."name" IS NULL LIMIT 1
21660
+  (0.0ms) rollback transaction
21661
+  (0.0ms) begin transaction
21662
+ WARNING: Can't mass-assign protected attributes: name
21663
+ Cullender::Rule Exists (0.1ms) SELECT 1 AS one FROM "rules" WHERE "rules"."name" IS NULL LIMIT 1
21664
+  (0.0ms) SELECT COUNT(*) FROM "rules"
21665
+  (0.0ms) rollback transaction
21666
+  (0.0ms) begin transaction
21667
+ WARNING: Can't mass-assign protected attributes: name
21668
+ Cullender::Rule Exists (0.1ms) SELECT 1 AS one FROM "rules" WHERE "rules"."name" IS NULL LIMIT 1
21669
+  (0.1ms) rollback transaction
21670
+  (0.0ms) begin transaction
21671
+ WARNING: Can't mass-assign protected attributes: name
21672
+ Cullender::Rule Exists (0.1ms) SELECT 1 AS one FROM "rules" WHERE "rules"."name" IS NULL LIMIT 1
21673
+  (0.0ms) rollback transaction
21674
+  (0.0ms) begin transaction
21675
+  (0.0ms) rollback transaction
21676
+  (0.0ms) begin transaction
21677
+  (0.0ms) rollback transaction
21678
+  (0.0ms) begin transaction
21679
+  (0.0ms) rollback transaction
21680
+  (0.0ms) begin transaction
21681
+  (0.0ms) rollback transaction
21682
+  (0.0ms) begin transaction
21683
+  (0.0ms) rollback transaction
21684
+  (0.0ms) begin transaction
21685
+  (0.0ms) rollback transaction
21686
+  (0.0ms) begin transaction
21687
+  (0.0ms) rollback transaction
21688
+  (0.0ms) begin transaction
21689
+  (0.0ms) rollback transaction
21690
+  (0.0ms) begin transaction
21691
+  (0.0ms) rollback transaction
21692
+  (0.0ms) begin transaction
21693
+  (0.0ms) rollback transaction
21694
+  (0.0ms) begin transaction
21695
+  (0.0ms) rollback transaction
21696
+  (0.0ms) begin transaction
21697
+  (0.0ms) rollback transaction
21698
+  (0.0ms) begin transaction
21699
+  (0.0ms) rollback transaction
21700
+  (0.1ms) begin transaction
21701
+  (0.0ms) rollback transaction
21702
+  (0.0ms) begin transaction
21703
+  (0.0ms) rollback transaction
21704
+  (0.0ms) begin transaction
21705
+  (0.0ms) rollback transaction
21706
+  (0.0ms) begin transaction
21707
+  (0.0ms) rollback transaction
21708
+  (0.0ms) begin transaction
21709
+  (0.0ms) rollback transaction
21710
+  (0.0ms) begin transaction
21711
+  (0.0ms) rollback transaction
21712
+  (0.0ms) begin transaction
21713
+  (0.0ms) rollback transaction
21714
+  (0.0ms) begin transaction
21715
+  (0.0ms) rollback transaction
21716
+  (0.0ms) begin transaction
21717
+  (0.0ms) rollback transaction
21718
+  (0.0ms) begin transaction
21719
+  (0.0ms) rollback transaction
21720
+  (0.0ms) begin transaction
21721
+  (0.1ms) rollback transaction
21722
+  (0.1ms) begin transaction
21723
+  (0.1ms) rollback transaction
21724
+  (0.1ms) begin transaction
21725
+  (0.1ms) rollback transaction
21726
+  (0.1ms) begin transaction
21727
+  (0.1ms) rollback transaction
21728
+  (0.1ms) begin transaction
21729
+  (0.1ms) rollback transaction
21730
+  (0.1ms) begin transaction
21731
+  (0.1ms) rollback transaction
21732
+  (0.1ms) begin transaction
21733
+  (0.0ms) rollback transaction
21734
+  (0.0ms) begin transaction
21735
+  (0.1ms) rollback transaction
21736
+  (0.0ms) begin transaction
21737
+  (0.1ms) rollback transaction
21738
+  (0.0ms) begin transaction
21739
+  (0.1ms) rollback transaction
21740
+  (0.1ms) begin transaction
21741
+  (0.1ms) rollback transaction
21742
+  (0.1ms) begin transaction
21743
+  (0.1ms) rollback transaction
21744
+  (0.1ms) begin transaction
21745
+  (0.1ms) rollback transaction
21746
+  (0.0ms) begin transaction
21747
+  (0.1ms) rollback transaction
21748
+  (0.1ms) begin transaction
21749
+  (0.1ms) rollback transaction
21750
+  (0.1ms) begin transaction
21751
+  (0.1ms) rollback transaction
21752
+  (0.1ms) begin transaction
21753
+  (0.1ms) rollback transaction
21754
+  (0.1ms) begin transaction
21755
+  (0.1ms) rollback transaction
21756
+  (0.1ms) begin transaction
21757
+  (0.1ms) rollback transaction
21758
+  (0.1ms) begin transaction
21759
+  (0.1ms) rollback transaction
21760
+  (0.1ms) begin transaction
21761
+  (0.1ms) rollback transaction
21762
+  (0.1ms) begin transaction
21763
+  (0.1ms) rollback transaction
21764
+  (0.1ms) begin transaction
21765
+  (0.1ms) rollback transaction
21766
+  (0.1ms) begin transaction
21767
+  (0.1ms) rollback transaction
21768
+  (0.1ms) begin transaction
21769
+  (0.0ms) rollback transaction
21770
+  (0.0ms) begin transaction
21771
+  (0.0ms) rollback transaction
21772
+  (0.0ms) begin transaction
21773
+  (0.0ms) rollback transaction
21774
+  (0.0ms) begin transaction
21775
+  (0.0ms) rollback transaction
21776
+  (0.0ms) begin transaction
21777
+  (0.0ms) rollback transaction
21778
+  (0.0ms) begin transaction
21779
+  (0.0ms) rollback transaction
21780
+  (0.0ms) begin transaction
21781
+  (0.0ms) rollback transaction
21782
+  (0.0ms) begin transaction
21783
+  (0.0ms) rollback transaction
21784
+  (0.0ms) begin transaction
21785
+  (0.0ms) rollback transaction
21786
+  (0.0ms) begin transaction
21787
+  (0.0ms) rollback transaction
21788
+  (0.0ms) begin transaction
21789
+  (0.0ms) rollback transaction
21790
+  (0.0ms) begin transaction
21791
+  (0.0ms) rollback transaction
21792
+  (0.0ms) begin transaction
21793
+  (0.0ms) rollback transaction
21794
+  (0.1ms) begin transaction
21795
+  (0.1ms) rollback transaction
21796
+  (0.1ms) begin transaction
21797
+  (0.1ms) rollback transaction
21798
+  (0.0ms) begin transaction
21799
+  (0.0ms) rollback transaction
21800
+  (0.0ms) begin transaction
21801
+ WARNING: Can't mass-assign protected attributes: name, triggers
21802
+ Cullender::Rule Exists (0.1ms) SELECT 1 AS one FROM "rules" WHERE "rules"."name" IS NULL LIMIT 1
21803
+  (0.0ms) rollback transaction
21804
+ Connecting to database specified by database.yml
21805
+  (0.1ms) begin transaction
21806
+ Cullender::Rule Exists (0.1ms) SELECT 1 AS one FROM "rules" WHERE "rules"."name" = 'MyRule' LIMIT 1
21807
+ SQL (1.4ms) INSERT INTO "rules" ("created_at", "enabled", "name", "triggers", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 02 Nov 2013 21:34:18 UTC +00:00], ["enabled", nil], ["name", "MyRule"], ["triggers", nil], ["updated_at", Sat, 02 Nov 2013 21:34:18 UTC +00:00]]
21808
+ Processing by Cullender::RulesController#index as HTML
21809
+ Cullender::Rule Load (0.1ms) SELECT "rules".* FROM "rules"
21810
+ Rendered cullender/rules/index.html.erb within layouts/application (0.3ms)
21811
+ Completed 200 OK in 6.6ms (Views: 5.3ms | ActiveRecord: 0.1ms)
21812
+  (0.6ms) rollback transaction
21813
+  (0.1ms) begin transaction
21814
+ Processing by Cullender::RulesController#new as HTML
21815
+ Completed 200 OK in 1.8ms (Views: 1.2ms | ActiveRecord: 0.0ms)
21816
+  (0.1ms) rollback transaction
21817
+  (0.0ms) begin transaction
21818
+ Cullender::Rule Exists (0.1ms) SELECT 1 AS one FROM "rules" WHERE "rules"."name" = 'MyRule' LIMIT 1
21819
+ SQL (0.3ms) INSERT INTO "rules" ("created_at", "enabled", "name", "triggers", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 02 Nov 2013 21:34:18 UTC +00:00], ["enabled", nil], ["name", "MyRule"], ["triggers", nil], ["updated_at", Sat, 02 Nov 2013 21:34:18 UTC +00:00]]
21820
+ Processing by Cullender::RulesController#show as HTML
21821
+ Parameters: {"id"=>"1"}
21822
+ Cullender::Rule Load (0.2ms) SELECT "rules".* FROM "rules" WHERE "rules"."id" = ? LIMIT 1 [["id", "1"]]
21823
+ Completed 200 OK in 2.6ms (Views: 1.2ms | ActiveRecord: 0.2ms)
21824
+  (0.4ms) rollback transaction
21825
+  (0.0ms) begin transaction
21826
+  (0.1ms) SELECT COUNT(*) FROM "rules"
21827
+ Processing by Cullender::RulesController#create as HTML
21828
+ Parameters: {"rule"=>{"name"=>"MyRule"}}
21829
+ Cullender::Rule Exists (0.1ms) SELECT 1 AS one FROM "rules" WHERE "rules"."name" = 'MyRule' LIMIT 1
21830
+ SQL (0.3ms) INSERT INTO "rules" ("created_at", "enabled", "name", "triggers", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 02 Nov 2013 21:34:18 UTC +00:00], ["enabled", nil], ["name", "MyRule"], ["triggers", nil], ["updated_at", Sat, 02 Nov 2013 21:34:18 UTC +00:00]]
21831
+ Redirected to http://test.host/events/rule
21832
+ Completed 302 Found in 3.1ms (ActiveRecord: 0.4ms)
21833
+  (0.1ms) SELECT COUNT(*) FROM "rules" 
21834
+  (0.4ms) rollback transaction
21835
+  (0.0ms) begin transaction
21836
+ Processing by Cullender::RulesController#create as HTML
21837
+ Parameters: {"rule"=>{"name"=>"MyRule"}}
21838
+ Cullender::Rule Exists (0.1ms) SELECT 1 AS one FROM "rules" WHERE "rules"."name" = 'MyRule' LIMIT 1
21839
+ SQL (0.3ms) INSERT INTO "rules" ("created_at", "enabled", "name", "triggers", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 02 Nov 2013 21:34:18 UTC +00:00], ["enabled", nil], ["name", "MyRule"], ["triggers", nil], ["updated_at", Sat, 02 Nov 2013 21:34:18 UTC +00:00]]
21840
+ Redirected to http://test.host/events/rule
21841
+ Completed 302 Found in 2.9ms (ActiveRecord: 0.4ms)
21842
+  (0.5ms) rollback transaction
21843
+  (0.1ms) begin transaction
21844
+ Processing by Cullender::RulesController#create as HTML
21845
+ Parameters: {"rule"=>{"name"=>"MyRule"}}
21846
+ Cullender::Rule Exists (0.1ms) SELECT 1 AS one FROM "rules" WHERE "rules"."name" = 'MyRule' LIMIT 1
21847
+ SQL (0.3ms) INSERT INTO "rules" ("created_at", "enabled", "name", "triggers", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 02 Nov 2013 21:34:18 UTC +00:00], ["enabled", nil], ["name", "MyRule"], ["triggers", nil], ["updated_at", Sat, 02 Nov 2013 21:34:18 UTC +00:00]]
21848
+ Redirected to http://test.host/events/rule
21849
+ Completed 302 Found in 3.1ms (ActiveRecord: 0.5ms)
21850
+  (0.5ms) rollback transaction
21851
+  (0.1ms) begin transaction
21852
+ Processing by Cullender::RulesController#create as HTML
21853
+ Parameters: {"rule"=>{"name"=>"asd"}}
21854
+ Completed 200 OK in 1.4ms (Views: 0.7ms | ActiveRecord: 0.0ms)
21855
+  (0.1ms) rollback transaction
21856
+  (0.0ms) begin transaction
21857
+ Processing by Cullender::RulesController#create as HTML
21858
+ Parameters: {"rule"=>{"name"=>"asd"}}
21859
+ Completed 200 OK in 1.3ms (Views: 0.6ms | ActiveRecord: 0.0ms)
21860
+  (0.1ms) rollback transaction
21861
+  (0.0ms) begin transaction
21862
+ Cullender::Rule Exists (0.1ms) SELECT 1 AS one FROM "rules" WHERE "rules"."name" = 'MyRule' LIMIT 1
21863
+ SQL (0.3ms) INSERT INTO "rules" ("created_at", "enabled", "name", "triggers", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 02 Nov 2013 21:34:18 UTC +00:00], ["enabled", nil], ["name", "MyRule"], ["triggers", nil], ["updated_at", Sat, 02 Nov 2013 21:34:18 UTC +00:00]]
21864
+ Processing by Cullender::RulesController#update as HTML
21865
+ Parameters: {"rule"=>{"name"=>"New Name"}, "id"=>"1"}
21866
+ Cullender::Rule Load (0.1ms) SELECT "rules".* FROM "rules" WHERE "rules"."id" = ? LIMIT 1 [["id", "1"]]
21867
+ Completed 200 OK in 2.0ms (Views: 0.7ms | ActiveRecord: 0.1ms)
21868
+  (0.6ms) rollback transaction
21869
+  (0.1ms) begin transaction
21870
+ Cullender::Rule Exists (0.1ms) SELECT 1 AS one FROM "rules" WHERE "rules"."name" = 'MyRule' LIMIT 1
21871
+ SQL (0.5ms) INSERT INTO "rules" ("created_at", "enabled", "name", "triggers", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 02 Nov 2013 21:34:18 UTC +00:00], ["enabled", nil], ["name", "MyRule"], ["triggers", nil], ["updated_at", Sat, 02 Nov 2013 21:34:18 UTC +00:00]]
21872
+ Processing by Cullender::RulesController#update as HTML
21873
+ Parameters: {"rule"=>{"name"=>"MyRule"}, "id"=>"1"}
21874
+ Cullender::Rule Load (0.1ms) SELECT "rules".* FROM "rules" WHERE "rules"."id" = ? LIMIT 1 [["id", "1"]]
21875
+ Cullender::Rule Exists (0.1ms) SELECT 1 AS one FROM "rules" WHERE ("rules"."name" = 'MyRule' AND "rules"."id" != 1) LIMIT 1
21876
+  (0.1ms) UPDATE "rules" SET "updated_at" = '2013-11-02 21:34:18.252516', "triggers" = '--- {}
21877
+ ' WHERE "rules"."id" = 1
21878
+ Redirected to http://test.host/events/rule
21879
+ Completed 302 Found in 4.4ms (ActiveRecord: 0.2ms)
21880
+  (0.6ms) rollback transaction
21881
+  (0.0ms) begin transaction
21882
+ Cullender::Rule Exists (0.1ms) SELECT 1 AS one FROM "rules" WHERE "rules"."name" = 'MyRule' LIMIT 1
21883
+ SQL (0.3ms) INSERT INTO "rules" ("created_at", "enabled", "name", "triggers", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 02 Nov 2013 21:34:18 UTC +00:00], ["enabled", nil], ["name", "MyRule"], ["triggers", nil], ["updated_at", Sat, 02 Nov 2013 21:34:18 UTC +00:00]]
21884
+ Processing by Cullender::RulesController#update as HTML
21885
+ Parameters: {"rule"=>{"name"=>"MyRule"}, "id"=>"1"}
21886
+ Cullender::Rule Load (0.0ms) SELECT "rules".* FROM "rules" WHERE "rules"."id" = ? LIMIT 1 [["id", "1"]]
21887
+ Cullender::Rule Exists (0.1ms) SELECT 1 AS one FROM "rules" WHERE ("rules"."name" = 'MyRule' AND "rules"."id" != 1) LIMIT 1
21888
+  (0.1ms) UPDATE "rules" SET "updated_at" = '2013-11-02 21:34:18.262221', "triggers" = '--- {}
21889
+ ' WHERE "rules"."id" = 1
21890
+ Redirected to http://test.host/events/rule
21891
+ Completed 302 Found in 2.8ms (ActiveRecord: 0.2ms)
21892
+  (0.6ms) rollback transaction
21893
+  (0.1ms) begin transaction
21894
+ Cullender::Rule Exists (0.1ms) SELECT 1 AS one FROM "rules" WHERE "rules"."name" = 'MyRule' LIMIT 1
21895
+ SQL (0.4ms) INSERT INTO "rules" ("created_at", "enabled", "name", "triggers", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 02 Nov 2013 21:34:18 UTC +00:00], ["enabled", nil], ["name", "MyRule"], ["triggers", nil], ["updated_at", Sat, 02 Nov 2013 21:34:18 UTC +00:00]]
21896
+ Processing by Cullender::RulesController#update as HTML
21897
+ Parameters: {"rule"=>{"name"=>"asd"}, "id"=>"1"}
21898
+ Cullender::Rule Load (0.1ms) SELECT "rules".* FROM "rules" WHERE "rules"."id" = ? LIMIT 1 [["id", "1"]]
21899
+ Completed 200 OK in 1.9ms (Views: 0.7ms | ActiveRecord: 0.1ms)
21900
+  (0.5ms) rollback transaction
21901
+  (0.1ms) begin transaction
21902
+ Cullender::Rule Exists (0.1ms) SELECT 1 AS one FROM "rules" WHERE "rules"."name" = 'MyRule' LIMIT 1
21903
+ SQL (0.4ms) INSERT INTO "rules" ("created_at", "enabled", "name", "triggers", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 02 Nov 2013 21:34:18 UTC +00:00], ["enabled", nil], ["name", "MyRule"], ["triggers", nil], ["updated_at", Sat, 02 Nov 2013 21:34:18 UTC +00:00]]
21904
+ Processing by Cullender::RulesController#update as HTML
21905
+ Parameters: {"rule"=>{"name"=>"asd"}, "id"=>"1"}
21906
+ Cullender::Rule Load (0.1ms) SELECT "rules".* FROM "rules" WHERE "rules"."id" = ? LIMIT 1 [["id", "1"]]
21907
+ Completed 200 OK in 2.2ms (Views: 0.9ms | ActiveRecord: 0.1ms)
21908
+  (0.4ms) rollback transaction
21909
+  (0.0ms) begin transaction
21910
+ Cullender::Rule Exists (0.1ms) SELECT 1 AS one FROM "rules" WHERE "rules"."name" = 'MyRule' LIMIT 1
21911
+ SQL (0.3ms) INSERT INTO "rules" ("created_at", "enabled", "name", "triggers", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 02 Nov 2013 21:34:18 UTC +00:00], ["enabled", nil], ["name", "MyRule"], ["triggers", nil], ["updated_at", Sat, 02 Nov 2013 21:34:18 UTC +00:00]]
21912
+  (0.1ms) SELECT COUNT(*) FROM "rules" 
21913
+ Processing by Cullender::RulesController#destroy as HTML
21914
+ Parameters: {"id"=>"1"}
21915
+ Cullender::Rule Load (0.1ms) SELECT "rules".* FROM "rules" WHERE "rules"."id" = ? LIMIT 1 [["id", "1"]]
21916
+ SQL (0.1ms) DELETE FROM "rules" WHERE "rules"."id" = ? [["id", 1]]
21917
+ Redirected to http://test.host/events/rule
21918
+ Completed 302 Found in 1.8ms (ActiveRecord: 0.1ms)
21919
+  (0.0ms) SELECT COUNT(*) FROM "rules"
21920
+  (0.5ms) rollback transaction
21921
+  (0.1ms) begin transaction
21922
+ Cullender::Rule Exists (0.3ms) SELECT 1 AS one FROM "rules" WHERE "rules"."name" = 'MyRule' LIMIT 1
21923
+ SQL (0.3ms) INSERT INTO "rules" ("created_at", "enabled", "name", "triggers", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 02 Nov 2013 21:34:18 UTC +00:00], ["enabled", nil], ["name", "MyRule"], ["triggers", nil], ["updated_at", Sat, 02 Nov 2013 21:34:18 UTC +00:00]]
21924
+ Processing by Cullender::RulesController#destroy as HTML
21925
+ Parameters: {"id"=>"1"}
21926
+ Cullender::Rule Load (0.1ms) SELECT "rules".* FROM "rules" WHERE "rules"."id" = ? LIMIT 1 [["id", "1"]]
21927
+ SQL (0.0ms) DELETE FROM "rules" WHERE "rules"."id" = ? [["id", 1]]
21928
+ Redirected to http://test.host/events/rule
21929
+ Completed 302 Found in 1.5ms (ActiveRecord: 0.1ms)
21930
+  (1.1ms) rollback transaction
21931
+  (0.1ms) begin transaction
21932
+ Cullender::Rule Exists (0.1ms) SELECT 1 AS one FROM "rules" WHERE "rules"."name" = 'MyRule' LIMIT 1
21933
+ SQL (0.3ms) INSERT INTO "rules" ("created_at", "enabled", "name", "triggers", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 02 Nov 2013 21:34:18 UTC +00:00], ["enabled", nil], ["name", "MyRule"], ["triggers", nil], ["updated_at", Sat, 02 Nov 2013 21:34:18 UTC +00:00]]
21934
+ Processing by Cullender::RulesController#destroy as HTML
21935
+ Parameters: {"id"=>"1"}
21936
+ Cullender::Rule Load (0.1ms) SELECT "rules".* FROM "rules" WHERE "rules"."id" = ? LIMIT 1 [["id", "1"]]
21937
+ SQL (0.0ms) DELETE FROM "rules" WHERE "rules"."id" = ? [["id", 1]]
21938
+ Redirected to http://test.host/events/rule
21939
+ Completed 302 Found in 1.9ms (ActiveRecord: 0.1ms)
21940
+  (0.4ms) rollback transaction
21941
+  (0.1ms) begin transaction
21942
+  (0.0ms) rollback transaction
21943
+  (0.0ms) begin transaction
21944
+  (0.0ms) rollback transaction
21945
+  (0.0ms) begin transaction
21946
+  (0.0ms) rollback transaction
21947
+  (0.0ms) begin transaction
21948
+  (0.0ms) rollback transaction
21949
+  (0.0ms) begin transaction
21950
+  (0.0ms) rollback transaction
21951
+  (0.0ms) begin transaction
21952
+  (0.0ms) rollback transaction
21953
+  (0.0ms) begin transaction
21954
+  (0.0ms) rollback transaction
21955
+  (0.0ms) begin transaction
21956
+  (0.0ms) rollback transaction
21957
+  (0.0ms) begin transaction
21958
+  (0.0ms) rollback transaction
21959
+  (0.0ms) begin transaction
21960
+  (0.0ms) rollback transaction
21961
+  (0.0ms) begin transaction
21962
+  (0.0ms) rollback transaction
21963
+  (0.1ms) begin transaction
21964
+  (0.0ms) rollback transaction
21965
+  (0.0ms) begin transaction
21966
+  (0.0ms) rollback transaction
21967
+  (0.0ms) begin transaction
21968
+  (0.0ms) rollback transaction
21969
+  (0.0ms) begin transaction
21970
+  (0.0ms) rollback transaction
21971
+  (0.0ms) begin transaction
21972
+  (0.0ms) rollback transaction
21973
+  (0.0ms) begin transaction
21974
+  (0.0ms) rollback transaction
21975
+  (0.1ms) begin transaction
21976
+  (0.0ms) rollback transaction
21977
+  (0.0ms) begin transaction
21978
+  (0.1ms) rollback transaction
21979
+  (0.1ms) begin transaction
21980
+  (0.0ms) rollback transaction
21981
+  (0.0ms) begin transaction
21982
+  (0.0ms) rollback transaction
21983
+  (0.0ms) begin transaction
21984
+  (0.0ms) rollback transaction
21985
+  (0.0ms) begin transaction
21986
+  (0.0ms) rollback transaction
21987
+  (0.0ms) begin transaction
21988
+  (0.0ms) rollback transaction
21989
+  (0.1ms) begin transaction
21990
+  (0.0ms) rollback transaction
21991
+  (0.0ms) begin transaction
21992
+  (0.0ms) rollback transaction
21993
+  (0.1ms) begin transaction
21994
+  (0.0ms) rollback transaction
21995
+  (0.0ms) begin transaction
21996
+  (0.0ms) rollback transaction
21997
+  (0.0ms) begin transaction
21998
+  (0.0ms) rollback transaction
21999
+  (0.0ms) begin transaction
22000
+  (0.0ms) rollback transaction
22001
+  (0.1ms) begin transaction
22002
+  (0.1ms) rollback transaction
22003
+  (0.1ms) begin transaction
22004
+  (0.1ms) rollback transaction
22005
+  (0.0ms) begin transaction
22006
+  (0.0ms) rollback transaction
22007
+  (0.0ms) begin transaction
22008
+  (0.0ms) rollback transaction
22009
+  (0.0ms) begin transaction
22010
+  (0.1ms) rollback transaction
22011
+  (0.0ms) begin transaction
22012
+  (0.0ms) rollback transaction
22013
+  (0.0ms) begin transaction
22014
+  (0.0ms) rollback transaction
22015
+  (0.0ms) begin transaction
22016
+  (0.1ms) rollback transaction
22017
+  (0.0ms) begin transaction
22018
+  (0.1ms) rollback transaction
22019
+  (0.0ms) begin transaction
22020
+  (0.1ms) rollback transaction
22021
+  (0.1ms) begin transaction
22022
+  (0.0ms) rollback transaction
22023
+  (0.0ms) begin transaction
22024
+  (0.0ms) rollback transaction
22025
+  (0.0ms) begin transaction
22026
+  (0.0ms) rollback transaction
22027
+  (0.0ms) begin transaction
22028
+  (0.0ms) rollback transaction
22029
+  (0.0ms) begin transaction
22030
+  (0.1ms) rollback transaction
22031
+  (0.0ms) begin transaction
22032
+  (0.1ms) rollback transaction
22033
+  (0.0ms) begin transaction
22034
+  (0.0ms) rollback transaction
22035
+  (0.0ms) begin transaction
22036
+  (0.0ms) rollback transaction
22037
+  (0.0ms) begin transaction
22038
+  (0.0ms) rollback transaction
22039
+  (0.0ms) begin transaction
22040
+  (0.0ms) rollback transaction
22041
+  (0.0ms) begin transaction
22042
+  (0.0ms) rollback transaction
22043
+  (0.0ms) begin transaction
22044
+  (0.0ms) rollback transaction
22045
+  (0.0ms) begin transaction
22046
+  (0.0ms) rollback transaction
22047
+  (0.0ms) begin transaction
22048
+  (0.0ms) rollback transaction
22049
+  (0.0ms) begin transaction
22050
+  (0.0ms) rollback transaction
22051
+  (0.0ms) begin transaction
22052
+  (0.0ms) rollback transaction
22053
+  (0.0ms) begin transaction
22054
+  (0.0ms) rollback transaction
22055
+  (0.0ms) begin transaction
22056
+  (0.0ms) rollback transaction
22057
+  (0.0ms) begin transaction
22058
+  (0.0ms) rollback transaction
22059
+  (0.0ms) begin transaction
22060
+  (0.0ms) rollback transaction
22061
+  (0.0ms) begin transaction
22062
+  (0.0ms) rollback transaction
22063
+  (0.0ms) begin transaction
22064
+  (0.0ms) rollback transaction
22065
+  (0.0ms) begin transaction
22066
+  (0.0ms) rollback transaction
22067
+  (0.0ms) begin transaction
22068
+ Cullender::Rule Exists (0.1ms) SELECT 1 AS one FROM "rules" WHERE "rules"."name" = 'example' LIMIT 1
22069
+ SQL (0.3ms) INSERT INTO "rules" ("created_at", "enabled", "name", "triggers", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 02 Nov 2013 21:34:18 UTC +00:00], ["enabled", nil], ["name", "example"], ["triggers", "--- {}\n"], ["updated_at", Sat, 02 Nov 2013 21:34:18 UTC +00:00]]
22070
+  (0.6ms) rollback transaction
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cullender
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Waddington
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - ~>
18
18
  - !ruby/object:Gem::Version
19
- version: 4.0.1
19
+ version: 3.2.15
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - ~>
25
25
  - !ruby/object:Gem::Version
26
- version: 4.0.1
26
+ version: 3.2.15
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: tire
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -38,6 +38,20 @@ dependencies:
38
38
  - - '>='
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: strong_parameters
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - '>='
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - '>='
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
41
55
  - !ruby/object:Gem::Dependency
42
56
  name: jquery-rails
43
57
  requirement: !ruby/object:Gem::Requirement