rails_workflow 0.3.3 → 0.3.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f298bdb21a07776e7909d70d1562bdc3ecb75fc3
4
- data.tar.gz: 0383d63241b8232dd402207f861348043d79ec09
3
+ metadata.gz: 3af317d30d995b99af8a9725cc68b0b906fe30a0
4
+ data.tar.gz: 5d8aca320659cb5eb308ec9e10b05e9205f940ce
5
5
  SHA512:
6
- metadata.gz: 558e73881bd8901f2ea27065a94358c30c908fc9be47ab4454a49a824e55bfcc4720ca1c667f3f529dcc7e99d59a3d8f43e208fb11ff2cea095c5f593d44ca95
7
- data.tar.gz: 27640237d19282463fa0e6fce3a405ff72d147b673e1fe3f0b766cb709bb07e68b864c83605c7bb8fe3aa50f76eb7334bb4ff68b5f2f56a735d335bef30d337e
6
+ metadata.gz: 1dc1b0d349aaf8df2c8a36c95c3849a35a028a03d31bc180625b73d21f373b76d776758140b10bef994564bef013f1fe54cb23cd0c4055c6aad4720b07887879
7
+ data.tar.gz: ec3e7d110289b87d44de85a6bcb8edbbb6b1469b159e2f3fc260f44c26cd41db16c7a5c7ea5c9bc272ea545ab8bfb6039a15edaa0b1ea4de01cd6f0ffcafee03
@@ -16,7 +16,7 @@ module RailsWorkflow
16
16
  extend ActiveSupport::Concern
17
17
 
18
18
  included do
19
- scope :independent_only, -> { where(dependencies: nil) }
19
+ scope :independent_only, -> { where(dependencies: nil.to_json) }
20
20
 
21
21
  serialize :dependencies, JSON
22
22
 
@@ -4,8 +4,7 @@ module RailsWorkflow
4
4
  extend ActiveSupport::Concern
5
5
 
6
6
  included do
7
- has_many :operations, class: RailsWorkflow::Operation, as: :assignment
8
-
7
+ has_many :operations, class_name: "RailsWorkflow::Operation", as: :assignment
9
8
  end
10
9
 
11
10
  module ClassMethods
@@ -1,3 +1,3 @@
1
1
  module RailsWorkflow
2
- VERSION = "0.3.3"
2
+ VERSION = "0.3.4"
3
3
  end
@@ -450659,3 +450659,2309 @@ Completed 302 Found in 7ms (ActiveRecord: 0.6ms)
450659
450659
  RailsWorkflow::ProcessTemplate Load (0.2ms) SELECT "rails_workflow_process_templates".* FROM "rails_workflow_process_templates" WHERE "rails_workflow_process_templates"."uuid" = $1 LIMIT 1 [["uuid", "a708ce2c-cdff-b059-be0e-6bd16d552169"]]
450660
450660
   (0.3ms) SELECT COUNT(*) FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."process_template_id" = $1 [["process_template_id", 82]]
450661
450661
   (0.2ms) ROLLBACK
450662
+  (15.8ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL) 
450663
+  (12.3ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
450664
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
450665
+ Migrating to DeviseCreateUsers (20150127171613)
450666
+  (0.2ms) BEGIN
450667
+  (26.8ms) CREATE TABLE "users" ("id" serial primary key, "email" character varying DEFAULT '' NOT NULL, "encrypted_password" character varying DEFAULT '' NOT NULL, "reset_password_token" character varying, "reset_password_sent_at" timestamp, "remember_created_at" timestamp, "sign_in_count" integer DEFAULT 0 NOT NULL, "current_sign_in_at" timestamp, "last_sign_in_at" timestamp, "current_sign_in_ip" character varying, "last_sign_in_ip" character varying, "role" character varying, "created_at" timestamp, "updated_at" timestamp) 
450668
+  (1.2ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")
450669
+  (1.0ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")
450670
+ SQL (6.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150127171613"]]
450671
+  (6.1ms) COMMIT
450672
+ Migrating to CreateSalesContacts (20150130042852)
450673
+  (5.9ms) BEGIN
450674
+  (16.0ms) CREATE TABLE "sales_contacts" ("id" serial primary key, "message" text, "email" character varying, "created_at" timestamp, "updated_at" timestamp) 
450675
+ SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150130042852"]]
450676
+  (0.6ms) COMMIT
450677
+ Migrating to CreateLeads (20150130043008)
450678
+  (6.3ms) BEGIN
450679
+  (19.5ms) CREATE TABLE "leads" ("id" serial primary key, "sales_contact_id" integer, "offer" text, "name" character varying, "created_at" timestamp, "updated_at" timestamp) 
450680
+ SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150130043008"]]
450681
+  (0.5ms) COMMIT
450682
+ Migrating to CreateWorkflowProcesses (20150630174700)
450683
+  (6.2ms) BEGIN
450684
+  (7.6ms) CREATE TABLE "rails_workflow_processes" ("id" serial primary key) 
450685
+  (6.7ms) CREATE TABLE "rails_workflow_operations" ("id" serial primary key)
450686
+  (2.4ms) CREATE TABLE "rails_workflow_process_templates" ("id" serial primary key) 
450687
+  (2.3ms) CREATE TABLE "rails_workflow_operation_templates" ("id" serial primary key)
450688
+  (3.2ms) CREATE TABLE "rails_workflow_contexts" ("id" serial primary key) 
450689
+  (2.5ms) CREATE TABLE "rails_workflow_errors" ("id" serial primary key)
450690
+  (0.3ms) ALTER TABLE "rails_workflow_contexts" ADD "parent_id" integer
450691
+  (2.9ms) ALTER TABLE "rails_workflow_contexts" ADD "parent_type" character varying
450692
+  (0.7ms) ALTER TABLE "rails_workflow_contexts" ADD "body" text
450693
+  (0.5ms) ALTER TABLE "rails_workflow_contexts" ADD "created_at" timestamp
450694
+  (0.4ms) ALTER TABLE "rails_workflow_contexts" ADD "updated_at" timestamp
450695
+  (1.2ms) ALTER TABLE "rails_workflow_errors" ADD "message" character varying
450696
+  (0.2ms) ALTER TABLE "rails_workflow_errors" ADD "stack_trace" text
450697
+  (0.4ms) ALTER TABLE "rails_workflow_errors" ADD "parent_id" integer
450698
+  (0.3ms) ALTER TABLE "rails_workflow_errors" ADD "parent_type" character varying
450699
+  (0.3ms) ALTER TABLE "rails_workflow_errors" ADD "created_at" timestamp
450700
+  (0.3ms) ALTER TABLE "rails_workflow_errors" ADD "updated_at" timestamp
450701
+  (0.3ms) ALTER TABLE "rails_workflow_errors" ADD "resolved" boolean
450702
+  (1.4ms) ALTER TABLE "rails_workflow_operation_templates" ADD "title" character varying
450703
+  (0.2ms) ALTER TABLE "rails_workflow_operation_templates" ADD "version" character varying
450704
+  (0.2ms) ALTER TABLE "rails_workflow_operation_templates" ADD "uuid" character varying
450705
+  (0.2ms) ALTER TABLE "rails_workflow_operation_templates" ADD "tag" character varying
450706
+  (0.2ms) ALTER TABLE "rails_workflow_operation_templates" ADD "source" text
450707
+  (0.2ms) ALTER TABLE "rails_workflow_operation_templates" ADD "dependencies" text
450708
+  (0.2ms) ALTER TABLE "rails_workflow_operation_templates" ADD "operation_class" character varying
450709
+  (0.2ms) ALTER TABLE "rails_workflow_operation_templates" ADD "process_template_id" integer
450710
+  (0.8ms) ALTER TABLE "rails_workflow_operation_templates" ADD "created_at" timestamp
450711
+  (0.4ms) ALTER TABLE "rails_workflow_operation_templates" ADD "updated_at" timestamp
450712
+  (0.3ms) ALTER TABLE "rails_workflow_operation_templates" ADD "async" boolean
450713
+  (0.4ms) ALTER TABLE "rails_workflow_operation_templates" ADD "child_process_id" integer
450714
+  (0.3ms) ALTER TABLE "rails_workflow_operation_templates" ADD "assignment_id" integer
450715
+  (0.3ms) ALTER TABLE "rails_workflow_operation_templates" ADD "assignment_type" character varying
450716
+  (0.3ms) ALTER TABLE "rails_workflow_operation_templates" ADD "kind" character varying
450717
+  (0.2ms) ALTER TABLE "rails_workflow_operation_templates" ADD "role" character varying
450718
+  (0.3ms) ALTER TABLE "rails_workflow_operation_templates" ADD "group" character varying
450719
+  (1.1ms) ALTER TABLE "rails_workflow_operation_templates" ADD "instruction" text
450720
+  (0.4ms) ALTER TABLE "rails_workflow_operation_templates" ADD "is_background" boolean
450721
+  (0.4ms) ALTER TABLE "rails_workflow_operation_templates" ADD "type" character varying
450722
+  (0.4ms) ALTER TABLE "rails_workflow_operation_templates" ADD "partial_name" character varying
450723
+  (0.2ms) ALTER TABLE "rails_workflow_operations" ADD "status" integer
450724
+  (0.3ms) ALTER TABLE "rails_workflow_operations" ADD "async" boolean
450725
+  (1.6ms) ALTER TABLE "rails_workflow_operations" ADD "version" character varying
450726
+  (0.2ms) ALTER TABLE "rails_workflow_operations" ADD "tag" character varying
450727
+  (0.6ms) ALTER TABLE "rails_workflow_operations" ADD "title" character varying
450728
+  (0.3ms) ALTER TABLE "rails_workflow_operations" ADD "created_at" timestamp
450729
+  (0.3ms) ALTER TABLE "rails_workflow_operations" ADD "updated_at" timestamp
450730
+  (0.3ms) ALTER TABLE "rails_workflow_operations" ADD "process_id" integer
450731
+  (0.4ms) ALTER TABLE "rails_workflow_operations" ADD "template_id" integer
450732
+  (0.3ms) ALTER TABLE "rails_workflow_operations" ADD "dependencies" text
450733
+  (0.2ms) ALTER TABLE "rails_workflow_operations" ADD "child_process_id" integer
450734
+  (0.9ms) ALTER TABLE "rails_workflow_operations" ADD "assignment_id" integer
450735
+  (0.5ms) ALTER TABLE "rails_workflow_operations" ADD "assignment_type" character varying
450736
+  (0.9ms) ALTER TABLE "rails_workflow_operations" ADD "assigned_at" timestamp
450737
+  (0.3ms) ALTER TABLE "rails_workflow_operations" ADD "type" character varying
450738
+  (0.5ms) ALTER TABLE "rails_workflow_operations" ADD "is_active" boolean
450739
+  (0.4ms) ALTER TABLE "rails_workflow_operations" ADD "completed_at" timestamp
450740
+  (0.3ms) ALTER TABLE "rails_workflow_operations" ADD "is_background" boolean
450741
+  (1.2ms) ALTER TABLE "rails_workflow_process_templates" ADD "title" character varying
450742
+  (0.3ms) ALTER TABLE "rails_workflow_process_templates" ADD "source" text
450743
+  (0.3ms) ALTER TABLE "rails_workflow_process_templates" ADD "uuid" character varying
450744
+  (0.2ms) ALTER TABLE "rails_workflow_process_templates" ADD "version" character varying
450745
+  (0.4ms) ALTER TABLE "rails_workflow_process_templates" ADD "tag" character varying
450746
+  (0.6ms) ALTER TABLE "rails_workflow_process_templates" ADD "manager_class" character varying
450747
+  (0.6ms) ALTER TABLE "rails_workflow_process_templates" ADD "process_class" character varying
450748
+  (0.4ms) ALTER TABLE "rails_workflow_process_templates" ADD "created_at" timestamp
450749
+  (0.3ms) ALTER TABLE "rails_workflow_process_templates" ADD "updated_at" timestamp
450750
+  (0.4ms) ALTER TABLE "rails_workflow_process_templates" ADD "type" character varying
450751
+  (0.2ms) ALTER TABLE "rails_workflow_process_templates" ADD "partial_name" character varying
450752
+  (0.2ms) ALTER TABLE "rails_workflow_processes" ADD "status" integer
450753
+  (1.2ms) ALTER TABLE "rails_workflow_processes" ADD "version" character varying
450754
+  (0.5ms) ALTER TABLE "rails_workflow_processes" ADD "tag" character varying
450755
+  (0.2ms) ALTER TABLE "rails_workflow_processes" ADD "async" boolean
450756
+  (0.3ms) ALTER TABLE "rails_workflow_processes" ADD "title" character varying
450757
+  (0.3ms) ALTER TABLE "rails_workflow_processes" ADD "created_at" timestamp
450758
+  (0.3ms) ALTER TABLE "rails_workflow_processes" ADD "updated_at" timestamp
450759
+  (0.3ms) ALTER TABLE "rails_workflow_processes" ADD "template_id" integer
450760
+  (0.3ms) ALTER TABLE "rails_workflow_processes" ADD "type" character varying
450761
+  (3.2ms) CREATE INDEX "index_rails_workflow_contexts_on_parent_id_and_parent_type" ON "rails_workflow_contexts" ("parent_id", "parent_type")
450762
+  (7.1ms) CREATE INDEX "index_rails_workflow_errors_on_parent_id_and_parent_type" ON "rails_workflow_errors" ("parent_id", "parent_type")
450763
+  (2.1ms) CREATE INDEX "index_rails_workflow_operation_templates_on_process_template_id" ON "rails_workflow_operation_templates" ("process_template_id")
450764
+  (1.4ms) CREATE INDEX "index_rails_workflow_operation_templates_on_uuid" ON "rails_workflow_operation_templates" ("uuid")
450765
+  (1.1ms) CREATE INDEX "index_rails_workflow_process_templates_on_uuid" ON "rails_workflow_process_templates" ("uuid")
450766
+  (1.2ms) CREATE INDEX "index_rails_workflow_operations_on_process_id" ON "rails_workflow_operations" ("process_id")
450767
+  (0.9ms) CREATE INDEX "index_rails_workflow_operations_on_template_id" ON "rails_workflow_operations" ("template_id")
450768
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150630174700"]]
450769
+  (1.0ms) COMMIT
450770
+ ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations"
450771
+  (2.4ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
450772
+ FROM pg_constraint c
450773
+ JOIN pg_class t1 ON c.conrelid = t1.oid
450774
+ JOIN pg_class t2 ON c.confrelid = t2.oid
450775
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
450776
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
450777
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
450778
+ WHERE c.contype = 'f'
450779
+ AND t1.relname = 'leads'
450780
+ AND t3.nspname = ANY (current_schemas(false))
450781
+ ORDER BY c.conname
450782
+
450783
+  (3.2ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
450784
+ FROM pg_constraint c
450785
+ JOIN pg_class t1 ON c.conrelid = t1.oid
450786
+ JOIN pg_class t2 ON c.confrelid = t2.oid
450787
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
450788
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
450789
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
450790
+ WHERE c.contype = 'f'
450791
+ AND t1.relname = 'rails_workflow_contexts'
450792
+ AND t3.nspname = ANY (current_schemas(false))
450793
+ ORDER BY c.conname
450794
+ 
450795
+  (2.0ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
450796
+ FROM pg_constraint c
450797
+ JOIN pg_class t1 ON c.conrelid = t1.oid
450798
+ JOIN pg_class t2 ON c.confrelid = t2.oid
450799
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
450800
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
450801
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
450802
+ WHERE c.contype = 'f'
450803
+ AND t1.relname = 'rails_workflow_errors'
450804
+ AND t3.nspname = ANY (current_schemas(false))
450805
+ ORDER BY c.conname
450806
+
450807
+  (2.0ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
450808
+ FROM pg_constraint c
450809
+ JOIN pg_class t1 ON c.conrelid = t1.oid
450810
+ JOIN pg_class t2 ON c.confrelid = t2.oid
450811
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
450812
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
450813
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
450814
+ WHERE c.contype = 'f'
450815
+ AND t1.relname = 'rails_workflow_operation_templates'
450816
+ AND t3.nspname = ANY (current_schemas(false))
450817
+ ORDER BY c.conname
450818
+ 
450819
+  (2.0ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
450820
+ FROM pg_constraint c
450821
+ JOIN pg_class t1 ON c.conrelid = t1.oid
450822
+ JOIN pg_class t2 ON c.confrelid = t2.oid
450823
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
450824
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
450825
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
450826
+ WHERE c.contype = 'f'
450827
+ AND t1.relname = 'rails_workflow_operations'
450828
+ AND t3.nspname = ANY (current_schemas(false))
450829
+ ORDER BY c.conname
450830
+
450831
+  (1.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
450832
+ FROM pg_constraint c
450833
+ JOIN pg_class t1 ON c.conrelid = t1.oid
450834
+ JOIN pg_class t2 ON c.confrelid = t2.oid
450835
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
450836
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
450837
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
450838
+ WHERE c.contype = 'f'
450839
+ AND t1.relname = 'rails_workflow_process_templates'
450840
+ AND t3.nspname = ANY (current_schemas(false))
450841
+ ORDER BY c.conname
450842
+ 
450843
+  (2.0ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
450844
+ FROM pg_constraint c
450845
+ JOIN pg_class t1 ON c.conrelid = t1.oid
450846
+ JOIN pg_class t2 ON c.confrelid = t2.oid
450847
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
450848
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
450849
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
450850
+ WHERE c.contype = 'f'
450851
+ AND t1.relname = 'rails_workflow_processes'
450852
+ AND t3.nspname = ANY (current_schemas(false))
450853
+ ORDER BY c.conname
450854
+
450855
+  (1.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
450856
+ FROM pg_constraint c
450857
+ JOIN pg_class t1 ON c.conrelid = t1.oid
450858
+ JOIN pg_class t2 ON c.confrelid = t2.oid
450859
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
450860
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
450861
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
450862
+ WHERE c.contype = 'f'
450863
+ AND t1.relname = 'sales_contacts'
450864
+ AND t3.nspname = ANY (current_schemas(false))
450865
+ ORDER BY c.conname
450866
+ 
450867
+  (2.4ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
450868
+ FROM pg_constraint c
450869
+ JOIN pg_class t1 ON c.conrelid = t1.oid
450870
+ JOIN pg_class t2 ON c.confrelid = t2.oid
450871
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
450872
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
450873
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
450874
+ WHERE c.contype = 'f'
450875
+ AND t1.relname = 'users'
450876
+ AND t3.nspname = ANY (current_schemas(false))
450877
+ ORDER BY c.conname
450878
+
450879
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
450880
+  (0.2ms) BEGIN
450881
+  (0.2ms) SAVEPOINT active_record_1
450882
+ SQL (24.2ms) INSERT INTO "rails_workflow_process_templates" ("title", "uuid", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "Process Template"], ["uuid", "b5c1441e-d799-1f07-cb0d-9bba1269dedf"], ["created_at", "2015-07-07 18:52:05.038596"], ["updated_at", "2015-07-07 18:52:05.038596"]]
450883
+  (0.3ms) RELEASE SAVEPOINT active_record_1
450884
+  (0.2ms) SAVEPOINT active_record_1
450885
+ SQL (14.5ms) INSERT INTO "rails_workflow_operation_templates" ("title", "process_template_id", "type", "uuid", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["title", "First Test project"], ["process_template_id", 1], ["type", "RailsWorkflow::OperationTemplate"], ["uuid", "e160f822-b9f2-cefd-d501-8076a611e40c"], ["created_at", "2015-07-07 18:52:05.082087"], ["updated_at", "2015-07-07 18:52:05.082087"]]
450886
+  (0.3ms) RELEASE SAVEPOINT active_record_1
450887
+ Processing by RailsWorkflow::OperationTemplatesController#index as HTML
450888
+ Parameters: {"process_template_id"=>"1"}
450889
+ RailsWorkflow::ProcessTemplate Load (0.5ms) SELECT "rails_workflow_process_templates".* FROM "rails_workflow_process_templates" WHERE "rails_workflow_process_templates"."id" = $1 LIMIT 1 [["id", 1]]
450890
+ Rendered /Users/maxim/workflow/rails_workflow/app/views/rails_workflow/operation_templates/index.html.slim within layouts/rails_workflow/application (0.3ms)
450891
+ Completed 200 OK in 38ms (Views: 11.8ms | ActiveRecord: 0.5ms)
450892
+ RailsWorkflow::OperationTemplate Load (0.5ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."process_template_id" = $1 ORDER BY "rails_workflow_operation_templates"."id" ASC [["process_template_id", 1]]
450893
+  (0.3ms) ROLLBACK
450894
+  (0.1ms) BEGIN
450895
+  (0.1ms) SAVEPOINT active_record_1
450896
+ SQL (0.4ms) INSERT INTO "rails_workflow_process_templates" ("title", "uuid", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "Process Template"], ["uuid", "952e070e-7307-d298-4cc6-5ec1bd7bc194"], ["created_at", "2015-07-07 18:52:05.151029"], ["updated_at", "2015-07-07 18:52:05.151029"]]
450897
+  (0.2ms) RELEASE SAVEPOINT active_record_1
450898
+  (0.2ms) SAVEPOINT active_record_1
450899
+ SQL (0.3ms) INSERT INTO "rails_workflow_operation_templates" ("title", "process_template_id", "type", "uuid", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["title", "First Test project"], ["process_template_id", 2], ["type", "RailsWorkflow::OperationTemplate"], ["uuid", "c6fee907-afb0-b8cd-e93b-4c1caa6efdd9"], ["created_at", "2015-07-07 18:52:05.153825"], ["updated_at", "2015-07-07 18:52:05.153825"]]
450900
+  (0.2ms) RELEASE SAVEPOINT active_record_1
450901
+ Processing by RailsWorkflow::OperationTemplatesController#show as HTML
450902
+ Parameters: {"process_template_id"=>"2", "id"=>"2"}
450903
+ RailsWorkflow::OperationTemplate Load (0.5ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."id" = $1 LIMIT 1 [["id", 2]]
450904
+ RailsWorkflow::ProcessTemplate Load (0.4ms) SELECT "rails_workflow_process_templates".* FROM "rails_workflow_process_templates" WHERE "rails_workflow_process_templates"."id" = $1 LIMIT 1 [["id", 2]]
450905
+ Rendered /Users/maxim/workflow/rails_workflow/app/views/rails_workflow/operation_templates/show.html.slim within layouts/rails_workflow/application (0.2ms)
450906
+ Completed 200 OK in 6ms (Views: 1.6ms | ActiveRecord: 0.8ms)
450907
+  (0.2ms) ROLLBACK
450908
+  (0.1ms) BEGIN
450909
+  (0.2ms) SAVEPOINT active_record_1
450910
+ SQL (0.3ms) INSERT INTO "rails_workflow_process_templates" ("title", "uuid", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "Process Template"], ["uuid", "3041d65b-d947-eefd-4250-b3db5b381111"], ["created_at", "2015-07-07 18:52:05.175178"], ["updated_at", "2015-07-07 18:52:05.175178"]]
450911
+  (0.2ms) RELEASE SAVEPOINT active_record_1
450912
+  (0.1ms) SAVEPOINT active_record_1
450913
+ SQL (0.2ms) INSERT INTO "rails_workflow_process_templates" ("title", "uuid", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "Process Template"], ["uuid", "32131f2c-1f8c-88fa-5e6a-d5edec5ea8cf"], ["created_at", "2015-07-07 18:52:05.178138"], ["updated_at", "2015-07-07 18:52:05.178138"]]
450914
+  (0.2ms) RELEASE SAVEPOINT active_record_1
450915
+ Processing by RailsWorkflow::OperationTemplatesController#new as HTML
450916
+ Parameters: {"process_template_id"=>"4"}
450917
+ RailsWorkflow::ProcessTemplate Load (0.4ms) SELECT "rails_workflow_process_templates".* FROM "rails_workflow_process_templates" WHERE "rails_workflow_process_templates"."id" = $1 LIMIT 1 [["id", 4]]
450918
+ Unpermitted parameter: process_template_id
450919
+ Rendered /Users/maxim/workflow/rails_workflow/app/views/rails_workflow/operation_templates/new.html.slim within layouts/rails_workflow/application (0.2ms)
450920
+ Completed 200 OK in 8ms (Views: 2.1ms | ActiveRecord: 0.4ms)
450921
+  (0.2ms) ROLLBACK
450922
+  (0.1ms) BEGIN
450923
+  (0.2ms) SAVEPOINT active_record_1
450924
+ SQL (0.2ms) INSERT INTO "rails_workflow_process_templates" ("title", "uuid", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "Process Template"], ["uuid", "cb5ae4e4-b6ff-9c8d-5652-03aa1d7f78eb"], ["created_at", "2015-07-07 18:52:05.195288"], ["updated_at", "2015-07-07 18:52:05.195288"]]
450925
+  (0.2ms) RELEASE SAVEPOINT active_record_1
450926
+  (0.1ms) SAVEPOINT active_record_1
450927
+ SQL (0.3ms) INSERT INTO "rails_workflow_operation_templates" ("title", "process_template_id", "type", "uuid", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["title", "First Test project"], ["process_template_id", 5], ["type", "RailsWorkflow::OperationTemplate"], ["uuid", "bd03f85b-9d95-3e4f-2744-b87ffa166c09"], ["created_at", "2015-07-07 18:52:05.197639"], ["updated_at", "2015-07-07 18:52:05.197639"]]
450928
+  (0.1ms) RELEASE SAVEPOINT active_record_1
450929
+ Processing by RailsWorkflow::OperationTemplatesController#edit as HTML
450930
+ Parameters: {"process_template_id"=>"5", "id"=>"3"}
450931
+ RailsWorkflow::OperationTemplate Load (0.4ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."id" = $1 LIMIT 1 [["id", 3]]
450932
+ RailsWorkflow::ProcessTemplate Load (0.3ms) SELECT "rails_workflow_process_templates".* FROM "rails_workflow_process_templates" WHERE "rails_workflow_process_templates"."id" = $1 LIMIT 1 [["id", 5]]
450933
+ Rendered /Users/maxim/workflow/rails_workflow/app/views/rails_workflow/operation_templates/edit.html.slim within layouts/rails_workflow/application (0.3ms)
450934
+ Completed 200 OK in 4ms (Views: 1.8ms | ActiveRecord: 0.6ms)
450935
+  (0.2ms) ROLLBACK
450936
+  (0.1ms) BEGIN
450937
+  (0.2ms) SAVEPOINT active_record_1
450938
+ SQL (0.3ms) INSERT INTO "rails_workflow_process_templates" ("title", "uuid", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "Process Template"], ["uuid", "04655a5a-df0d-31ee-5c6d-263e65ce356a"], ["created_at", "2015-07-07 18:52:05.218832"], ["updated_at", "2015-07-07 18:52:05.218832"]]
450939
+  (0.2ms) RELEASE SAVEPOINT active_record_1
450940
+  (0.3ms) SELECT COUNT(*) FROM "rails_workflow_operation_templates"
450941
+ Processing by RailsWorkflow::OperationTemplatesController#create as HTML
450942
+ Parameters: {"operation_template"=>{"title"=>"First Test project", "process_template_id"=>"6", "type"=>"RailsWorkflow::OperationTemplate"}, "process_template_id"=>"6"}
450943
+ RailsWorkflow::ProcessTemplate Load (0.4ms) SELECT "rails_workflow_process_templates".* FROM "rails_workflow_process_templates" WHERE "rails_workflow_process_templates"."id" = $1 LIMIT 1 [["id", 6]]
450944
+ Unpermitted parameter: process_template_id
450945
+ Unpermitted parameter: process_template_id
450946
+  (0.2ms) SAVEPOINT active_record_1
450947
+ SQL (0.3ms) INSERT INTO "rails_workflow_operation_templates" ("type", "title", "process_template_id", "uuid", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["type", "RailsWorkflow::OperationTemplate"], ["title", "First Test project"], ["process_template_id", 6], ["uuid", "41221924-2920-acc9-4ebd-f8a624955b53"], ["created_at", "2015-07-07 18:52:05.232632"], ["updated_at", "2015-07-07 18:52:05.232632"]]
450948
+  (0.2ms) RELEASE SAVEPOINT active_record_1
450949
+ Redirected to http://test.host/workflow/config/6/operation_templates
450950
+ Completed 302 Found in 10ms (ActiveRecord: 1.0ms)
450951
+  (0.3ms) SELECT COUNT(*) FROM "rails_workflow_operation_templates"
450952
+  (0.3ms) SELECT COUNT(*) FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."process_template_id" = $1 [["process_template_id", 6]]
450953
+  (0.2ms) ROLLBACK
450954
+  (0.1ms) BEGIN
450955
+  (0.2ms) SAVEPOINT active_record_1
450956
+ SQL (0.2ms) INSERT INTO "rails_workflow_process_templates" ("title", "uuid", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "Process Template"], ["uuid", "a2153700-7672-3e79-15b0-8d3cb8753ce4"], ["created_at", "2015-07-07 18:52:05.244214"], ["updated_at", "2015-07-07 18:52:05.244214"]]
450957
+  (0.2ms) RELEASE SAVEPOINT active_record_1
450958
+  (0.3ms) SELECT COUNT(*) FROM "rails_workflow_operation_templates"
450959
+ Processing by RailsWorkflow::OperationTemplatesController#create as HTML
450960
+ Parameters: {"operation_template"=>{"title"=>"First Test project", "process_template_id"=>"7", "type"=>"RailsWorkflow::CustomOperationTemplate"}, "process_template_id"=>"7"}
450961
+ RailsWorkflow::ProcessTemplate Load (0.3ms) SELECT "rails_workflow_process_templates".* FROM "rails_workflow_process_templates" WHERE "rails_workflow_process_templates"."id" = $1 LIMIT 1 [["id", 7]]
450962
+ Unpermitted parameter: process_template_id
450963
+ Unpermitted parameter: process_template_id
450964
+  (0.2ms) SAVEPOINT active_record_1
450965
+ SQL (0.3ms) INSERT INTO "rails_workflow_operation_templates" ("type", "title", "process_template_id", "uuid", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["type", "RailsWorkflow::CustomOperationTemplate"], ["title", "First Test project"], ["process_template_id", 7], ["uuid", "ac9664c1-bbd0-ef24-4c97-67559dd97635"], ["created_at", "2015-07-07 18:52:05.304059"], ["updated_at", "2015-07-07 18:52:05.304059"]]
450966
+  (0.1ms) RELEASE SAVEPOINT active_record_1
450967
+ Redirected to http://test.host/workflow/config/7/operation_templates
450968
+ Completed 302 Found in 55ms (ActiveRecord: 0.9ms)
450969
+  (0.4ms) SELECT COUNT(*) FROM "rails_workflow_operation_templates"
450970
+ RailsWorkflow::OperationTemplate Load (0.4ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" ORDER BY "rails_workflow_operation_templates"."id" DESC LIMIT 1
450971
+  (0.2ms) ROLLBACK
450972
+  (0.1ms) BEGIN
450973
+  (0.2ms) SAVEPOINT active_record_1
450974
+ SQL (0.2ms) INSERT INTO "rails_workflow_process_templates" ("title", "uuid", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "Process Template"], ["uuid", "2145264c-724d-4a92-8c07-e204ef5d8aaf"], ["created_at", "2015-07-07 18:52:05.314719"], ["updated_at", "2015-07-07 18:52:05.314719"]]
450975
+  (0.1ms) RELEASE SAVEPOINT active_record_1
450976
+ Processing by RailsWorkflow::OperationTemplatesController#create as HTML
450977
+ Parameters: {"operation_template"=>{"title"=>"First Test project", "process_template_id"=>"8", "type"=>"RailsWorkflow::OperationTemplate"}, "process_template_id"=>"8"}
450978
+ RailsWorkflow::ProcessTemplate Load (0.3ms) SELECT "rails_workflow_process_templates".* FROM "rails_workflow_process_templates" WHERE "rails_workflow_process_templates"."id" = $1 LIMIT 1 [["id", 8]]
450979
+ Unpermitted parameter: process_template_id
450980
+ Unpermitted parameter: process_template_id
450981
+  (0.2ms) SAVEPOINT active_record_1
450982
+ SQL (0.3ms) INSERT INTO "rails_workflow_operation_templates" ("type", "title", "process_template_id", "uuid", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["type", "RailsWorkflow::OperationTemplate"], ["title", "First Test project"], ["process_template_id", 8], ["uuid", "8f78c08c-5127-6bf6-1321-aa591c5a3eb7"], ["created_at", "2015-07-07 18:52:05.323963"], ["updated_at", "2015-07-07 18:52:05.323963"]]
450983
+  (0.1ms) RELEASE SAVEPOINT active_record_1
450984
+ Redirected to http://test.host/workflow/config/8/operation_templates
450985
+ Completed 302 Found in 9ms (ActiveRecord: 0.9ms)
450986
+  (0.1ms) ROLLBACK
450987
+  (0.1ms) BEGIN
450988
+  (0.1ms) SAVEPOINT active_record_1
450989
+ SQL (0.2ms) INSERT INTO "rails_workflow_process_templates" ("title", "uuid", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "Process Template"], ["uuid", "99c7a29a-bd78-0a40-c74f-7c4fcf68fb35"], ["created_at", "2015-07-07 18:52:05.331267"], ["updated_at", "2015-07-07 18:52:05.331267"]]
450990
+  (0.2ms) RELEASE SAVEPOINT active_record_1
450991
+ Processing by RailsWorkflow::OperationTemplatesController#create as HTML
450992
+ Parameters: {"operation_template"=>{"title"=>"First Test project", "process_template_id"=>"9", "type"=>"RailsWorkflow::OperationTemplate"}, "process_template_id"=>"9"}
450993
+ RailsWorkflow::ProcessTemplate Load (0.3ms) SELECT "rails_workflow_process_templates".* FROM "rails_workflow_process_templates" WHERE "rails_workflow_process_templates"."id" = $1 LIMIT 1 [["id", 9]]
450994
+ Unpermitted parameter: process_template_id
450995
+ Unpermitted parameter: process_template_id
450996
+  (0.2ms) SAVEPOINT active_record_1
450997
+ SQL (0.2ms) INSERT INTO "rails_workflow_operation_templates" ("type", "title", "process_template_id", "uuid", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["type", "RailsWorkflow::OperationTemplate"], ["title", "First Test project"], ["process_template_id", 9], ["uuid", "d8253244-32c3-5f50-667d-c6a0a6c5b4f7"], ["created_at", "2015-07-07 18:52:05.340364"], ["updated_at", "2015-07-07 18:52:05.340364"]]
450998
+  (0.1ms) RELEASE SAVEPOINT active_record_1
450999
+ Redirected to http://test.host/workflow/config/9/operation_templates
451000
+ Completed 302 Found in 8ms (ActiveRecord: 0.8ms)
451001
+  (0.2ms) ROLLBACK
451002
+  (0.1ms) BEGIN
451003
+  (0.1ms) SAVEPOINT active_record_1
451004
+ SQL (0.2ms) INSERT INTO "rails_workflow_process_templates" ("title", "uuid", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "Process Template"], ["uuid", "7f5aba9e-ebc5-a621-9e9e-fd54370e6dac"], ["created_at", "2015-07-07 18:52:05.350901"], ["updated_at", "2015-07-07 18:52:05.350901"]]
451005
+  (0.1ms) RELEASE SAVEPOINT active_record_1
451006
+  (0.2ms) ROLLBACK
451007
+  (0.1ms) BEGIN
451008
+  (0.1ms) SAVEPOINT active_record_1
451009
+ SQL (0.2ms) INSERT INTO "rails_workflow_process_templates" ("title", "uuid", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "Process Template"], ["uuid", "3cf499f7-9240-a6b7-2b63-d4ee9b5fd479"], ["created_at", "2015-07-07 18:52:05.354714"], ["updated_at", "2015-07-07 18:52:05.354714"]]
451010
+  (0.1ms) RELEASE SAVEPOINT active_record_1
451011
+  (0.1ms) ROLLBACK
451012
+  (0.1ms) BEGIN
451013
+  (0.1ms) SAVEPOINT active_record_1
451014
+ SQL (0.2ms) INSERT INTO "rails_workflow_process_templates" ("title", "uuid", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "Process Template"], ["uuid", "2523556b-dd70-6455-06ab-de1ffa123ca4"], ["created_at", "2015-07-07 18:52:05.358178"], ["updated_at", "2015-07-07 18:52:05.358178"]]
451015
+  (0.1ms) RELEASE SAVEPOINT active_record_1
451016
+  (0.1ms) SAVEPOINT active_record_1
451017
+ SQL (0.2ms) INSERT INTO "rails_workflow_operation_templates" ("title", "process_template_id", "type", "uuid", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["title", "First Test project"], ["process_template_id", 12], ["type", "RailsWorkflow::OperationTemplate"], ["uuid", "f8a3d2eb-5c16-9d36-1a16-7de6f69bfaf8"], ["created_at", "2015-07-07 18:52:05.360301"], ["updated_at", "2015-07-07 18:52:05.360301"]]
451018
+  (0.1ms) RELEASE SAVEPOINT active_record_1
451019
+  (0.1ms) ROLLBACK
451020
+  (0.1ms) BEGIN
451021
+  (0.1ms) SAVEPOINT active_record_1
451022
+ SQL (0.2ms) INSERT INTO "rails_workflow_process_templates" ("title", "uuid", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "Process Template"], ["uuid", "a42c4793-fd40-82d3-2001-9dd0784d757b"], ["created_at", "2015-07-07 18:52:05.363862"], ["updated_at", "2015-07-07 18:52:05.363862"]]
451023
+  (0.1ms) RELEASE SAVEPOINT active_record_1
451024
+  (0.1ms) SAVEPOINT active_record_1
451025
+ SQL (0.3ms) INSERT INTO "rails_workflow_operation_templates" ("title", "process_template_id", "type", "uuid", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["title", "First Test project"], ["process_template_id", 13], ["type", "RailsWorkflow::OperationTemplate"], ["uuid", "665ecb9d-d1b5-b4e1-adbf-b47b04b9c94b"], ["created_at", "2015-07-07 18:52:05.366590"], ["updated_at", "2015-07-07 18:52:05.366590"]]
451026
+  (0.5ms) RELEASE SAVEPOINT active_record_1
451027
+ Processing by RailsWorkflow::OperationTemplatesController#update as HTML
451028
+ Parameters: {"operation_template"=>{"title"=>"First Test project", "process_template_id"=>"13", "type"=>"RailsWorkflow::OperationTemplate"}, "process_template_id"=>"13", "id"=>"9"}
451029
+ RailsWorkflow::OperationTemplate Load (0.3ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."id" = $1 LIMIT 1 [["id", 9]]
451030
+ RailsWorkflow::ProcessTemplate Load (0.2ms) SELECT "rails_workflow_process_templates".* FROM "rails_workflow_process_templates" WHERE "rails_workflow_process_templates"."id" = $1 LIMIT 1 [["id", 13]]
451031
+ Unpermitted parameter: process_template_id
451032
+ Unpermitted parameters: process_template_id, id
451033
+  (0.1ms) SAVEPOINT active_record_1
451034
+  (0.1ms) RELEASE SAVEPOINT active_record_1
451035
+ Redirected to http://test.host/workflow/config/13/operation_templates
451036
+ Completed 302 Found in 7ms (ActiveRecord: 0.8ms)
451037
+  (0.2ms) ROLLBACK
451038
+  (0.1ms) BEGIN
451039
+  (0.1ms) SAVEPOINT active_record_1
451040
+ SQL (0.2ms) INSERT INTO "rails_workflow_process_templates" ("title", "uuid", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "Process Template"], ["uuid", "af1dd3fe-b02c-1317-ce8e-34d0c106cac7"], ["created_at", "2015-07-07 18:52:05.383725"], ["updated_at", "2015-07-07 18:52:05.383725"]]
451041
+  (0.2ms) RELEASE SAVEPOINT active_record_1
451042
+  (0.2ms) SAVEPOINT active_record_1
451043
+ SQL (0.2ms) INSERT INTO "rails_workflow_operation_templates" ("title", "process_template_id", "type", "uuid", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["title", "First Test project"], ["process_template_id", 14], ["type", "RailsWorkflow::OperationTemplate"], ["uuid", "a95ef622-d87b-7b08-0e43-800baeb9ca19"], ["created_at", "2015-07-07 18:52:05.386352"], ["updated_at", "2015-07-07 18:52:05.386352"]]
451044
+  (0.1ms) RELEASE SAVEPOINT active_record_1
451045
+ Processing by RailsWorkflow::OperationTemplatesController#update as HTML
451046
+ Parameters: {"operation_template"=>{"title"=>"First Test project", "process_template_id"=>"14", "type"=>"RailsWorkflow::OperationTemplate"}, "process_template_id"=>"14", "id"=>"10"}
451047
+ RailsWorkflow::OperationTemplate Load (0.4ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."id" = $1 LIMIT 1 [["id", 10]]
451048
+ RailsWorkflow::ProcessTemplate Load (0.2ms) SELECT "rails_workflow_process_templates".* FROM "rails_workflow_process_templates" WHERE "rails_workflow_process_templates"."id" = $1 LIMIT 1 [["id", 14]]
451049
+ Unpermitted parameter: process_template_id
451050
+ Unpermitted parameters: process_template_id, id
451051
+  (0.2ms) SAVEPOINT active_record_1
451052
+  (0.1ms) RELEASE SAVEPOINT active_record_1
451053
+ Redirected to http://test.host/workflow/config/14/operation_templates
451054
+ Completed 302 Found in 7ms (ActiveRecord: 0.9ms)
451055
+  (0.2ms) ROLLBACK
451056
+  (0.1ms) BEGIN
451057
+  (0.2ms) SAVEPOINT active_record_1
451058
+ SQL (0.3ms) INSERT INTO "rails_workflow_process_templates" ("title", "uuid", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "Process Template"], ["uuid", "dd13dcbd-5309-792b-cef2-b450481d161b"], ["created_at", "2015-07-07 18:52:05.405129"], ["updated_at", "2015-07-07 18:52:05.405129"]]
451059
+  (0.1ms) RELEASE SAVEPOINT active_record_1
451060
+  (0.2ms) SAVEPOINT active_record_1
451061
+ SQL (0.2ms) INSERT INTO "rails_workflow_operation_templates" ("title", "process_template_id", "type", "uuid", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["title", "First Test project"], ["process_template_id", 15], ["type", "RailsWorkflow::OperationTemplate"], ["uuid", "f5dcf5e3-8944-4d1d-a84d-cf799ef622fa"], ["created_at", "2015-07-07 18:52:05.407799"], ["updated_at", "2015-07-07 18:52:05.407799"]]
451062
+  (0.2ms) RELEASE SAVEPOINT active_record_1
451063
+  (0.1ms) ROLLBACK
451064
+  (0.2ms) BEGIN
451065
+  (0.2ms) SAVEPOINT active_record_1
451066
+ SQL (0.2ms) INSERT INTO "rails_workflow_process_templates" ("title", "uuid", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "Process Template"], ["uuid", "36134197-e039-4c70-8d32-700a53deab97"], ["created_at", "2015-07-07 18:52:05.411722"], ["updated_at", "2015-07-07 18:52:05.411722"]]
451067
+  (0.2ms) RELEASE SAVEPOINT active_record_1
451068
+  (0.1ms) SAVEPOINT active_record_1
451069
+ SQL (0.3ms) INSERT INTO "rails_workflow_operation_templates" ("title", "process_template_id", "type", "uuid", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["title", "First Test project"], ["process_template_id", 16], ["type", "RailsWorkflow::OperationTemplate"], ["uuid", "134f1f8c-57e2-b731-fe82-12147019c117"], ["created_at", "2015-07-07 18:52:05.414102"], ["updated_at", "2015-07-07 18:52:05.414102"]]
451070
+  (0.1ms) RELEASE SAVEPOINT active_record_1
451071
+  (0.3ms) ROLLBACK
451072
+  (0.2ms) BEGIN
451073
+  (0.3ms) SAVEPOINT active_record_1
451074
+ SQL (0.3ms) INSERT INTO "rails_workflow_process_templates" ("title", "uuid", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "Process Template"], ["uuid", "d677eed5-7a0e-432e-e336-35e406c7cd2f"], ["created_at", "2015-07-07 18:52:05.419693"], ["updated_at", "2015-07-07 18:52:05.419693"]]
451075
+  (0.2ms) RELEASE SAVEPOINT active_record_1
451076
+  (0.1ms) SAVEPOINT active_record_1
451077
+ SQL (0.2ms) INSERT INTO "rails_workflow_operation_templates" ("title", "process_template_id", "type", "uuid", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["title", "First Test project"], ["process_template_id", 17], ["type", "RailsWorkflow::OperationTemplate"], ["uuid", "842c27cd-60c7-0fe6-c6e9-4dfcdbee60d9"], ["created_at", "2015-07-07 18:52:05.422361"], ["updated_at", "2015-07-07 18:52:05.422361"]]
451078
+  (0.2ms) RELEASE SAVEPOINT active_record_1
451079
+  (0.2ms) SELECT COUNT(*) FROM "rails_workflow_operation_templates"
451080
+ RailsWorkflow::ProcessTemplate Load (0.3ms) SELECT "rails_workflow_process_templates".* FROM "rails_workflow_process_templates" WHERE "rails_workflow_process_templates"."id" = $1 LIMIT 1 [["id", 17]]
451081
+ Processing by RailsWorkflow::OperationTemplatesController#destroy as HTML
451082
+ Parameters: {"process_template_id"=>"17", "id"=>"13"}
451083
+ RailsWorkflow::OperationTemplate Load (0.4ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."id" = $1 LIMIT 1 [["id", 13]]
451084
+ RailsWorkflow::ProcessTemplate Load (0.2ms) SELECT "rails_workflow_process_templates".* FROM "rails_workflow_process_templates" WHERE "rails_workflow_process_templates"."id" = $1 LIMIT 1 [["id", 17]]
451085
+  (0.2ms) SAVEPOINT active_record_1
451086
+ SQL (0.2ms) DELETE FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."id" = $1 [["id", 13]]
451087
+  (0.2ms) RELEASE SAVEPOINT active_record_1
451088
+ Redirected to http://test.host/workflow/config/17/operation_templates
451089
+ Completed 302 Found in 7ms (ActiveRecord: 1.2ms)
451090
+  (0.3ms) SELECT COUNT(*) FROM "rails_workflow_operation_templates"
451091
+  (0.2ms) ROLLBACK
451092
+  (0.2ms) BEGIN
451093
+  (0.2ms) SAVEPOINT active_record_1
451094
+ SQL (0.2ms) INSERT INTO "rails_workflow_process_templates" ("title", "uuid", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "Process Template"], ["uuid", "b1cb5987-6755-3c1e-3d59-9764053947f7"], ["created_at", "2015-07-07 18:52:05.441734"], ["updated_at", "2015-07-07 18:52:05.441734"]]
451095
+  (0.1ms) RELEASE SAVEPOINT active_record_1
451096
+  (0.1ms) SAVEPOINT active_record_1
451097
+ SQL (0.2ms) INSERT INTO "rails_workflow_operation_templates" ("title", "process_template_id", "type", "uuid", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["title", "First Test project"], ["process_template_id", 18], ["type", "RailsWorkflow::OperationTemplate"], ["uuid", "f0ab8a48-bd40-4297-783d-c9cf792390f1"], ["created_at", "2015-07-07 18:52:05.444075"], ["updated_at", "2015-07-07 18:52:05.444075"]]
451098
+  (0.2ms) RELEASE SAVEPOINT active_record_1
451099
+ Processing by RailsWorkflow::OperationTemplatesController#destroy as HTML
451100
+ Parameters: {"process_template_id"=>"18", "id"=>"14"}
451101
+ RailsWorkflow::OperationTemplate Load (0.3ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."id" = $1 LIMIT 1 [["id", 14]]
451102
+ RailsWorkflow::ProcessTemplate Load (0.2ms) SELECT "rails_workflow_process_templates".* FROM "rails_workflow_process_templates" WHERE "rails_workflow_process_templates"."id" = $1 LIMIT 1 [["id", 18]]
451103
+  (0.2ms) SAVEPOINT active_record_1
451104
+ SQL (0.3ms) DELETE FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."id" = $1 [["id", 14]]
451105
+  (0.2ms) RELEASE SAVEPOINT active_record_1
451106
+ Redirected to http://test.host/workflow/config/18/operation_templates
451107
+ Completed 302 Found in 7ms (ActiveRecord: 1.2ms)
451108
+  (0.3ms) ROLLBACK
451109
+  (0.1ms) BEGIN
451110
+  (0.1ms) ROLLBACK
451111
+  (0.1ms) BEGIN
451112
+  (0.1ms) ROLLBACK
451113
+  (0.1ms) BEGIN
451114
+  (0.1ms) ROLLBACK
451115
+  (0.1ms) BEGIN
451116
+  (1.5ms) SELECT COUNT(*) FROM "rails_workflow_operations"
451117
+  (0.1ms) ROLLBACK
451118
+  (0.1ms) BEGIN
451119
+  (0.1ms) ROLLBACK
451120
+  (0.1ms) BEGIN
451121
+  (0.1ms) ROLLBACK
451122
+  (0.1ms) BEGIN
451123
+  (0.3ms) ROLLBACK
451124
+  (0.1ms) BEGIN
451125
+  (0.2ms) ROLLBACK
451126
+  (0.1ms) BEGIN
451127
+  (0.1ms) ROLLBACK
451128
+  (0.2ms) BEGIN
451129
+  (0.2ms) ROLLBACK
451130
+  (0.1ms) BEGIN
451131
+  (0.2ms) ROLLBACK
451132
+  (0.2ms) BEGIN
451133
+  (0.1ms) ROLLBACK
451134
+  (0.2ms) BEGIN
451135
+  (0.1ms) ROLLBACK
451136
+  (0.1ms) BEGIN
451137
+  (0.2ms) ROLLBACK
451138
+  (0.1ms) BEGIN
451139
+  (0.1ms) ROLLBACK
451140
+  (0.1ms) BEGIN
451141
+  (0.2ms) SAVEPOINT active_record_1
451142
+ SQL (0.2ms) INSERT INTO "rails_workflow_process_templates" ("title", "uuid", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "First Test project"], ["uuid", "1b29acb0-b9df-213c-f3dd-a959c7d55425"], ["created_at", "2015-07-07 18:52:05.485984"], ["updated_at", "2015-07-07 18:52:05.485984"]]
451143
+  (0.2ms) RELEASE SAVEPOINT active_record_1
451144
+ Processing by RailsWorkflow::ProcessTemplatesController#index as HTML
451145
+ Rendered /Users/maxim/workflow/rails_workflow/app/views/rails_workflow/process_templates/index.html.slim within layouts/rails_workflow/application (0.2ms)
451146
+ Completed 200 OK in 5ms (Views: 4.3ms | ActiveRecord: 0.0ms)
451147
+ RailsWorkflow::ProcessTemplate Load (0.4ms) SELECT "rails_workflow_process_templates".* FROM "rails_workflow_process_templates" ORDER BY "rails_workflow_process_templates"."id" DESC
451148
+  (0.2ms) ROLLBACK
451149
+  (0.1ms) BEGIN
451150
+  (0.1ms) SAVEPOINT active_record_1
451151
+ SQL (0.2ms) INSERT INTO "rails_workflow_process_templates" ("title", "uuid", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "First Test project"], ["uuid", "49d94f05-2afc-d9b5-c467-b1be4f3244b8"], ["created_at", "2015-07-07 18:52:05.500481"], ["updated_at", "2015-07-07 18:52:05.500481"]]
451152
+  (0.2ms) RELEASE SAVEPOINT active_record_1
451153
+ Processing by RailsWorkflow::ProcessTemplatesController#show as HTML
451154
+ Parameters: {"id"=>"20"}
451155
+ RailsWorkflow::ProcessTemplate Load (0.3ms) SELECT "rails_workflow_process_templates".* FROM "rails_workflow_process_templates" WHERE "rails_workflow_process_templates"."id" = $1 LIMIT 1 [["id", 20]]
451156
+ Rendered /Users/maxim/workflow/rails_workflow/app/views/rails_workflow/process_templates/show.html.slim within layouts/rails_workflow/application (0.2ms)
451157
+ Completed 200 OK in 3ms (Views: 1.5ms | ActiveRecord: 0.3ms)
451158
+  (0.2ms) ROLLBACK
451159
+  (0.1ms) BEGIN
451160
+ Processing by RailsWorkflow::ProcessTemplatesController#new as HTML
451161
+ Rendered /Users/maxim/workflow/rails_workflow/app/views/rails_workflow/process_templates/new.html.slim within layouts/rails_workflow/application (0.3ms)
451162
+ Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.0ms)
451163
+  (0.2ms) ROLLBACK
451164
+  (0.2ms) BEGIN
451165
+  (0.2ms) SAVEPOINT active_record_1
451166
+ SQL (0.2ms) INSERT INTO "rails_workflow_process_templates" ("title", "uuid", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "First Test project"], ["uuid", "ab6cce1d-e3c0-156e-d696-b02e3c7a5f79"], ["created_at", "2015-07-07 18:52:05.526473"], ["updated_at", "2015-07-07 18:52:05.526473"]]
451167
+  (0.1ms) RELEASE SAVEPOINT active_record_1
451168
+ Processing by RailsWorkflow::ProcessTemplatesController#edit as HTML
451169
+ Parameters: {"id"=>"21"}
451170
+ RailsWorkflow::ProcessTemplate Load (0.2ms) SELECT "rails_workflow_process_templates".* FROM "rails_workflow_process_templates" WHERE "rails_workflow_process_templates"."id" = $1 LIMIT 1 [["id", 21]]
451171
+ Rendered /Users/maxim/workflow/rails_workflow/app/views/rails_workflow/process_templates/edit.html.slim within layouts/rails_workflow/application (0.2ms)
451172
+ Completed 200 OK in 3ms (Views: 1.5ms | ActiveRecord: 0.2ms)
451173
+  (0.2ms) ROLLBACK
451174
+  (0.1ms) BEGIN
451175
+  (0.3ms) SELECT COUNT(*) FROM "rails_workflow_process_templates"
451176
+ Processing by RailsWorkflow::ProcessTemplatesController#create as HTML
451177
+ Parameters: {"process_template"=>{"title"=>"First Test project"}}
451178
+  (0.2ms) SAVEPOINT active_record_1
451179
+ SQL (0.2ms) INSERT INTO "rails_workflow_process_templates" ("title", "uuid", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "First Test project"], ["uuid", "7e1d5784-9cd3-a4f7-942e-cceb2b6cfec0"], ["created_at", "2015-07-07 18:52:05.547851"], ["updated_at", "2015-07-07 18:52:05.547851"]]
451180
+  (0.1ms) RELEASE SAVEPOINT active_record_1
451181
+ Redirected to http://test.host/workflow/config/22/operation_templates
451182
+ Completed 302 Found in 5ms (ActiveRecord: 0.5ms)
451183
+  (0.3ms) SELECT COUNT(*) FROM "rails_workflow_process_templates"
451184
+  (0.2ms) ROLLBACK
451185
+  (0.1ms) BEGIN
451186
+ Processing by RailsWorkflow::ProcessTemplatesController#create as HTML
451187
+ Parameters: {"process_template"=>{"title"=>"First Test project"}}
451188
+  (0.2ms) SAVEPOINT active_record_1
451189
+ SQL (0.2ms) INSERT INTO "rails_workflow_process_templates" ("title", "uuid", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "First Test project"], ["uuid", "64461535-a5e9-5cb8-68af-079b49dd6861"], ["created_at", "2015-07-07 18:52:05.559419"], ["updated_at", "2015-07-07 18:52:05.559419"]]
451190
+  (0.1ms) RELEASE SAVEPOINT active_record_1
451191
+ Redirected to http://test.host/workflow/config/23/operation_templates
451192
+ Completed 302 Found in 5ms (ActiveRecord: 0.6ms)
451193
+  (0.2ms) ROLLBACK
451194
+  (0.1ms) BEGIN
451195
+ Processing by RailsWorkflow::ProcessTemplatesController#create as HTML
451196
+ Parameters: {"process_template"=>{"title"=>"First Test project"}}
451197
+  (0.2ms) SAVEPOINT active_record_1
451198
+ SQL (0.3ms) INSERT INTO "rails_workflow_process_templates" ("title", "uuid", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "First Test project"], ["uuid", "b1495fb7-efbc-bb19-d8c7-b209438e24eb"], ["created_at", "2015-07-07 18:52:05.572893"], ["updated_at", "2015-07-07 18:52:05.572893"]]
451199
+  (0.2ms) RELEASE SAVEPOINT active_record_1
451200
+ Redirected to http://test.host/workflow/config/24/operation_templates
451201
+ Completed 302 Found in 6ms (ActiveRecord: 0.7ms)
451202
+ RailsWorkflow::ProcessTemplate Load (0.4ms) SELECT "rails_workflow_process_templates".* FROM "rails_workflow_process_templates" ORDER BY "rails_workflow_process_templates"."id" DESC LIMIT 1
451203
+  (0.2ms) ROLLBACK
451204
+  (0.2ms) BEGIN
451205
+  (0.2ms) ROLLBACK
451206
+  (0.2ms) BEGIN
451207
+  (0.1ms) ROLLBACK
451208
+  (0.1ms) BEGIN
451209
+  (0.1ms) SAVEPOINT active_record_1
451210
+ SQL (0.2ms) INSERT INTO "rails_workflow_process_templates" ("title", "uuid", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "First Test project"], ["uuid", "ad1eb325-2d56-713b-0271-62369fd09e64"], ["created_at", "2015-07-07 18:52:05.586963"], ["updated_at", "2015-07-07 18:52:05.586963"]]
451211
+  (0.1ms) RELEASE SAVEPOINT active_record_1
451212
+  (0.2ms) ROLLBACK
451213
+  (0.2ms) BEGIN
451214
+  (0.1ms) SAVEPOINT active_record_1
451215
+ SQL (0.2ms) INSERT INTO "rails_workflow_process_templates" ("title", "uuid", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "First Test project"], ["uuid", "2b1bd0d2-6f17-d527-2355-dd58c356c7b8"], ["created_at", "2015-07-07 18:52:05.590951"], ["updated_at", "2015-07-07 18:52:05.590951"]]
451216
+  (0.1ms) RELEASE SAVEPOINT active_record_1
451217
+ Processing by RailsWorkflow::ProcessTemplatesController#update as HTML
451218
+ Parameters: {"process_template"=>{"title"=>"First Test project"}, "id"=>"26"}
451219
+ RailsWorkflow::ProcessTemplate Load (0.2ms) SELECT "rails_workflow_process_templates".* FROM "rails_workflow_process_templates" WHERE "rails_workflow_process_templates"."id" = $1 LIMIT 1 [["id", 26]]
451220
+ Unpermitted parameter: id
451221
+  (0.2ms) SAVEPOINT active_record_1
451222
+  (0.1ms) RELEASE SAVEPOINT active_record_1
451223
+ Redirected to http://test.host/workflow/config/26
451224
+ Completed 302 Found in 5ms (ActiveRecord: 0.5ms)
451225
+  (0.2ms) ROLLBACK
451226
+  (0.1ms) BEGIN
451227
+  (0.1ms) SAVEPOINT active_record_1
451228
+ SQL (0.2ms) INSERT INTO "rails_workflow_process_templates" ("title", "uuid", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "First Test project"], ["uuid", "750782a9-809e-836a-7bb3-a251acbd734a"], ["created_at", "2015-07-07 18:52:05.604188"], ["updated_at", "2015-07-07 18:52:05.604188"]]
451229
+  (0.2ms) RELEASE SAVEPOINT active_record_1
451230
+ Processing by RailsWorkflow::ProcessTemplatesController#update as HTML
451231
+ Parameters: {"process_template"=>{"title"=>"First Test project"}, "id"=>"27"}
451232
+ RailsWorkflow::ProcessTemplate Load (0.2ms) SELECT "rails_workflow_process_templates".* FROM "rails_workflow_process_templates" WHERE "rails_workflow_process_templates"."id" = $1 LIMIT 1 [["id", 27]]
451233
+ Unpermitted parameter: id
451234
+  (0.2ms) SAVEPOINT active_record_1
451235
+  (0.1ms) RELEASE SAVEPOINT active_record_1
451236
+ Redirected to http://test.host/workflow/config/27
451237
+ Completed 302 Found in 6ms (ActiveRecord: 0.5ms)
451238
+  (0.3ms) ROLLBACK
451239
+  (0.2ms) BEGIN
451240
+  (0.2ms) SAVEPOINT active_record_1
451241
+ SQL (0.3ms) INSERT INTO "rails_workflow_process_templates" ("title", "uuid", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "First Test project"], ["uuid", "9997be11-efaa-29ca-22e1-b63ebaf8c692"], ["created_at", "2015-07-07 18:52:05.622626"], ["updated_at", "2015-07-07 18:52:05.622626"]]
451242
+  (0.2ms) RELEASE SAVEPOINT active_record_1
451243
+  (0.2ms) ROLLBACK
451244
+  (0.1ms) BEGIN
451245
+  (0.1ms) SAVEPOINT active_record_1
451246
+ SQL (0.2ms) INSERT INTO "rails_workflow_process_templates" ("title", "uuid", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "First Test project"], ["uuid", "7bfe1a42-f038-62d6-019a-8aa7c453d9ae"], ["created_at", "2015-07-07 18:52:05.626809"], ["updated_at", "2015-07-07 18:52:05.626809"]]
451247
+  (0.1ms) RELEASE SAVEPOINT active_record_1
451248
+  (0.1ms) ROLLBACK
451249
+  (0.2ms) BEGIN
451250
+  (0.2ms) SAVEPOINT active_record_1
451251
+ SQL (0.2ms) INSERT INTO "rails_workflow_process_templates" ("title", "uuid", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "First Test project"], ["uuid", "a60168bd-450b-9d50-ab98-cf6b8f18dc56"], ["created_at", "2015-07-07 18:52:05.630535"], ["updated_at", "2015-07-07 18:52:05.630535"]]
451252
+  (0.1ms) RELEASE SAVEPOINT active_record_1
451253
+  (0.3ms) SELECT COUNT(*) FROM "rails_workflow_process_templates"
451254
+ Processing by RailsWorkflow::ProcessTemplatesController#destroy as HTML
451255
+ Parameters: {"id"=>"30"}
451256
+ RailsWorkflow::ProcessTemplate Load (0.2ms) SELECT "rails_workflow_process_templates".* FROM "rails_workflow_process_templates" WHERE "rails_workflow_process_templates"."id" = $1 LIMIT 1 [["id", 30]]
451257
+  (0.2ms) SAVEPOINT active_record_1
451258
+ SQL (0.3ms) DELETE FROM "rails_workflow_process_templates" WHERE "rails_workflow_process_templates"."id" = $1 [["id", 30]]
451259
+  (0.1ms) RELEASE SAVEPOINT active_record_1
451260
+ Redirected to http://test.host/workflow/config
451261
+ Completed 302 Found in 5ms (ActiveRecord: 0.9ms)
451262
+  (0.3ms) SELECT COUNT(*) FROM "rails_workflow_process_templates"
451263
+  (0.2ms) ROLLBACK
451264
+  (0.1ms) BEGIN
451265
+  (0.1ms) SAVEPOINT active_record_1
451266
+ SQL (0.3ms) INSERT INTO "rails_workflow_process_templates" ("title", "uuid", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "First Test project"], ["uuid", "5d309cf9-34db-8e6f-f3f6-fa9ae648406e"], ["created_at", "2015-07-07 18:52:05.644568"], ["updated_at", "2015-07-07 18:52:05.644568"]]
451267
+  (0.2ms) RELEASE SAVEPOINT active_record_1
451268
+ Processing by RailsWorkflow::ProcessTemplatesController#destroy as HTML
451269
+ Parameters: {"id"=>"31"}
451270
+ RailsWorkflow::ProcessTemplate Load (0.2ms) SELECT "rails_workflow_process_templates".* FROM "rails_workflow_process_templates" WHERE "rails_workflow_process_templates"."id" = $1 LIMIT 1 [["id", 31]]
451271
+  (0.2ms) SAVEPOINT active_record_1
451272
+ SQL (0.3ms) DELETE FROM "rails_workflow_process_templates" WHERE "rails_workflow_process_templates"."id" = $1 [["id", 31]]
451273
+  (0.1ms) RELEASE SAVEPOINT active_record_1
451274
+ Redirected to http://test.host/workflow/config
451275
+ Completed 302 Found in 5ms (ActiveRecord: 0.8ms)
451276
+  (0.2ms) ROLLBACK
451277
+  (0.2ms) BEGIN
451278
+  (0.1ms) SAVEPOINT active_record_1
451279
+ SQL (0.2ms) INSERT INTO "rails_workflow_process_templates" ("title", "uuid", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "Process Template"], ["uuid", "7d86acd6-e891-8406-fea2-2e512670a20d"], ["created_at", "2015-07-07 18:52:05.659972"], ["updated_at", "2015-07-07 18:52:05.659972"]]
451280
+  (0.1ms) RELEASE SAVEPOINT active_record_1
451281
+  (0.2ms) SAVEPOINT active_record_1
451282
+ SQL (1.9ms) INSERT INTO "rails_workflow_processes" ("title", "template_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "First Test project"], ["template_id", 32], ["created_at", "2015-07-07 18:52:05.667589"], ["updated_at", "2015-07-07 18:52:05.667589"]]
451283
+  (0.2ms) RELEASE SAVEPOINT active_record_1
451284
+ Processing by RailsWorkflow::ProcessesController#index as HTML
451285
+  (0.9ms) SELECT COUNT(*) FROM "rails_workflow_processes"
451286
+  (0.4ms) select status, cnt from (
451287
+ select row_number() over (partition by status),
451288
+ count(*) over (partition by status) cnt,
451289
+ status from rails_workflow_processes)t
451290
+ where row_number = 1
451291
+
451292
+ Rendered /Users/maxim/workflow/rails_workflow/app/views/rails_workflow/processes/index.html.slim within layouts/rails_workflow/application (0.3ms)
451293
+ Completed 200 OK in 16ms (Views: 5.2ms | ActiveRecord: 1.3ms)
451294
+ RailsWorkflow::Process Load (2.4ms) SELECT "rails_workflow_processes".* FROM "rails_workflow_processes" ORDER BY "rails_workflow_processes"."created_at" DESC LIMIT 30 OFFSET 0
451295
+  (0.3ms) ROLLBACK
451296
+  (0.1ms) BEGIN
451297
+  (0.1ms) SAVEPOINT active_record_1
451298
+ SQL (0.2ms) INSERT INTO "rails_workflow_process_templates" ("title", "uuid", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "Process Template"], ["uuid", "98fc13ea-341c-1998-76f0-f751ebd5bf8a"], ["created_at", "2015-07-07 18:52:05.700057"], ["updated_at", "2015-07-07 18:52:05.700057"]]
451299
+  (0.1ms) RELEASE SAVEPOINT active_record_1
451300
+  (0.2ms) SAVEPOINT active_record_1
451301
+ SQL (0.2ms) INSERT INTO "rails_workflow_processes" ("title", "template_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "First Test project"], ["template_id", 33], ["created_at", "2015-07-07 18:52:05.702251"], ["updated_at", "2015-07-07 18:52:05.702251"]]
451302
+  (0.1ms) RELEASE SAVEPOINT active_record_1
451303
+ Processing by RailsWorkflow::ProcessesController#show as HTML
451304
+ Parameters: {"id"=>"2"}
451305
+ RailsWorkflow::Process Load (0.3ms) SELECT "rails_workflow_processes".* FROM "rails_workflow_processes" WHERE "rails_workflow_processes"."id" = $1 LIMIT 1 [["id", 2]]
451306
+ Rendered /Users/maxim/workflow/rails_workflow/app/views/rails_workflow/processes/show.html.slim within layouts/rails_workflow/application (0.4ms)
451307
+ Completed 200 OK in 5ms (Views: 2.1ms | ActiveRecord: 0.3ms)
451308
+  (0.2ms) ROLLBACK
451309
+  (0.1ms) BEGIN
451310
+  (0.2ms) SAVEPOINT active_record_1
451311
+ SQL (0.3ms) INSERT INTO "rails_workflow_process_templates" ("title", "uuid", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "Process Template"], ["uuid", "c798baee-6308-f11a-c483-4c6b24244108"], ["created_at", "2015-07-07 18:52:05.720494"], ["updated_at", "2015-07-07 18:52:05.720494"]]
451312
+  (0.2ms) RELEASE SAVEPOINT active_record_1
451313
+ Processing by RailsWorkflow::ProcessesController#new as HTML
451314
+ Rendered /Users/maxim/workflow/rails_workflow/app/views/rails_workflow/processes/new.html.slim within layouts/rails_workflow/application (0.3ms)
451315
+ Completed 200 OK in 2ms (Views: 2.0ms | ActiveRecord: 0.0ms)
451316
+  (0.2ms) ROLLBACK
451317
+  (0.1ms) BEGIN
451318
+  (0.3ms) SAVEPOINT active_record_1
451319
+ SQL (0.3ms) INSERT INTO "rails_workflow_process_templates" ("title", "uuid", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "Process Template"], ["uuid", "9edab7ce-c6ce-dbce-b1a1-4e626f8cfae4"], ["created_at", "2015-07-07 18:52:05.732731"], ["updated_at", "2015-07-07 18:52:05.732731"]]
451320
+  (0.2ms) RELEASE SAVEPOINT active_record_1
451321
+  (0.1ms) SAVEPOINT active_record_1
451322
+ SQL (0.2ms) INSERT INTO "rails_workflow_processes" ("title", "template_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "First Test project"], ["template_id", 35], ["created_at", "2015-07-07 18:52:05.735172"], ["updated_at", "2015-07-07 18:52:05.735172"]]
451323
+  (0.1ms) RELEASE SAVEPOINT active_record_1
451324
+ Processing by RailsWorkflow::ProcessesController#edit as HTML
451325
+ Parameters: {"id"=>"3"}
451326
+ RailsWorkflow::Process Load (0.3ms) SELECT "rails_workflow_processes".* FROM "rails_workflow_processes" WHERE "rails_workflow_processes"."id" = $1 LIMIT 1 [["id", 3]]
451327
+ Rendered /Users/maxim/workflow/rails_workflow/app/views/rails_workflow/processes/edit.html.slim within layouts/rails_workflow/application (0.2ms)
451328
+ Completed 200 OK in 3ms (Views: 1.4ms | ActiveRecord: 0.3ms)
451329
+  (0.2ms) ROLLBACK
451330
+  (0.1ms) BEGIN
451331
+  (0.2ms) SAVEPOINT active_record_1
451332
+ SQL (0.3ms) INSERT INTO "rails_workflow_process_templates" ("title", "uuid", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "Process Template"], ["uuid", "5891f407-d192-e48b-ee00-2e1c8670dbb6"], ["created_at", "2015-07-07 18:52:05.751750"], ["updated_at", "2015-07-07 18:52:05.751750"]]
451333
+  (0.1ms) RELEASE SAVEPOINT active_record_1
451334
+  (0.2ms) SELECT COUNT(*) FROM "rails_workflow_processes"
451335
+ Processing by RailsWorkflow::ProcessesController#create as HTML
451336
+ Parameters: {"process"=>{"title"=>"First Test project", "template_id"=>"36"}}
451337
+ RailsWorkflow::ProcessTemplate Load (0.2ms) SELECT "rails_workflow_process_templates".* FROM "rails_workflow_process_templates" WHERE "rails_workflow_process_templates"."id" = $1 LIMIT 1 [["id", 36]]
451338
+  (0.2ms) SAVEPOINT active_record_1
451339
+ SQL (0.2ms) INSERT INTO "rails_workflow_processes" ("template_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["template_id", 36], ["created_at", "2015-07-07 18:52:05.761512"], ["updated_at", "2015-07-07 18:52:05.761512"]]
451340
+  (0.2ms) RELEASE SAVEPOINT active_record_1
451341
+  (0.1ms) SAVEPOINT active_record_1
451342
+ SQL (0.3ms) UPDATE "rails_workflow_processes" SET "title" = $1, "status" = $2, "updated_at" = $3 WHERE "rails_workflow_processes"."id" = $4 [["title", "Process Template"], ["status", 0], ["updated_at", "2015-07-07 18:52:05.763909"], ["id", 4]]
451343
+ SQL (23.5ms) INSERT INTO "rails_workflow_contexts" ("parent_id", "parent_type", "body", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["parent_id", 4], ["parent_type", "RailsWorkflow::Process"], ["body", "{}"], ["created_at", "2015-07-07 18:52:05.777736"], ["updated_at", "2015-07-07 18:52:05.777736"]]
451344
+ RailsWorkflow::Context Load (0.5ms) SELECT "rails_workflow_contexts".* FROM "rails_workflow_contexts" WHERE "rails_workflow_contexts"."parent_id" = $1 AND "rails_workflow_contexts"."parent_type" = $2 LIMIT 1 [["parent_id", 4], ["parent_type", "RailsWorkflow::Process"]]
451345
+ RailsWorkflow::OperationTemplate Load (0.3ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."process_template_id" = $1 AND "rails_workflow_operation_templates"."dependencies" IS NULL ORDER BY "rails_workflow_operation_templates"."id" ASC [["process_template_id", 36]]
451346
+ RailsWorkflow::Process Load (0.3ms) SELECT "rails_workflow_processes".* FROM "rails_workflow_processes" WHERE "rails_workflow_processes"."id" = $1 LIMIT 1 [["id", 4]]
451347
+  (0.2ms) RELEASE SAVEPOINT active_record_1
451348
+  (0.3ms) SELECT COUNT(*) FROM "rails_workflow_operations" WHERE "rails_workflow_operations"."process_id" = $1 [["process_id", 4]]
451349
+ Redirected to http://test.host/workflow/processes/4
451350
+ Completed 302 Found in 58ms (ActiveRecord: 28.1ms)
451351
+  (0.4ms) SELECT COUNT(*) FROM "rails_workflow_processes"
451352
+  (0.2ms) ROLLBACK
451353
+  (0.2ms) BEGIN
451354
+  (0.1ms) SAVEPOINT active_record_1
451355
+ SQL (0.3ms) INSERT INTO "rails_workflow_process_templates" ("title", "uuid", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "Process Template"], ["uuid", "a108274b-290e-6105-1c4b-c60904896f3f"], ["created_at", "2015-07-07 18:52:05.820028"], ["updated_at", "2015-07-07 18:52:05.820028"]]
451356
+  (0.1ms) RELEASE SAVEPOINT active_record_1
451357
+ Processing by RailsWorkflow::ProcessesController#create as HTML
451358
+ Parameters: {"process"=>{"title"=>"First Test project", "template_id"=>"37"}}
451359
+ RailsWorkflow::ProcessTemplate Load (0.2ms) SELECT "rails_workflow_process_templates".* FROM "rails_workflow_process_templates" WHERE "rails_workflow_process_templates"."id" = $1 LIMIT 1 [["id", 37]]
451360
+  (0.1ms) SAVEPOINT active_record_1
451361
+ SQL (0.2ms) INSERT INTO "rails_workflow_processes" ("template_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["template_id", 37], ["created_at", "2015-07-07 18:52:05.827330"], ["updated_at", "2015-07-07 18:52:05.827330"]]
451362
+  (0.2ms) RELEASE SAVEPOINT active_record_1
451363
+  (0.1ms) SAVEPOINT active_record_1
451364
+ SQL (0.2ms) UPDATE "rails_workflow_processes" SET "title" = $1, "status" = $2, "updated_at" = $3 WHERE "rails_workflow_processes"."id" = $4 [["title", "Process Template"], ["status", 0], ["updated_at", "2015-07-07 18:52:05.829250"], ["id", 5]]
451365
+ SQL (0.2ms) INSERT INTO "rails_workflow_contexts" ("parent_id", "parent_type", "body", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["parent_id", 5], ["parent_type", "RailsWorkflow::Process"], ["body", "{}"], ["created_at", "2015-07-07 18:52:05.831396"], ["updated_at", "2015-07-07 18:52:05.831396"]]
451366
+ RailsWorkflow::Context Load (0.3ms) SELECT "rails_workflow_contexts".* FROM "rails_workflow_contexts" WHERE "rails_workflow_contexts"."parent_id" = $1 AND "rails_workflow_contexts"."parent_type" = $2 LIMIT 1 [["parent_id", 5], ["parent_type", "RailsWorkflow::Process"]]
451367
+ RailsWorkflow::OperationTemplate Load (0.4ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."process_template_id" = $1 AND "rails_workflow_operation_templates"."dependencies" IS NULL ORDER BY "rails_workflow_operation_templates"."id" ASC [["process_template_id", 37]]
451368
+ RailsWorkflow::Process Load (0.3ms) SELECT "rails_workflow_processes".* FROM "rails_workflow_processes" WHERE "rails_workflow_processes"."id" = $1 LIMIT 1 [["id", 5]]
451369
+  (0.2ms) RELEASE SAVEPOINT active_record_1
451370
+  (0.3ms) SELECT COUNT(*) FROM "rails_workflow_operations" WHERE "rails_workflow_operations"."process_id" = $1 [["process_id", 5]]
451371
+ Redirected to http://test.host/workflow/processes/5
451372
+ Completed 302 Found in 16ms (ActiveRecord: 2.8ms)
451373
+  (0.3ms) ROLLBACK
451374
+  (0.2ms) BEGIN
451375
+  (0.2ms) SAVEPOINT active_record_1
451376
+ SQL (0.2ms) INSERT INTO "rails_workflow_process_templates" ("title", "uuid", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "Process Template"], ["uuid", "35f6e96f-7a50-7ae0-ecde-771eaa401c0e"], ["created_at", "2015-07-07 18:52:05.846255"], ["updated_at", "2015-07-07 18:52:05.846255"]]
451377
+  (0.1ms) RELEASE SAVEPOINT active_record_1
451378
+ Processing by RailsWorkflow::ProcessesController#create as HTML
451379
+ Parameters: {"process"=>{"title"=>"First Test project", "template_id"=>"38"}}
451380
+ RailsWorkflow::ProcessTemplate Load (0.3ms) SELECT "rails_workflow_process_templates".* FROM "rails_workflow_process_templates" WHERE "rails_workflow_process_templates"."id" = $1 LIMIT 1 [["id", 38]]
451381
+  (0.2ms) SAVEPOINT active_record_1
451382
+ SQL (0.3ms) INSERT INTO "rails_workflow_processes" ("template_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["template_id", 38], ["created_at", "2015-07-07 18:52:05.853998"], ["updated_at", "2015-07-07 18:52:05.853998"]]
451383
+  (0.2ms) RELEASE SAVEPOINT active_record_1
451384
+  (0.2ms) SAVEPOINT active_record_1
451385
+ SQL (0.3ms) UPDATE "rails_workflow_processes" SET "title" = $1, "status" = $2, "updated_at" = $3 WHERE "rails_workflow_processes"."id" = $4 [["title", "Process Template"], ["status", 0], ["updated_at", "2015-07-07 18:52:05.856464"], ["id", 6]]
451386
+ SQL (0.2ms) INSERT INTO "rails_workflow_contexts" ("parent_id", "parent_type", "body", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["parent_id", 6], ["parent_type", "RailsWorkflow::Process"], ["body", "{}"], ["created_at", "2015-07-07 18:52:05.858952"], ["updated_at", "2015-07-07 18:52:05.858952"]]
451387
+ RailsWorkflow::Context Load (0.3ms) SELECT "rails_workflow_contexts".* FROM "rails_workflow_contexts" WHERE "rails_workflow_contexts"."parent_id" = $1 AND "rails_workflow_contexts"."parent_type" = $2 LIMIT 1 [["parent_id", 6], ["parent_type", "RailsWorkflow::Process"]]
451388
+ RailsWorkflow::OperationTemplate Load (0.3ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."process_template_id" = $1 AND "rails_workflow_operation_templates"."dependencies" IS NULL ORDER BY "rails_workflow_operation_templates"."id" ASC [["process_template_id", 38]]
451389
+ RailsWorkflow::Process Load (0.3ms) SELECT "rails_workflow_processes".* FROM "rails_workflow_processes" WHERE "rails_workflow_processes"."id" = $1 LIMIT 1 [["id", 6]]
451390
+  (0.1ms) RELEASE SAVEPOINT active_record_1
451391
+  (0.2ms) SELECT COUNT(*) FROM "rails_workflow_operations" WHERE "rails_workflow_operations"."process_id" = $1 [["process_id", 6]]
451392
+ Redirected to http://test.host/workflow/processes/6
451393
+ Completed 302 Found in 16ms (ActiveRecord: 2.8ms)
451394
+ RailsWorkflow::Process Load (0.5ms) SELECT "rails_workflow_processes".* FROM "rails_workflow_processes" ORDER BY "rails_workflow_processes"."id" DESC LIMIT 1
451395
+  (0.7ms) ROLLBACK
451396
+  (0.2ms) BEGIN
451397
+  (0.2ms) SAVEPOINT active_record_1
451398
+ SQL (0.3ms) INSERT INTO "rails_workflow_process_templates" ("title", "uuid", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "Process Template"], ["uuid", "3b200e96-7817-ebd1-3bca-8ca596fcb0c5"], ["created_at", "2015-07-07 18:52:05.881754"], ["updated_at", "2015-07-07 18:52:05.881754"]]
451399
+  (0.1ms) RELEASE SAVEPOINT active_record_1
451400
+  (0.1ms) ROLLBACK
451401
+  (0.1ms) BEGIN
451402
+  (0.1ms) SAVEPOINT active_record_1
451403
+ SQL (0.3ms) INSERT INTO "rails_workflow_process_templates" ("title", "uuid", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "Process Template"], ["uuid", "6dae57d3-73c6-e2be-95b3-16f60389ba5e"], ["created_at", "2015-07-07 18:52:05.886576"], ["updated_at", "2015-07-07 18:52:05.886576"]]
451404
+  (0.1ms) RELEASE SAVEPOINT active_record_1
451405
+  (0.1ms) ROLLBACK
451406
+  (0.1ms) BEGIN
451407
+  (0.1ms) SAVEPOINT active_record_1
451408
+ SQL (0.2ms) INSERT INTO "rails_workflow_process_templates" ("title", "uuid", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "Process Template"], ["uuid", "dd532b88-7d21-9b9c-68c7-378c57f0871b"], ["created_at", "2015-07-07 18:52:05.891243"], ["updated_at", "2015-07-07 18:52:05.891243"]]
451409
+  (0.2ms) RELEASE SAVEPOINT active_record_1
451410
+  (0.1ms) SAVEPOINT active_record_1
451411
+ SQL (0.2ms) INSERT INTO "rails_workflow_processes" ("title", "template_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "First Test project"], ["template_id", 41], ["created_at", "2015-07-07 18:52:05.893613"], ["updated_at", "2015-07-07 18:52:05.893613"]]
451412
+  (0.1ms) RELEASE SAVEPOINT active_record_1
451413
+  (0.1ms) ROLLBACK
451414
+  (0.1ms) BEGIN
451415
+  (0.1ms) SAVEPOINT active_record_1
451416
+ SQL (0.2ms) INSERT INTO "rails_workflow_process_templates" ("title", "uuid", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "Process Template"], ["uuid", "9446005d-76aa-01db-a356-d4c0bb4a433d"], ["created_at", "2015-07-07 18:52:05.897901"], ["updated_at", "2015-07-07 18:52:05.897901"]]
451417
+  (0.1ms) RELEASE SAVEPOINT active_record_1
451418
+  (0.1ms) SAVEPOINT active_record_1
451419
+ SQL (0.2ms) INSERT INTO "rails_workflow_processes" ("title", "template_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "First Test project"], ["template_id", 42], ["created_at", "2015-07-07 18:52:05.900181"], ["updated_at", "2015-07-07 18:52:05.900181"]]
451420
+  (0.1ms) RELEASE SAVEPOINT active_record_1
451421
+ Processing by RailsWorkflow::ProcessesController#update as HTML
451422
+ Parameters: {"process"=>{"title"=>"First Test project", "template_id"=>"42"}, "id"=>"8"}
451423
+ RailsWorkflow::Process Load (0.3ms) SELECT "rails_workflow_processes".* FROM "rails_workflow_processes" WHERE "rails_workflow_processes"."id" = $1 LIMIT 1 [["id", 8]]
451424
+ Unpermitted parameter: id
451425
+  (0.2ms) SAVEPOINT active_record_1
451426
+  (0.2ms) RELEASE SAVEPOINT active_record_1
451427
+ Redirected to http://test.host/workflow/processes
451428
+ Completed 302 Found in 8ms (ActiveRecord: 0.7ms)
451429
+  (0.2ms) ROLLBACK
451430
+  (0.1ms) BEGIN
451431
+  (0.1ms) SAVEPOINT active_record_1
451432
+ SQL (0.2ms) INSERT INTO "rails_workflow_process_templates" ("title", "uuid", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "Process Template"], ["uuid", "6cba4cff-8e47-1936-2f44-0c0a54ed88f8"], ["created_at", "2015-07-07 18:52:05.916794"], ["updated_at", "2015-07-07 18:52:05.916794"]]
451433
+  (0.2ms) RELEASE SAVEPOINT active_record_1
451434
+  (0.1ms) SAVEPOINT active_record_1
451435
+ SQL (0.3ms) INSERT INTO "rails_workflow_processes" ("title", "template_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "First Test project"], ["template_id", 43], ["created_at", "2015-07-07 18:52:05.919379"], ["updated_at", "2015-07-07 18:52:05.919379"]]
451436
+  (0.2ms) RELEASE SAVEPOINT active_record_1
451437
+ Processing by RailsWorkflow::ProcessesController#update as HTML
451438
+ Parameters: {"process"=>{"title"=>"First Test project", "template_id"=>"43"}, "id"=>"9"}
451439
+ RailsWorkflow::Process Load (0.3ms) SELECT "rails_workflow_processes".* FROM "rails_workflow_processes" WHERE "rails_workflow_processes"."id" = $1 LIMIT 1 [["id", 9]]
451440
+ Unpermitted parameter: id
451441
+  (0.2ms) SAVEPOINT active_record_1
451442
+  (0.2ms) RELEASE SAVEPOINT active_record_1
451443
+ Redirected to http://test.host/workflow/processes
451444
+ Completed 302 Found in 5ms (ActiveRecord: 0.6ms)
451445
+  (0.3ms) ROLLBACK
451446
+  (0.2ms) BEGIN
451447
+  (0.3ms) SAVEPOINT active_record_1
451448
+ SQL (0.9ms) INSERT INTO "rails_workflow_process_templates" ("title", "uuid", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "Process Template"], ["uuid", "f8c3113a-e03d-7d2c-eb40-55b1503cb0c5"], ["created_at", "2015-07-07 18:52:05.936329"], ["updated_at", "2015-07-07 18:52:05.936329"]]
451449
+  (0.5ms) RELEASE SAVEPOINT active_record_1
451450
+  (0.5ms) SAVEPOINT active_record_1
451451
+ SQL (0.3ms) INSERT INTO "rails_workflow_processes" ("title", "template_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "First Test project"], ["template_id", 44], ["created_at", "2015-07-07 18:52:05.944591"], ["updated_at", "2015-07-07 18:52:05.944591"]]
451452
+  (0.1ms) RELEASE SAVEPOINT active_record_1
451453
+  (0.2ms) ROLLBACK
451454
+  (0.2ms) BEGIN
451455
+  (0.1ms) SAVEPOINT active_record_1
451456
+ SQL (0.2ms) INSERT INTO "rails_workflow_process_templates" ("title", "uuid", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "Process Template"], ["uuid", "1b0d8125-939a-2db4-68a9-b0523bec3219"], ["created_at", "2015-07-07 18:52:05.949510"], ["updated_at", "2015-07-07 18:52:05.949510"]]
451457
+  (0.1ms) RELEASE SAVEPOINT active_record_1
451458
+  (0.2ms) SAVEPOINT active_record_1
451459
+ SQL (0.2ms) INSERT INTO "rails_workflow_processes" ("title", "template_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "First Test project"], ["template_id", 45], ["created_at", "2015-07-07 18:52:05.951706"], ["updated_at", "2015-07-07 18:52:05.951706"]]
451460
+  (0.1ms) RELEASE SAVEPOINT active_record_1
451461
+  (0.2ms) ROLLBACK
451462
+  (0.2ms) BEGIN
451463
+  (0.1ms) SAVEPOINT active_record_1
451464
+ SQL (0.2ms) INSERT INTO "rails_workflow_process_templates" ("title", "uuid", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "Process Template"], ["uuid", "14a683d5-cab6-f625-bee5-512e28ba3a40"], ["created_at", "2015-07-07 18:52:05.955876"], ["updated_at", "2015-07-07 18:52:05.955876"]]
451465
+  (0.1ms) RELEASE SAVEPOINT active_record_1
451466
+  (0.2ms) ROLLBACK
451467
+  (0.1ms) BEGIN
451468
+  (0.2ms) SAVEPOINT active_record_1
451469
+ SQL (0.2ms) INSERT INTO "rails_workflow_process_templates" ("title", "uuid", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "Process Template"], ["uuid", "26e38ca1-4c55-fc27-8a2e-f9ea2330e731"], ["created_at", "2015-07-07 18:52:05.959589"], ["updated_at", "2015-07-07 18:52:05.959589"]]
451470
+  (0.1ms) RELEASE SAVEPOINT active_record_1
451471
+  (0.1ms) ROLLBACK
451472
+  (0.1ms) BEGIN
451473
+  (0.1ms) SAVEPOINT active_record_1
451474
+ SQL (0.3ms) INSERT INTO "rails_workflow_process_templates" ("title", "uuid", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "Process Template"], ["uuid", "a02796bc-43ea-8000-4e08-da54994f6e92"], ["created_at", "2015-07-07 18:52:05.963527"], ["updated_at", "2015-07-07 18:52:05.963527"]]
451475
+  (0.2ms) RELEASE SAVEPOINT active_record_1
451476
+  (0.1ms) SAVEPOINT active_record_1
451477
+ SQL (0.3ms) INSERT INTO "rails_workflow_operation_templates" ("title", "kind", "is_background", "process_template_id", "uuid", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["title", "Operation Template"], ["kind", "default"], ["is_background", "t"], ["process_template_id", 48], ["uuid", "911192cc-3daa-f111-b653-bca6bfe1553a"], ["created_at", "2015-07-07 18:52:05.966676"], ["updated_at", "2015-07-07 18:52:05.966676"]]
451478
+  (0.2ms) RELEASE SAVEPOINT active_record_1
451479
+  (0.2ms) SAVEPOINT active_record_1
451480
+ SQL (0.4ms) INSERT INTO "rails_workflow_operation_templates" ("title", "kind", "is_background", "process_template_id", "dependencies", "uuid", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["title", "Operation Template"], ["kind", "default"], ["is_background", "t"], ["process_template_id", 48], ["dependencies", "[{\"id\":15,\"statuses\":[2]}]"], ["uuid", "25c0e0a2-c7f5-e748-98ae-53aba2c7ced8"], ["created_at", "2015-07-07 18:52:05.972277"], ["updated_at", "2015-07-07 18:52:05.972277"]]
451481
+  (0.3ms) RELEASE SAVEPOINT active_record_1
451482
+ RailsWorkflow::ProcessTemplate Load (0.3ms) SELECT "rails_workflow_process_templates".* FROM "rails_workflow_process_templates" WHERE "rails_workflow_process_templates"."id" = $1 LIMIT 1 [["id", 48]]
451483
+  (0.2ms) SAVEPOINT active_record_1
451484
+ SQL (0.2ms) INSERT INTO "rails_workflow_processes" ("template_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["template_id", 48], ["created_at", "2015-07-07 18:52:05.977668"], ["updated_at", "2015-07-07 18:52:05.977668"]]
451485
+  (0.1ms) RELEASE SAVEPOINT active_record_1
451486
+  (0.1ms) SAVEPOINT active_record_1
451487
+ SQL (0.2ms) UPDATE "rails_workflow_processes" SET "title" = $1, "status" = $2, "updated_at" = $3 WHERE "rails_workflow_processes"."id" = $4 [["title", "Process Template"], ["status", 0], ["updated_at", "2015-07-07 18:52:05.979415"], ["id", 12]]
451488
+ SQL (0.3ms) INSERT INTO "rails_workflow_contexts" ("parent_id", "parent_type", "body", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["parent_id", 12], ["parent_type", "RailsWorkflow::Process"], ["body", "{\"msg\":\"Test\"}"], ["created_at", "2015-07-07 18:52:05.981574"], ["updated_at", "2015-07-07 18:52:05.981574"]]
451489
+ RailsWorkflow::Context Load (0.3ms) SELECT "rails_workflow_contexts".* FROM "rails_workflow_contexts" WHERE "rails_workflow_contexts"."parent_id" = $1 AND "rails_workflow_contexts"."parent_type" = $2 LIMIT 1 [["parent_id", 12], ["parent_type", "RailsWorkflow::Process"]]
451490
+ RailsWorkflow::OperationTemplate Load (0.5ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."process_template_id" = $1 AND "rails_workflow_operation_templates"."dependencies" IS NULL ORDER BY "rails_workflow_operation_templates"."id" ASC [["process_template_id", 48]]
451491
+ SQL (0.6ms) INSERT INTO "rails_workflow_operations" ("title", "is_background", "template_id", "process_id", "status", "dependencies", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["title", "Operation Template"], ["is_background", "t"], ["template_id", 15], ["process_id", 12], ["status", 0], ["dependencies", "[]"], ["created_at", "2015-07-07 18:52:06.001150"], ["updated_at", "2015-07-07 18:52:06.001150"]]
451492
+ SQL (0.2ms) INSERT INTO "rails_workflow_contexts" ("parent_type", "parent_id", "body", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["parent_type", "RailsWorkflow::Operation"], ["parent_id", 1], ["body", "{\"msg\":\"Test\"}"], ["created_at", "2015-07-07 18:52:06.003671"], ["updated_at", "2015-07-07 18:52:06.003671"]]
451493
+ RailsWorkflow::Process Load (0.2ms) SELECT "rails_workflow_processes".* FROM "rails_workflow_processes" WHERE "rails_workflow_processes"."id" = $1 LIMIT 1 [["id", 12]]
451494
+  (0.2ms) RELEASE SAVEPOINT active_record_1
451495
+  (0.2ms) ROLLBACK
451496
+  (0.1ms) BEGIN
451497
+  (0.2ms) SAVEPOINT active_record_1
451498
+ SQL (0.3ms) INSERT INTO "rails_workflow_process_templates" ("title", "uuid", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "Process Template"], ["uuid", "5f15568f-30db-b307-cc37-2891f60f9045"], ["created_at", "2015-07-07 18:52:06.012322"], ["updated_at", "2015-07-07 18:52:06.012322"]]
451499
+  (0.2ms) RELEASE SAVEPOINT active_record_1
451500
+  (0.1ms) SAVEPOINT active_record_1
451501
+ SQL (0.2ms) INSERT INTO "rails_workflow_operation_templates" ("title", "kind", "is_background", "process_template_id", "uuid", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["title", "Operation Template"], ["kind", "default"], ["is_background", "t"], ["process_template_id", 49], ["uuid", "f42634a3-b806-3140-8567-9f3619fd4bca"], ["created_at", "2015-07-07 18:52:06.015267"], ["updated_at", "2015-07-07 18:52:06.015267"]]
451502
+  (0.1ms) RELEASE SAVEPOINT active_record_1
451503
+  (0.2ms) SAVEPOINT active_record_1
451504
+ SQL (0.3ms) INSERT INTO "rails_workflow_operation_templates" ("title", "kind", "is_background", "process_template_id", "dependencies", "uuid", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["title", "Operation Template"], ["kind", "default"], ["is_background", "t"], ["process_template_id", 49], ["dependencies", "[{\"id\":17,\"statuses\":[2]}]"], ["uuid", "00cb7ab5-d96f-33fe-4d84-1a62ad831e08"], ["created_at", "2015-07-07 18:52:06.018467"], ["updated_at", "2015-07-07 18:52:06.018467"]]
451505
+  (0.1ms) RELEASE SAVEPOINT active_record_1
451506
+ RailsWorkflow::ProcessTemplate Load (0.2ms) SELECT "rails_workflow_process_templates".* FROM "rails_workflow_process_templates" WHERE "rails_workflow_process_templates"."id" = $1 LIMIT 1 [["id", 49]]
451507
+  (0.2ms) SAVEPOINT active_record_1
451508
+ SQL (0.2ms) INSERT INTO "rails_workflow_processes" ("template_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["template_id", 49], ["created_at", "2015-07-07 18:52:06.022162"], ["updated_at", "2015-07-07 18:52:06.022162"]]
451509
+  (0.1ms) RELEASE SAVEPOINT active_record_1
451510
+  (0.1ms) SAVEPOINT active_record_1
451511
+ SQL (0.3ms) UPDATE "rails_workflow_processes" SET "title" = $1, "status" = $2, "updated_at" = $3 WHERE "rails_workflow_processes"."id" = $4 [["title", "Process Template"], ["status", 0], ["updated_at", "2015-07-07 18:52:06.024005"], ["id", 13]]
451512
+ SQL (0.2ms) INSERT INTO "rails_workflow_contexts" ("parent_id", "parent_type", "body", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["parent_id", 13], ["parent_type", "RailsWorkflow::Process"], ["body", "{\"msg\":\"Test\"}"], ["created_at", "2015-07-07 18:52:06.026185"], ["updated_at", "2015-07-07 18:52:06.026185"]]
451513
+ RailsWorkflow::Context Load (0.5ms) SELECT "rails_workflow_contexts".* FROM "rails_workflow_contexts" WHERE "rails_workflow_contexts"."parent_id" = $1 AND "rails_workflow_contexts"."parent_type" = $2 LIMIT 1 [["parent_id", 13], ["parent_type", "RailsWorkflow::Process"]]
451514
+ RailsWorkflow::OperationTemplate Load (0.5ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."process_template_id" = $1 AND "rails_workflow_operation_templates"."dependencies" IS NULL ORDER BY "rails_workflow_operation_templates"."id" ASC [["process_template_id", 49]]
451515
+ SQL (0.4ms) INSERT INTO "rails_workflow_operations" ("title", "is_background", "template_id", "process_id", "status", "dependencies", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["title", "Operation Template"], ["is_background", "t"], ["template_id", 17], ["process_id", 13], ["status", 0], ["dependencies", "[]"], ["created_at", "2015-07-07 18:52:06.033462"], ["updated_at", "2015-07-07 18:52:06.033462"]]
451516
+ SQL (0.3ms) INSERT INTO "rails_workflow_contexts" ("parent_type", "parent_id", "body", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["parent_type", "RailsWorkflow::Operation"], ["parent_id", 2], ["body", "{\"msg\":\"Test\"}"], ["created_at", "2015-07-07 18:52:06.035469"], ["updated_at", "2015-07-07 18:52:06.035469"]]
451517
+ RailsWorkflow::Process Load (0.2ms) SELECT "rails_workflow_processes".* FROM "rails_workflow_processes" WHERE "rails_workflow_processes"."id" = $1 LIMIT 1 [["id", 13]]
451518
+  (0.2ms) RELEASE SAVEPOINT active_record_1
451519
+ RailsWorkflow::ProcessTemplate Load (0.2ms) SELECT "rails_workflow_process_templates".* FROM "rails_workflow_process_templates" WHERE "rails_workflow_process_templates"."id" = $1 LIMIT 1 [["id", 49]]
451520
+  (0.2ms) ROLLBACK
451521
+  (0.1ms) BEGIN
451522
+  (0.1ms) SAVEPOINT active_record_1
451523
+ SQL (0.2ms) INSERT INTO "rails_workflow_process_templates" ("title", "uuid", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "Process Template"], ["uuid", "e1444964-8630-ba2f-3419-6b9e6e2744c5"], ["created_at", "2015-07-07 18:52:06.044345"], ["updated_at", "2015-07-07 18:52:06.044345"]]
451524
+  (0.1ms) RELEASE SAVEPOINT active_record_1
451525
+  (0.1ms) SAVEPOINT active_record_1
451526
+ SQL (0.3ms) INSERT INTO "rails_workflow_operation_templates" ("title", "kind", "is_background", "process_template_id", "uuid", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["title", "Operation Template"], ["kind", "default"], ["is_background", "t"], ["process_template_id", 50], ["uuid", "e356a01d-b06e-1bbe-8ad8-f5daa74ae71c"], ["created_at", "2015-07-07 18:52:06.047250"], ["updated_at", "2015-07-07 18:52:06.047250"]]
451527
+  (0.1ms) RELEASE SAVEPOINT active_record_1
451528
+  (0.1ms) SAVEPOINT active_record_1
451529
+ SQL (0.2ms) INSERT INTO "rails_workflow_operation_templates" ("title", "kind", "is_background", "process_template_id", "dependencies", "uuid", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["title", "Operation Template"], ["kind", "default"], ["is_background", "t"], ["process_template_id", 50], ["dependencies", "[{\"id\":19,\"statuses\":[2]}]"], ["uuid", "41a19889-e59e-c3a9-4c21-b17abe7bc6b9"], ["created_at", "2015-07-07 18:52:06.050291"], ["updated_at", "2015-07-07 18:52:06.050291"]]
451530
+  (0.1ms) RELEASE SAVEPOINT active_record_1
451531
+ RailsWorkflow::ProcessTemplate Load (0.2ms) SELECT "rails_workflow_process_templates".* FROM "rails_workflow_process_templates" WHERE "rails_workflow_process_templates"."id" = $1 LIMIT 1 [["id", 50]]
451532
+  (0.2ms) SAVEPOINT active_record_1
451533
+ SQL (0.4ms) INSERT INTO "rails_workflow_processes" ("template_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["template_id", 50], ["created_at", "2015-07-07 18:52:06.053950"], ["updated_at", "2015-07-07 18:52:06.053950"]]
451534
+  (0.4ms) RELEASE SAVEPOINT active_record_1
451535
+  (0.4ms) SAVEPOINT active_record_1
451536
+ SQL (0.7ms) UPDATE "rails_workflow_processes" SET "title" = $1, "status" = $2, "updated_at" = $3 WHERE "rails_workflow_processes"."id" = $4 [["title", "Process Template"], ["status", 0], ["updated_at", "2015-07-07 18:52:06.058782"], ["id", 14]]
451537
+ SQL (0.3ms) INSERT INTO "rails_workflow_contexts" ("parent_id", "parent_type", "body", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["parent_id", 14], ["parent_type", "RailsWorkflow::Process"], ["body", "{\"msg\":\"Test\"}"], ["created_at", "2015-07-07 18:52:06.062637"], ["updated_at", "2015-07-07 18:52:06.062637"]]
451538
+ RailsWorkflow::Context Load (0.3ms) SELECT "rails_workflow_contexts".* FROM "rails_workflow_contexts" WHERE "rails_workflow_contexts"."parent_id" = $1 AND "rails_workflow_contexts"."parent_type" = $2 LIMIT 1 [["parent_id", 14], ["parent_type", "RailsWorkflow::Process"]]
451539
+ RailsWorkflow::OperationTemplate Load (0.4ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."process_template_id" = $1 AND "rails_workflow_operation_templates"."dependencies" IS NULL ORDER BY "rails_workflow_operation_templates"."id" ASC [["process_template_id", 50]]
451540
+ SQL (0.3ms) INSERT INTO "rails_workflow_operations" ("title", "is_background", "template_id", "process_id", "status", "dependencies", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["title", "Operation Template"], ["is_background", "t"], ["template_id", 19], ["process_id", 14], ["status", 0], ["dependencies", "[]"], ["created_at", "2015-07-07 18:52:06.069252"], ["updated_at", "2015-07-07 18:52:06.069252"]]
451541
+ SQL (0.2ms) INSERT INTO "rails_workflow_contexts" ("parent_type", "parent_id", "body", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["parent_type", "RailsWorkflow::Operation"], ["parent_id", 3], ["body", "{\"msg\":\"Test\"}"], ["created_at", "2015-07-07 18:52:06.071002"], ["updated_at", "2015-07-07 18:52:06.071002"]]
451542
+ RailsWorkflow::Process Load (0.2ms) SELECT "rails_workflow_processes".* FROM "rails_workflow_processes" WHERE "rails_workflow_processes"."id" = $1 LIMIT 1 [["id", 14]]
451543
+  (0.2ms) RELEASE SAVEPOINT active_record_1
451544
+  (0.3ms) SELECT COUNT(*) FROM "rails_workflow_operations" WHERE "rails_workflow_operations"."process_id" = $1 [["process_id", 14]]
451545
+ RailsWorkflow::Operation Load (0.4ms) SELECT "rails_workflow_operations".* FROM "rails_workflow_operations" WHERE "rails_workflow_operations"."process_id" = $1 ORDER BY "rails_workflow_operations"."id" ASC LIMIT 1 [["process_id", 14]]
451546
+  (0.2ms) ROLLBACK
451547
+  (0.1ms) BEGIN
451548
+  (0.1ms) SAVEPOINT active_record_1
451549
+ SQL (0.3ms) INSERT INTO "rails_workflow_process_templates" ("title", "uuid", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "Process Template"], ["uuid", "a5838a8d-e288-72a9-2a57-ab590e3bfc21"], ["created_at", "2015-07-07 18:52:06.079863"], ["updated_at", "2015-07-07 18:52:06.079863"]]
451550
+  (0.1ms) RELEASE SAVEPOINT active_record_1
451551
+  (0.1ms) SAVEPOINT active_record_1
451552
+ SQL (0.3ms) INSERT INTO "rails_workflow_operation_templates" ("title", "kind", "is_background", "process_template_id", "uuid", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["title", "Operation Template"], ["kind", "default"], ["is_background", "t"], ["process_template_id", 51], ["uuid", "97f13ada-f357-1900-9d1f-458708fd67c4"], ["created_at", "2015-07-07 18:52:06.082612"], ["updated_at", "2015-07-07 18:52:06.082612"]]
451553
+  (0.2ms) RELEASE SAVEPOINT active_record_1
451554
+  (0.1ms) SAVEPOINT active_record_1
451555
+ SQL (0.2ms) INSERT INTO "rails_workflow_operation_templates" ("title", "kind", "is_background", "process_template_id", "dependencies", "uuid", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["title", "Operation Template"], ["kind", "default"], ["is_background", "t"], ["process_template_id", 51], ["dependencies", "[{\"id\":21,\"statuses\":[2]}]"], ["uuid", "74248d7c-6677-154d-2fae-69fe7029dc49"], ["created_at", "2015-07-07 18:52:06.085741"], ["updated_at", "2015-07-07 18:52:06.085741"]]
451556
+  (0.2ms) RELEASE SAVEPOINT active_record_1
451557
+ RailsWorkflow::ProcessTemplate Load (0.2ms) SELECT "rails_workflow_process_templates".* FROM "rails_workflow_process_templates" WHERE "rails_workflow_process_templates"."id" = $1 LIMIT 1 [["id", 51]]
451558
+  (0.2ms) SAVEPOINT active_record_1
451559
+ SQL (0.2ms) INSERT INTO "rails_workflow_processes" ("template_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["template_id", 51], ["created_at", "2015-07-07 18:52:06.089107"], ["updated_at", "2015-07-07 18:52:06.089107"]]
451560
+  (0.1ms) RELEASE SAVEPOINT active_record_1
451561
+  (0.1ms) SAVEPOINT active_record_1
451562
+ SQL (0.2ms) UPDATE "rails_workflow_processes" SET "title" = $1, "status" = $2, "updated_at" = $3 WHERE "rails_workflow_processes"."id" = $4 [["title", "Process Template"], ["status", 0], ["updated_at", "2015-07-07 18:52:06.090848"], ["id", 15]]
451563
+ SQL (0.3ms) INSERT INTO "rails_workflow_contexts" ("parent_id", "parent_type", "body", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["parent_id", 15], ["parent_type", "RailsWorkflow::Process"], ["body", "{\"msg\":\"Test\"}"], ["created_at", "2015-07-07 18:52:06.094323"], ["updated_at", "2015-07-07 18:52:06.094323"]]
451564
+ RailsWorkflow::Context Load (0.2ms) SELECT "rails_workflow_contexts".* FROM "rails_workflow_contexts" WHERE "rails_workflow_contexts"."parent_id" = $1 AND "rails_workflow_contexts"."parent_type" = $2 LIMIT 1 [["parent_id", 15], ["parent_type", "RailsWorkflow::Process"]]
451565
+ RailsWorkflow::OperationTemplate Load (0.3ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."process_template_id" = $1 AND "rails_workflow_operation_templates"."dependencies" IS NULL ORDER BY "rails_workflow_operation_templates"."id" ASC [["process_template_id", 51]]
451566
+ SQL (0.3ms) INSERT INTO "rails_workflow_operations" ("title", "is_background", "template_id", "process_id", "status", "dependencies", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["title", "Operation Template"], ["is_background", "t"], ["template_id", 21], ["process_id", 15], ["status", 0], ["dependencies", "[]"], ["created_at", "2015-07-07 18:52:06.101078"], ["updated_at", "2015-07-07 18:52:06.101078"]]
451567
+ SQL (0.3ms) INSERT INTO "rails_workflow_contexts" ("parent_type", "parent_id", "body", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["parent_type", "RailsWorkflow::Operation"], ["parent_id", 4], ["body", "{\"msg\":\"Test\"}"], ["created_at", "2015-07-07 18:52:06.103148"], ["updated_at", "2015-07-07 18:52:06.103148"]]
451568
+ RailsWorkflow::Process Load (0.3ms) SELECT "rails_workflow_processes".* FROM "rails_workflow_processes" WHERE "rails_workflow_processes"."id" = $1 LIMIT 1 [["id", 15]]
451569
+  (0.2ms) RELEASE SAVEPOINT active_record_1
451570
+ RailsWorkflow::Context Load (0.2ms) SELECT "rails_workflow_contexts".* FROM "rails_workflow_contexts" WHERE "rails_workflow_contexts"."parent_id" = $1 AND "rails_workflow_contexts"."parent_type" = $2 LIMIT 1 [["parent_id", 15], ["parent_type", "RailsWorkflow::Process"]]
451571
+  (0.2ms) ROLLBACK
451572
+  (0.1ms) BEGIN
451573
+  (0.1ms) SAVEPOINT active_record_1
451574
+ SQL (0.2ms) INSERT INTO "rails_workflow_process_templates" ("title", "uuid", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "Process Template"], ["uuid", "f62afcf1-80e2-9ea6-96c2-f89f92aa9965"], ["created_at", "2015-07-07 18:52:06.111769"], ["updated_at", "2015-07-07 18:52:06.111769"]]
451575
+  (0.1ms) RELEASE SAVEPOINT active_record_1
451576
+  (0.1ms) SAVEPOINT active_record_1
451577
+ SQL (0.2ms) INSERT INTO "rails_workflow_operation_templates" ("title", "kind", "is_background", "process_template_id", "uuid", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["title", "Operation Template"], ["kind", "default"], ["is_background", "t"], ["process_template_id", 52], ["uuid", "6eff4d1a-e37c-8af1-7515-a36564419c93"], ["created_at", "2015-07-07 18:52:06.114439"], ["updated_at", "2015-07-07 18:52:06.114439"]]
451578
+  (0.1ms) RELEASE SAVEPOINT active_record_1
451579
+  (0.1ms) SAVEPOINT active_record_1
451580
+ SQL (0.2ms) INSERT INTO "rails_workflow_operation_templates" ("title", "kind", "is_background", "process_template_id", "dependencies", "uuid", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["title", "Operation Template"], ["kind", "default"], ["is_background", "t"], ["process_template_id", 52], ["dependencies", "[{\"id\":23,\"statuses\":[2]}]"], ["uuid", "8fb370ea-b765-98fe-fa5d-97ff4bd57df2"], ["created_at", "2015-07-07 18:52:06.117415"], ["updated_at", "2015-07-07 18:52:06.117415"]]
451581
+  (0.1ms) RELEASE SAVEPOINT active_record_1
451582
+ RailsWorkflow::ProcessTemplate Load (0.2ms) SELECT "rails_workflow_process_templates".* FROM "rails_workflow_process_templates" WHERE "rails_workflow_process_templates"."id" = $1 LIMIT 1 [["id", 52]]
451583
+  (0.4ms) SAVEPOINT active_record_1
451584
+ SQL (0.6ms) INSERT INTO "rails_workflow_processes" ("template_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["template_id", 52], ["created_at", "2015-07-07 18:52:06.122317"], ["updated_at", "2015-07-07 18:52:06.122317"]]
451585
+  (0.6ms) RELEASE SAVEPOINT active_record_1
451586
+  (0.1ms) SAVEPOINT active_record_1
451587
+ SQL (0.3ms) UPDATE "rails_workflow_processes" SET "title" = $1, "status" = $2, "updated_at" = $3 WHERE "rails_workflow_processes"."id" = $4 [["title", "Process Template"], ["status", 0], ["updated_at", "2015-07-07 18:52:06.128036"], ["id", 16]]
451588
+ SQL (0.2ms) INSERT INTO "rails_workflow_contexts" ("parent_id", "parent_type", "body", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["parent_id", 16], ["parent_type", "RailsWorkflow::Process"], ["body", "{\"msg\":\"Test\"}"], ["created_at", "2015-07-07 18:52:06.130678"], ["updated_at", "2015-07-07 18:52:06.130678"]]
451589
+ RailsWorkflow::Context Load (0.2ms) SELECT "rails_workflow_contexts".* FROM "rails_workflow_contexts" WHERE "rails_workflow_contexts"."parent_id" = $1 AND "rails_workflow_contexts"."parent_type" = $2 LIMIT 1 [["parent_id", 16], ["parent_type", "RailsWorkflow::Process"]]
451590
+ RailsWorkflow::OperationTemplate Load (0.3ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."process_template_id" = $1 AND "rails_workflow_operation_templates"."dependencies" IS NULL ORDER BY "rails_workflow_operation_templates"."id" ASC [["process_template_id", 52]]
451591
+ SQL (0.3ms) INSERT INTO "rails_workflow_operations" ("title", "is_background", "template_id", "process_id", "status", "dependencies", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["title", "Operation Template"], ["is_background", "t"], ["template_id", 23], ["process_id", 16], ["status", 0], ["dependencies", "[]"], ["created_at", "2015-07-07 18:52:06.136274"], ["updated_at", "2015-07-07 18:52:06.136274"]]
451592
+ SQL (0.2ms) INSERT INTO "rails_workflow_contexts" ("parent_type", "parent_id", "body", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["parent_type", "RailsWorkflow::Operation"], ["parent_id", 5], ["body", "{\"msg\":\"Test\"}"], ["created_at", "2015-07-07 18:52:06.137944"], ["updated_at", "2015-07-07 18:52:06.137944"]]
451593
+ RailsWorkflow::Process Load (0.2ms) SELECT "rails_workflow_processes".* FROM "rails_workflow_processes" WHERE "rails_workflow_processes"."id" = $1 LIMIT 1 [["id", 16]]
451594
+  (0.2ms) RELEASE SAVEPOINT active_record_1
451595
+ RailsWorkflow::Operation Load (0.3ms) SELECT "rails_workflow_operations".* FROM "rails_workflow_operations" WHERE "rails_workflow_operations"."process_id" = $1 ORDER BY "rails_workflow_operations"."id" ASC LIMIT 1 [["process_id", 16]]
451596
+ RailsWorkflow::Context Load (0.2ms) SELECT "rails_workflow_contexts".* FROM "rails_workflow_contexts" WHERE "rails_workflow_contexts"."parent_id" = $1 AND "rails_workflow_contexts"."parent_type" = $2 LIMIT 1 [["parent_id", 5], ["parent_type", "RailsWorkflow::Operation"]]
451597
+  (0.2ms) ROLLBACK
451598
+  (0.1ms) BEGIN
451599
+  (0.3ms) SAVEPOINT active_record_1
451600
+ SQL (0.5ms) INSERT INTO "rails_workflow_process_templates" ("title", "uuid", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "Process Template"], ["uuid", "8ada3e9c-65e0-63b1-8915-e3620f4c76ff"], ["created_at", "2015-07-07 18:52:06.158446"], ["updated_at", "2015-07-07 18:52:06.158446"]]
451601
+  (0.2ms) RELEASE SAVEPOINT active_record_1
451602
+  (0.2ms) SAVEPOINT active_record_1
451603
+ SQL (0.3ms) INSERT INTO "rails_workflow_operation_templates" ("title", "kind", "is_background", "process_template_id", "uuid", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["title", "Operation Template"], ["kind", "default"], ["is_background", "t"], ["process_template_id", 53], ["uuid", "c0e30f53-6776-6276-7ace-b39e169a637b"], ["created_at", "2015-07-07 18:52:06.162850"], ["updated_at", "2015-07-07 18:52:06.162850"]]
451604
+  (0.2ms) RELEASE SAVEPOINT active_record_1
451605
+  (0.1ms) SAVEPOINT active_record_1
451606
+ SQL (0.3ms) INSERT INTO "rails_workflow_operation_templates" ("title", "kind", "is_background", "process_template_id", "dependencies", "uuid", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["title", "Operation Template"], ["kind", "default"], ["is_background", "t"], ["process_template_id", 53], ["dependencies", "[{\"id\":25,\"statuses\":[2]}]"], ["uuid", "93e732e3-361d-a452-f74e-8d2d59cd43f3"], ["created_at", "2015-07-07 18:52:06.166653"], ["updated_at", "2015-07-07 18:52:06.166653"]]
451607
+  (0.2ms) RELEASE SAVEPOINT active_record_1
451608
+ RailsWorkflow::ProcessTemplate Load (0.2ms) SELECT "rails_workflow_process_templates".* FROM "rails_workflow_process_templates" WHERE "rails_workflow_process_templates"."id" = $1 LIMIT 1 [["id", 53]]
451609
+  (0.2ms) SAVEPOINT active_record_1
451610
+ SQL (0.3ms) INSERT INTO "rails_workflow_processes" ("template_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["template_id", 53], ["created_at", "2015-07-07 18:52:06.171193"], ["updated_at", "2015-07-07 18:52:06.171193"]]
451611
+  (0.2ms) RELEASE SAVEPOINT active_record_1
451612
+  (0.2ms) SAVEPOINT active_record_1
451613
+ SQL (0.2ms) UPDATE "rails_workflow_processes" SET "title" = $1, "status" = $2, "updated_at" = $3 WHERE "rails_workflow_processes"."id" = $4 [["title", "Process Template"], ["status", 0], ["updated_at", "2015-07-07 18:52:06.173645"], ["id", 17]]
451614
+ SQL (0.2ms) INSERT INTO "rails_workflow_contexts" ("parent_id", "parent_type", "body", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["parent_id", 17], ["parent_type", "RailsWorkflow::Process"], ["body", "{\"msg\":\"Test\"}"], ["created_at", "2015-07-07 18:52:06.175928"], ["updated_at", "2015-07-07 18:52:06.175928"]]
451615
+ RailsWorkflow::Context Load (0.2ms) SELECT "rails_workflow_contexts".* FROM "rails_workflow_contexts" WHERE "rails_workflow_contexts"."parent_id" = $1 AND "rails_workflow_contexts"."parent_type" = $2 LIMIT 1 [["parent_id", 17], ["parent_type", "RailsWorkflow::Process"]]
451616
+ RailsWorkflow::OperationTemplate Load (0.2ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."process_template_id" = $1 AND "rails_workflow_operation_templates"."dependencies" IS NULL ORDER BY "rails_workflow_operation_templates"."id" ASC [["process_template_id", 53]]
451617
+ SQL (0.2ms) INSERT INTO "rails_workflow_operations" ("title", "is_background", "template_id", "process_id", "status", "dependencies", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["title", "Operation Template"], ["is_background", "t"], ["template_id", 25], ["process_id", 17], ["status", 0], ["dependencies", "[]"], ["created_at", "2015-07-07 18:52:06.181689"], ["updated_at", "2015-07-07 18:52:06.181689"]]
451618
+ SQL (0.2ms) INSERT INTO "rails_workflow_contexts" ("parent_type", "parent_id", "body", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["parent_type", "RailsWorkflow::Operation"], ["parent_id", 6], ["body", "{\"msg\":\"Test\"}"], ["created_at", "2015-07-07 18:52:06.183440"], ["updated_at", "2015-07-07 18:52:06.183440"]]
451619
+ RailsWorkflow::Process Load (0.2ms) SELECT "rails_workflow_processes".* FROM "rails_workflow_processes" WHERE "rails_workflow_processes"."id" = $1 LIMIT 1 [["id", 17]]
451620
+  (0.4ms) RELEASE SAVEPOINT active_record_1
451621
+ RailsWorkflow::ProcessTemplate Load (0.5ms) SELECT "rails_workflow_process_templates".* FROM "rails_workflow_process_templates" WHERE "rails_workflow_process_templates"."id" = $1 LIMIT 1 [["id", 53]]
451622
+  (0.7ms) SELECT COUNT(*) FROM "rails_workflow_operations" WHERE "rails_workflow_operations"."process_id" = $1 [["process_id", 17]]
451623
+  (0.2ms) SAVEPOINT active_record_1
451624
+ SQL (0.3ms) UPDATE "rails_workflow_processes" SET "status" = $1, "updated_at" = $2 WHERE "rails_workflow_processes"."id" = $3 [["status", 1], ["updated_at", "2015-07-07 18:52:06.195103"], ["id", 17]]
451625
+  (0.2ms) RELEASE SAVEPOINT active_record_1
451626
+ RailsWorkflow::Operation Load (0.3ms) SELECT "rails_workflow_operations".* FROM "rails_workflow_operations" WHERE "rails_workflow_operations"."process_id" = $1 AND "rails_workflow_operations"."status" = $2 [["process_id", 17], ["status", 0]]
451627
+  (0.2ms) SAVEPOINT active_record_1
451628
+ SQL (0.3ms) UPDATE "rails_workflow_operations" SET "status" = $1, "updated_at" = $2 WHERE "rails_workflow_operations"."id" = $3 [["status", 1], ["updated_at", "2015-07-07 18:52:06.199101"], ["id", 6]]
451629
+  (0.2ms) RELEASE SAVEPOINT active_record_1
451630
+ RailsWorkflow::Operation Load (0.3ms) SELECT "rails_workflow_operations".* FROM "rails_workflow_operations" WHERE "rails_workflow_operations"."id" = $1 LIMIT 1 [["id", 6]]
451631
+  (0.2ms) SAVEPOINT active_record_1
451632
+  (0.1ms) RELEASE SAVEPOINT active_record_1
451633
+  (0.2ms) ROLLBACK
451634
+  (0.1ms) BEGIN
451635
+  (0.2ms) SAVEPOINT active_record_1
451636
+ SQL (0.2ms) INSERT INTO "rails_workflow_process_templates" ("title", "uuid", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "Process Template"], ["uuid", "42586109-d7dd-9018-e82a-ab41e41d8a51"], ["created_at", "2015-07-07 18:52:06.210220"], ["updated_at", "2015-07-07 18:52:06.210220"]]
451637
+  (0.2ms) RELEASE SAVEPOINT active_record_1
451638
+  (0.1ms) SAVEPOINT active_record_1
451639
+ SQL (0.3ms) INSERT INTO "rails_workflow_operation_templates" ("title", "kind", "is_background", "process_template_id", "uuid", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["title", "Operation Template"], ["kind", "default"], ["is_background", "t"], ["process_template_id", 54], ["uuid", "1de21f5d-7964-edf9-b8ca-1d7c3c08dbd5"], ["created_at", "2015-07-07 18:52:06.213131"], ["updated_at", "2015-07-07 18:52:06.213131"]]
451640
+  (0.2ms) RELEASE SAVEPOINT active_record_1
451641
+  (0.2ms) SAVEPOINT active_record_1
451642
+ SQL (0.3ms) INSERT INTO "rails_workflow_operation_templates" ("title", "kind", "is_background", "process_template_id", "dependencies", "uuid", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["title", "Operation Template"], ["kind", "default"], ["is_background", "t"], ["process_template_id", 54], ["dependencies", "[{\"id\":27,\"statuses\":[2]}]"], ["uuid", "bcd806bc-a725-6062-06b4-6edb0bad19d2"], ["created_at", "2015-07-07 18:52:06.216759"], ["updated_at", "2015-07-07 18:52:06.216759"]]
451643
+  (0.2ms) RELEASE SAVEPOINT active_record_1
451644
+ RailsWorkflow::ProcessTemplate Load (0.2ms) SELECT "rails_workflow_process_templates".* FROM "rails_workflow_process_templates" WHERE "rails_workflow_process_templates"."id" = $1 LIMIT 1 [["id", 54]]
451645
+  (0.1ms) SAVEPOINT active_record_1
451646
+ SQL (0.2ms) INSERT INTO "rails_workflow_processes" ("template_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["template_id", 54], ["created_at", "2015-07-07 18:52:06.220740"], ["updated_at", "2015-07-07 18:52:06.220740"]]
451647
+  (0.1ms) RELEASE SAVEPOINT active_record_1
451648
+  (0.1ms) SAVEPOINT active_record_1
451649
+ SQL (0.2ms) UPDATE "rails_workflow_processes" SET "title" = $1, "status" = $2, "updated_at" = $3 WHERE "rails_workflow_processes"."id" = $4 [["title", "Process Template"], ["status", 0], ["updated_at", "2015-07-07 18:52:06.222640"], ["id", 18]]
451650
+ SQL (0.4ms) INSERT INTO "rails_workflow_contexts" ("parent_id", "parent_type", "body", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["parent_id", 18], ["parent_type", "RailsWorkflow::Process"], ["body", "{\"msg\":\"Test\"}"], ["created_at", "2015-07-07 18:52:06.224883"], ["updated_at", "2015-07-07 18:52:06.224883"]]
451651
+ RailsWorkflow::Context Load (0.4ms) SELECT "rails_workflow_contexts".* FROM "rails_workflow_contexts" WHERE "rails_workflow_contexts"."parent_id" = $1 AND "rails_workflow_contexts"."parent_type" = $2 LIMIT 1 [["parent_id", 18], ["parent_type", "RailsWorkflow::Process"]]
451652
+ RailsWorkflow::OperationTemplate Load (0.3ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."process_template_id" = $1 AND "rails_workflow_operation_templates"."dependencies" IS NULL ORDER BY "rails_workflow_operation_templates"."id" ASC [["process_template_id", 54]]
451653
+ SQL (0.3ms) INSERT INTO "rails_workflow_operations" ("title", "is_background", "template_id", "process_id", "status", "dependencies", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["title", "Operation Template"], ["is_background", "t"], ["template_id", 27], ["process_id", 18], ["status", 0], ["dependencies", "[]"], ["created_at", "2015-07-07 18:52:06.236231"], ["updated_at", "2015-07-07 18:52:06.236231"]]
451654
+ SQL (0.3ms) INSERT INTO "rails_workflow_contexts" ("parent_type", "parent_id", "body", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["parent_type", "RailsWorkflow::Operation"], ["parent_id", 7], ["body", "{\"msg\":\"Test\"}"], ["created_at", "2015-07-07 18:52:06.239049"], ["updated_at", "2015-07-07 18:52:06.239049"]]
451655
+ RailsWorkflow::Process Load (0.3ms) SELECT "rails_workflow_processes".* FROM "rails_workflow_processes" WHERE "rails_workflow_processes"."id" = $1 LIMIT 1 [["id", 18]]
451656
+  (0.1ms) RELEASE SAVEPOINT active_record_1
451657
+ RailsWorkflow::ProcessTemplate Load (0.2ms) SELECT "rails_workflow_process_templates".* FROM "rails_workflow_process_templates" WHERE "rails_workflow_process_templates"."id" = $1 LIMIT 1 [["id", 54]]
451658
+  (0.3ms) SELECT COUNT(*) FROM "rails_workflow_operations" WHERE "rails_workflow_operations"."process_id" = $1 [["process_id", 18]]
451659
+  (0.2ms) SAVEPOINT active_record_1
451660
+ SQL (0.3ms) UPDATE "rails_workflow_processes" SET "status" = $1, "updated_at" = $2 WHERE "rails_workflow_processes"."id" = $3 [["status", 1], ["updated_at", "2015-07-07 18:52:06.246532"], ["id", 18]]
451661
+  (0.2ms) RELEASE SAVEPOINT active_record_1
451662
+ RailsWorkflow::Operation Load (0.3ms) SELECT "rails_workflow_operations".* FROM "rails_workflow_operations" WHERE "rails_workflow_operations"."process_id" = $1 AND "rails_workflow_operations"."status" = $2 [["process_id", 18], ["status", 0]]
451663
+  (0.2ms) SAVEPOINT active_record_1
451664
+ SQL (0.3ms) UPDATE "rails_workflow_operations" SET "status" = $1, "updated_at" = $2 WHERE "rails_workflow_operations"."id" = $3 [["status", 1], ["updated_at", "2015-07-07 18:52:06.249908"], ["id", 7]]
451665
+  (0.1ms) RELEASE SAVEPOINT active_record_1
451666
+ RailsWorkflow::Operation Load (0.3ms) SELECT "rails_workflow_operations".* FROM "rails_workflow_operations" WHERE "rails_workflow_operations"."id" = $1 LIMIT 1 [["id", 7]]
451667
+  (0.2ms) SAVEPOINT active_record_1
451668
+  (0.2ms) RELEASE SAVEPOINT active_record_1
451669
+ RailsWorkflow::Operation Load (0.4ms) SELECT "rails_workflow_operations".* FROM "rails_workflow_operations" WHERE "rails_workflow_operations"."process_id" = $1 ORDER BY "rails_workflow_operations"."id" ASC LIMIT 1 [["process_id", 18]]
451670
+  (0.4ms) ROLLBACK
451671
+  (0.3ms) BEGIN
451672
+  (0.5ms) SAVEPOINT active_record_1
451673
+ SQL (0.3ms) INSERT INTO "rails_workflow_process_templates" ("title", "uuid", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "Process Template"], ["uuid", "e07d7bf3-1fc6-d8ff-7dda-5a9b574ccdd9"], ["created_at", "2015-07-07 18:52:06.261553"], ["updated_at", "2015-07-07 18:52:06.261553"]]
451674
+  (0.2ms) RELEASE SAVEPOINT active_record_1
451675
+  (0.1ms) SAVEPOINT active_record_1
451676
+ SQL (0.3ms) INSERT INTO "rails_workflow_operation_templates" ("title", "kind", "is_background", "process_template_id", "uuid", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["title", "Operation Template"], ["kind", "default"], ["is_background", "t"], ["process_template_id", 55], ["uuid", "abcaf9ce-c6f3-08b7-b421-e3244e80ab79"], ["created_at", "2015-07-07 18:52:06.265848"], ["updated_at", "2015-07-07 18:52:06.265848"]]
451677
+  (0.1ms) RELEASE SAVEPOINT active_record_1
451678
+  (0.1ms) SAVEPOINT active_record_1
451679
+ SQL (0.2ms) INSERT INTO "rails_workflow_operation_templates" ("title", "kind", "is_background", "process_template_id", "dependencies", "uuid", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["title", "Operation Template"], ["kind", "default"], ["is_background", "t"], ["process_template_id", 55], ["dependencies", "[{\"id\":29,\"statuses\":[2]}]"], ["uuid", "31036e45-0f65-5f4e-436a-f2e8b9882af2"], ["created_at", "2015-07-07 18:52:06.269435"], ["updated_at", "2015-07-07 18:52:06.269435"]]
451680
+  (0.2ms) RELEASE SAVEPOINT active_record_1
451681
+ RailsWorkflow::ProcessTemplate Load (0.2ms) SELECT "rails_workflow_process_templates".* FROM "rails_workflow_process_templates" WHERE "rails_workflow_process_templates"."id" = $1 LIMIT 1 [["id", 55]]
451682
+  (0.2ms) SAVEPOINT active_record_1
451683
+ SQL (0.2ms) INSERT INTO "rails_workflow_processes" ("template_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["template_id", 55], ["created_at", "2015-07-07 18:52:06.273216"], ["updated_at", "2015-07-07 18:52:06.273216"]]
451684
+  (0.2ms) RELEASE SAVEPOINT active_record_1
451685
+  (0.2ms) SAVEPOINT active_record_1
451686
+ SQL (0.2ms) UPDATE "rails_workflow_processes" SET "title" = $1, "status" = $2, "updated_at" = $3 WHERE "rails_workflow_processes"."id" = $4 [["title", "Process Template"], ["status", 0], ["updated_at", "2015-07-07 18:52:06.275373"], ["id", 19]]
451687
+ SQL (0.3ms) INSERT INTO "rails_workflow_contexts" ("parent_id", "parent_type", "body", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["parent_id", 19], ["parent_type", "RailsWorkflow::Process"], ["body", "{\"msg\":\"Test\"}"], ["created_at", "2015-07-07 18:52:06.277539"], ["updated_at", "2015-07-07 18:52:06.277539"]]
451688
+ RailsWorkflow::Context Load (0.2ms) SELECT "rails_workflow_contexts".* FROM "rails_workflow_contexts" WHERE "rails_workflow_contexts"."parent_id" = $1 AND "rails_workflow_contexts"."parent_type" = $2 LIMIT 1 [["parent_id", 19], ["parent_type", "RailsWorkflow::Process"]]
451689
+ RailsWorkflow::OperationTemplate Load (0.2ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."process_template_id" = $1 AND "rails_workflow_operation_templates"."dependencies" IS NULL ORDER BY "rails_workflow_operation_templates"."id" ASC [["process_template_id", 55]]
451690
+ SQL (0.2ms) INSERT INTO "rails_workflow_operations" ("title", "is_background", "template_id", "process_id", "status", "dependencies", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["title", "Operation Template"], ["is_background", "t"], ["template_id", 29], ["process_id", 19], ["status", 0], ["dependencies", "[]"], ["created_at", "2015-07-07 18:52:06.283700"], ["updated_at", "2015-07-07 18:52:06.283700"]]
451691
+ SQL (0.2ms) INSERT INTO "rails_workflow_contexts" ("parent_type", "parent_id", "body", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["parent_type", "RailsWorkflow::Operation"], ["parent_id", 8], ["body", "{\"msg\":\"Test\"}"], ["created_at", "2015-07-07 18:52:06.285484"], ["updated_at", "2015-07-07 18:52:06.285484"]]
451692
+ RailsWorkflow::Process Load (0.2ms) SELECT "rails_workflow_processes".* FROM "rails_workflow_processes" WHERE "rails_workflow_processes"."id" = $1 LIMIT 1 [["id", 19]]
451693
+  (0.1ms) RELEASE SAVEPOINT active_record_1
451694
+ RailsWorkflow::ProcessTemplate Load (0.2ms) SELECT "rails_workflow_process_templates".* FROM "rails_workflow_process_templates" WHERE "rails_workflow_process_templates"."id" = $1 LIMIT 1 [["id", 55]]
451695
+  (0.2ms) SELECT COUNT(*) FROM "rails_workflow_operations" WHERE "rails_workflow_operations"."process_id" = $1 [["process_id", 19]]
451696
+  (0.2ms) SAVEPOINT active_record_1
451697
+ SQL (0.3ms) UPDATE "rails_workflow_processes" SET "status" = $1, "updated_at" = $2 WHERE "rails_workflow_processes"."id" = $3 [["status", 1], ["updated_at", "2015-07-07 18:52:06.291979"], ["id", 19]]
451698
+  (0.2ms) RELEASE SAVEPOINT active_record_1
451699
+ RailsWorkflow::Operation Load (0.3ms) SELECT "rails_workflow_operations".* FROM "rails_workflow_operations" WHERE "rails_workflow_operations"."process_id" = $1 AND "rails_workflow_operations"."status" = $2 [["process_id", 19], ["status", 0]]
451700
+  (0.2ms) SAVEPOINT active_record_1
451701
+ SQL (0.4ms) UPDATE "rails_workflow_operations" SET "status" = $1, "updated_at" = $2 WHERE "rails_workflow_operations"."id" = $3 [["status", 1], ["updated_at", "2015-07-07 18:52:06.296323"], ["id", 8]]
451702
+  (0.2ms) RELEASE SAVEPOINT active_record_1
451703
+ RailsWorkflow::Operation Load (0.3ms) SELECT "rails_workflow_operations".* FROM "rails_workflow_operations" WHERE "rails_workflow_operations"."id" = $1 LIMIT 1 [["id", 8]]
451704
+  (0.1ms) SAVEPOINT active_record_1
451705
+  (0.1ms) RELEASE SAVEPOINT active_record_1
451706
+  (0.1ms) SAVEPOINT active_record_1
451707
+ SQL (0.3ms) UPDATE "rails_workflow_operations" SET "status" = $1, "completed_at" = $2, "updated_at" = $3 WHERE "rails_workflow_operations"."id" = $4 [["status", 2], ["completed_at", "2015-07-07 18:52:06.300312"], ["updated_at", "2015-07-07 18:52:06.301332"], ["id", 8]]
451708
+  (0.1ms) RELEASE SAVEPOINT active_record_1
451709
+ RailsWorkflow::Process Load (0.2ms) SELECT "rails_workflow_processes".* FROM "rails_workflow_processes" WHERE "rails_workflow_processes"."id" = $1 LIMIT 1 [["id", 19]]
451710
+ RailsWorkflow::ProcessTemplate Load (0.2ms) SELECT "rails_workflow_process_templates".* FROM "rails_workflow_process_templates" WHERE "rails_workflow_process_templates"."id" = $1 LIMIT 1 [["id", 55]]
451711
+ RailsWorkflow::OperationTemplate Load (0.6ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."process_template_id" = $1 ORDER BY "rails_workflow_operation_templates"."id" ASC [["process_template_id", 55]]
451712
+ RailsWorkflow::OperationTemplate Load (0.3ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."id" = $1 LIMIT 1 [["id", 29]]
451713
+ RailsWorkflow::Operation Load (0.3ms) SELECT "rails_workflow_operations".* FROM "rails_workflow_operations" WHERE "rails_workflow_operations"."process_id" = $1 [["process_id", 19]]
451714
+ RailsWorkflow::OperationTemplate Load (0.2ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."id" = $1 LIMIT 1 [["id", 29]]
451715
+ RailsWorkflow::Context Load (0.2ms) SELECT "rails_workflow_contexts".* FROM "rails_workflow_contexts" WHERE "rails_workflow_contexts"."parent_id" = $1 AND "rails_workflow_contexts"."parent_type" = $2 LIMIT 1 [["parent_id", 8], ["parent_type", "RailsWorkflow::Operation"]]
451716
+  (0.2ms) SAVEPOINT active_record_1
451717
+ SQL (0.3ms) INSERT INTO "rails_workflow_operations" ("title", "is_background", "template_id", "process_id", "status", "dependencies", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["title", "Operation Template"], ["is_background", "t"], ["template_id", 30], ["process_id", 19], ["status", 0], ["dependencies", "[{\"operation_id\":8,\"status\":2}]"], ["created_at", "2015-07-07 18:52:06.358002"], ["updated_at", "2015-07-07 18:52:06.358002"]]
451718
+ SQL (0.2ms) INSERT INTO "rails_workflow_contexts" ("parent_type", "parent_id", "body", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["parent_type", "RailsWorkflow::Operation"], ["parent_id", 9], ["body", "{\"msg\":\"Test\"}"], ["created_at", "2015-07-07 18:52:06.359908"], ["updated_at", "2015-07-07 18:52:06.359908"]]
451719
+  (0.1ms) RELEASE SAVEPOINT active_record_1
451720
+  (0.2ms) SAVEPOINT active_record_1
451721
+  (0.1ms) RELEASE SAVEPOINT active_record_1
451722
+  (0.2ms) SAVEPOINT active_record_1
451723
+ SQL (0.3ms) UPDATE "rails_workflow_operations" SET "status" = $1, "updated_at" = $2 WHERE "rails_workflow_operations"."id" = $3 [["status", 1], ["updated_at", "2015-07-07 18:52:06.364088"], ["id", 9]]
451724
+  (0.1ms) RELEASE SAVEPOINT active_record_1
451725
+ RailsWorkflow::Operation Load (0.3ms) SELECT "rails_workflow_operations".* FROM "rails_workflow_operations" WHERE "rails_workflow_operations"."id" = $1 LIMIT 1 [["id", 9]]
451726
+  (0.2ms) SAVEPOINT active_record_1
451727
+  (0.1ms) RELEASE SAVEPOINT active_record_1
451728
+  (0.1ms) SAVEPOINT active_record_1
451729
+ SQL (0.3ms) UPDATE "rails_workflow_operations" SET "status" = $1, "completed_at" = $2, "updated_at" = $3 WHERE "rails_workflow_operations"."id" = $4 [["status", 2], ["completed_at", "2015-07-07 18:52:06.367183"], ["updated_at", "2015-07-07 18:52:06.368224"], ["id", 9]]
451730
+  (0.1ms) RELEASE SAVEPOINT active_record_1
451731
+ RailsWorkflow::Process Load (0.2ms) SELECT "rails_workflow_processes".* FROM "rails_workflow_processes" WHERE "rails_workflow_processes"."id" = $1 LIMIT 1 [["id", 19]]
451732
+ RailsWorkflow::ProcessTemplate Load (0.2ms) SELECT "rails_workflow_process_templates".* FROM "rails_workflow_process_templates" WHERE "rails_workflow_process_templates"."id" = $1 LIMIT 1 [["id", 55]]
451733
+ RailsWorkflow::OperationTemplate Load (0.3ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."process_template_id" = $1 ORDER BY "rails_workflow_operation_templates"."id" ASC [["process_template_id", 55]]
451734
+ RailsWorkflow::OperationTemplate Load (0.2ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."id" = $1 LIMIT 1 [["id", 30]]
451735
+ RailsWorkflow::Operation Load (0.2ms) SELECT "rails_workflow_operations".* FROM "rails_workflow_operations" WHERE "rails_workflow_operations"."process_id" = $1 [["process_id", 19]]
451736
+ RailsWorkflow::OperationTemplate Load (0.2ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."id" = $1 LIMIT 1 [["id", 30]]
451737
+ RailsWorkflow::OperationTemplate Load (0.2ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."id" = $1 LIMIT 1 [["id", 29]]
451738
+  (1.4ms) SELECT COUNT(*) FROM "rails_workflow_errors" WHERE "rails_workflow_errors"."parent_id" = $1 AND "rails_workflow_errors"."parent_type" = $2 AND (resolved is null or resolved = false) [["parent_id", 19], ["parent_type", "RailsWorkflow::Process"]]
451739
+  (0.3ms) SELECT COUNT(*) FROM "rails_workflow_errors" WHERE "rails_workflow_errors"."parent_id" = $1 AND "rails_workflow_errors"."parent_type" = $2 AND (resolved is null or resolved = false) [["parent_id", 19], ["parent_type", "RailsWorkflow::Process"]]
451740
+  (0.2ms) SAVEPOINT active_record_1
451741
+ SQL (0.3ms) UPDATE "rails_workflow_processes" SET "status" = $1, "updated_at" = $2 WHERE "rails_workflow_processes"."id" = $3 [["status", 2], ["updated_at", "2015-07-07 18:52:06.385039"], ["id", 19]]
451742
+  (0.2ms) RELEASE SAVEPOINT active_record_1
451743
+ RailsWorkflow::Operation Load (0.2ms) SELECT "rails_workflow_operations".* FROM "rails_workflow_operations" WHERE "rails_workflow_operations"."child_process_id" = $1 LIMIT 1 [["child_process_id", 19]]
451744
+ RailsWorkflow::Operation Load (0.3ms) SELECT "rails_workflow_operations".* FROM "rails_workflow_operations" WHERE "rails_workflow_operations"."process_id" = $1 ORDER BY "rails_workflow_operations"."id" ASC LIMIT 1 [["process_id", 19]]
451745
+  (0.2ms) SAVEPOINT active_record_1
451746
+ SQL (0.2ms) UPDATE "rails_workflow_operations" SET "completed_at" = $1, "updated_at" = $2 WHERE "rails_workflow_operations"."id" = $3 [["completed_at", "2015-07-07 18:52:06.391222"], ["updated_at", "2015-07-07 18:52:06.392393"], ["id", 8]]
451747
+  (0.1ms) RELEASE SAVEPOINT active_record_1
451748
+ RailsWorkflow::Process Load (0.2ms) SELECT "rails_workflow_processes".* FROM "rails_workflow_processes" WHERE "rails_workflow_processes"."id" = $1 LIMIT 1 [["id", 19]]
451749
+ RailsWorkflow::ProcessTemplate Load (0.2ms) SELECT "rails_workflow_process_templates".* FROM "rails_workflow_process_templates" WHERE "rails_workflow_process_templates"."id" = $1 LIMIT 1 [["id", 55]]
451750
+ RailsWorkflow::OperationTemplate Load (0.3ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."process_template_id" = $1 ORDER BY "rails_workflow_operation_templates"."id" ASC [["process_template_id", 55]]
451751
+ RailsWorkflow::OperationTemplate Load (0.2ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."id" = $1 LIMIT 1 [["id", 29]]
451752
+ RailsWorkflow::Operation Load (0.3ms) SELECT "rails_workflow_operations".* FROM "rails_workflow_operations" WHERE "rails_workflow_operations"."process_id" = $1 [["process_id", 19]]
451753
+ RailsWorkflow::OperationTemplate Load (0.2ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."id" = $1 LIMIT 1 [["id", 30]]
451754
+ RailsWorkflow::OperationTemplate Load (0.3ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."id" = $1 LIMIT 1 [["id", 29]]
451755
+ RailsWorkflow::Operation Load (0.3ms) SELECT "rails_workflow_operations".* FROM "rails_workflow_operations" WHERE "rails_workflow_operations"."process_id" = $1 ORDER BY "rails_workflow_operations"."id" DESC LIMIT 1 [["process_id", 19]]
451756
+  (0.2ms) SAVEPOINT active_record_1
451757
+ SQL (0.4ms) UPDATE "rails_workflow_operations" SET "completed_at" = $1, "updated_at" = $2 WHERE "rails_workflow_operations"."id" = $3 [["completed_at", "2015-07-07 18:52:06.401807"], ["updated_at", "2015-07-07 18:52:06.403074"], ["id", 9]]
451758
+  (0.1ms) RELEASE SAVEPOINT active_record_1
451759
+ RailsWorkflow::Process Load (0.2ms) SELECT "rails_workflow_processes".* FROM "rails_workflow_processes" WHERE "rails_workflow_processes"."id" = $1 LIMIT 1 [["id", 19]]
451760
+ RailsWorkflow::ProcessTemplate Load (0.2ms) SELECT "rails_workflow_process_templates".* FROM "rails_workflow_process_templates" WHERE "rails_workflow_process_templates"."id" = $1 LIMIT 1 [["id", 55]]
451761
+ RailsWorkflow::OperationTemplate Load (0.4ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."process_template_id" = $1 ORDER BY "rails_workflow_operation_templates"."id" ASC [["process_template_id", 55]]
451762
+ RailsWorkflow::OperationTemplate Load (0.2ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."id" = $1 LIMIT 1 [["id", 30]]
451763
+ RailsWorkflow::Operation Load (0.3ms) SELECT "rails_workflow_operations".* FROM "rails_workflow_operations" WHERE "rails_workflow_operations"."process_id" = $1 [["process_id", 19]]
451764
+ RailsWorkflow::OperationTemplate Load (0.2ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."id" = $1 LIMIT 1 [["id", 30]]
451765
+ RailsWorkflow::OperationTemplate Load (0.2ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."id" = $1 LIMIT 1 [["id", 29]]
451766
+ RailsWorkflow::Process Load (0.2ms) SELECT "rails_workflow_processes".* FROM "rails_workflow_processes" WHERE "rails_workflow_processes"."id" = $1 LIMIT 1 [["id", 19]]
451767
+  (0.2ms) ROLLBACK
451768
+  (0.1ms) BEGIN
451769
+  (0.2ms) SAVEPOINT active_record_1
451770
+ SQL (0.2ms) INSERT INTO "rails_workflow_process_templates" ("title", "uuid", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "Process Template"], ["uuid", "4995adf5-f9a8-d51d-ecd3-f4b5ebdaa8fc"], ["created_at", "2015-07-07 18:52:06.415762"], ["updated_at", "2015-07-07 18:52:06.415762"]]
451771
+  (0.1ms) RELEASE SAVEPOINT active_record_1
451772
+  (0.1ms) SAVEPOINT active_record_1
451773
+ SQL (0.2ms) INSERT INTO "rails_workflow_operation_templates" ("title", "kind", "is_background", "process_template_id", "uuid", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["title", "Operation Template"], ["kind", "default"], ["is_background", "t"], ["process_template_id", 56], ["uuid", "171fabba-3911-06f1-490d-1ce4248ad001"], ["created_at", "2015-07-07 18:52:06.418510"], ["updated_at", "2015-07-07 18:52:06.418510"]]
451774
+  (0.1ms) RELEASE SAVEPOINT active_record_1
451775
+  (0.1ms) SAVEPOINT active_record_1
451776
+ SQL (0.3ms) INSERT INTO "rails_workflow_operation_templates" ("title", "kind", "is_background", "process_template_id", "dependencies", "uuid", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["title", "Operation Template"], ["kind", "default"], ["is_background", "t"], ["process_template_id", 56], ["dependencies", "[{\"id\":31,\"statuses\":[2]}]"], ["uuid", "da573ca3-a31f-f47d-d4d5-6befd9a28461"], ["created_at", "2015-07-07 18:52:06.421935"], ["updated_at", "2015-07-07 18:52:06.421935"]]
451777
+  (0.2ms) RELEASE SAVEPOINT active_record_1
451778
+ RailsWorkflow::ProcessTemplate Load (0.2ms) SELECT "rails_workflow_process_templates".* FROM "rails_workflow_process_templates" WHERE "rails_workflow_process_templates"."id" = $1 LIMIT 1 [["id", 56]]
451779
+  (0.2ms) SAVEPOINT active_record_1
451780
+ SQL (0.2ms) INSERT INTO "rails_workflow_processes" ("template_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["template_id", 56], ["created_at", "2015-07-07 18:52:06.425780"], ["updated_at", "2015-07-07 18:52:06.425780"]]
451781
+  (0.2ms) RELEASE SAVEPOINT active_record_1
451782
+  (0.1ms) SAVEPOINT active_record_1
451783
+ SQL (0.2ms) UPDATE "rails_workflow_processes" SET "title" = $1, "status" = $2, "updated_at" = $3 WHERE "rails_workflow_processes"."id" = $4 [["title", "Process Template"], ["status", 0], ["updated_at", "2015-07-07 18:52:06.427715"], ["id", 20]]
451784
+ SQL (0.2ms) INSERT INTO "rails_workflow_contexts" ("parent_id", "parent_type", "body", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["parent_id", 20], ["parent_type", "RailsWorkflow::Process"], ["body", "{\"msg\":\"Test\"}"], ["created_at", "2015-07-07 18:52:06.429791"], ["updated_at", "2015-07-07 18:52:06.429791"]]
451785
+ RailsWorkflow::Context Load (0.2ms) SELECT "rails_workflow_contexts".* FROM "rails_workflow_contexts" WHERE "rails_workflow_contexts"."parent_id" = $1 AND "rails_workflow_contexts"."parent_type" = $2 LIMIT 1 [["parent_id", 20], ["parent_type", "RailsWorkflow::Process"]]
451786
+ RailsWorkflow::OperationTemplate Load (0.2ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."process_template_id" = $1 AND "rails_workflow_operation_templates"."dependencies" IS NULL ORDER BY "rails_workflow_operation_templates"."id" ASC [["process_template_id", 56]]
451787
+ SQL (0.3ms) INSERT INTO "rails_workflow_operations" ("title", "is_background", "template_id", "process_id", "status", "dependencies", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["title", "Operation Template"], ["is_background", "t"], ["template_id", 31], ["process_id", 20], ["status", 0], ["dependencies", "[]"], ["created_at", "2015-07-07 18:52:06.435627"], ["updated_at", "2015-07-07 18:52:06.435627"]]
451788
+ SQL (0.2ms) INSERT INTO "rails_workflow_contexts" ("parent_type", "parent_id", "body", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["parent_type", "RailsWorkflow::Operation"], ["parent_id", 10], ["body", "{\"msg\":\"Test\"}"], ["created_at", "2015-07-07 18:52:06.437595"], ["updated_at", "2015-07-07 18:52:06.437595"]]
451789
+ RailsWorkflow::Process Load (0.2ms) SELECT "rails_workflow_processes".* FROM "rails_workflow_processes" WHERE "rails_workflow_processes"."id" = $1 LIMIT 1 [["id", 20]]
451790
+  (0.2ms) RELEASE SAVEPOINT active_record_1
451791
+ RailsWorkflow::ProcessTemplate Load (0.2ms) SELECT "rails_workflow_process_templates".* FROM "rails_workflow_process_templates" WHERE "rails_workflow_process_templates"."id" = $1 LIMIT 1 [["id", 56]]
451792
+  (0.2ms) SELECT COUNT(*) FROM "rails_workflow_operations" WHERE "rails_workflow_operations"."process_id" = $1 [["process_id", 20]]
451793
+  (0.2ms) SAVEPOINT active_record_1
451794
+ SQL (0.2ms) UPDATE "rails_workflow_processes" SET "status" = $1, "updated_at" = $2 WHERE "rails_workflow_processes"."id" = $3 [["status", 1], ["updated_at", "2015-07-07 18:52:06.443536"], ["id", 20]]
451795
+  (0.2ms) RELEASE SAVEPOINT active_record_1
451796
+ RailsWorkflow::Operation Load (0.2ms) SELECT "rails_workflow_operations".* FROM "rails_workflow_operations" WHERE "rails_workflow_operations"."process_id" = $1 AND "rails_workflow_operations"."status" = $2 [["process_id", 20], ["status", 0]]
451797
+  (0.2ms) SAVEPOINT active_record_1
451798
+ SQL (0.3ms) UPDATE "rails_workflow_operations" SET "status" = $1, "updated_at" = $2 WHERE "rails_workflow_operations"."id" = $3 [["status", 1], ["updated_at", "2015-07-07 18:52:06.446554"], ["id", 10]]
451799
+  (0.2ms) RELEASE SAVEPOINT active_record_1
451800
+ RailsWorkflow::Operation Load (0.5ms) SELECT "rails_workflow_operations".* FROM "rails_workflow_operations" WHERE "rails_workflow_operations"."id" = $1 LIMIT 1 [["id", 10]]
451801
+  (0.3ms) SAVEPOINT active_record_1
451802
+  (0.2ms) RELEASE SAVEPOINT active_record_1
451803
+  (0.1ms) SAVEPOINT active_record_1
451804
+ SQL (0.3ms) UPDATE "rails_workflow_operations" SET "status" = $1, "completed_at" = $2, "updated_at" = $3 WHERE "rails_workflow_operations"."id" = $4 [["status", 2], ["completed_at", "2015-07-07 18:52:06.451352"], ["updated_at", "2015-07-07 18:52:06.452584"], ["id", 10]]
451805
+  (0.1ms) RELEASE SAVEPOINT active_record_1
451806
+ RailsWorkflow::Process Load (0.2ms) SELECT "rails_workflow_processes".* FROM "rails_workflow_processes" WHERE "rails_workflow_processes"."id" = $1 LIMIT 1 [["id", 20]]
451807
+ RailsWorkflow::ProcessTemplate Load (0.2ms) SELECT "rails_workflow_process_templates".* FROM "rails_workflow_process_templates" WHERE "rails_workflow_process_templates"."id" = $1 LIMIT 1 [["id", 56]]
451808
+ RailsWorkflow::OperationTemplate Load (0.3ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."process_template_id" = $1 ORDER BY "rails_workflow_operation_templates"."id" ASC [["process_template_id", 56]]
451809
+ RailsWorkflow::OperationTemplate Load (0.2ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."id" = $1 LIMIT 1 [["id", 31]]
451810
+ RailsWorkflow::Operation Load (0.4ms) SELECT "rails_workflow_operations".* FROM "rails_workflow_operations" WHERE "rails_workflow_operations"."process_id" = $1 [["process_id", 20]]
451811
+ RailsWorkflow::OperationTemplate Load (0.2ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."id" = $1 LIMIT 1 [["id", 31]]
451812
+ RailsWorkflow::Context Load (0.3ms) SELECT "rails_workflow_contexts".* FROM "rails_workflow_contexts" WHERE "rails_workflow_contexts"."parent_id" = $1 AND "rails_workflow_contexts"."parent_type" = $2 LIMIT 1 [["parent_id", 10], ["parent_type", "RailsWorkflow::Operation"]]
451813
+  (0.2ms) SAVEPOINT active_record_1
451814
+ SQL (0.3ms) INSERT INTO "rails_workflow_operations" ("title", "is_background", "template_id", "process_id", "status", "dependencies", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["title", "Operation Template"], ["is_background", "t"], ["template_id", 32], ["process_id", 20], ["status", 0], ["dependencies", "[{\"operation_id\":10,\"status\":2}]"], ["created_at", "2015-07-07 18:52:06.464885"], ["updated_at", "2015-07-07 18:52:06.464885"]]
451815
+ SQL (0.3ms) INSERT INTO "rails_workflow_contexts" ("parent_type", "parent_id", "body", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["parent_type", "RailsWorkflow::Operation"], ["parent_id", 11], ["body", "{\"msg\":\"Test\"}"], ["created_at", "2015-07-07 18:52:06.466762"], ["updated_at", "2015-07-07 18:52:06.466762"]]
451816
+  (0.1ms) RELEASE SAVEPOINT active_record_1
451817
+  (0.1ms) SAVEPOINT active_record_1
451818
+  (0.1ms) RELEASE SAVEPOINT active_record_1
451819
+  (0.1ms) SAVEPOINT active_record_1
451820
+ SQL (0.6ms) UPDATE "rails_workflow_operations" SET "status" = $1, "updated_at" = $2 WHERE "rails_workflow_operations"."id" = $3 [["status", 1], ["updated_at", "2015-07-07 18:52:06.470897"], ["id", 11]]
451821
+  (0.3ms) RELEASE SAVEPOINT active_record_1
451822
+ RailsWorkflow::Operation Load (0.6ms) SELECT "rails_workflow_operations".* FROM "rails_workflow_operations" WHERE "rails_workflow_operations"."id" = $1 LIMIT 1 [["id", 11]]
451823
+  (0.5ms) SAVEPOINT active_record_1
451824
+  (0.3ms) RELEASE SAVEPOINT active_record_1
451825
+  (0.5ms) SAVEPOINT active_record_1
451826
+ SQL (0.4ms) UPDATE "rails_workflow_operations" SET "status" = $1, "completed_at" = $2, "updated_at" = $3 WHERE "rails_workflow_operations"."id" = $4 [["status", 2], ["completed_at", "2015-07-07 18:52:06.478170"], ["updated_at", "2015-07-07 18:52:06.480311"], ["id", 11]]
451827
+  (0.2ms) RELEASE SAVEPOINT active_record_1
451828
+ RailsWorkflow::Process Load (0.2ms) SELECT "rails_workflow_processes".* FROM "rails_workflow_processes" WHERE "rails_workflow_processes"."id" = $1 LIMIT 1 [["id", 20]]
451829
+ RailsWorkflow::ProcessTemplate Load (0.2ms) SELECT "rails_workflow_process_templates".* FROM "rails_workflow_process_templates" WHERE "rails_workflow_process_templates"."id" = $1 LIMIT 1 [["id", 56]]
451830
+ RailsWorkflow::OperationTemplate Load (0.2ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."process_template_id" = $1 ORDER BY "rails_workflow_operation_templates"."id" ASC [["process_template_id", 56]]
451831
+ RailsWorkflow::OperationTemplate Load (0.2ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."id" = $1 LIMIT 1 [["id", 32]]
451832
+ RailsWorkflow::Operation Load (0.3ms) SELECT "rails_workflow_operations".* FROM "rails_workflow_operations" WHERE "rails_workflow_operations"."process_id" = $1 [["process_id", 20]]
451833
+ RailsWorkflow::OperationTemplate Load (0.2ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."id" = $1 LIMIT 1 [["id", 32]]
451834
+ RailsWorkflow::OperationTemplate Load (0.2ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."id" = $1 LIMIT 1 [["id", 31]]
451835
+  (0.2ms) SELECT COUNT(*) FROM "rails_workflow_errors" WHERE "rails_workflow_errors"."parent_id" = $1 AND "rails_workflow_errors"."parent_type" = $2 AND (resolved is null or resolved = false) [["parent_id", 20], ["parent_type", "RailsWorkflow::Process"]]
451836
+  (0.2ms) SELECT COUNT(*) FROM "rails_workflow_errors" WHERE "rails_workflow_errors"."parent_id" = $1 AND "rails_workflow_errors"."parent_type" = $2 AND (resolved is null or resolved = false) [["parent_id", 20], ["parent_type", "RailsWorkflow::Process"]]
451837
+  (0.2ms) SAVEPOINT active_record_1
451838
+ SQL (0.3ms) UPDATE "rails_workflow_processes" SET "status" = $1, "updated_at" = $2 WHERE "rails_workflow_processes"."id" = $3 [["status", 2], ["updated_at", "2015-07-07 18:52:06.491592"], ["id", 20]]
451839
+  (0.2ms) RELEASE SAVEPOINT active_record_1
451840
+ RailsWorkflow::Operation Load (0.2ms) SELECT "rails_workflow_operations".* FROM "rails_workflow_operations" WHERE "rails_workflow_operations"."child_process_id" = $1 LIMIT 1 [["child_process_id", 20]]
451841
+ RailsWorkflow::Operation Load (0.3ms) SELECT "rails_workflow_operations".* FROM "rails_workflow_operations" WHERE "rails_workflow_operations"."process_id" = $1 ORDER BY "rails_workflow_operations"."id" ASC LIMIT 1 [["process_id", 20]]
451842
+  (0.1ms) SAVEPOINT active_record_1
451843
+ SQL (0.3ms) UPDATE "rails_workflow_operations" SET "completed_at" = $1, "updated_at" = $2 WHERE "rails_workflow_operations"."id" = $3 [["completed_at", "2015-07-07 18:52:06.495306"], ["updated_at", "2015-07-07 18:52:06.496433"], ["id", 10]]
451844
+  (0.1ms) RELEASE SAVEPOINT active_record_1
451845
+ RailsWorkflow::Process Load (0.2ms) SELECT "rails_workflow_processes".* FROM "rails_workflow_processes" WHERE "rails_workflow_processes"."id" = $1 LIMIT 1 [["id", 20]]
451846
+ RailsWorkflow::ProcessTemplate Load (0.2ms) SELECT "rails_workflow_process_templates".* FROM "rails_workflow_process_templates" WHERE "rails_workflow_process_templates"."id" = $1 LIMIT 1 [["id", 56]]
451847
+ RailsWorkflow::OperationTemplate Load (0.2ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."process_template_id" = $1 ORDER BY "rails_workflow_operation_templates"."id" ASC [["process_template_id", 56]]
451848
+ RailsWorkflow::OperationTemplate Load (0.2ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."id" = $1 LIMIT 1 [["id", 31]]
451849
+ RailsWorkflow::Operation Load (0.2ms) SELECT "rails_workflow_operations".* FROM "rails_workflow_operations" WHERE "rails_workflow_operations"."process_id" = $1 [["process_id", 20]]
451850
+ RailsWorkflow::OperationTemplate Load (0.2ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."id" = $1 LIMIT 1 [["id", 32]]
451851
+ RailsWorkflow::OperationTemplate Load (0.2ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."id" = $1 LIMIT 1 [["id", 31]]
451852
+ RailsWorkflow::Operation Load (0.3ms) SELECT "rails_workflow_operations".* FROM "rails_workflow_operations" WHERE "rails_workflow_operations"."process_id" = $1 ORDER BY "rails_workflow_operations"."id" DESC LIMIT 1 [["process_id", 20]]
451853
+  (0.2ms) SAVEPOINT active_record_1
451854
+ SQL (0.3ms) UPDATE "rails_workflow_operations" SET "status" = $1, "completed_at" = $2, "updated_at" = $3 WHERE "rails_workflow_operations"."id" = $4 [["status", 6], ["completed_at", "2015-07-07 18:52:06.504774"], ["updated_at", "2015-07-07 18:52:06.506059"], ["id", 11]]
451855
+  (0.2ms) RELEASE SAVEPOINT active_record_1
451856
+ RailsWorkflow::Process Load (0.2ms) SELECT "rails_workflow_processes".* FROM "rails_workflow_processes" WHERE "rails_workflow_processes"."id" = $1 LIMIT 1 [["id", 20]]
451857
+ RailsWorkflow::ProcessTemplate Load (0.2ms) SELECT "rails_workflow_process_templates".* FROM "rails_workflow_process_templates" WHERE "rails_workflow_process_templates"."id" = $1 LIMIT 1 [["id", 56]]
451858
+ RailsWorkflow::OperationTemplate Load (0.2ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."process_template_id" = $1 ORDER BY "rails_workflow_operation_templates"."id" ASC [["process_template_id", 56]]
451859
+ RailsWorkflow::OperationTemplate Load (0.2ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."id" = $1 LIMIT 1 [["id", 32]]
451860
+ RailsWorkflow::Operation Load (0.2ms) SELECT "rails_workflow_operations".* FROM "rails_workflow_operations" WHERE "rails_workflow_operations"."process_id" = $1 [["process_id", 20]]
451861
+ RailsWorkflow::OperationTemplate Load (0.2ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."id" = $1 LIMIT 1 [["id", 32]]
451862
+ RailsWorkflow::OperationTemplate Load (0.2ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."id" = $1 LIMIT 1 [["id", 31]]
451863
+ RailsWorkflow::Process Load (0.2ms) SELECT "rails_workflow_processes".* FROM "rails_workflow_processes" WHERE "rails_workflow_processes"."id" = $1 LIMIT 1 [["id", 20]]
451864
+  (0.3ms) ROLLBACK
451865
+  (0.1ms) BEGIN
451866
+  (0.2ms) SAVEPOINT active_record_1
451867
+ SQL (0.3ms) INSERT INTO "rails_workflow_process_templates" ("title", "uuid", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "Process Template"], ["uuid", "c0669e79-0ad0-83a0-df2e-dd6df64a9251"], ["created_at", "2015-07-07 18:52:06.517166"], ["updated_at", "2015-07-07 18:52:06.517166"]]
451868
+  (0.2ms) RELEASE SAVEPOINT active_record_1
451869
+  (0.2ms) SAVEPOINT active_record_1
451870
+ SQL (0.2ms) INSERT INTO "rails_workflow_operation_templates" ("title", "kind", "is_background", "process_template_id", "uuid", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["title", "Operation Template"], ["kind", "default"], ["is_background", "t"], ["process_template_id", 57], ["uuid", "3bfa5c5b-c1b2-ee01-232d-99c409f224ea"], ["created_at", "2015-07-07 18:52:06.520348"], ["updated_at", "2015-07-07 18:52:06.520348"]]
451871
+  (0.1ms) RELEASE SAVEPOINT active_record_1
451872
+  (0.1ms) SAVEPOINT active_record_1
451873
+ SQL (0.2ms) INSERT INTO "rails_workflow_operation_templates" ("title", "kind", "is_background", "process_template_id", "dependencies", "uuid", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["title", "Operation Template"], ["kind", "default"], ["is_background", "t"], ["process_template_id", 57], ["dependencies", "[{\"id\":33,\"statuses\":[2]}]"], ["uuid", "98853ea6-959b-bc37-133f-6998131b9d5c"], ["created_at", "2015-07-07 18:52:06.523526"], ["updated_at", "2015-07-07 18:52:06.523526"]]
451874
+  (0.1ms) RELEASE SAVEPOINT active_record_1
451875
+ RailsWorkflow::ProcessTemplate Load (0.2ms) SELECT "rails_workflow_process_templates".* FROM "rails_workflow_process_templates" WHERE "rails_workflow_process_templates"."id" = $1 LIMIT 1 [["id", 57]]
451876
+  (0.2ms) SAVEPOINT active_record_1
451877
+ SQL (0.2ms) INSERT INTO "rails_workflow_processes" ("template_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["template_id", 57], ["created_at", "2015-07-07 18:52:06.526794"], ["updated_at", "2015-07-07 18:52:06.526794"]]
451878
+  (0.2ms) RELEASE SAVEPOINT active_record_1
451879
+  (0.1ms) SAVEPOINT active_record_1
451880
+ SQL (0.2ms) UPDATE "rails_workflow_processes" SET "title" = $1, "status" = $2, "updated_at" = $3 WHERE "rails_workflow_processes"."id" = $4 [["title", "Process Template"], ["status", 0], ["updated_at", "2015-07-07 18:52:06.528554"], ["id", 21]]
451881
+ SQL (0.2ms) INSERT INTO "rails_workflow_contexts" ("parent_id", "parent_type", "body", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["parent_id", 21], ["parent_type", "RailsWorkflow::Process"], ["body", "{\"msg\":\"Test\"}"], ["created_at", "2015-07-07 18:52:06.530769"], ["updated_at", "2015-07-07 18:52:06.530769"]]
451882
+ RailsWorkflow::Context Load (0.2ms) SELECT "rails_workflow_contexts".* FROM "rails_workflow_contexts" WHERE "rails_workflow_contexts"."parent_id" = $1 AND "rails_workflow_contexts"."parent_type" = $2 LIMIT 1 [["parent_id", 21], ["parent_type", "RailsWorkflow::Process"]]
451883
+ RailsWorkflow::OperationTemplate Load (0.3ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."process_template_id" = $1 AND "rails_workflow_operation_templates"."dependencies" IS NULL ORDER BY "rails_workflow_operation_templates"."id" ASC [["process_template_id", 57]]
451884
+ SQL (0.2ms) INSERT INTO "rails_workflow_operations" ("title", "is_background", "template_id", "process_id", "status", "dependencies", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["title", "Operation Template"], ["is_background", "t"], ["template_id", 33], ["process_id", 21], ["status", 0], ["dependencies", "[]"], ["created_at", "2015-07-07 18:52:06.536447"], ["updated_at", "2015-07-07 18:52:06.536447"]]
451885
+ SQL (0.2ms) INSERT INTO "rails_workflow_contexts" ("parent_type", "parent_id", "body", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["parent_type", "RailsWorkflow::Operation"], ["parent_id", 12], ["body", "{\"msg\":\"Test\"}"], ["created_at", "2015-07-07 18:52:06.538170"], ["updated_at", "2015-07-07 18:52:06.538170"]]
451886
+ RailsWorkflow::Process Load (0.3ms) SELECT "rails_workflow_processes".* FROM "rails_workflow_processes" WHERE "rails_workflow_processes"."id" = $1 LIMIT 1 [["id", 21]]
451887
+  (0.2ms) RELEASE SAVEPOINT active_record_1
451888
+ RailsWorkflow::ProcessTemplate Load (0.2ms) SELECT "rails_workflow_process_templates".* FROM "rails_workflow_process_templates" WHERE "rails_workflow_process_templates"."id" = $1 LIMIT 1 [["id", 57]]
451889
+  (0.2ms) SELECT COUNT(*) FROM "rails_workflow_operations" WHERE "rails_workflow_operations"."process_id" = $1 [["process_id", 21]]
451890
+  (0.2ms) SAVEPOINT active_record_1
451891
+ SQL (0.2ms) UPDATE "rails_workflow_processes" SET "status" = $1, "updated_at" = $2 WHERE "rails_workflow_processes"."id" = $3 [["status", 1], ["updated_at", "2015-07-07 18:52:06.544539"], ["id", 21]]
451892
+  (0.1ms) RELEASE SAVEPOINT active_record_1
451893
+ RailsWorkflow::Operation Load (0.3ms) SELECT "rails_workflow_operations".* FROM "rails_workflow_operations" WHERE "rails_workflow_operations"."process_id" = $1 AND "rails_workflow_operations"."status" = $2 [["process_id", 21], ["status", 0]]
451894
+  (0.1ms) SAVEPOINT active_record_1
451895
+ SQL (0.2ms) UPDATE "rails_workflow_operations" SET "status" = $1, "updated_at" = $2 WHERE "rails_workflow_operations"."id" = $3 [["status", 1], ["updated_at", "2015-07-07 18:52:06.547534"], ["id", 12]]
451896
+  (0.1ms) RELEASE SAVEPOINT active_record_1
451897
+ RailsWorkflow::Operation Load (0.2ms) SELECT "rails_workflow_operations".* FROM "rails_workflow_operations" WHERE "rails_workflow_operations"."id" = $1 LIMIT 1 [["id", 12]]
451898
+  (0.3ms) SAVEPOINT active_record_1
451899
+  (0.2ms) RELEASE SAVEPOINT active_record_1
451900
+  (0.2ms) SAVEPOINT active_record_1
451901
+ SQL (0.4ms) UPDATE "rails_workflow_operations" SET "status" = $1, "completed_at" = $2, "updated_at" = $3 WHERE "rails_workflow_operations"."id" = $4 [["status", 2], ["completed_at", "2015-07-07 18:52:06.550777"], ["updated_at", "2015-07-07 18:52:06.552165"], ["id", 12]]
451902
+  (0.2ms) RELEASE SAVEPOINT active_record_1
451903
+ RailsWorkflow::Process Load (0.2ms) SELECT "rails_workflow_processes".* FROM "rails_workflow_processes" WHERE "rails_workflow_processes"."id" = $1 LIMIT 1 [["id", 21]]
451904
+ RailsWorkflow::ProcessTemplate Load (0.2ms) SELECT "rails_workflow_process_templates".* FROM "rails_workflow_process_templates" WHERE "rails_workflow_process_templates"."id" = $1 LIMIT 1 [["id", 57]]
451905
+ RailsWorkflow::OperationTemplate Load (0.2ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."process_template_id" = $1 ORDER BY "rails_workflow_operation_templates"."id" ASC [["process_template_id", 57]]
451906
+ RailsWorkflow::OperationTemplate Load (0.2ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."id" = $1 LIMIT 1 [["id", 33]]
451907
+ RailsWorkflow::Operation Load (0.2ms) SELECT "rails_workflow_operations".* FROM "rails_workflow_operations" WHERE "rails_workflow_operations"."process_id" = $1 [["process_id", 21]]
451908
+ RailsWorkflow::OperationTemplate Load (0.2ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."id" = $1 LIMIT 1 [["id", 33]]
451909
+ RailsWorkflow::Context Load (0.3ms) SELECT "rails_workflow_contexts".* FROM "rails_workflow_contexts" WHERE "rails_workflow_contexts"."parent_id" = $1 AND "rails_workflow_contexts"."parent_type" = $2 LIMIT 1 [["parent_id", 12], ["parent_type", "RailsWorkflow::Operation"]]
451910
+  (0.2ms) SAVEPOINT active_record_1
451911
+ SQL (0.3ms) INSERT INTO "rails_workflow_operations" ("title", "is_background", "template_id", "process_id", "status", "dependencies", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["title", "Operation Template"], ["is_background", "t"], ["template_id", 34], ["process_id", 21], ["status", 0], ["dependencies", "[{\"operation_id\":12,\"status\":2}]"], ["created_at", "2015-07-07 18:52:06.565269"], ["updated_at", "2015-07-07 18:52:06.565269"]]
451912
+ SQL (0.3ms) INSERT INTO "rails_workflow_contexts" ("parent_type", "parent_id", "body", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["parent_type", "RailsWorkflow::Operation"], ["parent_id", 13], ["body", "{\"msg\":\"Test\"}"], ["created_at", "2015-07-07 18:52:06.567403"], ["updated_at", "2015-07-07 18:52:06.567403"]]
451913
+  (0.2ms) RELEASE SAVEPOINT active_record_1
451914
+  (0.1ms) SAVEPOINT active_record_1
451915
+  (0.3ms) RELEASE SAVEPOINT active_record_1
451916
+  (0.4ms) SAVEPOINT active_record_1
451917
+ SQL (0.3ms) UPDATE "rails_workflow_operations" SET "status" = $1, "updated_at" = $2 WHERE "rails_workflow_operations"."id" = $3 [["status", 1], ["updated_at", "2015-07-07 18:52:06.574934"], ["id", 13]]
451918
+  (0.2ms) RELEASE SAVEPOINT active_record_1
451919
+ RailsWorkflow::Operation Load (0.2ms) SELECT "rails_workflow_operations".* FROM "rails_workflow_operations" WHERE "rails_workflow_operations"."id" = $1 LIMIT 1 [["id", 13]]
451920
+  (0.2ms) SAVEPOINT active_record_1
451921
+  (0.1ms) RELEASE SAVEPOINT active_record_1
451922
+  (0.1ms) SAVEPOINT active_record_1
451923
+ SQL (0.2ms) UPDATE "rails_workflow_operations" SET "status" = $1, "completed_at" = $2, "updated_at" = $3 WHERE "rails_workflow_operations"."id" = $4 [["status", 2], ["completed_at", "2015-07-07 18:52:06.579924"], ["updated_at", "2015-07-07 18:52:06.581051"], ["id", 13]]
451924
+  (0.1ms) RELEASE SAVEPOINT active_record_1
451925
+ RailsWorkflow::Process Load (0.2ms) SELECT "rails_workflow_processes".* FROM "rails_workflow_processes" WHERE "rails_workflow_processes"."id" = $1 LIMIT 1 [["id", 21]]
451926
+ RailsWorkflow::ProcessTemplate Load (0.2ms) SELECT "rails_workflow_process_templates".* FROM "rails_workflow_process_templates" WHERE "rails_workflow_process_templates"."id" = $1 LIMIT 1 [["id", 57]]
451927
+ RailsWorkflow::OperationTemplate Load (0.2ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."process_template_id" = $1 ORDER BY "rails_workflow_operation_templates"."id" ASC [["process_template_id", 57]]
451928
+ RailsWorkflow::OperationTemplate Load (0.2ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."id" = $1 LIMIT 1 [["id", 34]]
451929
+ RailsWorkflow::Operation Load (0.2ms) SELECT "rails_workflow_operations".* FROM "rails_workflow_operations" WHERE "rails_workflow_operations"."process_id" = $1 [["process_id", 21]]
451930
+ RailsWorkflow::OperationTemplate Load (0.2ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."id" = $1 LIMIT 1 [["id", 34]]
451931
+ RailsWorkflow::OperationTemplate Load (0.2ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."id" = $1 LIMIT 1 [["id", 33]]
451932
+  (0.3ms) SELECT COUNT(*) FROM "rails_workflow_errors" WHERE "rails_workflow_errors"."parent_id" = $1 AND "rails_workflow_errors"."parent_type" = $2 AND (resolved is null or resolved = false) [["parent_id", 21], ["parent_type", "RailsWorkflow::Process"]]
451933
+  (0.2ms) SELECT COUNT(*) FROM "rails_workflow_errors" WHERE "rails_workflow_errors"."parent_id" = $1 AND "rails_workflow_errors"."parent_type" = $2 AND (resolved is null or resolved = false) [["parent_id", 21], ["parent_type", "RailsWorkflow::Process"]]
451934
+  (0.2ms) SAVEPOINT active_record_1
451935
+ SQL (0.2ms) UPDATE "rails_workflow_processes" SET "status" = $1, "updated_at" = $2 WHERE "rails_workflow_processes"."id" = $3 [["status", 2], ["updated_at", "2015-07-07 18:52:06.591232"], ["id", 21]]
451936
+  (0.1ms) RELEASE SAVEPOINT active_record_1
451937
+ RailsWorkflow::Operation Load (0.2ms) SELECT "rails_workflow_operations".* FROM "rails_workflow_operations" WHERE "rails_workflow_operations"."child_process_id" = $1 LIMIT 1 [["child_process_id", 21]]
451938
+ RailsWorkflow::Operation Load (0.3ms) SELECT "rails_workflow_operations".* FROM "rails_workflow_operations" WHERE "rails_workflow_operations"."process_id" = $1 ORDER BY "rails_workflow_operations"."id" ASC LIMIT 1 [["process_id", 21]]
451939
+  (0.2ms) SAVEPOINT active_record_1
451940
+ SQL (0.3ms) UPDATE "rails_workflow_operations" SET "completed_at" = $1, "updated_at" = $2 WHERE "rails_workflow_operations"."id" = $3 [["completed_at", "2015-07-07 18:52:06.594424"], ["updated_at", "2015-07-07 18:52:06.595492"], ["id", 12]]
451941
+  (0.2ms) RELEASE SAVEPOINT active_record_1
451942
+ RailsWorkflow::Process Load (0.1ms) SELECT "rails_workflow_processes".* FROM "rails_workflow_processes" WHERE "rails_workflow_processes"."id" = $1 LIMIT 1 [["id", 21]]
451943
+ RailsWorkflow::ProcessTemplate Load (0.2ms) SELECT "rails_workflow_process_templates".* FROM "rails_workflow_process_templates" WHERE "rails_workflow_process_templates"."id" = $1 LIMIT 1 [["id", 57]]
451944
+ RailsWorkflow::OperationTemplate Load (0.3ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."process_template_id" = $1 ORDER BY "rails_workflow_operation_templates"."id" ASC [["process_template_id", 57]]
451945
+ RailsWorkflow::OperationTemplate Load (0.2ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."id" = $1 LIMIT 1 [["id", 33]]
451946
+ RailsWorkflow::Operation Load (0.2ms) SELECT "rails_workflow_operations".* FROM "rails_workflow_operations" WHERE "rails_workflow_operations"."process_id" = $1 [["process_id", 21]]
451947
+ RailsWorkflow::OperationTemplate Load (0.2ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."id" = $1 LIMIT 1 [["id", 34]]
451948
+ RailsWorkflow::OperationTemplate Load (0.2ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."id" = $1 LIMIT 1 [["id", 33]]
451949
+ RailsWorkflow::Operation Load (0.4ms) SELECT "rails_workflow_operations".* FROM "rails_workflow_operations" WHERE "rails_workflow_operations"."process_id" = $1 ORDER BY "rails_workflow_operations"."id" DESC LIMIT 1 [["process_id", 21]]
451950
+  (0.2ms) SAVEPOINT active_record_1
451951
+ SQL (0.2ms) UPDATE "rails_workflow_operations" SET "status" = $1, "completed_at" = $2, "updated_at" = $3 WHERE "rails_workflow_operations"."id" = $4 [["status", 5], ["completed_at", "2015-07-07 18:52:06.604348"], ["updated_at", "2015-07-07 18:52:06.605604"], ["id", 13]]
451952
+  (0.1ms) RELEASE SAVEPOINT active_record_1
451953
+ RailsWorkflow::Process Load (0.2ms) SELECT "rails_workflow_processes".* FROM "rails_workflow_processes" WHERE "rails_workflow_processes"."id" = $1 LIMIT 1 [["id", 21]]
451954
+ RailsWorkflow::ProcessTemplate Load (0.2ms) SELECT "rails_workflow_process_templates".* FROM "rails_workflow_process_templates" WHERE "rails_workflow_process_templates"."id" = $1 LIMIT 1 [["id", 57]]
451955
+ RailsWorkflow::OperationTemplate Load (0.2ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."process_template_id" = $1 ORDER BY "rails_workflow_operation_templates"."id" ASC [["process_template_id", 57]]
451956
+ RailsWorkflow::OperationTemplate Load (0.2ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."id" = $1 LIMIT 1 [["id", 34]]
451957
+ RailsWorkflow::Operation Load (0.2ms) SELECT "rails_workflow_operations".* FROM "rails_workflow_operations" WHERE "rails_workflow_operations"."process_id" = $1 [["process_id", 21]]
451958
+ RailsWorkflow::OperationTemplate Load (0.2ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."id" = $1 LIMIT 1 [["id", 34]]
451959
+ RailsWorkflow::OperationTemplate Load (0.2ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."id" = $1 LIMIT 1 [["id", 33]]
451960
+ RailsWorkflow::Process Load (0.2ms) SELECT "rails_workflow_processes".* FROM "rails_workflow_processes" WHERE "rails_workflow_processes"."id" = $1 LIMIT 1 [["id", 21]]
451961
+  (0.2ms) ROLLBACK
451962
+  (0.2ms) BEGIN
451963
+  (0.1ms) SAVEPOINT active_record_1
451964
+ SQL (0.2ms) INSERT INTO "rails_workflow_process_templates" ("title", "uuid", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "Process Template"], ["uuid", "3f7356a6-d438-7497-b132-f936e4104852"], ["created_at", "2015-07-07 18:52:06.617586"], ["updated_at", "2015-07-07 18:52:06.617586"]]
451965
+  (0.1ms) RELEASE SAVEPOINT active_record_1
451966
+  (0.2ms) SAVEPOINT active_record_1
451967
+ SQL (0.2ms) INSERT INTO "rails_workflow_operation_templates" ("title", "kind", "is_background", "process_template_id", "uuid", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["title", "Operation Template"], ["kind", "default"], ["is_background", "t"], ["process_template_id", 58], ["uuid", "549a1aad-abe4-72e3-e6f1-55cadaede439"], ["created_at", "2015-07-07 18:52:06.620437"], ["updated_at", "2015-07-07 18:52:06.620437"]]
451968
+  (0.2ms) RELEASE SAVEPOINT active_record_1
451969
+  (0.2ms) SAVEPOINT active_record_1
451970
+ SQL (0.2ms) INSERT INTO "rails_workflow_operation_templates" ("title", "kind", "is_background", "process_template_id", "dependencies", "uuid", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["title", "Operation Template"], ["kind", "default"], ["is_background", "t"], ["process_template_id", 58], ["dependencies", "[{\"id\":35,\"statuses\":[2]}]"], ["uuid", "51c9a09e-6e43-bcc9-ee19-45ff074eeecb"], ["created_at", "2015-07-07 18:52:06.623743"], ["updated_at", "2015-07-07 18:52:06.623743"]]
451971
+  (0.1ms) RELEASE SAVEPOINT active_record_1
451972
+ RailsWorkflow::ProcessTemplate Load (0.2ms) SELECT "rails_workflow_process_templates".* FROM "rails_workflow_process_templates" WHERE "rails_workflow_process_templates"."id" = $1 LIMIT 1 [["id", 58]]
451973
+  (0.1ms) SAVEPOINT active_record_1
451974
+ SQL (0.2ms) INSERT INTO "rails_workflow_processes" ("template_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["template_id", 58], ["created_at", "2015-07-07 18:52:06.627092"], ["updated_at", "2015-07-07 18:52:06.627092"]]
451975
+  (0.1ms) RELEASE SAVEPOINT active_record_1
451976
+  (0.1ms) SAVEPOINT active_record_1
451977
+ SQL (0.2ms) UPDATE "rails_workflow_processes" SET "title" = $1, "status" = $2, "updated_at" = $3 WHERE "rails_workflow_processes"."id" = $4 [["title", "Process Template"], ["status", 0], ["updated_at", "2015-07-07 18:52:06.629020"], ["id", 22]]
451978
+ SQL (0.3ms) INSERT INTO "rails_workflow_contexts" ("parent_id", "parent_type", "body", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["parent_id", 22], ["parent_type", "RailsWorkflow::Process"], ["body", "{\"msg\":\"Test\"}"], ["created_at", "2015-07-07 18:52:06.631038"], ["updated_at", "2015-07-07 18:52:06.631038"]]
451979
+ RailsWorkflow::Context Load (0.2ms) SELECT "rails_workflow_contexts".* FROM "rails_workflow_contexts" WHERE "rails_workflow_contexts"."parent_id" = $1 AND "rails_workflow_contexts"."parent_type" = $2 LIMIT 1 [["parent_id", 22], ["parent_type", "RailsWorkflow::Process"]]
451980
+ RailsWorkflow::OperationTemplate Load (0.2ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."process_template_id" = $1 AND "rails_workflow_operation_templates"."dependencies" IS NULL ORDER BY "rails_workflow_operation_templates"."id" ASC [["process_template_id", 58]]
451981
+ SQL (0.2ms) INSERT INTO "rails_workflow_operations" ("title", "is_background", "template_id", "process_id", "status", "dependencies", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["title", "Operation Template"], ["is_background", "t"], ["template_id", 35], ["process_id", 22], ["status", 0], ["dependencies", "[]"], ["created_at", "2015-07-07 18:52:06.636990"], ["updated_at", "2015-07-07 18:52:06.636990"]]
451982
+ SQL (0.2ms) INSERT INTO "rails_workflow_contexts" ("parent_type", "parent_id", "body", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["parent_type", "RailsWorkflow::Operation"], ["parent_id", 14], ["body", "{\"msg\":\"Test\"}"], ["created_at", "2015-07-07 18:52:06.638586"], ["updated_at", "2015-07-07 18:52:06.638586"]]
451983
+ RailsWorkflow::Process Load (0.2ms) SELECT "rails_workflow_processes".* FROM "rails_workflow_processes" WHERE "rails_workflow_processes"."id" = $1 LIMIT 1 [["id", 22]]
451984
+  (0.2ms) RELEASE SAVEPOINT active_record_1
451985
+ RailsWorkflow::ProcessTemplate Load (0.2ms) SELECT "rails_workflow_process_templates".* FROM "rails_workflow_process_templates" WHERE "rails_workflow_process_templates"."id" = $1 LIMIT 1 [["id", 58]]
451986
+  (0.2ms) SELECT COUNT(*) FROM "rails_workflow_operations" WHERE "rails_workflow_operations"."process_id" = $1 [["process_id", 22]]
451987
+  (0.1ms) SAVEPOINT active_record_1
451988
+ SQL (0.3ms) UPDATE "rails_workflow_processes" SET "status" = $1, "updated_at" = $2 WHERE "rails_workflow_processes"."id" = $3 [["status", 1], ["updated_at", "2015-07-07 18:52:06.644529"], ["id", 22]]
451989
+  (0.1ms) RELEASE SAVEPOINT active_record_1
451990
+ RailsWorkflow::Operation Load (0.3ms) SELECT "rails_workflow_operations".* FROM "rails_workflow_operations" WHERE "rails_workflow_operations"."process_id" = $1 AND "rails_workflow_operations"."status" = $2 [["process_id", 22], ["status", 0]]
451991
+  (0.2ms) SAVEPOINT active_record_1
451992
+ SQL (0.2ms) UPDATE "rails_workflow_operations" SET "status" = $1, "updated_at" = $2 WHERE "rails_workflow_operations"."id" = $3 [["status", 1], ["updated_at", "2015-07-07 18:52:06.647781"], ["id", 14]]
451993
+  (0.4ms) RELEASE SAVEPOINT active_record_1
451994
+ RailsWorkflow::Operation Load (0.6ms) SELECT "rails_workflow_operations".* FROM "rails_workflow_operations" WHERE "rails_workflow_operations"."id" = $1 LIMIT 1 [["id", 14]]
451995
+  (0.2ms) SAVEPOINT active_record_1
451996
+  (0.1ms) RELEASE SAVEPOINT active_record_1
451997
+  (0.1ms) SAVEPOINT active_record_1
451998
+ SQL (0.2ms) UPDATE "rails_workflow_operations" SET "status" = $1, "completed_at" = $2, "updated_at" = $3 WHERE "rails_workflow_operations"."id" = $4 [["status", 2], ["completed_at", "2015-07-07 18:52:06.653351"], ["updated_at", "2015-07-07 18:52:06.654514"], ["id", 14]]
451999
+  (0.1ms) RELEASE SAVEPOINT active_record_1
452000
+ RailsWorkflow::Process Load (0.2ms) SELECT "rails_workflow_processes".* FROM "rails_workflow_processes" WHERE "rails_workflow_processes"."id" = $1 LIMIT 1 [["id", 22]]
452001
+ RailsWorkflow::ProcessTemplate Load (0.2ms) SELECT "rails_workflow_process_templates".* FROM "rails_workflow_process_templates" WHERE "rails_workflow_process_templates"."id" = $1 LIMIT 1 [["id", 58]]
452002
+ RailsWorkflow::OperationTemplate Load (0.2ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."process_template_id" = $1 ORDER BY "rails_workflow_operation_templates"."id" ASC [["process_template_id", 58]]
452003
+ RailsWorkflow::OperationTemplate Load (0.2ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."id" = $1 LIMIT 1 [["id", 35]]
452004
+ RailsWorkflow::Operation Load (0.2ms) SELECT "rails_workflow_operations".* FROM "rails_workflow_operations" WHERE "rails_workflow_operations"."process_id" = $1 [["process_id", 22]]
452005
+ RailsWorkflow::OperationTemplate Load (0.2ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."id" = $1 LIMIT 1 [["id", 35]]
452006
+  (0.2ms) SELECT COUNT(*) FROM "rails_workflow_errors" WHERE "rails_workflow_errors"."parent_id" = $1 AND "rails_workflow_errors"."parent_type" = $2 AND (resolved is null or resolved = false) [["parent_id", 22], ["parent_type", "RailsWorkflow::Process"]]
452007
+  (0.2ms) SELECT COUNT(*) FROM "rails_workflow_errors" WHERE "rails_workflow_errors"."parent_id" = $1 AND "rails_workflow_errors"."parent_type" = $2 AND (resolved is null or resolved = false) [["parent_id", 22], ["parent_type", "RailsWorkflow::Process"]]
452008
+  (0.2ms) SAVEPOINT active_record_1
452009
+ SQL (0.2ms) UPDATE "rails_workflow_processes" SET "status" = $1, "updated_at" = $2 WHERE "rails_workflow_processes"."id" = $3 [["status", 2], ["updated_at", "2015-07-07 18:52:06.665987"], ["id", 22]]
452010
+  (0.2ms) RELEASE SAVEPOINT active_record_1
452011
+ RailsWorkflow::Operation Load (0.3ms) SELECT "rails_workflow_operations".* FROM "rails_workflow_operations" WHERE "rails_workflow_operations"."child_process_id" = $1 LIMIT 1 [["child_process_id", 22]]
452012
+ RailsWorkflow::Operation Load (0.2ms) SELECT "rails_workflow_operations".* FROM "rails_workflow_operations" WHERE "rails_workflow_operations"."process_id" = $1 ORDER BY "rails_workflow_operations"."id" ASC LIMIT 1 [["process_id", 22]]
452013
+  (0.1ms) SAVEPOINT active_record_1
452014
+ SQL (0.9ms) UPDATE "rails_workflow_operations" SET "completed_at" = $1, "updated_at" = $2 WHERE "rails_workflow_operations"."id" = $3 [["completed_at", "2015-07-07 18:52:06.669519"], ["updated_at", "2015-07-07 18:52:06.671710"], ["id", 14]]
452015
+  (0.5ms) RELEASE SAVEPOINT active_record_1
452016
+ RailsWorkflow::Process Load (0.3ms) SELECT "rails_workflow_processes".* FROM "rails_workflow_processes" WHERE "rails_workflow_processes"."id" = $1 LIMIT 1 [["id", 22]]
452017
+ RailsWorkflow::ProcessTemplate Load (0.2ms) SELECT "rails_workflow_process_templates".* FROM "rails_workflow_process_templates" WHERE "rails_workflow_process_templates"."id" = $1 LIMIT 1 [["id", 58]]
452018
+ RailsWorkflow::OperationTemplate Load (0.2ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."process_template_id" = $1 ORDER BY "rails_workflow_operation_templates"."id" ASC [["process_template_id", 58]]
452019
+ RailsWorkflow::OperationTemplate Load (0.2ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."id" = $1 LIMIT 1 [["id", 35]]
452020
+ RailsWorkflow::Operation Load (0.2ms) SELECT "rails_workflow_operations".* FROM "rails_workflow_operations" WHERE "rails_workflow_operations"."process_id" = $1 [["process_id", 22]]
452021
+ RailsWorkflow::OperationTemplate Load (0.2ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."id" = $1 LIMIT 1 [["id", 35]]
452022
+  (0.2ms) SELECT COUNT(*) FROM "rails_workflow_operations" WHERE "rails_workflow_operations"."process_id" = $1 [["process_id", 22]]
452023
+  (0.2ms) ROLLBACK
452024
+  (0.1ms) BEGIN
452025
+  (0.1ms) SAVEPOINT active_record_1
452026
+ SQL (0.2ms) INSERT INTO "rails_workflow_process_templates" ("title", "uuid", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "Process Template"], ["uuid", "3d53424a-946e-a7c3-ee64-12311a9770fd"], ["created_at", "2015-07-07 18:52:06.686472"], ["updated_at", "2015-07-07 18:52:06.686472"]]
452027
+  (0.1ms) RELEASE SAVEPOINT active_record_1
452028
+  (0.1ms) SAVEPOINT active_record_1
452029
+ SQL (0.2ms) INSERT INTO "rails_workflow_operation_templates" ("title", "kind", "is_background", "process_template_id", "uuid", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["title", "Operation Template"], ["kind", "default"], ["is_background", "t"], ["process_template_id", 59], ["uuid", "8342db04-04b4-bc41-998c-68f82f08d7fd"], ["created_at", "2015-07-07 18:52:06.689309"], ["updated_at", "2015-07-07 18:52:06.689309"]]
452030
+  (0.2ms) RELEASE SAVEPOINT active_record_1
452031
+  (0.2ms) SAVEPOINT active_record_1
452032
+ SQL (0.2ms) INSERT INTO "rails_workflow_operation_templates" ("title", "kind", "is_background", "process_template_id", "dependencies", "uuid", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["title", "Operation Template"], ["kind", "default"], ["is_background", "t"], ["process_template_id", 59], ["dependencies", "[{\"id\":37,\"statuses\":[2]}]"], ["uuid", "d9d91e3a-431e-696d-6341-5f9d0e090ae5"], ["created_at", "2015-07-07 18:52:06.692848"], ["updated_at", "2015-07-07 18:52:06.692848"]]
452033
+  (0.2ms) RELEASE SAVEPOINT active_record_1
452034
+ RailsWorkflow::ProcessTemplate Load (0.2ms) SELECT "rails_workflow_process_templates".* FROM "rails_workflow_process_templates" WHERE "rails_workflow_process_templates"."id" = $1 LIMIT 1 [["id", 59]]
452035
+  (0.2ms) SAVEPOINT active_record_1
452036
+ SQL (0.2ms) INSERT INTO "rails_workflow_processes" ("template_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["template_id", 59], ["created_at", "2015-07-07 18:52:06.696380"], ["updated_at", "2015-07-07 18:52:06.696380"]]
452037
+  (0.2ms) RELEASE SAVEPOINT active_record_1
452038
+  (0.1ms) SAVEPOINT active_record_1
452039
+ SQL (0.2ms) UPDATE "rails_workflow_processes" SET "title" = $1, "status" = $2, "updated_at" = $3 WHERE "rails_workflow_processes"."id" = $4 [["title", "Process Template"], ["status", 0], ["updated_at", "2015-07-07 18:52:06.698221"], ["id", 23]]
452040
+ SQL (0.2ms) INSERT INTO "rails_workflow_contexts" ("parent_id", "parent_type", "body", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["parent_id", 23], ["parent_type", "RailsWorkflow::Process"], ["body", "{\"msg\":\"Test\"}"], ["created_at", "2015-07-07 18:52:06.700322"], ["updated_at", "2015-07-07 18:52:06.700322"]]
452041
+ RailsWorkflow::Context Load (0.2ms) SELECT "rails_workflow_contexts".* FROM "rails_workflow_contexts" WHERE "rails_workflow_contexts"."parent_id" = $1 AND "rails_workflow_contexts"."parent_type" = $2 LIMIT 1 [["parent_id", 23], ["parent_type", "RailsWorkflow::Process"]]
452042
+ RailsWorkflow::OperationTemplate Load (0.3ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."process_template_id" = $1 AND "rails_workflow_operation_templates"."dependencies" IS NULL ORDER BY "rails_workflow_operation_templates"."id" ASC [["process_template_id", 59]]
452043
+ SQL (0.2ms) INSERT INTO "rails_workflow_operations" ("title", "is_background", "template_id", "process_id", "status", "dependencies", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["title", "Operation Template"], ["is_background", "t"], ["template_id", 37], ["process_id", 23], ["status", 0], ["dependencies", "[]"], ["created_at", "2015-07-07 18:52:06.706399"], ["updated_at", "2015-07-07 18:52:06.706399"]]
452044
+ SQL (0.2ms) INSERT INTO "rails_workflow_contexts" ("parent_type", "parent_id", "body", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["parent_type", "RailsWorkflow::Operation"], ["parent_id", 15], ["body", "{\"msg\":\"Test\"}"], ["created_at", "2015-07-07 18:52:06.708038"], ["updated_at", "2015-07-07 18:52:06.708038"]]
452045
+ RailsWorkflow::Process Load (0.3ms) SELECT "rails_workflow_processes".* FROM "rails_workflow_processes" WHERE "rails_workflow_processes"."id" = $1 LIMIT 1 [["id", 23]]
452046
+  (0.2ms) RELEASE SAVEPOINT active_record_1
452047
+ RailsWorkflow::ProcessTemplate Load (0.2ms) SELECT "rails_workflow_process_templates".* FROM "rails_workflow_process_templates" WHERE "rails_workflow_process_templates"."id" = $1 LIMIT 1 [["id", 59]]
452048
+  (0.2ms) SELECT COUNT(*) FROM "rails_workflow_operations" WHERE "rails_workflow_operations"."process_id" = $1 [["process_id", 23]]
452049
+  (0.2ms) SAVEPOINT active_record_1
452050
+ SQL (0.4ms) UPDATE "rails_workflow_processes" SET "status" = $1, "updated_at" = $2 WHERE "rails_workflow_processes"."id" = $3 [["status", 1], ["updated_at", "2015-07-07 18:52:06.714463"], ["id", 23]]
452051
+  (0.2ms) RELEASE SAVEPOINT active_record_1
452052
+ RailsWorkflow::Operation Load (0.2ms) SELECT "rails_workflow_operations".* FROM "rails_workflow_operations" WHERE "rails_workflow_operations"."process_id" = $1 AND "rails_workflow_operations"."status" = $2 [["process_id", 23], ["status", 0]]
452053
+  (0.1ms) SAVEPOINT active_record_1
452054
+ SQL (0.3ms) UPDATE "rails_workflow_operations" SET "status" = $1, "updated_at" = $2 WHERE "rails_workflow_operations"."id" = $3 [["status", 1], ["updated_at", "2015-07-07 18:52:06.718048"], ["id", 15]]
452055
+  (0.4ms) RELEASE SAVEPOINT active_record_1
452056
+ RailsWorkflow::Operation Load (0.4ms) SELECT "rails_workflow_operations".* FROM "rails_workflow_operations" WHERE "rails_workflow_operations"."id" = $1 LIMIT 1 [["id", 15]]
452057
+  (0.2ms) SAVEPOINT active_record_1
452058
+  (0.1ms) RELEASE SAVEPOINT active_record_1
452059
+  (0.1ms) SAVEPOINT active_record_1
452060
+ SQL (0.3ms) UPDATE "rails_workflow_operations" SET "status" = $1, "completed_at" = $2, "updated_at" = $3 WHERE "rails_workflow_operations"."id" = $4 [["status", 2], ["completed_at", "2015-07-07 18:52:06.723314"], ["updated_at", "2015-07-07 18:52:06.724296"], ["id", 15]]
452061
+  (0.1ms) RELEASE SAVEPOINT active_record_1
452062
+ RailsWorkflow::Process Load (0.2ms) SELECT "rails_workflow_processes".* FROM "rails_workflow_processes" WHERE "rails_workflow_processes"."id" = $1 LIMIT 1 [["id", 23]]
452063
+ RailsWorkflow::ProcessTemplate Load (0.2ms) SELECT "rails_workflow_process_templates".* FROM "rails_workflow_process_templates" WHERE "rails_workflow_process_templates"."id" = $1 LIMIT 1 [["id", 59]]
452064
+ RailsWorkflow::OperationTemplate Load (0.2ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."process_template_id" = $1 ORDER BY "rails_workflow_operation_templates"."id" ASC [["process_template_id", 59]]
452065
+ RailsWorkflow::OperationTemplate Load (0.2ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."id" = $1 LIMIT 1 [["id", 37]]
452066
+ RailsWorkflow::Operation Load (0.2ms) SELECT "rails_workflow_operations".* FROM "rails_workflow_operations" WHERE "rails_workflow_operations"."process_id" = $1 [["process_id", 23]]
452067
+ RailsWorkflow::OperationTemplate Load (0.2ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."id" = $1 LIMIT 1 [["id", 37]]
452068
+ RailsWorkflow::Context Load (0.2ms) SELECT "rails_workflow_contexts".* FROM "rails_workflow_contexts" WHERE "rails_workflow_contexts"."parent_id" = $1 AND "rails_workflow_contexts"."parent_type" = $2 LIMIT 1 [["parent_id", 15], ["parent_type", "RailsWorkflow::Operation"]]
452069
+  (0.2ms) SAVEPOINT active_record_1
452070
+ SQL (0.3ms) INSERT INTO "rails_workflow_operations" ("title", "is_background", "template_id", "process_id", "status", "dependencies", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["title", "Operation Template"], ["is_background", "t"], ["template_id", 38], ["process_id", 23], ["status", 0], ["dependencies", "[{\"operation_id\":15,\"status\":2}]"], ["created_at", "2015-07-07 18:52:06.735611"], ["updated_at", "2015-07-07 18:52:06.735611"]]
452071
+ SQL (0.3ms) INSERT INTO "rails_workflow_contexts" ("parent_type", "parent_id", "body", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["parent_type", "RailsWorkflow::Operation"], ["parent_id", 16], ["body", "{\"msg\":\"Test\"}"], ["created_at", "2015-07-07 18:52:06.737724"], ["updated_at", "2015-07-07 18:52:06.737724"]]
452072
+  (0.2ms) RELEASE SAVEPOINT active_record_1
452073
+  (0.1ms) SAVEPOINT active_record_1
452074
+  (0.2ms) RELEASE SAVEPOINT active_record_1
452075
+  (0.1ms) SAVEPOINT active_record_1
452076
+ SQL (0.3ms) UPDATE "rails_workflow_operations" SET "status" = $1, "updated_at" = $2 WHERE "rails_workflow_operations"."id" = $3 [["status", 1], ["updated_at", "2015-07-07 18:52:06.742509"], ["id", 16]]
452077
+  (0.2ms) RELEASE SAVEPOINT active_record_1
452078
+ RailsWorkflow::Operation Load (0.2ms) SELECT "rails_workflow_operations".* FROM "rails_workflow_operations" WHERE "rails_workflow_operations"."id" = $1 LIMIT 1 [["id", 16]]
452079
+  (0.2ms) SAVEPOINT active_record_1
452080
+  (0.1ms) RELEASE SAVEPOINT active_record_1
452081
+  (0.2ms) SAVEPOINT active_record_1
452082
+ SQL (0.2ms) UPDATE "rails_workflow_operations" SET "status" = $1, "completed_at" = $2, "updated_at" = $3 WHERE "rails_workflow_operations"."id" = $4 [["status", 2], ["completed_at", "2015-07-07 18:52:06.745702"], ["updated_at", "2015-07-07 18:52:06.746887"], ["id", 16]]
452083
+  (0.2ms) RELEASE SAVEPOINT active_record_1
452084
+ RailsWorkflow::Process Load (0.2ms) SELECT "rails_workflow_processes".* FROM "rails_workflow_processes" WHERE "rails_workflow_processes"."id" = $1 LIMIT 1 [["id", 23]]
452085
+ RailsWorkflow::ProcessTemplate Load (0.2ms) SELECT "rails_workflow_process_templates".* FROM "rails_workflow_process_templates" WHERE "rails_workflow_process_templates"."id" = $1 LIMIT 1 [["id", 59]]
452086
+ RailsWorkflow::OperationTemplate Load (0.3ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."process_template_id" = $1 ORDER BY "rails_workflow_operation_templates"."id" ASC [["process_template_id", 59]]
452087
+ RailsWorkflow::OperationTemplate Load (0.2ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."id" = $1 LIMIT 1 [["id", 38]]
452088
+ RailsWorkflow::Operation Load (0.2ms) SELECT "rails_workflow_operations".* FROM "rails_workflow_operations" WHERE "rails_workflow_operations"."process_id" = $1 [["process_id", 23]]
452089
+ RailsWorkflow::OperationTemplate Load (0.2ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."id" = $1 LIMIT 1 [["id", 38]]
452090
+ RailsWorkflow::OperationTemplate Load (0.2ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."id" = $1 LIMIT 1 [["id", 37]]
452091
+  (0.3ms) SELECT COUNT(*) FROM "rails_workflow_errors" WHERE "rails_workflow_errors"."parent_id" = $1 AND "rails_workflow_errors"."parent_type" = $2 AND (resolved is null or resolved = false) [["parent_id", 23], ["parent_type", "RailsWorkflow::Process"]]
452092
+  (0.6ms) SELECT COUNT(*) FROM "rails_workflow_errors" WHERE "rails_workflow_errors"."parent_id" = $1 AND "rails_workflow_errors"."parent_type" = $2 AND (resolved is null or resolved = false) [["parent_id", 23], ["parent_type", "RailsWorkflow::Process"]]
452093
+  (0.5ms) SAVEPOINT active_record_1
452094
+ SQL (0.3ms) UPDATE "rails_workflow_processes" SET "status" = $1, "updated_at" = $2 WHERE "rails_workflow_processes"."id" = $3 [["status", 2], ["updated_at", "2015-07-07 18:52:06.761890"], ["id", 23]]
452095
+  (0.2ms) RELEASE SAVEPOINT active_record_1
452096
+ RailsWorkflow::Operation Load (0.3ms) SELECT "rails_workflow_operations".* FROM "rails_workflow_operations" WHERE "rails_workflow_operations"."child_process_id" = $1 LIMIT 1 [["child_process_id", 23]]
452097
+ RailsWorkflow::Operation Load (0.2ms) SELECT "rails_workflow_operations".* FROM "rails_workflow_operations" WHERE "rails_workflow_operations"."process_id" = $1 ORDER BY "rails_workflow_operations"."id" ASC LIMIT 1 [["process_id", 23]]
452098
+  (0.1ms) SAVEPOINT active_record_1
452099
+ SQL (0.4ms) UPDATE "rails_workflow_operations" SET "completed_at" = $1, "updated_at" = $2 WHERE "rails_workflow_operations"."id" = $3 [["completed_at", "2015-07-07 18:52:06.766480"], ["updated_at", "2015-07-07 18:52:06.767501"], ["id", 15]]
452100
+  (0.2ms) RELEASE SAVEPOINT active_record_1
452101
+ RailsWorkflow::Process Load (0.2ms) SELECT "rails_workflow_processes".* FROM "rails_workflow_processes" WHERE "rails_workflow_processes"."id" = $1 LIMIT 1 [["id", 23]]
452102
+ RailsWorkflow::ProcessTemplate Load (0.2ms) SELECT "rails_workflow_process_templates".* FROM "rails_workflow_process_templates" WHERE "rails_workflow_process_templates"."id" = $1 LIMIT 1 [["id", 59]]
452103
+ RailsWorkflow::OperationTemplate Load (0.2ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."process_template_id" = $1 ORDER BY "rails_workflow_operation_templates"."id" ASC [["process_template_id", 59]]
452104
+ RailsWorkflow::OperationTemplate Load (0.2ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."id" = $1 LIMIT 1 [["id", 37]]
452105
+ RailsWorkflow::Operation Load (0.2ms) SELECT "rails_workflow_operations".* FROM "rails_workflow_operations" WHERE "rails_workflow_operations"."process_id" = $1 [["process_id", 23]]
452106
+ RailsWorkflow::OperationTemplate Load (0.2ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."id" = $1 LIMIT 1 [["id", 38]]
452107
+ RailsWorkflow::OperationTemplate Load (0.3ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."id" = $1 LIMIT 1 [["id", 37]]
452108
+  (0.2ms) SELECT COUNT(*) FROM "rails_workflow_operations" WHERE "rails_workflow_operations"."process_id" = $1 [["process_id", 23]]
452109
+  (0.2ms) ROLLBACK
452110
+  (0.1ms) BEGIN
452111
+  (0.1ms) ROLLBACK
452112
+  (0.2ms) BEGIN
452113
+  (0.2ms) SAVEPOINT active_record_1
452114
+ SQL (0.2ms) INSERT INTO "rails_workflow_contexts" ("body", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["body", "{\"msg\":\"Test\"}"], ["created_at", "2015-07-07 18:52:06.782096"], ["updated_at", "2015-07-07 18:52:06.782096"]]
452115
+  (0.2ms) RELEASE SAVEPOINT active_record_1
452116
+  (0.1ms) SAVEPOINT active_record_1
452117
+ SQL (0.2ms) INSERT INTO "rails_workflow_operations" ("title", "status", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "Test Operation"], ["status", 4], ["created_at", "2015-07-07 18:52:06.784470"], ["updated_at", "2015-07-07 18:52:06.784470"]]
452118
+ SQL (0.3ms) UPDATE "rails_workflow_contexts" SET "parent_type" = $1, "parent_id" = $2, "updated_at" = $3 WHERE "rails_workflow_contexts"."id" = $4 [["parent_type", "RailsWorkflow::Operation"], ["parent_id", 17], ["updated_at", "2015-07-07 18:52:06.786576"], ["id", 32]]
452119
+  (0.2ms) RELEASE SAVEPOINT active_record_1
452120
+  (0.1ms) SAVEPOINT active_record_1
452121
+ SQL (0.2ms) INSERT INTO "rails_workflow_process_templates" ("title", "uuid", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "Process Template"], ["uuid", "9e32b588-3266-6840-962c-5c097d7cf65f"], ["created_at", "2015-07-07 18:52:06.790152"], ["updated_at", "2015-07-07 18:52:06.790152"]]
452122
+  (0.2ms) RELEASE SAVEPOINT active_record_1
452123
+  (0.1ms) SAVEPOINT active_record_1
452124
+ SQL (0.2ms) INSERT INTO "rails_workflow_operation_templates" ("title", "kind", "is_background", "process_template_id", "async", "operation_class", "uuid", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["title", "Operation Template"], ["kind", "default"], ["is_background", "t"], ["process_template_id", 60], ["async", "t"], ["operation_class", "RailsWorkflow::UserByGroupOperation"], ["uuid", "8623a8af-efc4-4702-c8cc-77f4d4f5300a"], ["created_at", "2015-07-07 18:52:06.792452"], ["updated_at", "2015-07-07 18:52:06.792452"]]
452125
+  (0.2ms) RELEASE SAVEPOINT active_record_1
452126
+  (0.2ms) SAVEPOINT active_record_1
452127
+ SQL (0.3ms) INSERT INTO "rails_workflow_contexts" ("body", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["body", "{\"msg\":\"Test message\"}"], ["created_at", "2015-07-07 18:52:06.798086"], ["updated_at", "2015-07-07 18:52:06.798086"]]
452128
+  (0.1ms) RELEASE SAVEPOINT active_record_1
452129
+  (0.2ms) SAVEPOINT active_record_1
452130
+ SQL (0.2ms) INSERT INTO "rails_workflow_processes" ("status", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["status", 0], ["created_at", "2015-07-07 18:52:06.800474"], ["updated_at", "2015-07-07 18:52:06.800474"]]
452131
+ SQL (0.3ms) UPDATE "rails_workflow_contexts" SET "parent_type" = $1, "parent_id" = $2, "updated_at" = $3 WHERE "rails_workflow_contexts"."id" = $4 [["parent_type", "RailsWorkflow::Process"], ["parent_id", 24], ["updated_at", "2015-07-07 18:52:06.802102"], ["id", 33]]
452132
+  (0.1ms) RELEASE SAVEPOINT active_record_1
452133
+  (0.2ms) SAVEPOINT active_record_1
452134
+ SQL (0.2ms) INSERT INTO "rails_workflow_operations" ("type", "title", "async", "is_background", "template_id", "process_id", "status", "dependencies", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id" [["type", "RailsWorkflow::UserByGroupOperation"], ["title", "Operation Template"], ["async", "t"], ["is_background", "t"], ["template_id", 39], ["process_id", 24], ["status", 0], ["dependencies", "[{\"operation_id\":17,\"status\":4}]"], ["created_at", "2015-07-07 18:52:06.815498"], ["updated_at", "2015-07-07 18:52:06.815498"]]
452135
+ SQL (0.3ms) INSERT INTO "rails_workflow_contexts" ("parent_type", "parent_id", "body", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["parent_type", "RailsWorkflow::Operation"], ["parent_id", 18], ["body", "{\"msg\":\"Test\"}"], ["created_at", "2015-07-07 18:52:06.817797"], ["updated_at", "2015-07-07 18:52:06.817797"]]
452136
+  (0.2ms) RELEASE SAVEPOINT active_record_1
452137
+  (0.5ms) ROLLBACK
452138
+  (0.1ms) BEGIN
452139
+  (0.2ms) SAVEPOINT active_record_1
452140
+ SQL (0.3ms) INSERT INTO "rails_workflow_contexts" ("body", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["body", "{\"int\":1,\"date\":\"2015-07-07\",\"ary\":[1,2,3],\"msg\":\"Some string\"}"], ["created_at", "2015-07-07 18:52:06.828972"], ["updated_at", "2015-07-07 18:52:06.828972"]]
452141
+  (0.2ms) RELEASE SAVEPOINT active_record_1
452142
+  (0.2ms) ROLLBACK
452143
+  (0.2ms) BEGIN
452144
+  (0.2ms) SAVEPOINT active_record_1
452145
+ SQL (0.2ms) INSERT INTO "rails_workflow_operations" ("title", "status", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "Test Operation"], ["status", 0], ["created_at", "2015-07-07 18:52:06.834599"], ["updated_at", "2015-07-07 18:52:06.834599"]]
452146
+  (0.2ms) RELEASE SAVEPOINT active_record_1
452147
+  (0.2ms) SAVEPOINT active_record_1
452148
+ SQL (0.3ms) INSERT INTO "rails_workflow_contexts" ("body", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["body", "{\"msg\":\"Test message\"}"], ["created_at", "2015-07-07 18:52:06.837893"], ["updated_at", "2015-07-07 18:52:06.837893"]]
452149
+  (0.2ms) RELEASE SAVEPOINT active_record_1
452150
+  (0.2ms) SAVEPOINT active_record_1
452151
+ SQL (0.2ms) INSERT INTO "rails_workflow_processes" ("status", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["status", 0], ["created_at", "2015-07-07 18:52:06.840276"], ["updated_at", "2015-07-07 18:52:06.840276"]]
452152
+ SQL (0.3ms) UPDATE "rails_workflow_contexts" SET "parent_type" = $1, "parent_id" = $2, "updated_at" = $3 WHERE "rails_workflow_contexts"."id" = $4 [["parent_type", "RailsWorkflow::Process"], ["parent_id", 25], ["updated_at", "2015-07-07 18:52:06.841718"], ["id", 36]]
452153
+  (0.2ms) RELEASE SAVEPOINT active_record_1
452154
+  (0.1ms) SAVEPOINT active_record_1
452155
+ SQL (0.2ms) INSERT INTO "rails_workflow_contexts" ("body", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["body", "{\"resource\":{\"id\":19,\"class\":\"RailsWorkflow::Operation\"},\"process\":{\"id\":25,\"class\":\"RailsWorkflow::Process\"}}"], ["created_at", "2015-07-07 18:52:06.844516"], ["updated_at", "2015-07-07 18:52:06.844516"]]
452156
+  (0.1ms) RELEASE SAVEPOINT active_record_1
452157
+  (0.1ms) SAVEPOINT active_record_1
452158
+  (0.2ms) RELEASE SAVEPOINT active_record_1
452159
+  (0.1ms) ROLLBACK
452160
+  (0.1ms) BEGIN
452161
+  (0.2ms) SAVEPOINT active_record_1
452162
+ SQL (0.3ms) INSERT INTO "rails_workflow_operations" ("title", "status", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "Test Operation"], ["status", 0], ["created_at", "2015-07-07 18:52:06.850930"], ["updated_at", "2015-07-07 18:52:06.850930"]]
452163
+  (0.1ms) RELEASE SAVEPOINT active_record_1
452164
+  (0.2ms) SAVEPOINT active_record_1
452165
+ SQL (0.3ms) INSERT INTO "rails_workflow_contexts" ("body", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["body", "{\"msg\":\"Test message\"}"], ["created_at", "2015-07-07 18:52:06.853849"], ["updated_at", "2015-07-07 18:52:06.853849"]]
452166
+  (0.2ms) RELEASE SAVEPOINT active_record_1
452167
+  (0.2ms) SAVEPOINT active_record_1
452168
+ SQL (0.2ms) INSERT INTO "rails_workflow_processes" ("status", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["status", 0], ["created_at", "2015-07-07 18:52:06.856230"], ["updated_at", "2015-07-07 18:52:06.856230"]]
452169
+ SQL (0.3ms) UPDATE "rails_workflow_contexts" SET "parent_type" = $1, "parent_id" = $2, "updated_at" = $3 WHERE "rails_workflow_contexts"."id" = $4 [["parent_type", "RailsWorkflow::Process"], ["parent_id", 26], ["updated_at", "2015-07-07 18:52:06.857699"], ["id", 38]]
452170
+  (0.1ms) RELEASE SAVEPOINT active_record_1
452171
+  (0.1ms) SAVEPOINT active_record_1
452172
+ SQL (0.3ms) INSERT INTO "rails_workflow_contexts" ("body", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["body", "{\"resources\":[{\"id\":20,\"class\":\"RailsWorkflow::Operation\"},{\"id\":26,\"class\":\"RailsWorkflow::Process\"}]}"], ["created_at", "2015-07-07 18:52:06.860314"], ["updated_at", "2015-07-07 18:52:06.860314"]]
452173
+  (0.2ms) RELEASE SAVEPOINT active_record_1
452174
+  (0.2ms) ROLLBACK
452175
+  (0.2ms) BEGIN
452176
+  (0.1ms) SAVEPOINT active_record_1
452177
+ SQL (0.3ms) INSERT INTO "rails_workflow_operations" ("title", "status", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "Test Operation"], ["status", 0], ["created_at", "2015-07-07 18:52:06.866067"], ["updated_at", "2015-07-07 18:52:06.866067"]]
452178
+  (0.2ms) RELEASE SAVEPOINT active_record_1
452179
+  (0.2ms) SAVEPOINT active_record_1
452180
+ SQL (1.1ms) INSERT INTO "rails_workflow_contexts" ("parent_id", "parent_type", "body", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["parent_id", 21], ["parent_type", "RailsWorkflow::Operation"], ["body", "{\"int\":1,\"date\":\"2015-07-07\",\"ary\":[1,2,3],\"msg\":\"Some string\"}"], ["created_at", "2015-07-07 18:52:06.869184"], ["updated_at", "2015-07-07 18:52:06.869184"]]
452181
+  (0.5ms) RELEASE SAVEPOINT active_record_1
452182
+ RailsWorkflow::Context Load (0.2ms) SELECT "rails_workflow_contexts".* FROM "rails_workflow_contexts" WHERE "rails_workflow_contexts"."id" = $1 LIMIT 1 [["id", 40]]
452183
+  (0.2ms) ROLLBACK
452184
+  (0.1ms) BEGIN
452185
+  (0.2ms) SAVEPOINT active_record_1
452186
+ SQL (0.2ms) INSERT INTO "rails_workflow_operations" ("title", "status", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "Test Operation"], ["status", 0], ["created_at", "2015-07-07 18:52:06.879382"], ["updated_at", "2015-07-07 18:52:06.879382"]]
452187
+  (0.1ms) RELEASE SAVEPOINT active_record_1
452188
+  (0.1ms) SAVEPOINT active_record_1
452189
+ SQL (0.2ms) INSERT INTO "rails_workflow_contexts" ("body", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["body", "{\"msg\":\"Test message\"}"], ["created_at", "2015-07-07 18:52:06.882071"], ["updated_at", "2015-07-07 18:52:06.882071"]]
452190
+  (0.2ms) RELEASE SAVEPOINT active_record_1
452191
+  (0.1ms) SAVEPOINT active_record_1
452192
+ SQL (0.3ms) INSERT INTO "rails_workflow_processes" ("status", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["status", 0], ["created_at", "2015-07-07 18:52:06.884060"], ["updated_at", "2015-07-07 18:52:06.884060"]]
452193
+ SQL (0.3ms) UPDATE "rails_workflow_contexts" SET "parent_type" = $1, "parent_id" = $2, "updated_at" = $3 WHERE "rails_workflow_contexts"."id" = $4 [["parent_type", "RailsWorkflow::Process"], ["parent_id", 27], ["updated_at", "2015-07-07 18:52:06.885527"], ["id", 41]]
452194
+  (0.1ms) RELEASE SAVEPOINT active_record_1
452195
+  (0.1ms) SAVEPOINT active_record_1
452196
+ SQL (0.3ms) INSERT INTO "rails_workflow_contexts" ("parent_id", "parent_type", "body", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["parent_id", 22], ["parent_type", "RailsWorkflow::Operation"], ["body", "{\"resource\":{\"id\":22,\"class\":\"RailsWorkflow::Operation\"},\"process\":{\"id\":27,\"class\":\"RailsWorkflow::Process\"}}"], ["created_at", "2015-07-07 18:52:06.888221"], ["updated_at", "2015-07-07 18:52:06.888221"]]
452197
+  (0.1ms) RELEASE SAVEPOINT active_record_1
452198
+ RailsWorkflow::Context Load (0.2ms) SELECT "rails_workflow_contexts".* FROM "rails_workflow_contexts" WHERE "rails_workflow_contexts"."id" = $1 LIMIT 1 [["id", 42]]
452199
+ RailsWorkflow::Operation Load (0.2ms) SELECT "rails_workflow_operations".* FROM "rails_workflow_operations" WHERE "rails_workflow_operations"."id" = $1 LIMIT 1 [["id", 22]]
452200
+ RailsWorkflow::Process Load (0.2ms) SELECT "rails_workflow_processes".* FROM "rails_workflow_processes" WHERE "rails_workflow_processes"."id" = $1 LIMIT 1 [["id", 27]]
452201
+  (0.1ms) ROLLBACK
452202
+  (0.1ms) BEGIN
452203
+  (0.2ms) SAVEPOINT active_record_1
452204
+ SQL (0.3ms) INSERT INTO "rails_workflow_operations" ("title", "status", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "Test Operation"], ["status", 0], ["created_at", "2015-07-07 18:52:06.895580"], ["updated_at", "2015-07-07 18:52:06.895580"]]
452205
+  (0.2ms) RELEASE SAVEPOINT active_record_1
452206
+  (0.1ms) SAVEPOINT active_record_1
452207
+ SQL (0.2ms) INSERT INTO "rails_workflow_contexts" ("body", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["body", "{\"msg\":\"Test message\"}"], ["created_at", "2015-07-07 18:52:06.898182"], ["updated_at", "2015-07-07 18:52:06.898182"]]
452208
+  (0.2ms) RELEASE SAVEPOINT active_record_1
452209
+  (0.1ms) SAVEPOINT active_record_1
452210
+ SQL (0.3ms) INSERT INTO "rails_workflow_processes" ("status", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["status", 0], ["created_at", "2015-07-07 18:52:06.900254"], ["updated_at", "2015-07-07 18:52:06.900254"]]
452211
+ SQL (0.3ms) UPDATE "rails_workflow_contexts" SET "parent_type" = $1, "parent_id" = $2, "updated_at" = $3 WHERE "rails_workflow_contexts"."id" = $4 [["parent_type", "RailsWorkflow::Process"], ["parent_id", 28], ["updated_at", "2015-07-07 18:52:06.902119"], ["id", 43]]
452212
+  (0.1ms) RELEASE SAVEPOINT active_record_1
452213
+  (0.1ms) SAVEPOINT active_record_1
452214
+ SQL (0.2ms) INSERT INTO "rails_workflow_contexts" ("body", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["body", "{\"resources\":[{\"id\":23,\"class\":\"RailsWorkflow::Operation\"},{\"id\":28,\"class\":\"RailsWorkflow::Process\"}]}"], ["created_at", "2015-07-07 18:52:06.904737"], ["updated_at", "2015-07-07 18:52:06.904737"]]
452215
+  (0.1ms) RELEASE SAVEPOINT active_record_1
452216
+ RailsWorkflow::Context Load (0.3ms) SELECT "rails_workflow_contexts".* FROM "rails_workflow_contexts" WHERE "rails_workflow_contexts"."id" = $1 LIMIT 1 [["id", 44]]
452217
+ RailsWorkflow::Operation Load (0.3ms) SELECT "rails_workflow_operations".* FROM "rails_workflow_operations" WHERE "rails_workflow_operations"."id" = $1 LIMIT 1 [["id", 23]]
452218
+ RailsWorkflow::Process Load (0.2ms) SELECT "rails_workflow_processes".* FROM "rails_workflow_processes" WHERE "rails_workflow_processes"."id" = $1 LIMIT 1 [["id", 28]]
452219
+  (0.2ms) ROLLBACK
452220
+  (0.1ms) BEGIN
452221
+  (0.2ms) SAVEPOINT active_record_1
452222
+ SQL (0.4ms) INSERT INTO "rails_workflow_process_templates" ("title", "uuid", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "Process Template"], ["uuid", "2acb333a-8791-678b-dc5c-fe059683e039"], ["created_at", "2015-07-07 18:52:06.914135"], ["updated_at", "2015-07-07 18:52:06.914135"]]
452223
+  (0.2ms) RELEASE SAVEPOINT active_record_1
452224
+  (0.2ms) SAVEPOINT active_record_1
452225
+ SQL (0.7ms) INSERT INTO "rails_workflow_operation_templates" ("title", "kind", "is_background", "process_template_id", "async", "operation_class", "uuid", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["title", "Operation Template"], ["kind", "default"], ["is_background", "t"], ["process_template_id", 61], ["async", "t"], ["operation_class", "RailsWorkflow::UserByGroupOperation"], ["uuid", "ec954fe6-1242-9341-c98d-5e42f4af0916"], ["created_at", "2015-07-07 18:52:06.919369"], ["updated_at", "2015-07-07 18:52:06.919369"]]
452226
+  (0.3ms) RELEASE SAVEPOINT active_record_1
452227
+  (0.2ms) SAVEPOINT active_record_1
452228
+ SQL (0.3ms) INSERT INTO "rails_workflow_contexts" ("body", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["body", "{\"msg\":\"Test message\"}"], ["created_at", "2015-07-07 18:52:06.926557"], ["updated_at", "2015-07-07 18:52:06.926557"]]
452229
+  (0.2ms) RELEASE SAVEPOINT active_record_1
452230
+  (0.1ms) SAVEPOINT active_record_1
452231
+ SQL (0.2ms) INSERT INTO "rails_workflow_processes" ("status", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["status", 0], ["created_at", "2015-07-07 18:52:06.929714"], ["updated_at", "2015-07-07 18:52:06.929714"]]
452232
+ SQL (0.2ms) UPDATE "rails_workflow_contexts" SET "parent_type" = $1, "parent_id" = $2, "updated_at" = $3 WHERE "rails_workflow_contexts"."id" = $4 [["parent_type", "RailsWorkflow::Process"], ["parent_id", 29], ["updated_at", "2015-07-07 18:52:06.931226"], ["id", 45]]
452233
+  (0.1ms) RELEASE SAVEPOINT active_record_1
452234
+  (0.2ms) SAVEPOINT active_record_1
452235
+ SQL (0.3ms) INSERT INTO "rails_workflow_operations" ("type", "title", "async", "is_background", "template_id", "process_id", "status", "dependencies", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id" [["type", "RailsWorkflow::UserByGroupOperation"], ["title", "Operation Template"], ["async", "t"], ["is_background", "t"], ["template_id", 40], ["process_id", 29], ["status", 0], ["dependencies", "[]"], ["created_at", "2015-07-07 18:52:06.936152"], ["updated_at", "2015-07-07 18:52:06.936152"]]
452236
+ SQL (0.2ms) INSERT INTO "rails_workflow_contexts" ("parent_type", "parent_id", "body", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["parent_type", "RailsWorkflow::Operation"], ["parent_id", 24], ["body", "{\"msg\":\"Test message\"}"], ["created_at", "2015-07-07 18:52:06.938280"], ["updated_at", "2015-07-07 18:52:06.938280"]]
452237
+  (0.1ms) RELEASE SAVEPOINT active_record_1
452238
+  (0.1ms) ROLLBACK
452239
+  (0.1ms) BEGIN
452240
+  (0.2ms) SAVEPOINT active_record_1
452241
+ SQL (0.2ms) INSERT INTO "rails_workflow_process_templates" ("title", "uuid", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "Process Template"], ["uuid", "a64794b6-2e32-4c45-8228-e1a904877d82"], ["created_at", "2015-07-07 18:52:06.944415"], ["updated_at", "2015-07-07 18:52:06.944415"]]
452242
+  (0.1ms) RELEASE SAVEPOINT active_record_1
452243
+  (0.1ms) SAVEPOINT active_record_1
452244
+ SQL (0.3ms) INSERT INTO "rails_workflow_operation_templates" ("title", "kind", "is_background", "process_template_id", "async", "operation_class", "uuid", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["title", "Operation Template"], ["kind", "default"], ["is_background", "t"], ["process_template_id", 62], ["async", "t"], ["operation_class", "RailsWorkflow::UserByGroupOperation"], ["uuid", "f09dea3c-9d48-409c-cd0e-4f4431e7eceb"], ["created_at", "2015-07-07 18:52:06.946656"], ["updated_at", "2015-07-07 18:52:06.946656"]]
452245
+  (0.2ms) RELEASE SAVEPOINT active_record_1
452246
+  (0.2ms) SAVEPOINT active_record_1
452247
+ SQL (0.2ms) INSERT INTO "rails_workflow_contexts" ("body", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["body", "{\"msg\":\"Test message\"}"], ["created_at", "2015-07-07 18:52:06.949711"], ["updated_at", "2015-07-07 18:52:06.949711"]]
452248
+  (0.2ms) RELEASE SAVEPOINT active_record_1
452249
+  (0.2ms) SAVEPOINT active_record_1
452250
+ SQL (0.2ms) INSERT INTO "rails_workflow_processes" ("status", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["status", 0], ["created_at", "2015-07-07 18:52:06.951860"], ["updated_at", "2015-07-07 18:52:06.951860"]]
452251
+ SQL (0.2ms) UPDATE "rails_workflow_contexts" SET "parent_type" = $1, "parent_id" = $2, "updated_at" = $3 WHERE "rails_workflow_contexts"."id" = $4 [["parent_type", "RailsWorkflow::Process"], ["parent_id", 30], ["updated_at", "2015-07-07 18:52:06.953380"], ["id", 47]]
452252
+  (0.1ms) RELEASE SAVEPOINT active_record_1
452253
+  (0.2ms) SAVEPOINT active_record_1
452254
+ SQL (0.3ms) INSERT INTO "rails_workflow_operations" ("type", "title", "async", "is_background", "template_id", "process_id", "status", "dependencies", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id" [["type", "RailsWorkflow::UserByGroupOperation"], ["title", "Operation Template"], ["async", "t"], ["is_background", "t"], ["template_id", 41], ["process_id", 30], ["status", 0], ["dependencies", "[]"], ["created_at", "2015-07-07 18:52:06.957902"], ["updated_at", "2015-07-07 18:52:06.957902"]]
452255
+ SQL (0.2ms) INSERT INTO "rails_workflow_contexts" ("parent_type", "parent_id", "body", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["parent_type", "RailsWorkflow::Operation"], ["parent_id", 25], ["body", "{\"msg\":\"Test message\"}"], ["created_at", "2015-07-07 18:52:06.960182"], ["updated_at", "2015-07-07 18:52:06.960182"]]
452256
+  (0.1ms) RELEASE SAVEPOINT active_record_1
452257
+  (0.1ms) ROLLBACK
452258
+  (0.1ms) BEGIN
452259
+  (0.2ms) SAVEPOINT active_record_1
452260
+ SQL (0.2ms) INSERT INTO "rails_workflow_process_templates" ("title", "uuid", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "Process Template"], ["uuid", "5fb38d88-6959-be33-48cc-06ef42692550"], ["created_at", "2015-07-07 18:52:06.966172"], ["updated_at", "2015-07-07 18:52:06.966172"]]
452261
+  (0.2ms) RELEASE SAVEPOINT active_record_1
452262
+  (0.1ms) SAVEPOINT active_record_1
452263
+ SQL (0.3ms) INSERT INTO "rails_workflow_operation_templates" ("title", "kind", "is_background", "process_template_id", "async", "operation_class", "uuid", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["title", "Operation Template"], ["kind", "default"], ["is_background", "t"], ["process_template_id", 63], ["async", "t"], ["operation_class", "RailsWorkflow::UserByGroupOperation"], ["uuid", "110e5a0e-1474-0d31-6604-b1581504c966"], ["created_at", "2015-07-07 18:52:06.968600"], ["updated_at", "2015-07-07 18:52:06.968600"]]
452264
+  (0.2ms) RELEASE SAVEPOINT active_record_1
452265
+  (0.1ms) SAVEPOINT active_record_1
452266
+ SQL (0.5ms) INSERT INTO "rails_workflow_contexts" ("body", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["body", "{\"msg\":\"Test message\"}"], ["created_at", "2015-07-07 18:52:06.972173"], ["updated_at", "2015-07-07 18:52:06.972173"]]
452267
+  (0.3ms) RELEASE SAVEPOINT active_record_1
452268
+  (0.2ms) SAVEPOINT active_record_1
452269
+ SQL (0.2ms) INSERT INTO "rails_workflow_processes" ("status", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["status", 0], ["created_at", "2015-07-07 18:52:06.976169"], ["updated_at", "2015-07-07 18:52:06.976169"]]
452270
+ SQL (0.2ms) UPDATE "rails_workflow_contexts" SET "parent_type" = $1, "parent_id" = $2, "updated_at" = $3 WHERE "rails_workflow_contexts"."id" = $4 [["parent_type", "RailsWorkflow::Process"], ["parent_id", 31], ["updated_at", "2015-07-07 18:52:06.977845"], ["id", 49]]
452271
+  (0.2ms) RELEASE SAVEPOINT active_record_1
452272
+  (0.1ms) SAVEPOINT active_record_1
452273
+ SQL (0.3ms) INSERT INTO "rails_workflow_operations" ("type", "title", "async", "is_background", "template_id", "process_id", "status", "dependencies", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id" [["type", "RailsWorkflow::UserByGroupOperation"], ["title", "Operation Template"], ["async", "t"], ["is_background", "t"], ["template_id", 42], ["process_id", 31], ["status", 0], ["dependencies", "[]"], ["created_at", "2015-07-07 18:52:06.982522"], ["updated_at", "2015-07-07 18:52:06.982522"]]
452274
+ SQL (0.3ms) INSERT INTO "rails_workflow_contexts" ("parent_type", "parent_id", "body", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["parent_type", "RailsWorkflow::Operation"], ["parent_id", 26], ["body", "{\"msg\":\"Test message\"}"], ["created_at", "2015-07-07 18:52:06.984846"], ["updated_at", "2015-07-07 18:52:06.984846"]]
452275
+  (0.2ms) RELEASE SAVEPOINT active_record_1
452276
+  (0.1ms) ROLLBACK
452277
+  (0.1ms) BEGIN
452278
+  (0.2ms) SAVEPOINT active_record_1
452279
+ SQL (0.2ms) INSERT INTO "rails_workflow_process_templates" ("title", "uuid", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "Process Template"], ["uuid", "68edffc0-f49f-d12c-a7a2-c3204c70ba6e"], ["created_at", "2015-07-07 18:52:06.991289"], ["updated_at", "2015-07-07 18:52:06.991289"]]
452280
+  (0.1ms) RELEASE SAVEPOINT active_record_1
452281
+  (0.1ms) SAVEPOINT active_record_1
452282
+ SQL (0.2ms) INSERT INTO "rails_workflow_operation_templates" ("title", "kind", "is_background", "process_template_id", "async", "operation_class", "uuid", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["title", "Operation Template"], ["kind", "default"], ["is_background", "t"], ["process_template_id", 64], ["async", "t"], ["operation_class", "RailsWorkflow::UserByGroupOperation"], ["uuid", "413250ce-1849-0504-e9e0-0030a1aaaf29"], ["created_at", "2015-07-07 18:52:06.993933"], ["updated_at", "2015-07-07 18:52:06.993933"]]
452283
+  (0.1ms) RELEASE SAVEPOINT active_record_1
452284
+  (0.1ms) SAVEPOINT active_record_1
452285
+ SQL (0.2ms) INSERT INTO "rails_workflow_contexts" ("body", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["body", "{\"msg\":\"Test message\"}"], ["created_at", "2015-07-07 18:52:06.997071"], ["updated_at", "2015-07-07 18:52:06.997071"]]
452286
+  (0.1ms) RELEASE SAVEPOINT active_record_1
452287
+  (0.1ms) SAVEPOINT active_record_1
452288
+ SQL (0.2ms) INSERT INTO "rails_workflow_processes" ("status", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["status", 0], ["created_at", "2015-07-07 18:52:06.999147"], ["updated_at", "2015-07-07 18:52:06.999147"]]
452289
+ SQL (0.2ms) UPDATE "rails_workflow_contexts" SET "parent_type" = $1, "parent_id" = $2, "updated_at" = $3 WHERE "rails_workflow_contexts"."id" = $4 [["parent_type", "RailsWorkflow::Process"], ["parent_id", 32], ["updated_at", "2015-07-07 18:52:07.000535"], ["id", 51]]
452290
+  (0.1ms) RELEASE SAVEPOINT active_record_1
452291
+  (0.1ms) SAVEPOINT active_record_1
452292
+ SQL (0.3ms) INSERT INTO "rails_workflow_operations" ("type", "title", "async", "is_background", "template_id", "process_id", "status", "dependencies", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id" [["type", "RailsWorkflow::UserByGroupOperation"], ["title", "Operation Template"], ["async", "t"], ["is_background", "t"], ["template_id", 43], ["process_id", 32], ["status", 0], ["dependencies", "[]"], ["created_at", "2015-07-07 18:52:07.004752"], ["updated_at", "2015-07-07 18:52:07.004752"]]
452293
+ SQL (0.2ms) INSERT INTO "rails_workflow_contexts" ("parent_type", "parent_id", "body", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["parent_type", "RailsWorkflow::Operation"], ["parent_id", 27], ["body", "{\"msg\":\"Test message\"}"], ["created_at", "2015-07-07 18:52:07.006804"], ["updated_at", "2015-07-07 18:52:07.006804"]]
452294
+  (0.1ms) RELEASE SAVEPOINT active_record_1
452295
+  (0.1ms) ROLLBACK
452296
+  (0.2ms) BEGIN
452297
+  (0.1ms) SAVEPOINT active_record_1
452298
+ SQL (0.2ms) INSERT INTO "rails_workflow_process_templates" ("title", "uuid", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "Process Template"], ["uuid", "1f7f746c-f564-a6a6-d01a-7e3afc1bcc19"], ["created_at", "2015-07-07 18:52:07.012506"], ["updated_at", "2015-07-07 18:52:07.012506"]]
452299
+  (0.1ms) RELEASE SAVEPOINT active_record_1
452300
+  (0.1ms) SAVEPOINT active_record_1
452301
+ SQL (0.2ms) INSERT INTO "rails_workflow_operation_templates" ("title", "kind", "is_background", "process_template_id", "async", "operation_class", "uuid", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["title", "Operation Template"], ["kind", "default"], ["is_background", "t"], ["process_template_id", 65], ["async", "t"], ["operation_class", "RailsWorkflow::UserByGroupOperation"], ["uuid", "7c44646f-68bc-957b-86dc-0c2c241c87cf"], ["created_at", "2015-07-07 18:52:07.014733"], ["updated_at", "2015-07-07 18:52:07.014733"]]
452302
+  (0.2ms) RELEASE SAVEPOINT active_record_1
452303
+  (0.2ms) SAVEPOINT active_record_1
452304
+ SQL (0.3ms) INSERT INTO "rails_workflow_contexts" ("body", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["body", "{\"msg\":\"Test message\"}"], ["created_at", "2015-07-07 18:52:07.017411"], ["updated_at", "2015-07-07 18:52:07.017411"]]
452305
+  (0.1ms) RELEASE SAVEPOINT active_record_1
452306
+  (0.1ms) SAVEPOINT active_record_1
452307
+ SQL (0.2ms) INSERT INTO "rails_workflow_processes" ("status", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["status", 0], ["created_at", "2015-07-07 18:52:07.019627"], ["updated_at", "2015-07-07 18:52:07.019627"]]
452308
+ SQL (0.6ms) UPDATE "rails_workflow_contexts" SET "parent_type" = $1, "parent_id" = $2, "updated_at" = $3 WHERE "rails_workflow_contexts"."id" = $4 [["parent_type", "RailsWorkflow::Process"], ["parent_id", 33], ["updated_at", "2015-07-07 18:52:07.021168"], ["id", 53]]
452309
+  (0.2ms) RELEASE SAVEPOINT active_record_1
452310
+  (0.2ms) SAVEPOINT active_record_1
452311
+ SQL (0.3ms) INSERT INTO "rails_workflow_operations" ("type", "title", "async", "is_background", "template_id", "process_id", "status", "dependencies", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id" [["type", "RailsWorkflow::UserByGroupOperation"], ["title", "Operation Template"], ["async", "t"], ["is_background", "t"], ["template_id", 44], ["process_id", 33], ["status", 0], ["dependencies", "[]"], ["created_at", "2015-07-07 18:52:07.026878"], ["updated_at", "2015-07-07 18:52:07.026878"]]
452312
+ SQL (0.2ms) INSERT INTO "rails_workflow_contexts" ("parent_type", "parent_id", "body", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["parent_type", "RailsWorkflow::Operation"], ["parent_id", 28], ["body", "{\"msg\":\"Test message\"}"], ["created_at", "2015-07-07 18:52:07.028810"], ["updated_at", "2015-07-07 18:52:07.028810"]]
452313
+  (0.2ms) RELEASE SAVEPOINT active_record_1
452314
+  (0.2ms) ROLLBACK
452315
+  (0.1ms) BEGIN
452316
+  (0.2ms) SAVEPOINT active_record_1
452317
+ SQL (0.2ms) INSERT INTO "rails_workflow_process_templates" ("title", "uuid", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "Process Template"], ["uuid", "0fb4357d-59d1-45e6-9dab-da68aeb2a404"], ["created_at", "2015-07-07 18:52:07.034363"], ["updated_at", "2015-07-07 18:52:07.034363"]]
452318
+  (0.2ms) RELEASE SAVEPOINT active_record_1
452319
+  (0.1ms) SAVEPOINT active_record_1
452320
+ SQL (0.2ms) INSERT INTO "rails_workflow_operation_templates" ("title", "kind", "is_background", "process_template_id", "async", "operation_class", "uuid", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["title", "Operation Template"], ["kind", "default"], ["is_background", "t"], ["process_template_id", 66], ["async", "t"], ["operation_class", "RailsWorkflow::UserByGroupOperation"], ["uuid", "7bc4df56-00de-fd83-f5cf-6c63e1ef51f5"], ["created_at", "2015-07-07 18:52:07.036799"], ["updated_at", "2015-07-07 18:52:07.036799"]]
452321
+  (0.2ms) RELEASE SAVEPOINT active_record_1
452322
+  (0.1ms) SAVEPOINT active_record_1
452323
+ SQL (0.3ms) INSERT INTO "rails_workflow_contexts" ("body", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["body", "{\"msg\":\"Test message\"}"], ["created_at", "2015-07-07 18:52:07.039335"], ["updated_at", "2015-07-07 18:52:07.039335"]]
452324
+  (0.1ms) RELEASE SAVEPOINT active_record_1
452325
+  (0.1ms) SAVEPOINT active_record_1
452326
+ SQL (0.2ms) INSERT INTO "rails_workflow_processes" ("status", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["status", 0], ["created_at", "2015-07-07 18:52:07.041489"], ["updated_at", "2015-07-07 18:52:07.041489"]]
452327
+ SQL (0.2ms) UPDATE "rails_workflow_contexts" SET "parent_type" = $1, "parent_id" = $2, "updated_at" = $3 WHERE "rails_workflow_contexts"."id" = $4 [["parent_type", "RailsWorkflow::Process"], ["parent_id", 34], ["updated_at", "2015-07-07 18:52:07.042792"], ["id", 55]]
452328
+  (0.1ms) RELEASE SAVEPOINT active_record_1
452329
+  (0.1ms) SAVEPOINT active_record_1
452330
+ SQL (0.2ms) INSERT INTO "rails_workflow_operations" ("type", "title", "async", "is_background", "template_id", "process_id", "status", "dependencies", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id" [["type", "RailsWorkflow::UserByGroupOperation"], ["title", "Operation Template"], ["async", "t"], ["is_background", "t"], ["template_id", 45], ["process_id", 34], ["status", 0], ["dependencies", "[]"], ["created_at", "2015-07-07 18:52:07.046582"], ["updated_at", "2015-07-07 18:52:07.046582"]]
452331
+ SQL (0.2ms) INSERT INTO "rails_workflow_contexts" ("parent_type", "parent_id", "body", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["parent_type", "RailsWorkflow::Operation"], ["parent_id", 29], ["body", "{\"msg\":\"Test message\"}"], ["created_at", "2015-07-07 18:52:07.048181"], ["updated_at", "2015-07-07 18:52:07.048181"]]
452332
+  (0.1ms) RELEASE SAVEPOINT active_record_1
452333
+  (0.1ms) ROLLBACK
452334
+  (0.2ms) BEGIN
452335
+  (0.2ms) SAVEPOINT active_record_1
452336
+ SQL (0.2ms) INSERT INTO "rails_workflow_process_templates" ("title", "uuid", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "Process Template"], ["uuid", "99d6f55e-006b-a7be-175d-62a284389f50"], ["created_at", "2015-07-07 18:52:07.053517"], ["updated_at", "2015-07-07 18:52:07.053517"]]
452337
+  (0.1ms) RELEASE SAVEPOINT active_record_1
452338
+  (0.1ms) SAVEPOINT active_record_1
452339
+ SQL (0.2ms) INSERT INTO "rails_workflow_process_templates" ("title", "uuid", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "Process Template"], ["uuid", "db390f2c-fb7f-bd78-2eb1-c4df530a6bb0"], ["created_at", "2015-07-07 18:52:07.055675"], ["updated_at", "2015-07-07 18:52:07.055675"]]
452340
+  (0.2ms) RELEASE SAVEPOINT active_record_1
452341
+  (0.1ms) SAVEPOINT active_record_1
452342
+ SQL (0.3ms) INSERT INTO "rails_workflow_operation_templates" ("title", "kind", "is_background", "process_template_id", "child_process_id", "uuid", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["title", "Operation Template"], ["kind", "default"], ["is_background", "t"], ["process_template_id", 67], ["child_process_id", 68], ["uuid", "ea0196cc-4ce5-d58e-87dd-7c8ac7dab3b9"], ["created_at", "2015-07-07 18:52:07.057820"], ["updated_at", "2015-07-07 18:52:07.057820"]]
452343
+  (0.2ms) RELEASE SAVEPOINT active_record_1
452344
+  (0.1ms) SAVEPOINT active_record_1
452345
+ SQL (0.2ms) INSERT INTO "rails_workflow_contexts" ("body", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["body", "{\"msg\":\"Test message\"}"], ["created_at", "2015-07-07 18:52:07.061194"], ["updated_at", "2015-07-07 18:52:07.061194"]]
452346
+  (0.1ms) RELEASE SAVEPOINT active_record_1
452347
+  (0.1ms) SAVEPOINT active_record_1
452348
+ SQL (0.2ms) INSERT INTO "rails_workflow_processes" ("status", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["status", 0], ["created_at", "2015-07-07 18:52:07.063030"], ["updated_at", "2015-07-07 18:52:07.063030"]]
452349
+ SQL (0.2ms) UPDATE "rails_workflow_contexts" SET "parent_type" = $1, "parent_id" = $2, "updated_at" = $3 WHERE "rails_workflow_contexts"."id" = $4 [["parent_type", "RailsWorkflow::Process"], ["parent_id", 35], ["updated_at", "2015-07-07 18:52:07.064789"], ["id", 57]]
452350
+  (0.1ms) RELEASE SAVEPOINT active_record_1
452351
+  (0.1ms) SAVEPOINT active_record_1
452352
+ SQL (0.2ms) INSERT INTO "rails_workflow_process_templates" ("title", "uuid", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "Process Template"], ["uuid", "ecd90746-b39e-b06e-c1fc-97918d580f1f"], ["created_at", "2015-07-07 18:52:07.067796"], ["updated_at", "2015-07-07 18:52:07.067796"]]
452353
+  (0.1ms) RELEASE SAVEPOINT active_record_1
452354
+  (0.2ms) SAVEPOINT active_record_1
452355
+ SQL (0.3ms) INSERT INTO "rails_workflow_operation_templates" ("title", "kind", "is_background", "process_template_id", "async", "operation_class", "uuid", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["title", "Operation Template"], ["kind", "default"], ["is_background", "t"], ["process_template_id", 69], ["async", "t"], ["operation_class", "RailsWorkflow::UserByGroupOperation"], ["uuid", "1eb02fd0-1139-be74-4b07-05e0661064a3"], ["created_at", "2015-07-07 18:52:07.071678"], ["updated_at", "2015-07-07 18:52:07.071678"]]
452356
+  (0.2ms) RELEASE SAVEPOINT active_record_1
452357
+  (0.2ms) SAVEPOINT active_record_1
452358
+ SQL (0.2ms) INSERT INTO "rails_workflow_operations" ("type", "title", "async", "is_background", "template_id", "process_id", "status", "dependencies", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id" [["type", "RailsWorkflow::UserByGroupOperation"], ["title", "Operation Template"], ["async", "t"], ["is_background", "t"], ["template_id", 47], ["process_id", 35], ["status", 0], ["dependencies", "[]"], ["created_at", "2015-07-07 18:52:07.076697"], ["updated_at", "2015-07-07 18:52:07.076697"]]
452359
+ SQL (0.2ms) INSERT INTO "rails_workflow_contexts" ("parent_type", "parent_id", "body", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["parent_type", "RailsWorkflow::Operation"], ["parent_id", 30], ["body", "{\"msg\":\"Test message\"}"], ["created_at", "2015-07-07 18:52:07.078542"], ["updated_at", "2015-07-07 18:52:07.078542"]]
452360
+  (0.1ms) RELEASE SAVEPOINT active_record_1
452361
+  (0.2ms) SAVEPOINT active_record_1
452362
+ SQL (0.2ms) INSERT INTO "rails_workflow_operations" ("title", "is_background", "template_id", "process_id", "status", "dependencies", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["title", "Operation Template"], ["is_background", "t"], ["template_id", 46], ["process_id", 35], ["status", 0], ["dependencies", "[{\"operation_id\":30,\"status\":0}]"], ["created_at", "2015-07-07 18:52:07.082683"], ["updated_at", "2015-07-07 18:52:07.082683"]]
452363
+ SQL (0.2ms) INSERT INTO "rails_workflow_contexts" ("parent_type", "parent_id", "body", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["parent_type", "RailsWorkflow::Operation"], ["parent_id", 31], ["body", "{\"msg\":\"Test message\"}"], ["created_at", "2015-07-07 18:52:07.084729"], ["updated_at", "2015-07-07 18:52:07.084729"]]
452364
+  (0.2ms) RELEASE SAVEPOINT active_record_1
452365
+ RailsWorkflow::ProcessTemplate Load (0.2ms) SELECT "rails_workflow_process_templates".* FROM "rails_workflow_process_templates" WHERE "rails_workflow_process_templates"."id" = $1 LIMIT 1 [["id", 68]]
452366
+  (0.2ms) SAVEPOINT active_record_1
452367
+ SQL (0.2ms) INSERT INTO "rails_workflow_processes" ("template_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["template_id", 68], ["created_at", "2015-07-07 18:52:07.088840"], ["updated_at", "2015-07-07 18:52:07.088840"]]
452368
+  (0.1ms) RELEASE SAVEPOINT active_record_1
452369
+  (0.2ms) SAVEPOINT active_record_1
452370
+ SQL (0.2ms) UPDATE "rails_workflow_processes" SET "title" = $1, "status" = $2, "updated_at" = $3 WHERE "rails_workflow_processes"."id" = $4 [["title", "Process Template"], ["status", 0], ["updated_at", "2015-07-07 18:52:07.090646"], ["id", 36]]
452371
+ SQL (0.2ms) INSERT INTO "rails_workflow_contexts" ("parent_id", "parent_type", "body", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["parent_id", 36], ["parent_type", "RailsWorkflow::Process"], ["body", "{\"msg\":\"Test message\"}"], ["created_at", "2015-07-07 18:52:07.092748"], ["updated_at", "2015-07-07 18:52:07.092748"]]
452372
+ RailsWorkflow::Context Load (0.2ms) SELECT "rails_workflow_contexts".* FROM "rails_workflow_contexts" WHERE "rails_workflow_contexts"."parent_id" = $1 AND "rails_workflow_contexts"."parent_type" = $2 LIMIT 1 [["parent_id", 36], ["parent_type", "RailsWorkflow::Process"]]
452373
+ RailsWorkflow::OperationTemplate Load (0.2ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."process_template_id" = $1 AND "rails_workflow_operation_templates"."dependencies" IS NULL ORDER BY "rails_workflow_operation_templates"."id" ASC [["process_template_id", 68]]
452374
+ RailsWorkflow::Process Load (0.2ms) SELECT "rails_workflow_processes".* FROM "rails_workflow_processes" WHERE "rails_workflow_processes"."id" = $1 LIMIT 1 [["id", 36]]
452375
+  (0.1ms) RELEASE SAVEPOINT active_record_1
452376
+  (0.2ms) ROLLBACK
452377
+  (0.1ms) BEGIN
452378
+  (0.2ms) SAVEPOINT active_record_1
452379
+ SQL (0.3ms) INSERT INTO "rails_workflow_process_templates" ("title", "uuid", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "Process Template"], ["uuid", "0f36f028-4db5-728b-c62d-3ccc156969f3"], ["created_at", "2015-07-07 18:52:07.102087"], ["updated_at", "2015-07-07 18:52:07.102087"]]
452380
+  (0.2ms) RELEASE SAVEPOINT active_record_1
452381
+  (0.2ms) SAVEPOINT active_record_1
452382
+ SQL (0.2ms) INSERT INTO "rails_workflow_operation_templates" ("title", "kind", "is_background", "process_template_id", "async", "operation_class", "uuid", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["title", "Operation Template"], ["kind", "default"], ["is_background", "t"], ["process_template_id", 70], ["async", "t"], ["operation_class", "RailsWorkflow::UserByGroupOperation"], ["uuid", "664c9922-3d2b-150d-1ab3-c6a2babdd0d5"], ["created_at", "2015-07-07 18:52:07.115306"], ["updated_at", "2015-07-07 18:52:07.115306"]]
452383
+  (0.2ms) RELEASE SAVEPOINT active_record_1
452384
+  (0.2ms) SAVEPOINT active_record_1
452385
+ SQL (0.2ms) INSERT INTO "rails_workflow_contexts" ("body", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["body", "{\"msg\":\"Test message\"}"], ["created_at", "2015-07-07 18:52:07.118623"], ["updated_at", "2015-07-07 18:52:07.118623"]]
452386
+  (0.2ms) RELEASE SAVEPOINT active_record_1
452387
+  (0.2ms) SAVEPOINT active_record_1
452388
+ SQL (0.2ms) INSERT INTO "rails_workflow_processes" ("status", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["status", 0], ["created_at", "2015-07-07 18:52:07.122356"], ["updated_at", "2015-07-07 18:52:07.122356"]]
452389
+ SQL (0.2ms) UPDATE "rails_workflow_contexts" SET "parent_type" = $1, "parent_id" = $2, "updated_at" = $3 WHERE "rails_workflow_contexts"."id" = $4 [["parent_type", "RailsWorkflow::Process"], ["parent_id", 37], ["updated_at", "2015-07-07 18:52:07.123915"], ["id", 61]]
452390
+  (0.1ms) RELEASE SAVEPOINT active_record_1
452391
+  (0.2ms) SAVEPOINT active_record_1
452392
+ SQL (0.2ms) INSERT INTO "rails_workflow_operations" ("type", "title", "async", "is_background", "template_id", "process_id", "status", "dependencies", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id" [["type", "RailsWorkflow::UserByGroupOperation"], ["title", "Operation Template"], ["async", "t"], ["is_background", "t"], ["template_id", 48], ["process_id", 37], ["status", 0], ["dependencies", "[]"], ["created_at", "2015-07-07 18:52:07.128109"], ["updated_at", "2015-07-07 18:52:07.128109"]]
452393
+ SQL (0.5ms) INSERT INTO "rails_workflow_contexts" ("parent_type", "parent_id", "body", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["parent_type", "RailsWorkflow::Operation"], ["parent_id", 32], ["body", "{\"msg\":\"Test message\"}"], ["created_at", "2015-07-07 18:52:07.130690"], ["updated_at", "2015-07-07 18:52:07.130690"]]
452394
+  (0.2ms) RELEASE SAVEPOINT active_record_1
452395
+  (0.2ms) ROLLBACK
452396
+  (0.1ms) BEGIN
452397
+  (0.2ms) SAVEPOINT active_record_1
452398
+ SQL (0.3ms) INSERT INTO "rails_workflow_operations" ("title", "status", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "Test Operation"], ["status", 4], ["created_at", "2015-07-07 18:52:07.142413"], ["updated_at", "2015-07-07 18:52:07.142413"]]
452399
+  (0.3ms) RELEASE SAVEPOINT active_record_1
452400
+  (0.1ms) SAVEPOINT active_record_1
452401
+ SQL (0.3ms) INSERT INTO "rails_workflow_process_templates" ("title", "uuid", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "Process Template"], ["uuid", "fd3f4dd1-1aec-4bea-1392-000779d77fc4"], ["created_at", "2015-07-07 18:52:07.146507"], ["updated_at", "2015-07-07 18:52:07.146507"]]
452402
+  (0.2ms) RELEASE SAVEPOINT active_record_1
452403
+  (0.1ms) SAVEPOINT active_record_1
452404
+ SQL (0.2ms) INSERT INTO "rails_workflow_operation_templates" ("title", "kind", "is_background", "process_template_id", "async", "operation_class", "uuid", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["title", "Operation Template"], ["kind", "default"], ["is_background", "t"], ["process_template_id", 71], ["async", "t"], ["operation_class", "RailsWorkflow::UserByGroupOperation"], ["uuid", "14a24bdc-d7b6-8d1e-d930-1677e52dfa49"], ["created_at", "2015-07-07 18:52:07.148964"], ["updated_at", "2015-07-07 18:52:07.148964"]]
452405
+  (0.2ms) RELEASE SAVEPOINT active_record_1
452406
+  (0.1ms) SAVEPOINT active_record_1
452407
+ SQL (0.2ms) INSERT INTO "rails_workflow_contexts" ("body", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["body", "{\"msg\":\"Test message\"}"], ["created_at", "2015-07-07 18:52:07.151782"], ["updated_at", "2015-07-07 18:52:07.151782"]]
452408
+  (0.1ms) RELEASE SAVEPOINT active_record_1
452409
+  (0.1ms) SAVEPOINT active_record_1
452410
+ SQL (0.5ms) INSERT INTO "rails_workflow_processes" ("status", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["status", 0], ["created_at", "2015-07-07 18:52:07.154134"], ["updated_at", "2015-07-07 18:52:07.154134"]]
452411
+ SQL (0.7ms) UPDATE "rails_workflow_contexts" SET "parent_type" = $1, "parent_id" = $2, "updated_at" = $3 WHERE "rails_workflow_contexts"."id" = $4 [["parent_type", "RailsWorkflow::Process"], ["parent_id", 38], ["updated_at", "2015-07-07 18:52:07.158964"], ["id", 63]]
452412
+  (0.2ms) RELEASE SAVEPOINT active_record_1
452413
+ RailsWorkflow::Context Load (0.2ms) SELECT "rails_workflow_contexts".* FROM "rails_workflow_contexts" WHERE "rails_workflow_contexts"."parent_id" = $1 AND "rails_workflow_contexts"."parent_type" = $2 LIMIT 1 [["parent_id", 33], ["parent_type", "RailsWorkflow::Operation"]]
452414
+  (0.2ms) SAVEPOINT active_record_1
452415
+ SQL (0.3ms) INSERT INTO "rails_workflow_operations" ("type", "title", "async", "is_background", "template_id", "process_id", "status", "dependencies", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id" [["type", "RailsWorkflow::UserByGroupOperation"], ["title", "Operation Template"], ["async", "t"], ["is_background", "t"], ["template_id", 49], ["process_id", 38], ["status", 0], ["dependencies", "[{\"operation_id\":33,\"status\":4}]"], ["created_at", "2015-07-07 18:52:07.166274"], ["updated_at", "2015-07-07 18:52:07.166274"]]
452416
+ SQL (0.2ms) INSERT INTO "rails_workflow_contexts" ("parent_type", "parent_id", "body", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["parent_type", "RailsWorkflow::Operation"], ["parent_id", 34], ["body", "{\"msg\":\"Test message\"}"], ["created_at", "2015-07-07 18:52:07.168433"], ["updated_at", "2015-07-07 18:52:07.168433"]]
452417
+  (0.1ms) RELEASE SAVEPOINT active_record_1
452418
+  (0.2ms) ROLLBACK
452419
+  (0.1ms) BEGIN
452420
+  (0.1ms) SAVEPOINT active_record_1
452421
+ SQL (0.2ms) INSERT INTO "rails_workflow_process_templates" ("title", "uuid", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "Process Template"], ["uuid", "13a63100-8f76-d746-cf45-d4c346356170"], ["created_at", "2015-07-07 18:52:07.174616"], ["updated_at", "2015-07-07 18:52:07.174616"]]
452422
+  (0.2ms) RELEASE SAVEPOINT active_record_1
452423
+  (0.1ms) SAVEPOINT active_record_1
452424
+ SQL (0.2ms) INSERT INTO "rails_workflow_operation_templates" ("title", "kind", "is_background", "process_template_id", "async", "operation_class", "uuid", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["title", "Operation Template"], ["kind", "default"], ["is_background", "t"], ["process_template_id", 72], ["async", "t"], ["operation_class", "RailsWorkflow::UserByGroupOperation"], ["uuid", "1cf090fa-e16a-1af8-dfc9-3102eb78f12d"], ["created_at", "2015-07-07 18:52:07.177000"], ["updated_at", "2015-07-07 18:52:07.177000"]]
452425
+  (0.2ms) RELEASE SAVEPOINT active_record_1
452426
+  (0.2ms) SAVEPOINT active_record_1
452427
+ SQL (0.2ms) INSERT INTO "rails_workflow_contexts" ("body", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["body", "{\"msg\":\"Test message\"}"], ["created_at", "2015-07-07 18:52:07.179873"], ["updated_at", "2015-07-07 18:52:07.179873"]]
452428
+  (0.1ms) RELEASE SAVEPOINT active_record_1
452429
+  (0.1ms) SAVEPOINT active_record_1
452430
+ SQL (0.2ms) INSERT INTO "rails_workflow_processes" ("status", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["status", 0], ["created_at", "2015-07-07 18:52:07.181858"], ["updated_at", "2015-07-07 18:52:07.181858"]]
452431
+ SQL (0.2ms) UPDATE "rails_workflow_contexts" SET "parent_type" = $1, "parent_id" = $2, "updated_at" = $3 WHERE "rails_workflow_contexts"."id" = $4 [["parent_type", "RailsWorkflow::Process"], ["parent_id", 39], ["updated_at", "2015-07-07 18:52:07.183280"], ["id", 65]]
452432
+  (0.2ms) RELEASE SAVEPOINT active_record_1
452433
+  (0.2ms) SAVEPOINT active_record_1
452434
+ SQL (0.3ms) INSERT INTO "rails_workflow_operations" ("type", "title", "async", "is_background", "template_id", "process_id", "status", "dependencies", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id" [["type", "RailsWorkflow::UserByGroupOperation"], ["title", "Operation Template"], ["async", "t"], ["is_background", "t"], ["template_id", 50], ["process_id", 39], ["status", 0], ["dependencies", "[]"], ["created_at", "2015-07-07 18:52:07.187942"], ["updated_at", "2015-07-07 18:52:07.187942"]]
452435
+ SQL (0.2ms) INSERT INTO "rails_workflow_contexts" ("parent_type", "parent_id", "body", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["parent_type", "RailsWorkflow::Operation"], ["parent_id", 35], ["body", "{\"msg\":\"Test message\"}"], ["created_at", "2015-07-07 18:52:07.189892"], ["updated_at", "2015-07-07 18:52:07.189892"]]
452436
+  (0.5ms) RELEASE SAVEPOINT active_record_1
452437
+  (0.2ms) ROLLBACK
452438
+  (0.1ms) BEGIN
452439
+  (0.2ms) SAVEPOINT active_record_1
452440
+ SQL (0.2ms) INSERT INTO "rails_workflow_operations" ("title", "status", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "Test Operation"], ["status", 0], ["created_at", "2015-07-07 18:52:07.196260"], ["updated_at", "2015-07-07 18:52:07.196260"]]
452441
+  (0.2ms) RELEASE SAVEPOINT active_record_1
452442
+  (0.3ms) SAVEPOINT active_record_1
452443
+ User Exists (18.3ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'test@test.com' LIMIT 1
452444
+ SQL (5.8ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["email", "test@test.com"], ["encrypted_password", "$2a$04$qNIK/V8K1eokpsddTu5mI.2wJq6MaYVGr51p8tqvjHyPe7Na1Futy"], ["created_at", "2015-07-07 18:52:07.239354"], ["updated_at", "2015-07-07 18:52:07.239354"]]
452445
+  (0.2ms) RELEASE SAVEPOINT active_record_1
452446
+ SQL (0.4ms) UPDATE "rails_workflow_operations" SET "is_active" = 'f' WHERE "rails_workflow_operations"."assignment_id" = $1 AND "rails_workflow_operations"."assignment_type" = $2 [["assignment_id", 1], ["assignment_type", "User"]]
452447
+  (0.1ms) SAVEPOINT active_record_1
452448
+ SQL (0.3ms) UPDATE "rails_workflow_operations" SET "assignment_id" = $1, "assignment_type" = $2, "is_active" = $3, "assigned_at" = $4, "updated_at" = $5 WHERE "rails_workflow_operations"."id" = $6 [["assignment_id", 1], ["assignment_type", "User"], ["is_active", "t"], ["assigned_at", "2015-07-07 18:52:07.248186"], ["updated_at", "2015-07-07 18:52:07.250783"], ["id", 36]]
452449
+  (0.2ms) RELEASE SAVEPOINT active_record_1
452450
+  (0.2ms) ROLLBACK
452451
+  (0.1ms) BEGIN
452452
+  (0.1ms) SAVEPOINT active_record_1
452453
+ SQL (0.7ms) INSERT INTO "rails_workflow_operations" ("title", "status", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "Test Operation"], ["status", 0], ["created_at", "2015-07-07 18:52:07.257520"], ["updated_at", "2015-07-07 18:52:07.257520"]]
452454
+  (0.2ms) RELEASE SAVEPOINT active_record_1
452455
+  (0.1ms) SAVEPOINT active_record_1
452456
+ User Exists (0.4ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'test@test.com' LIMIT 1
452457
+ SQL (0.3ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["email", "test@test.com"], ["encrypted_password", "$2a$04$hQ9uOyT6AY03dHhiqOgfHuR5uWb6YKWzoRBzXvgQWQWt4QY/6DQLW"], ["created_at", "2015-07-07 18:52:07.264963"], ["updated_at", "2015-07-07 18:52:07.264963"]]
452458
+  (0.1ms) RELEASE SAVEPOINT active_record_1
452459
+ SQL (0.3ms) UPDATE "rails_workflow_operations" SET "is_active" = 'f' WHERE "rails_workflow_operations"."assignment_id" = $1 AND "rails_workflow_operations"."assignment_type" = $2 [["assignment_id", 2], ["assignment_type", "User"]]
452460
+  (0.1ms) SAVEPOINT active_record_1
452461
+ SQL (0.3ms) UPDATE "rails_workflow_operations" SET "assignment_id" = $1, "assignment_type" = $2, "is_active" = $3, "assigned_at" = $4, "updated_at" = $5 WHERE "rails_workflow_operations"."id" = $6 [["assignment_id", 2], ["assignment_type", "User"], ["is_active", "t"], ["assigned_at", "2015-07-07 18:52:07.266961"], ["updated_at", "2015-07-07 18:52:07.268410"], ["id", 37]]
452462
+  (0.2ms) RELEASE SAVEPOINT active_record_1
452463
+  (0.2ms) SAVEPOINT active_record_1
452464
+ SQL (0.2ms) INSERT INTO "rails_workflow_operations" ("title", "status", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "Test Operation"], ["status", 0], ["created_at", "2015-07-07 18:52:07.270717"], ["updated_at", "2015-07-07 18:52:07.270717"]]
452465
+  (0.1ms) RELEASE SAVEPOINT active_record_1
452466
+ SQL (0.4ms) UPDATE "rails_workflow_operations" SET "is_active" = 'f' WHERE "rails_workflow_operations"."assignment_id" = $1 AND "rails_workflow_operations"."assignment_type" = $2 [["assignment_id", 2], ["assignment_type", "User"]]
452467
+  (0.1ms) SAVEPOINT active_record_1
452468
+ SQL (0.3ms) UPDATE "rails_workflow_operations" SET "assignment_id" = $1, "assignment_type" = $2, "is_active" = $3, "assigned_at" = $4, "updated_at" = $5 WHERE "rails_workflow_operations"."id" = $6 [["assignment_id", 2], ["assignment_type", "User"], ["is_active", "t"], ["assigned_at", "2015-07-07 18:52:07.272439"], ["updated_at", "2015-07-07 18:52:07.273887"], ["id", 38]]
452469
+  (0.2ms) RELEASE SAVEPOINT active_record_1
452470
+ RailsWorkflow::Operation Load (0.2ms) SELECT "rails_workflow_operations".* FROM "rails_workflow_operations" WHERE "rails_workflow_operations"."id" = $1 LIMIT 1 [["id", 37]]
452471
+  (0.2ms) ROLLBACK
452472
+  (0.2ms) BEGIN
452473
+  (0.1ms) SAVEPOINT active_record_1
452474
+ SQL (0.2ms) INSERT INTO "rails_workflow_operations" ("title", "status", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "Test Operation"], ["status", 0], ["created_at", "2015-07-07 18:52:07.279004"], ["updated_at", "2015-07-07 18:52:07.279004"]]
452475
+  (0.2ms) RELEASE SAVEPOINT active_record_1
452476
+  (0.1ms) SAVEPOINT active_record_1
452477
+ User Exists (0.4ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'test@test.com' LIMIT 1
452478
+ SQL (0.2ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["email", "test@test.com"], ["encrypted_password", "$2a$04$MgTc60iB2QeL21BumJt.c.W.D54V8i8wJSVixNYqo8goDUNWKULNS"], ["created_at", "2015-07-07 18:52:07.284284"], ["updated_at", "2015-07-07 18:52:07.284284"]]
452479
+  (0.1ms) RELEASE SAVEPOINT active_record_1
452480
+ SQL (0.3ms) UPDATE "rails_workflow_operations" SET "is_active" = 'f' WHERE "rails_workflow_operations"."assignment_id" = $1 AND "rails_workflow_operations"."assignment_type" = $2 [["assignment_id", 3], ["assignment_type", "User"]]
452481
+  (0.1ms) SAVEPOINT active_record_1
452482
+ SQL (0.2ms) UPDATE "rails_workflow_operations" SET "assignment_id" = $1, "assignment_type" = $2, "is_active" = $3, "assigned_at" = $4, "updated_at" = $5 WHERE "rails_workflow_operations"."id" = $6 [["assignment_id", 3], ["assignment_type", "User"], ["is_active", "t"], ["assigned_at", "2015-07-07 18:52:07.286109"], ["updated_at", "2015-07-07 18:52:07.287426"], ["id", 39]]
452483
+  (0.2ms) RELEASE SAVEPOINT active_record_1
452484
+  (0.2ms) SAVEPOINT active_record_1
452485
+ SQL (0.3ms) UPDATE "rails_workflow_operations" SET "assignment_id" = $1, "assignment_type" = $2, "is_active" = $3, "updated_at" = $4 WHERE "rails_workflow_operations"."id" = $5 [["assignment_id", nil], ["assignment_type", nil], ["is_active", "f"], ["updated_at", "2015-07-07 18:52:07.289473"], ["id", 39]]
452486
+  (0.2ms) RELEASE SAVEPOINT active_record_1
452487
+  (0.2ms) ROLLBACK
452488
+  (0.1ms) BEGIN
452489
+  (0.1ms) SAVEPOINT active_record_1
452490
+ SQL (0.3ms) INSERT INTO "rails_workflow_operations" ("title", "status", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "Test Operation"], ["status", 0], ["created_at", "2015-07-07 18:52:07.293506"], ["updated_at", "2015-07-07 18:52:07.293506"]]
452491
+  (0.2ms) RELEASE SAVEPOINT active_record_1
452492
+  (0.2ms) SAVEPOINT active_record_1
452493
+ User Exists (0.3ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'test@test.com' LIMIT 1
452494
+ SQL (0.2ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["email", "test@test.com"], ["encrypted_password", "$2a$04$nVemT/qBux2RD/Oe6wGhs.Bp7NBkgXle9.MaMPYZlTtkjdcAlQyBa"], ["created_at", "2015-07-07 18:52:07.299019"], ["updated_at", "2015-07-07 18:52:07.299019"]]
452495
+  (0.2ms) RELEASE SAVEPOINT active_record_1
452496
+ SQL (0.3ms) UPDATE "rails_workflow_operations" SET "is_active" = 'f' WHERE "rails_workflow_operations"."assignment_id" = $1 AND "rails_workflow_operations"."assignment_type" = $2 [["assignment_id", 4], ["assignment_type", "User"]]
452497
+  (0.1ms) SAVEPOINT active_record_1
452498
+ SQL (0.6ms) UPDATE "rails_workflow_operations" SET "assignment_id" = $1, "assignment_type" = $2, "is_active" = $3, "assigned_at" = $4, "updated_at" = $5 WHERE "rails_workflow_operations"."id" = $6 [["assignment_id", 4], ["assignment_type", "User"], ["is_active", "t"], ["assigned_at", "2015-07-07 18:52:07.300875"], ["updated_at", "2015-07-07 18:52:07.302305"], ["id", 40]]
452499
+  (0.6ms) RELEASE SAVEPOINT active_record_1
452500
+  (0.2ms) SAVEPOINT active_record_1
452501
+ User Exists (0.3ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'other@user.com' LIMIT 1
452502
+ SQL (0.3ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["email", "other@user.com"], ["encrypted_password", "$2a$04$3YmVNf7pVuSodyof55VwMeHFwH8hLzF7VYr6Ay83l08pR7LSGlIqi"], ["created_at", "2015-07-07 18:52:07.309522"], ["updated_at", "2015-07-07 18:52:07.309522"]]
452503
+  (0.2ms) RELEASE SAVEPOINT active_record_1
452504
+ RailsWorkflow::Operation Load (0.2ms) SELECT "rails_workflow_operations".* FROM "rails_workflow_operations" WHERE "rails_workflow_operations"."id" = $1 LIMIT 1 [["id", 40]]
452505
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT 1 [["id", 4]]
452506
+  (0.2ms) ROLLBACK
452507
+  (0.1ms) BEGIN
452508
+  (0.1ms) SAVEPOINT active_record_1
452509
+ SQL (0.2ms) INSERT INTO "rails_workflow_operations" ("title", "status", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "Test Operation"], ["status", 0], ["created_at", "2015-07-07 18:52:07.316597"], ["updated_at", "2015-07-07 18:52:07.316597"]]
452510
+  (0.2ms) RELEASE SAVEPOINT active_record_1
452511
+  (0.2ms) SAVEPOINT active_record_1
452512
+ User Exists (0.3ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'test@test.com' LIMIT 1
452513
+ SQL (0.3ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["email", "test@test.com"], ["encrypted_password", "$2a$04$0aqs1sC..CE4QYooYkEU6Ogojb7K.9niGtMHz8uDOVFic9Q17XwnO"], ["created_at", "2015-07-07 18:52:07.321947"], ["updated_at", "2015-07-07 18:52:07.321947"]]
452514
+  (0.1ms) RELEASE SAVEPOINT active_record_1
452515
+ SQL (0.2ms) UPDATE "rails_workflow_operations" SET "is_active" = 'f' WHERE "rails_workflow_operations"."assignment_id" = $1 AND "rails_workflow_operations"."assignment_type" = $2 [["assignment_id", 6], ["assignment_type", "User"]]
452516
+  (0.1ms) SAVEPOINT active_record_1
452517
+ SQL (0.3ms) UPDATE "rails_workflow_operations" SET "assignment_id" = $1, "assignment_type" = $2, "is_active" = $3, "assigned_at" = $4, "updated_at" = $5 WHERE "rails_workflow_operations"."id" = $6 [["assignment_id", 6], ["assignment_type", "User"], ["is_active", "t"], ["assigned_at", "2015-07-07 18:52:07.323789"], ["updated_at", "2015-07-07 18:52:07.325165"], ["id", 41]]
452518
+  (0.2ms) RELEASE SAVEPOINT active_record_1
452519
+  (0.2ms) SAVEPOINT active_record_1
452520
+ User Exists (0.3ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'other@user.com' LIMIT 1
452521
+ SQL (0.2ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["email", "other@user.com"], ["encrypted_password", "$2a$04$CR70ok8csr2TnDPDeHibEOdHKlIJAPrMJu3XpjZ4RTAsgUjrzLxfW"], ["created_at", "2015-07-07 18:52:07.331301"], ["updated_at", "2015-07-07 18:52:07.331301"]]
452522
+  (0.2ms) RELEASE SAVEPOINT active_record_1
452523
+  (0.1ms) ROLLBACK
452524
+  (0.1ms) BEGIN
452525
+  (0.1ms) SAVEPOINT active_record_1
452526
+ SQL (0.2ms) INSERT INTO "rails_workflow_operations" ("title", "status", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "Test Operation"], ["status", 0], ["created_at", "2015-07-07 18:52:07.335231"], ["updated_at", "2015-07-07 18:52:07.335231"]]
452527
+  (0.2ms) RELEASE SAVEPOINT active_record_1
452528
+  (0.1ms) SAVEPOINT active_record_1
452529
+ User Exists (0.4ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'test@test.com' LIMIT 1
452530
+ SQL (0.2ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["email", "test@test.com"], ["encrypted_password", "$2a$04$LdbIDlN.zsLQ7xuRqPzZO.ZcGNDumC3v0IREQyrS08pF11YlK76Uy"], ["created_at", "2015-07-07 18:52:07.340481"], ["updated_at", "2015-07-07 18:52:07.340481"]]
452531
+  (0.2ms) RELEASE SAVEPOINT active_record_1
452532
+ SQL (0.2ms) UPDATE "rails_workflow_operations" SET "is_active" = 'f' WHERE "rails_workflow_operations"."assignment_id" = $1 AND "rails_workflow_operations"."assignment_type" = $2 [["assignment_id", 8], ["assignment_type", "User"]]
452533
+  (0.2ms) SAVEPOINT active_record_1
452534
+ SQL (0.2ms) UPDATE "rails_workflow_operations" SET "assignment_id" = $1, "assignment_type" = $2, "is_active" = $3, "assigned_at" = $4, "updated_at" = $5 WHERE "rails_workflow_operations"."id" = $6 [["assignment_id", 8], ["assignment_type", "User"], ["is_active", "t"], ["assigned_at", "2015-07-07 18:52:07.342456"], ["updated_at", "2015-07-07 18:52:07.343841"], ["id", 42]]
452535
+  (0.2ms) RELEASE SAVEPOINT active_record_1
452536
+  (0.1ms) SAVEPOINT active_record_1
452537
+ User Exists (0.3ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'other@user.com' LIMIT 1
452538
+ SQL (0.3ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["email", "other@user.com"], ["encrypted_password", "$2a$04$r1Sa1t7NprRAkz0fkiMhkuYRRm4e1P8M40fo1c30hvqdroA1xASw6"], ["created_at", "2015-07-07 18:52:07.348500"], ["updated_at", "2015-07-07 18:52:07.348500"]]
452539
+  (0.2ms) RELEASE SAVEPOINT active_record_1
452540
+  (0.2ms) ROLLBACK
452541
+  (0.1ms) BEGIN
452542
+  (0.2ms) SAVEPOINT active_record_1
452543
+ SQL (0.8ms) INSERT INTO "rails_workflow_process_templates" ("title", "uuid", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "Process Template"], ["uuid", "8ddcb373-67e2-908a-ed9b-af33cbfac242"], ["created_at", "2015-07-07 18:52:07.354323"], ["updated_at", "2015-07-07 18:52:07.354323"]]
452544
+  (0.2ms) RELEASE SAVEPOINT active_record_1
452545
+  (0.2ms) SAVEPOINT active_record_1
452546
+ SQL (0.2ms) INSERT INTO "rails_workflow_operation_templates" ("title", "kind", "is_background", "process_template_id", "role", "uuid", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["title", "Operation Template"], ["kind", "default"], ["is_background", "t"], ["process_template_id", 73], ["role", "admin"], ["uuid", "83a9fd1c-15f9-d737-3efd-301f03862e27"], ["created_at", "2015-07-07 18:52:07.358933"], ["updated_at", "2015-07-07 18:52:07.358933"]]
452547
+  (0.2ms) RELEASE SAVEPOINT active_record_1
452548
+  (0.1ms) SAVEPOINT active_record_1
452549
+ SQL (0.2ms) INSERT INTO "rails_workflow_process_templates" ("title", "uuid", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "Process Template"], ["uuid", "fcde0307-ea75-88e5-4458-95a83b097042"], ["created_at", "2015-07-07 18:52:07.362164"], ["updated_at", "2015-07-07 18:52:07.362164"]]
452550
+  (0.2ms) RELEASE SAVEPOINT active_record_1
452551
+  (0.1ms) SAVEPOINT active_record_1
452552
+ SQL (0.3ms) INSERT INTO "rails_workflow_operation_templates" ("title", "kind", "is_background", "process_template_id", "group", "uuid", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["title", "Operation Template"], ["kind", "default"], ["is_background", "t"], ["process_template_id", 74], ["group", "some_group"], ["uuid", "2fdee89e-4b44-b082-1251-c5d0b889ab64"], ["created_at", "2015-07-07 18:52:07.364313"], ["updated_at", "2015-07-07 18:52:07.364313"]]
452553
+  (0.2ms) RELEASE SAVEPOINT active_record_1
452554
+  (0.1ms) SAVEPOINT active_record_1
452555
+ SQL (0.2ms) INSERT INTO "rails_workflow_operations" ("title", "status", "template_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["title", "Test Operation"], ["status", 3], ["template_id", 52], ["created_at", "2015-07-07 18:52:07.367651"], ["updated_at", "2015-07-07 18:52:07.367651"]]
452556
+  (0.1ms) RELEASE SAVEPOINT active_record_1
452557
+  (0.1ms) SAVEPOINT active_record_1
452558
+ SQL (0.2ms) INSERT INTO "rails_workflow_operations" ("title", "status", "template_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["title", "Test Operation"], ["status", 3], ["template_id", 51], ["created_at", "2015-07-07 18:52:07.370712"], ["updated_at", "2015-07-07 18:52:07.370712"]]
452559
+  (0.1ms) RELEASE SAVEPOINT active_record_1
452560
+  (0.1ms) SAVEPOINT active_record_1
452561
+ User Exists (0.3ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'test@test.com' LIMIT 1
452562
+ SQL (0.3ms) INSERT INTO "users" ("email", "encrypted_password", "role", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["email", "test@test.com"], ["encrypted_password", "$2a$04$qugwrNIRexe7probWpVGh.Ed8efoSjErSCLQ/Y5RCs/juW84lhw/m"], ["role", "admin"], ["created_at", "2015-07-07 18:52:07.375663"], ["updated_at", "2015-07-07 18:52:07.375663"]]
452563
+  (0.1ms) RELEASE SAVEPOINT active_record_1
452564
+ RailsWorkflow::Operation Load (0.7ms) SELECT "rails_workflow_operations".* FROM "rails_workflow_operations" INNER JOIN "rails_workflow_operation_templates" ON "rails_workflow_operation_templates"."id" = "rails_workflow_operations"."template_id" WHERE "rails_workflow_operations"."status" = 3 AND "rails_workflow_operations"."assignment_id" IS NULL AND (rails_workflow_operation_templates.role = 'admin')
452565
+  (0.3ms) SAVEPOINT active_record_1
452566
+ User Exists (0.3ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'fake@email.com' LIMIT 1
452567
+ SQL (0.3ms) INSERT INTO "users" ("email", "encrypted_password", "role", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["email", "fake@email.com"], ["encrypted_password", "$2a$04$5q3fj8TBx4zKtSD5bgMziuHGhA9.BwCxh845sA4KMWAxyPmZm/UY6"], ["role", "fake"], ["created_at", "2015-07-07 18:52:07.386121"], ["updated_at", "2015-07-07 18:52:07.386121"]]
452568
+  (0.2ms) RELEASE SAVEPOINT active_record_1
452569
+ RailsWorkflow::Operation Load (0.6ms) SELECT "rails_workflow_operations".* FROM "rails_workflow_operations" INNER JOIN "rails_workflow_operation_templates" ON "rails_workflow_operation_templates"."id" = "rails_workflow_operations"."template_id" WHERE "rails_workflow_operations"."status" = 3 AND "rails_workflow_operations"."assignment_id" IS NULL AND (rails_workflow_operation_templates.role = 'fake')
452570
+ SQL (0.3ms) UPDATE "rails_workflow_operations" SET "is_active" = 'f' WHERE "rails_workflow_operations"."assignment_id" = $1 AND "rails_workflow_operations"."assignment_type" = $2 [["assignment_id", 10], ["assignment_type", "User"]]
452571
+  (0.1ms) SAVEPOINT active_record_1
452572
+ SQL (0.2ms) UPDATE "rails_workflow_operations" SET "assignment_id" = $1, "assignment_type" = $2, "is_active" = $3, "assigned_at" = $4, "updated_at" = $5 WHERE "rails_workflow_operations"."id" = $6 [["assignment_id", 10], ["assignment_type", "User"], ["is_active", "t"], ["assigned_at", "2015-07-07 18:52:07.390237"], ["updated_at", "2015-07-07 18:52:07.392062"], ["id", 44]]
452573
+  (0.1ms) RELEASE SAVEPOINT active_record_1
452574
+ RailsWorkflow::Operation Load (0.3ms) SELECT "rails_workflow_operations".* FROM "rails_workflow_operations" WHERE "rails_workflow_operations"."assignment_id" IS NULL
452575
+  (0.1ms) ROLLBACK
452576
+  (0.1ms) BEGIN
452577
+  (0.2ms) SAVEPOINT active_record_1
452578
+ SQL (0.2ms) INSERT INTO "rails_workflow_contexts" ("body", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["body", "{\"msg\":\"Test\"}"], ["created_at", "2015-07-07 18:52:07.398054"], ["updated_at", "2015-07-07 18:52:07.398054"]]
452579
+  (0.1ms) RELEASE SAVEPOINT active_record_1
452580
+  (0.2ms) SAVEPOINT active_record_1
452581
+ SQL (0.4ms) INSERT INTO "rails_workflow_operations" ("title", "status", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "Test Operation"], ["status", 0], ["created_at", "2015-07-07 18:52:07.400679"], ["updated_at", "2015-07-07 18:52:07.400679"]]
452582
+ SQL (0.9ms) UPDATE "rails_workflow_contexts" SET "parent_type" = $1, "parent_id" = $2, "updated_at" = $3 WHERE "rails_workflow_contexts"."id" = $4 [["parent_type", "RailsWorkflow::Operation"], ["parent_id", 45], ["updated_at", "2015-07-07 18:52:07.403660"], ["id", 67]]
452583
+  (0.2ms) RELEASE SAVEPOINT active_record_1
452584
+  (0.2ms) SAVEPOINT active_record_1
452585
+ SQL (0.3ms) UPDATE "rails_workflow_operations" SET "status" = $1, "updated_at" = $2 WHERE "rails_workflow_operations"."id" = $3 [["status", 3], ["updated_at", "2015-07-07 18:52:07.409163"], ["id", 45]]
452586
+  (0.1ms) RELEASE SAVEPOINT active_record_1
452587
+  (0.1ms) ROLLBACK
452588
+  (0.1ms) BEGIN
452589
+  (0.2ms) SAVEPOINT active_record_1
452590
+ SQL (0.2ms) INSERT INTO "rails_workflow_operations" ("title", "status", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "Test Operation"], ["status", 0], ["created_at", "2015-07-07 18:52:07.415002"], ["updated_at", "2015-07-07 18:52:07.415002"]]
452591
+  (0.1ms) RELEASE SAVEPOINT active_record_1
452592
+  (0.1ms) SAVEPOINT active_record_1
452593
+ SQL (0.3ms) INSERT INTO "rails_workflow_contexts" ("body", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["body", "{\"msg\":\"Test message\"}"], ["created_at", "2015-07-07 18:52:07.418031"], ["updated_at", "2015-07-07 18:52:07.418031"]]
452594
+  (0.1ms) RELEASE SAVEPOINT active_record_1
452595
+  (0.2ms) SAVEPOINT active_record_1
452596
+ SQL (0.3ms) INSERT INTO "rails_workflow_processes" ("status", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["status", 0], ["created_at", "2015-07-07 18:52:07.421482"], ["updated_at", "2015-07-07 18:52:07.421482"]]
452597
+ SQL (0.3ms) UPDATE "rails_workflow_contexts" SET "parent_type" = $1, "parent_id" = $2, "updated_at" = $3 WHERE "rails_workflow_contexts"."id" = $4 [["parent_type", "RailsWorkflow::Process"], ["parent_id", 40], ["updated_at", "2015-07-07 18:52:07.423560"], ["id", 68]]
452598
+  (0.2ms) RELEASE SAVEPOINT active_record_1
452599
+  (0.1ms) SAVEPOINT active_record_1
452600
+ SQL (0.3ms) UPDATE "rails_workflow_operations" SET "child_process_id" = $1, "updated_at" = $2 WHERE "rails_workflow_operations"."id" = $3 [["child_process_id", 40], ["updated_at", "2015-07-07 18:52:07.426469"], ["id", 46]]
452601
+  (0.2ms) RELEASE SAVEPOINT active_record_1
452602
+  (0.1ms) SAVEPOINT active_record_1
452603
+ SQL (0.3ms) UPDATE "rails_workflow_operations" SET "status" = $1, "updated_at" = $2 WHERE "rails_workflow_operations"."id" = $3 [["status", 1], ["updated_at", "2015-07-07 18:52:07.428961"], ["id", 46]]
452604
+  (0.2ms) RELEASE SAVEPOINT active_record_1
452605
+ RailsWorkflow::Operation Load (0.2ms) SELECT "rails_workflow_operations".* FROM "rails_workflow_operations" WHERE "rails_workflow_operations"."id" = $1 LIMIT 1 [["id", 46]]
452606
+  (0.2ms) SAVEPOINT active_record_1
452607
+ RailsWorkflow::Process Load (0.3ms) SELECT "rails_workflow_processes".* FROM "rails_workflow_processes" WHERE "rails_workflow_processes"."id" = $1 LIMIT 1 [["id", 40]]
452608
+ SQL (0.3ms) UPDATE "rails_workflow_processes" SET "status" = $1, "updated_at" = $2 WHERE "rails_workflow_processes"."id" = $3 [["status", 1], ["updated_at", "2015-07-07 18:52:07.435268"], ["id", 40]]
452609
+ RailsWorkflow::Operation Load (0.3ms) SELECT "rails_workflow_operations".* FROM "rails_workflow_operations" WHERE "rails_workflow_operations"."process_id" = $1 AND "rails_workflow_operations"."status" = $2 [["process_id", 40], ["status", 0]]
452610
+  (0.2ms) RELEASE SAVEPOINT active_record_1
452611
+ RailsWorkflow::Process Load (0.2ms) SELECT "rails_workflow_processes".* FROM "rails_workflow_processes" WHERE "rails_workflow_processes"."id" = $1 LIMIT 1 [["id", 40]]
452612
+  (0.2ms) ROLLBACK
452613
+  (0.1ms) BEGIN
452614
+  (0.2ms) SAVEPOINT active_record_1
452615
+ SQL (0.3ms) INSERT INTO "rails_workflow_operations" ("status", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["status", 2], ["completed_at", "2015-07-07 18:52:07.443899"], ["created_at", "2015-07-07 18:52:07.444742"], ["updated_at", "2015-07-07 18:52:07.444742"]]
452616
+  (0.2ms) RELEASE SAVEPOINT active_record_1
452617
+  (0.2ms) ROLLBACK
452618
+  (0.1ms) BEGIN
452619
+  (0.1ms) SAVEPOINT active_record_1
452620
+ SQL (0.3ms) INSERT INTO "rails_workflow_operations" ("status", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["status", 6], ["completed_at", "2015-07-07 18:52:07.450907"], ["created_at", "2015-07-07 18:52:07.451910"], ["updated_at", "2015-07-07 18:52:07.451910"]]
452621
+  (0.2ms) RELEASE SAVEPOINT active_record_1
452622
+  (0.3ms) ROLLBACK
452623
+  (0.2ms) BEGIN
452624
+  (0.2ms) SAVEPOINT active_record_1
452625
+ SQL (0.5ms) INSERT INTO "rails_workflow_operations" ("status", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["status", 5], ["completed_at", "2015-07-07 18:52:07.459963"], ["created_at", "2015-07-07 18:52:07.461636"], ["updated_at", "2015-07-07 18:52:07.461636"]]
452626
+  (0.2ms) RELEASE SAVEPOINT active_record_1
452627
+  (0.2ms) ROLLBACK
452628
+  (0.1ms) BEGIN
452629
+  (0.1ms) SAVEPOINT active_record_1
452630
+ SQL (0.2ms) INSERT INTO "rails_workflow_process_templates" ("title", "uuid", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "Process Template"], ["uuid", "dcdaeb3a-00e2-9afe-f3a2-87bb68823630"], ["created_at", "2015-07-07 18:52:07.466844"], ["updated_at", "2015-07-07 18:52:07.466844"]]
452631
+  (0.1ms) RELEASE SAVEPOINT active_record_1
452632
+  (0.2ms) SAVEPOINT active_record_1
452633
+ SQL (0.4ms) INSERT INTO "rails_workflow_operation_templates" ("type", "title", "process_template_id", "uuid", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["type", "RailsWorkflow::CustomOperationTemplate"], ["title", "First Test project"], ["process_template_id", 75], ["uuid", "d55a33a3-97e4-ae3c-cb9c-88f72ea19e4b"], ["created_at", "2015-07-07 18:52:07.469747"], ["updated_at", "2015-07-07 18:52:07.469747"]]
452634
+  (0.2ms) RELEASE SAVEPOINT active_record_1
452635
+  (0.2ms) ROLLBACK
452636
+  (0.1ms) BEGIN
452637
+  (0.1ms) SAVEPOINT active_record_1
452638
+ SQL (0.2ms) INSERT INTO "rails_workflow_process_templates" ("title", "uuid", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "Process Template"], ["uuid", "64081366-b624-5b8a-5179-66cf45e7b0df"], ["created_at", "2015-07-07 18:52:07.474463"], ["updated_at", "2015-07-07 18:52:07.474463"]]
452639
+  (0.1ms) RELEASE SAVEPOINT active_record_1
452640
+  (0.1ms) SAVEPOINT active_record_1
452641
+ SQL (0.4ms) INSERT INTO "rails_workflow_operation_templates" ("title", "kind", "is_background", "process_template_id", "uuid", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["title", "Operation Template"], ["kind", "default"], ["is_background", "t"], ["process_template_id", 76], ["uuid", "94a4faaf-bc9b-f405-0f7b-06c1740ab3e8"], ["created_at", "2015-07-07 18:52:07.477682"], ["updated_at", "2015-07-07 18:52:07.477682"]]
452642
+  (0.2ms) RELEASE SAVEPOINT active_record_1
452643
+  (0.2ms) SAVEPOINT active_record_1
452644
+ SQL (0.2ms) INSERT INTO "rails_workflow_operation_templates" ("title", "kind", "is_background", "process_template_id", "dependencies", "uuid", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["title", "Operation Template"], ["kind", "default"], ["is_background", "t"], ["process_template_id", 76], ["dependencies", "[{\"id\":54,\"statuses\":[2]}]"], ["uuid", "5a56e53d-88d4-e111-1cde-b326caaa98ea"], ["created_at", "2015-07-07 18:52:07.484192"], ["updated_at", "2015-07-07 18:52:07.484192"]]
452645
+  (0.2ms) RELEASE SAVEPOINT active_record_1
452646
+ RailsWorkflow::OperationTemplate Load (0.3ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."dependencies" IS NULL
452647
+  (0.2ms) ROLLBACK
452648
+  (0.2ms) BEGIN
452649
+  (0.2ms) SAVEPOINT active_record_1
452650
+ SQL (0.3ms) INSERT INTO "rails_workflow_process_templates" ("title", "process_class", "uuid", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["title", "Process Template"], ["process_class", "RailsWorkflow::TestProcess"], ["uuid", "7cda2166-698d-337a-de84-b3de10a7b24c"], ["created_at", "2015-07-07 18:52:07.490539"], ["updated_at", "2015-07-07 18:52:07.490539"]]
452651
+  (0.3ms) RELEASE SAVEPOINT active_record_1
452652
+  (0.2ms) SAVEPOINT active_record_1
452653
+ SQL (0.2ms) INSERT INTO "rails_workflow_processes" ("type", "template_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["type", "RailsWorkflow::TestProcess"], ["template_id", 77], ["created_at", "2015-07-07 18:52:07.500343"], ["updated_at", "2015-07-07 18:52:07.500343"]]
452654
+  (0.1ms) RELEASE SAVEPOINT active_record_1
452655
+  (0.1ms) SAVEPOINT active_record_1
452656
+ SQL (0.2ms) UPDATE "rails_workflow_processes" SET "title" = $1, "status" = $2, "updated_at" = $3 WHERE "rails_workflow_processes"."id" = $4 [["title", "Process Template"], ["status", 0], ["updated_at", "2015-07-07 18:52:07.503058"], ["id", 41]]
452657
+ SQL (0.3ms) INSERT INTO "rails_workflow_contexts" ("parent_id", "parent_type", "body", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["parent_id", 41], ["parent_type", "RailsWorkflow::Process"], ["body", "{}"], ["created_at", "2015-07-07 18:52:07.506073"], ["updated_at", "2015-07-07 18:52:07.506073"]]
452658
+ RailsWorkflow::Context Load (0.2ms) SELECT "rails_workflow_contexts".* FROM "rails_workflow_contexts" WHERE "rails_workflow_contexts"."parent_id" = $1 AND "rails_workflow_contexts"."parent_type" = $2 LIMIT 1 [["parent_id", 41], ["parent_type", "RailsWorkflow::Process"]]
452659
+ RailsWorkflow::OperationTemplate Load (0.2ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."process_template_id" = $1 AND "rails_workflow_operation_templates"."dependencies" IS NULL ORDER BY "rails_workflow_operation_templates"."id" ASC [["process_template_id", 77]]
452660
+ RailsWorkflow::TestProcess Load (0.2ms) SELECT "rails_workflow_processes".* FROM "rails_workflow_processes" WHERE "rails_workflow_processes"."type" IN ('RailsWorkflow::TestProcess') AND "rails_workflow_processes"."id" = $1 LIMIT 1 [["id", 41]]
452661
+  (0.2ms) RELEASE SAVEPOINT active_record_1
452662
+ RailsWorkflow::ProcessTemplate Load (0.2ms) SELECT "rails_workflow_process_templates".* FROM "rails_workflow_process_templates" WHERE "rails_workflow_process_templates"."id" = $1 LIMIT 1 [["id", 77]]
452663
+  (0.1ms) ROLLBACK
452664
+  (0.1ms) BEGIN
452665
+ RailsWorkflow::ProcessTemplate Load (0.3ms) SELECT "rails_workflow_process_templates".* FROM "rails_workflow_process_templates" WHERE "rails_workflow_process_templates"."uuid" = $1 ORDER BY "rails_workflow_process_templates"."id" ASC LIMIT 1 [["uuid", "a708ce2c-cdff-b059-be0e-6bd16d552169"]]
452666
+  (0.1ms) SAVEPOINT active_record_1
452667
+ SQL (0.2ms) INSERT INTO "rails_workflow_process_templates" ("uuid", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["uuid", "a708ce2c-cdff-b059-be0e-6bd16d552169"], ["created_at", "2015-07-07 18:52:07.516750"], ["updated_at", "2015-07-07 18:52:07.516750"]]
452668
+  (0.1ms) RELEASE SAVEPOINT active_record_1
452669
+  (0.2ms) SAVEPOINT active_record_1
452670
+ SQL (0.4ms) UPDATE "rails_workflow_process_templates" SET "title" = $1, "manager_class" = $2, "process_class" = $3, "type" = $4, "updated_at" = $5 WHERE "rails_workflow_process_templates"."id" = $6 [["title", "Test Process"], ["manager_class", ""], ["process_class", ""], ["type", ""], ["updated_at", "2015-07-07 18:52:07.519462"], ["id", 78]]
452671
+  (0.2ms) RELEASE SAVEPOINT active_record_1
452672
+  (0.3ms) SELECT "rails_workflow_operation_templates"."id" FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."process_template_id" = $1 ORDER BY "rails_workflow_operation_templates"."id" ASC [["process_template_id", 78]]
452673
+ RailsWorkflow::OperationTemplate Load (0.4ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."process_template_id" = $1 AND "rails_workflow_operation_templates"."uuid" = $2 ORDER BY "rails_workflow_operation_templates"."id" ASC LIMIT 1 [["process_template_id", 78], ["uuid", "0347a15a-9298-c4a2-3b5e-b521b614e9e3"]]
452674
+  (0.4ms) SAVEPOINT active_record_1
452675
+ SQL (0.7ms) INSERT INTO "rails_workflow_operation_templates" ("process_template_id", "uuid", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["process_template_id", 78], ["uuid", "0347a15a-9298-c4a2-3b5e-b521b614e9e3"], ["created_at", "2015-07-07 18:52:07.527874"], ["updated_at", "2015-07-07 18:52:07.527874"]]
452676
+  (0.2ms) RELEASE SAVEPOINT active_record_1
452677
+  (0.2ms) SAVEPOINT active_record_1
452678
+ SQL (0.4ms) UPDATE "rails_workflow_operation_templates" SET "title" = $1, "dependencies" = $2, "operation_class" = $3, "async" = $4, "kind" = $5, "is_background" = $6, "type" = $7, "partial_name" = $8, "updated_at" = $9 WHERE "rails_workflow_operation_templates"."id" = $10 [["title", "Default Operation 2"], ["dependencies", "[]"], ["operation_class", ""], ["async", "f"], ["kind", "default"], ["is_background", "t"], ["type", ""], ["partial_name", ""], ["updated_at", "2015-07-07 18:52:07.534695"], ["id", 56]]
452679
+  (0.2ms) RELEASE SAVEPOINT active_record_1
452680
+ RailsWorkflow::OperationTemplate Load (0.3ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."process_template_id" = $1 AND "rails_workflow_operation_templates"."uuid" = $2 ORDER BY "rails_workflow_operation_templates"."id" ASC LIMIT 1 [["process_template_id", 78], ["uuid", "893ecf5d-b6e5-e0bf-7d07-adcadaafcb75"]]
452681
+  (0.2ms) SAVEPOINT active_record_1
452682
+ SQL (0.3ms) INSERT INTO "rails_workflow_operation_templates" ("process_template_id", "uuid", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["process_template_id", 78], ["uuid", "893ecf5d-b6e5-e0bf-7d07-adcadaafcb75"], ["created_at", "2015-07-07 18:52:07.538961"], ["updated_at", "2015-07-07 18:52:07.538961"]]
452683
+  (0.2ms) RELEASE SAVEPOINT active_record_1
452684
+  (0.1ms) SAVEPOINT active_record_1
452685
+ SQL (0.3ms) UPDATE "rails_workflow_operation_templates" SET "title" = $1, "dependencies" = $2, "operation_class" = $3, "async" = $4, "kind" = $5, "group" = $6, "instruction" = $7, "is_background" = $8, "type" = $9, "partial_name" = $10, "updated_at" = $11 WHERE "rails_workflow_operation_templates"."id" = $12 [["title", "TEST 2"], ["dependencies", "[{\"statuses\":[2,3],\"uuid\":\"893ecf5d-b6e5-e0bf-7d07-adcadaafcb75\"}]"], ["operation_class", ""], ["async", "f"], ["kind", "user_group"], ["group", "stock_team"], ["instruction", ""], ["is_background", "t"], ["type", ""], ["partial_name", ""], ["updated_at", "2015-07-07 18:52:07.543751"], ["id", 57]]
452686
+  (0.2ms) RELEASE SAVEPOINT active_record_1
452687
+ RailsWorkflow::OperationTemplate Load (0.3ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."process_template_id" = $1 AND "rails_workflow_operation_templates"."uuid" = $2 ORDER BY "rails_workflow_operation_templates"."id" ASC LIMIT 1 [["process_template_id", 78], ["uuid", "9ee9a27e-0790-0d45-9534-a6469e5b9ce9"]]
452688
+  (0.2ms) SAVEPOINT active_record_1
452689
+ SQL (0.3ms) INSERT INTO "rails_workflow_operation_templates" ("process_template_id", "uuid", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["process_template_id", 78], ["uuid", "9ee9a27e-0790-0d45-9534-a6469e5b9ce9"], ["created_at", "2015-07-07 18:52:07.548076"], ["updated_at", "2015-07-07 18:52:07.548076"]]
452690
+  (0.1ms) RELEASE SAVEPOINT active_record_1
452691
+  (0.2ms) SAVEPOINT active_record_1
452692
+ SQL (0.3ms) UPDATE "rails_workflow_operation_templates" SET "title" = $1, "dependencies" = $2, "operation_class" = $3, "async" = $4, "kind" = $5, "role" = $6, "instruction" = $7, "is_background" = $8, "type" = $9, "partial_name" = $10, "updated_at" = $11 WHERE "rails_workflow_operation_templates"."id" = $12 [["title", "Admin Operation"], ["dependencies", "[{\"statuses\":[2,3],\"uuid\":\"9ee9a27e-0790-0d45-9534-a6469e5b9ce9\"}]"], ["operation_class", ""], ["async", "f"], ["kind", "user_role"], ["role", "admin"], ["instruction", ""], ["is_background", "t"], ["type", ""], ["partial_name", ""], ["updated_at", "2015-07-07 18:52:07.552882"], ["id", 58]]
452693
+  (0.2ms) RELEASE SAVEPOINT active_record_1
452694
+  (0.2ms) SAVEPOINT active_record_1
452695
+  (0.2ms) RELEASE SAVEPOINT active_record_1
452696
+ RailsWorkflow::OperationTemplate Load (0.3ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."uuid" = $1 LIMIT 1 [["uuid", "893ecf5d-b6e5-e0bf-7d07-adcadaafcb75"]]
452697
+  (0.2ms) SAVEPOINT active_record_1
452698
+ SQL (0.3ms) UPDATE "rails_workflow_operation_templates" SET "dependencies" = $1, "updated_at" = $2 WHERE "rails_workflow_operation_templates"."id" = $3 [["dependencies", "[{\"statuses\":[2,3],\"id\":57}]"], ["updated_at", "2015-07-07 18:52:07.559595"], ["id", 57]]
452699
+  (0.2ms) RELEASE SAVEPOINT active_record_1
452700
+ RailsWorkflow::OperationTemplate Load (0.3ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."uuid" = $1 LIMIT 1 [["uuid", "9ee9a27e-0790-0d45-9534-a6469e5b9ce9"]]
452701
+  (0.2ms) SAVEPOINT active_record_1
452702
+ SQL (0.4ms) UPDATE "rails_workflow_operation_templates" SET "dependencies" = $1, "updated_at" = $2 WHERE "rails_workflow_operation_templates"."id" = $3 [["dependencies", "[{\"statuses\":[2,3],\"id\":58}]"], ["updated_at", "2015-07-07 18:52:07.563021"], ["id", 58]]
452703
+  (0.3ms) RELEASE SAVEPOINT active_record_1
452704
+ RailsWorkflow::ProcessTemplate Load (0.3ms) SELECT "rails_workflow_process_templates".* FROM "rails_workflow_process_templates" WHERE "rails_workflow_process_templates"."uuid" = $1 LIMIT 1 [["uuid", "a708ce2c-cdff-b059-be0e-6bd16d552169"]]
452705
+  (0.3ms) ROLLBACK
452706
+  (0.1ms) BEGIN
452707
+ RailsWorkflow::ProcessTemplate Load (0.3ms) SELECT "rails_workflow_process_templates".* FROM "rails_workflow_process_templates" WHERE "rails_workflow_process_templates"."uuid" = $1 ORDER BY "rails_workflow_process_templates"."id" ASC LIMIT 1 [["uuid", "a708ce2c-cdff-b059-be0e-6bd16d552169"]]
452708
+  (0.2ms) SAVEPOINT active_record_1
452709
+ SQL (0.3ms) INSERT INTO "rails_workflow_process_templates" ("uuid", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["uuid", "a708ce2c-cdff-b059-be0e-6bd16d552169"], ["created_at", "2015-07-07 18:52:07.571714"], ["updated_at", "2015-07-07 18:52:07.571714"]]
452710
+  (0.1ms) RELEASE SAVEPOINT active_record_1
452711
+  (0.1ms) SAVEPOINT active_record_1
452712
+ SQL (0.3ms) UPDATE "rails_workflow_process_templates" SET "title" = $1, "manager_class" = $2, "process_class" = $3, "type" = $4, "updated_at" = $5 WHERE "rails_workflow_process_templates"."id" = $6 [["title", "Test Process"], ["manager_class", ""], ["process_class", ""], ["type", ""], ["updated_at", "2015-07-07 18:52:07.574538"], ["id", 79]]
452713
+  (0.2ms) RELEASE SAVEPOINT active_record_1
452714
+  (0.3ms) SELECT "rails_workflow_operation_templates"."id" FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."process_template_id" = $1 ORDER BY "rails_workflow_operation_templates"."id" ASC [["process_template_id", 79]]
452715
+ RailsWorkflow::OperationTemplate Load (0.3ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."process_template_id" = $1 AND "rails_workflow_operation_templates"."uuid" = $2 ORDER BY "rails_workflow_operation_templates"."id" ASC LIMIT 1 [["process_template_id", 79], ["uuid", "0347a15a-9298-c4a2-3b5e-b521b614e9e3"]]
452716
+  (0.2ms) SAVEPOINT active_record_1
452717
+ SQL (0.3ms) INSERT INTO "rails_workflow_operation_templates" ("process_template_id", "uuid", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["process_template_id", 79], ["uuid", "0347a15a-9298-c4a2-3b5e-b521b614e9e3"], ["created_at", "2015-07-07 18:52:07.579657"], ["updated_at", "2015-07-07 18:52:07.579657"]]
452718
+  (0.2ms) RELEASE SAVEPOINT active_record_1
452719
+  (0.2ms) SAVEPOINT active_record_1
452720
+ SQL (0.3ms) UPDATE "rails_workflow_operation_templates" SET "title" = $1, "dependencies" = $2, "operation_class" = $3, "async" = $4, "kind" = $5, "is_background" = $6, "type" = $7, "partial_name" = $8, "updated_at" = $9 WHERE "rails_workflow_operation_templates"."id" = $10 [["title", "Default Operation 2"], ["dependencies", "[]"], ["operation_class", ""], ["async", "f"], ["kind", "default"], ["is_background", "t"], ["type", ""], ["partial_name", ""], ["updated_at", "2015-07-07 18:52:07.583756"], ["id", 59]]
452721
+  (0.1ms) RELEASE SAVEPOINT active_record_1
452722
+ RailsWorkflow::OperationTemplate Load (0.3ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."process_template_id" = $1 AND "rails_workflow_operation_templates"."uuid" = $2 ORDER BY "rails_workflow_operation_templates"."id" ASC LIMIT 1 [["process_template_id", 79], ["uuid", "893ecf5d-b6e5-e0bf-7d07-adcadaafcb75"]]
452723
+  (0.4ms) SAVEPOINT active_record_1
452724
+ SQL (0.7ms) INSERT INTO "rails_workflow_operation_templates" ("process_template_id", "uuid", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["process_template_id", 79], ["uuid", "893ecf5d-b6e5-e0bf-7d07-adcadaafcb75"], ["created_at", "2015-07-07 18:52:07.588609"], ["updated_at", "2015-07-07 18:52:07.588609"]]
452725
+  (0.5ms) RELEASE SAVEPOINT active_record_1
452726
+  (0.2ms) SAVEPOINT active_record_1
452727
+ SQL (0.4ms) UPDATE "rails_workflow_operation_templates" SET "title" = $1, "dependencies" = $2, "operation_class" = $3, "async" = $4, "kind" = $5, "group" = $6, "instruction" = $7, "is_background" = $8, "type" = $9, "partial_name" = $10, "updated_at" = $11 WHERE "rails_workflow_operation_templates"."id" = $12 [["title", "TEST 2"], ["dependencies", "[{\"statuses\":[2,3],\"uuid\":\"893ecf5d-b6e5-e0bf-7d07-adcadaafcb75\"}]"], ["operation_class", ""], ["async", "f"], ["kind", "user_group"], ["group", "stock_team"], ["instruction", ""], ["is_background", "t"], ["type", ""], ["partial_name", ""], ["updated_at", "2015-07-07 18:52:07.596883"], ["id", 60]]
452728
+  (0.2ms) RELEASE SAVEPOINT active_record_1
452729
+ RailsWorkflow::OperationTemplate Load (0.5ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."process_template_id" = $1 AND "rails_workflow_operation_templates"."uuid" = $2 ORDER BY "rails_workflow_operation_templates"."id" ASC LIMIT 1 [["process_template_id", 79], ["uuid", "9ee9a27e-0790-0d45-9534-a6469e5b9ce9"]]
452730
+  (0.1ms) SAVEPOINT active_record_1
452731
+ SQL (0.3ms) INSERT INTO "rails_workflow_operation_templates" ("process_template_id", "uuid", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["process_template_id", 79], ["uuid", "9ee9a27e-0790-0d45-9534-a6469e5b9ce9"], ["created_at", "2015-07-07 18:52:07.602272"], ["updated_at", "2015-07-07 18:52:07.602272"]]
452732
+  (0.1ms) RELEASE SAVEPOINT active_record_1
452733
+  (0.2ms) SAVEPOINT active_record_1
452734
+ SQL (0.3ms) UPDATE "rails_workflow_operation_templates" SET "title" = $1, "dependencies" = $2, "operation_class" = $3, "async" = $4, "kind" = $5, "role" = $6, "instruction" = $7, "is_background" = $8, "type" = $9, "partial_name" = $10, "updated_at" = $11 WHERE "rails_workflow_operation_templates"."id" = $12 [["title", "Admin Operation"], ["dependencies", "[{\"statuses\":[2,3],\"uuid\":\"9ee9a27e-0790-0d45-9534-a6469e5b9ce9\"}]"], ["operation_class", ""], ["async", "f"], ["kind", "user_role"], ["role", "admin"], ["instruction", ""], ["is_background", "t"], ["type", ""], ["partial_name", ""], ["updated_at", "2015-07-07 18:52:07.606815"], ["id", 61]]
452735
+  (0.2ms) RELEASE SAVEPOINT active_record_1
452736
+  (0.2ms) SAVEPOINT active_record_1
452737
+  (0.1ms) RELEASE SAVEPOINT active_record_1
452738
+ RailsWorkflow::OperationTemplate Load (0.3ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."uuid" = $1 LIMIT 1 [["uuid", "893ecf5d-b6e5-e0bf-7d07-adcadaafcb75"]]
452739
+  (0.1ms) SAVEPOINT active_record_1
452740
+ SQL (0.3ms) UPDATE "rails_workflow_operation_templates" SET "dependencies" = $1, "updated_at" = $2 WHERE "rails_workflow_operation_templates"."id" = $3 [["dependencies", "[{\"statuses\":[2,3],\"id\":60}]"], ["updated_at", "2015-07-07 18:52:07.611290"], ["id", 60]]
452741
+  (0.1ms) RELEASE SAVEPOINT active_record_1
452742
+ RailsWorkflow::OperationTemplate Load (0.3ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."uuid" = $1 LIMIT 1 [["uuid", "9ee9a27e-0790-0d45-9534-a6469e5b9ce9"]]
452743
+  (0.2ms) SAVEPOINT active_record_1
452744
+ SQL (0.3ms) UPDATE "rails_workflow_operation_templates" SET "dependencies" = $1, "updated_at" = $2 WHERE "rails_workflow_operation_templates"."id" = $3 [["dependencies", "[{\"statuses\":[2,3],\"id\":61}]"], ["updated_at", "2015-07-07 18:52:07.614504"], ["id", 61]]
452745
+  (0.2ms) RELEASE SAVEPOINT active_record_1
452746
+ RailsWorkflow::ProcessTemplate Load (0.2ms) SELECT "rails_workflow_process_templates".* FROM "rails_workflow_process_templates" WHERE "rails_workflow_process_templates"."uuid" = $1 LIMIT 1 [["uuid", "a708ce2c-cdff-b059-be0e-6bd16d552169"]]
452747
+  (0.2ms) SAVEPOINT active_record_1
452748
+ SQL (0.2ms) UPDATE "rails_workflow_process_templates" SET "title" = $1, "updated_at" = $2 WHERE "rails_workflow_process_templates"."id" = $3 [["title", "Some new name"], ["updated_at", "2015-07-07 18:52:07.617691"], ["id", 79]]
452749
+  (0.2ms) RELEASE SAVEPOINT active_record_1
452750
+ RailsWorkflow::ProcessTemplate Load (0.3ms) SELECT "rails_workflow_process_templates".* FROM "rails_workflow_process_templates" WHERE "rails_workflow_process_templates"."uuid" = $1 ORDER BY "rails_workflow_process_templates"."id" ASC LIMIT 1 [["uuid", "a708ce2c-cdff-b059-be0e-6bd16d552169"]]
452751
+  (0.2ms) SAVEPOINT active_record_1
452752
+ SQL (0.2ms) UPDATE "rails_workflow_process_templates" SET "title" = $1, "updated_at" = $2 WHERE "rails_workflow_process_templates"."id" = $3 [["title", "Test Process"], ["updated_at", "2015-07-07 18:52:07.621372"], ["id", 79]]
452753
+  (0.2ms) RELEASE SAVEPOINT active_record_1
452754
+  (0.3ms) SELECT "rails_workflow_operation_templates"."id" FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."process_template_id" = $1 ORDER BY "rails_workflow_operation_templates"."id" ASC [["process_template_id", 79]]
452755
+ RailsWorkflow::OperationTemplate Load (0.3ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."process_template_id" = $1 AND "rails_workflow_operation_templates"."uuid" = $2 ORDER BY "rails_workflow_operation_templates"."id" ASC LIMIT 1 [["process_template_id", 79], ["uuid", "0347a15a-9298-c4a2-3b5e-b521b614e9e3"]]
452756
+  (0.2ms) SAVEPOINT active_record_1
452757
+  (0.1ms) RELEASE SAVEPOINT active_record_1
452758
+ RailsWorkflow::OperationTemplate Load (0.3ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."process_template_id" = $1 AND "rails_workflow_operation_templates"."uuid" = $2 ORDER BY "rails_workflow_operation_templates"."id" ASC LIMIT 1 [["process_template_id", 79], ["uuid", "893ecf5d-b6e5-e0bf-7d07-adcadaafcb75"]]
452759
+  (0.2ms) SAVEPOINT active_record_1
452760
+ SQL (0.3ms) UPDATE "rails_workflow_operation_templates" SET "dependencies" = $1, "updated_at" = $2 WHERE "rails_workflow_operation_templates"."id" = $3 [["dependencies", "[{\"statuses\":[2,3],\"uuid\":\"893ecf5d-b6e5-e0bf-7d07-adcadaafcb75\"}]"], ["updated_at", "2015-07-07 18:52:07.632768"], ["id", 60]]
452761
+  (0.2ms) RELEASE SAVEPOINT active_record_1
452762
+ RailsWorkflow::OperationTemplate Load (0.2ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."process_template_id" = $1 AND "rails_workflow_operation_templates"."uuid" = $2 ORDER BY "rails_workflow_operation_templates"."id" ASC LIMIT 1 [["process_template_id", 79], ["uuid", "9ee9a27e-0790-0d45-9534-a6469e5b9ce9"]]
452763
+  (0.4ms) SAVEPOINT active_record_1
452764
+ SQL (0.3ms) UPDATE "rails_workflow_operation_templates" SET "dependencies" = $1, "updated_at" = $2 WHERE "rails_workflow_operation_templates"."id" = $3 [["dependencies", "[{\"statuses\":[2,3],\"uuid\":\"9ee9a27e-0790-0d45-9534-a6469e5b9ce9\"}]"], ["updated_at", "2015-07-07 18:52:07.642085"], ["id", 61]]
452765
+  (0.2ms) RELEASE SAVEPOINT active_record_1
452766
+  (0.1ms) SAVEPOINT active_record_1
452767
+  (0.2ms) RELEASE SAVEPOINT active_record_1
452768
+ RailsWorkflow::OperationTemplate Load (0.3ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."uuid" = $1 LIMIT 1 [["uuid", "893ecf5d-b6e5-e0bf-7d07-adcadaafcb75"]]
452769
+  (0.2ms) SAVEPOINT active_record_1
452770
+ SQL (0.2ms) UPDATE "rails_workflow_operation_templates" SET "dependencies" = $1, "updated_at" = $2 WHERE "rails_workflow_operation_templates"."id" = $3 [["dependencies", "[{\"statuses\":[2,3],\"id\":60}]"], ["updated_at", "2015-07-07 18:52:07.646840"], ["id", 60]]
452771
+  (0.1ms) RELEASE SAVEPOINT active_record_1
452772
+ RailsWorkflow::OperationTemplate Load (0.3ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."uuid" = $1 LIMIT 1 [["uuid", "9ee9a27e-0790-0d45-9534-a6469e5b9ce9"]]
452773
+  (0.2ms) SAVEPOINT active_record_1
452774
+ SQL (0.2ms) UPDATE "rails_workflow_operation_templates" SET "dependencies" = $1, "updated_at" = $2 WHERE "rails_workflow_operation_templates"."id" = $3 [["dependencies", "[{\"statuses\":[2,3],\"id\":61}]"], ["updated_at", "2015-07-07 18:52:07.650175"], ["id", 61]]
452775
+  (0.1ms) RELEASE SAVEPOINT active_record_1
452776
+ RailsWorkflow::ProcessTemplate Load (0.3ms) SELECT "rails_workflow_process_templates".* FROM "rails_workflow_process_templates" WHERE "rails_workflow_process_templates"."uuid" = $1 LIMIT 1 [["uuid", "a708ce2c-cdff-b059-be0e-6bd16d552169"]]
452777
+  (0.2ms) ROLLBACK
452778
+  (0.1ms) BEGIN
452779
+ RailsWorkflow::ProcessTemplate Load (0.3ms) SELECT "rails_workflow_process_templates".* FROM "rails_workflow_process_templates" WHERE "rails_workflow_process_templates"."uuid" = $1 ORDER BY "rails_workflow_process_templates"."id" ASC LIMIT 1 [["uuid", "a708ce2c-cdff-b059-be0e-6bd16d552169"]]
452780
+  (0.2ms) SAVEPOINT active_record_1
452781
+ SQL (0.2ms) INSERT INTO "rails_workflow_process_templates" ("uuid", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["uuid", "a708ce2c-cdff-b059-be0e-6bd16d552169"], ["created_at", "2015-07-07 18:52:07.656493"], ["updated_at", "2015-07-07 18:52:07.656493"]]
452782
+  (0.1ms) RELEASE SAVEPOINT active_record_1
452783
+  (0.1ms) SAVEPOINT active_record_1
452784
+ SQL (0.3ms) UPDATE "rails_workflow_process_templates" SET "title" = $1, "manager_class" = $2, "process_class" = $3, "type" = $4, "updated_at" = $5 WHERE "rails_workflow_process_templates"."id" = $6 [["title", "Test Process"], ["manager_class", ""], ["process_class", ""], ["type", ""], ["updated_at", "2015-07-07 18:52:07.658811"], ["id", 80]]
452785
+  (0.2ms) RELEASE SAVEPOINT active_record_1
452786
+  (0.3ms) SELECT "rails_workflow_operation_templates"."id" FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."process_template_id" = $1 ORDER BY "rails_workflow_operation_templates"."id" ASC [["process_template_id", 80]]
452787
+ RailsWorkflow::OperationTemplate Load (0.2ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."process_template_id" = $1 AND "rails_workflow_operation_templates"."uuid" = $2 ORDER BY "rails_workflow_operation_templates"."id" ASC LIMIT 1 [["process_template_id", 80], ["uuid", "0347a15a-9298-c4a2-3b5e-b521b614e9e3"]]
452788
+  (0.2ms) SAVEPOINT active_record_1
452789
+ SQL (0.2ms) INSERT INTO "rails_workflow_operation_templates" ("process_template_id", "uuid", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["process_template_id", 80], ["uuid", "0347a15a-9298-c4a2-3b5e-b521b614e9e3"], ["created_at", "2015-07-07 18:52:07.663604"], ["updated_at", "2015-07-07 18:52:07.663604"]]
452790
+  (0.2ms) RELEASE SAVEPOINT active_record_1
452791
+  (0.2ms) SAVEPOINT active_record_1
452792
+ SQL (0.3ms) UPDATE "rails_workflow_operation_templates" SET "title" = $1, "dependencies" = $2, "operation_class" = $3, "async" = $4, "kind" = $5, "is_background" = $6, "type" = $7, "partial_name" = $8, "updated_at" = $9 WHERE "rails_workflow_operation_templates"."id" = $10 [["title", "Default Operation 2"], ["dependencies", "[]"], ["operation_class", ""], ["async", "f"], ["kind", "default"], ["is_background", "t"], ["type", ""], ["partial_name", ""], ["updated_at", "2015-07-07 18:52:07.667499"], ["id", 62]]
452793
+  (0.2ms) RELEASE SAVEPOINT active_record_1
452794
+ RailsWorkflow::OperationTemplate Load (0.2ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."process_template_id" = $1 AND "rails_workflow_operation_templates"."uuid" = $2 ORDER BY "rails_workflow_operation_templates"."id" ASC LIMIT 1 [["process_template_id", 80], ["uuid", "893ecf5d-b6e5-e0bf-7d07-adcadaafcb75"]]
452795
+  (0.1ms) SAVEPOINT active_record_1
452796
+ SQL (0.2ms) INSERT INTO "rails_workflow_operation_templates" ("process_template_id", "uuid", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["process_template_id", 80], ["uuid", "893ecf5d-b6e5-e0bf-7d07-adcadaafcb75"], ["created_at", "2015-07-07 18:52:07.670922"], ["updated_at", "2015-07-07 18:52:07.670922"]]
452797
+  (0.1ms) RELEASE SAVEPOINT active_record_1
452798
+  (0.1ms) SAVEPOINT active_record_1
452799
+ SQL (0.3ms) UPDATE "rails_workflow_operation_templates" SET "title" = $1, "dependencies" = $2, "operation_class" = $3, "async" = $4, "kind" = $5, "group" = $6, "instruction" = $7, "is_background" = $8, "type" = $9, "partial_name" = $10, "updated_at" = $11 WHERE "rails_workflow_operation_templates"."id" = $12 [["title", "TEST 2"], ["dependencies", "[{\"statuses\":[2,3],\"uuid\":\"893ecf5d-b6e5-e0bf-7d07-adcadaafcb75\"}]"], ["operation_class", ""], ["async", "f"], ["kind", "user_group"], ["group", "stock_team"], ["instruction", ""], ["is_background", "t"], ["type", ""], ["partial_name", ""], ["updated_at", "2015-07-07 18:52:07.675147"], ["id", 63]]
452800
+  (0.1ms) RELEASE SAVEPOINT active_record_1
452801
+ RailsWorkflow::OperationTemplate Load (0.2ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."process_template_id" = $1 AND "rails_workflow_operation_templates"."uuid" = $2 ORDER BY "rails_workflow_operation_templates"."id" ASC LIMIT 1 [["process_template_id", 80], ["uuid", "9ee9a27e-0790-0d45-9534-a6469e5b9ce9"]]
452802
+  (0.1ms) SAVEPOINT active_record_1
452803
+ SQL (0.2ms) INSERT INTO "rails_workflow_operation_templates" ("process_template_id", "uuid", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["process_template_id", 80], ["uuid", "9ee9a27e-0790-0d45-9534-a6469e5b9ce9"], ["created_at", "2015-07-07 18:52:07.678668"], ["updated_at", "2015-07-07 18:52:07.678668"]]
452804
+  (0.1ms) RELEASE SAVEPOINT active_record_1
452805
+  (0.1ms) SAVEPOINT active_record_1
452806
+ SQL (0.3ms) UPDATE "rails_workflow_operation_templates" SET "title" = $1, "dependencies" = $2, "operation_class" = $3, "async" = $4, "kind" = $5, "role" = $6, "instruction" = $7, "is_background" = $8, "type" = $9, "partial_name" = $10, "updated_at" = $11 WHERE "rails_workflow_operation_templates"."id" = $12 [["title", "Admin Operation"], ["dependencies", "[{\"statuses\":[2,3],\"uuid\":\"9ee9a27e-0790-0d45-9534-a6469e5b9ce9\"}]"], ["operation_class", ""], ["async", "f"], ["kind", "user_role"], ["role", "admin"], ["instruction", ""], ["is_background", "t"], ["type", ""], ["partial_name", ""], ["updated_at", "2015-07-07 18:52:07.683085"], ["id", 64]]
452807
+  (0.2ms) RELEASE SAVEPOINT active_record_1
452808
+  (0.1ms) SAVEPOINT active_record_1
452809
+  (0.1ms) RELEASE SAVEPOINT active_record_1
452810
+ RailsWorkflow::OperationTemplate Load (0.2ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."uuid" = $1 LIMIT 1 [["uuid", "893ecf5d-b6e5-e0bf-7d07-adcadaafcb75"]]
452811
+  (0.1ms) SAVEPOINT active_record_1
452812
+ SQL (0.3ms) UPDATE "rails_workflow_operation_templates" SET "dependencies" = $1, "updated_at" = $2 WHERE "rails_workflow_operation_templates"."id" = $3 [["dependencies", "[{\"statuses\":[2,3],\"id\":63}]"], ["updated_at", "2015-07-07 18:52:07.687369"], ["id", 63]]
452813
+  (0.2ms) RELEASE SAVEPOINT active_record_1
452814
+ RailsWorkflow::OperationTemplate Load (0.2ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."uuid" = $1 LIMIT 1 [["uuid", "9ee9a27e-0790-0d45-9534-a6469e5b9ce9"]]
452815
+  (0.2ms) SAVEPOINT active_record_1
452816
+ SQL (0.2ms) UPDATE "rails_workflow_operation_templates" SET "dependencies" = $1, "updated_at" = $2 WHERE "rails_workflow_operation_templates"."id" = $3 [["dependencies", "[{\"statuses\":[2,3],\"id\":64}]"], ["updated_at", "2015-07-07 18:52:07.690973"], ["id", 64]]
452817
+  (0.2ms) RELEASE SAVEPOINT active_record_1
452818
+ RailsWorkflow::ProcessTemplate Load (0.3ms) SELECT "rails_workflow_process_templates".* FROM "rails_workflow_process_templates" WHERE "rails_workflow_process_templates"."uuid" = $1 LIMIT 1 [["uuid", "a708ce2c-cdff-b059-be0e-6bd16d552169"]]
452819
+  (0.2ms) SELECT COUNT(*) FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."process_template_id" = $1 [["process_template_id", 80]]
452820
+  (0.2ms) ROLLBACK
452821
+  (0.1ms) BEGIN
452822
+ RailsWorkflow::ProcessTemplate Load (0.3ms) SELECT "rails_workflow_process_templates".* FROM "rails_workflow_process_templates" WHERE "rails_workflow_process_templates"."uuid" = $1 ORDER BY "rails_workflow_process_templates"."id" ASC LIMIT 1 [["uuid", "a708ce2c-cdff-b059-be0e-6bd16d552169"]]
452823
+  (0.2ms) SAVEPOINT active_record_1
452824
+ SQL (0.2ms) INSERT INTO "rails_workflow_process_templates" ("uuid", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["uuid", "a708ce2c-cdff-b059-be0e-6bd16d552169"], ["created_at", "2015-07-07 18:52:07.697851"], ["updated_at", "2015-07-07 18:52:07.697851"]]
452825
+  (0.2ms) RELEASE SAVEPOINT active_record_1
452826
+  (0.1ms) SAVEPOINT active_record_1
452827
+ SQL (0.3ms) UPDATE "rails_workflow_process_templates" SET "title" = $1, "manager_class" = $2, "process_class" = $3, "type" = $4, "updated_at" = $5 WHERE "rails_workflow_process_templates"."id" = $6 [["title", "Test Process"], ["manager_class", ""], ["process_class", ""], ["type", ""], ["updated_at", "2015-07-07 18:52:07.700125"], ["id", 81]]
452828
+  (0.1ms) RELEASE SAVEPOINT active_record_1
452829
+  (0.2ms) SELECT "rails_workflow_operation_templates"."id" FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."process_template_id" = $1 ORDER BY "rails_workflow_operation_templates"."id" ASC [["process_template_id", 81]]
452830
+ RailsWorkflow::OperationTemplate Load (0.3ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."process_template_id" = $1 AND "rails_workflow_operation_templates"."uuid" = $2 ORDER BY "rails_workflow_operation_templates"."id" ASC LIMIT 1 [["process_template_id", 81], ["uuid", "0347a15a-9298-c4a2-3b5e-b521b614e9e3"]]
452831
+  (0.5ms) SAVEPOINT active_record_1
452832
+ SQL (0.3ms) INSERT INTO "rails_workflow_operation_templates" ("process_template_id", "uuid", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["process_template_id", 81], ["uuid", "0347a15a-9298-c4a2-3b5e-b521b614e9e3"], ["created_at", "2015-07-07 18:52:07.706495"], ["updated_at", "2015-07-07 18:52:07.706495"]]
452833
+  (0.2ms) RELEASE SAVEPOINT active_record_1
452834
+  (0.2ms) SAVEPOINT active_record_1
452835
+ SQL (0.5ms) UPDATE "rails_workflow_operation_templates" SET "title" = $1, "dependencies" = $2, "operation_class" = $3, "async" = $4, "kind" = $5, "is_background" = $6, "type" = $7, "partial_name" = $8, "updated_at" = $9 WHERE "rails_workflow_operation_templates"."id" = $10 [["title", "Default Operation 2"], ["dependencies", "[]"], ["operation_class", ""], ["async", "f"], ["kind", "default"], ["is_background", "t"], ["type", ""], ["partial_name", ""], ["updated_at", "2015-07-07 18:52:07.712218"], ["id", 65]]
452836
+  (0.2ms) RELEASE SAVEPOINT active_record_1
452837
+ RailsWorkflow::OperationTemplate Load (0.3ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."process_template_id" = $1 AND "rails_workflow_operation_templates"."uuid" = $2 ORDER BY "rails_workflow_operation_templates"."id" ASC LIMIT 1 [["process_template_id", 81], ["uuid", "893ecf5d-b6e5-e0bf-7d07-adcadaafcb75"]]
452838
+  (0.2ms) SAVEPOINT active_record_1
452839
+ SQL (0.3ms) INSERT INTO "rails_workflow_operation_templates" ("process_template_id", "uuid", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["process_template_id", 81], ["uuid", "893ecf5d-b6e5-e0bf-7d07-adcadaafcb75"], ["created_at", "2015-07-07 18:52:07.716620"], ["updated_at", "2015-07-07 18:52:07.716620"]]
452840
+  (0.2ms) RELEASE SAVEPOINT active_record_1
452841
+  (0.1ms) SAVEPOINT active_record_1
452842
+ SQL (0.4ms) UPDATE "rails_workflow_operation_templates" SET "title" = $1, "dependencies" = $2, "operation_class" = $3, "async" = $4, "kind" = $5, "group" = $6, "instruction" = $7, "is_background" = $8, "type" = $9, "partial_name" = $10, "updated_at" = $11 WHERE "rails_workflow_operation_templates"."id" = $12 [["title", "TEST 2"], ["dependencies", "[{\"statuses\":[2,3],\"uuid\":\"893ecf5d-b6e5-e0bf-7d07-adcadaafcb75\"}]"], ["operation_class", ""], ["async", "f"], ["kind", "user_group"], ["group", "stock_team"], ["instruction", ""], ["is_background", "t"], ["type", ""], ["partial_name", ""], ["updated_at", "2015-07-07 18:52:07.721088"], ["id", 66]]
452843
+  (0.2ms) RELEASE SAVEPOINT active_record_1
452844
+ RailsWorkflow::OperationTemplate Load (0.2ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."process_template_id" = $1 AND "rails_workflow_operation_templates"."uuid" = $2 ORDER BY "rails_workflow_operation_templates"."id" ASC LIMIT 1 [["process_template_id", 81], ["uuid", "9ee9a27e-0790-0d45-9534-a6469e5b9ce9"]]
452845
+  (0.1ms) SAVEPOINT active_record_1
452846
+ SQL (0.2ms) INSERT INTO "rails_workflow_operation_templates" ("process_template_id", "uuid", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["process_template_id", 81], ["uuid", "9ee9a27e-0790-0d45-9534-a6469e5b9ce9"], ["created_at", "2015-07-07 18:52:07.725083"], ["updated_at", "2015-07-07 18:52:07.725083"]]
452847
+  (0.1ms) RELEASE SAVEPOINT active_record_1
452848
+  (0.2ms) SAVEPOINT active_record_1
452849
+ SQL (0.4ms) UPDATE "rails_workflow_operation_templates" SET "title" = $1, "dependencies" = $2, "operation_class" = $3, "async" = $4, "kind" = $5, "role" = $6, "instruction" = $7, "is_background" = $8, "type" = $9, "partial_name" = $10, "updated_at" = $11 WHERE "rails_workflow_operation_templates"."id" = $12 [["title", "Admin Operation"], ["dependencies", "[{\"statuses\":[2,3],\"uuid\":\"9ee9a27e-0790-0d45-9534-a6469e5b9ce9\"}]"], ["operation_class", ""], ["async", "f"], ["kind", "user_role"], ["role", "admin"], ["instruction", ""], ["is_background", "t"], ["type", ""], ["partial_name", ""], ["updated_at", "2015-07-07 18:52:07.729228"], ["id", 67]]
452850
+  (0.1ms) RELEASE SAVEPOINT active_record_1
452851
+  (0.1ms) SAVEPOINT active_record_1
452852
+  (0.1ms) RELEASE SAVEPOINT active_record_1
452853
+ RailsWorkflow::OperationTemplate Load (0.2ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."uuid" = $1 LIMIT 1 [["uuid", "893ecf5d-b6e5-e0bf-7d07-adcadaafcb75"]]
452854
+  (0.1ms) SAVEPOINT active_record_1
452855
+ SQL (0.2ms) UPDATE "rails_workflow_operation_templates" SET "dependencies" = $1, "updated_at" = $2 WHERE "rails_workflow_operation_templates"."id" = $3 [["dependencies", "[{\"statuses\":[2,3],\"id\":66}]"], ["updated_at", "2015-07-07 18:52:07.733336"], ["id", 66]]
452856
+  (0.2ms) RELEASE SAVEPOINT active_record_1
452857
+ RailsWorkflow::OperationTemplate Load (0.5ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."uuid" = $1 LIMIT 1 [["uuid", "9ee9a27e-0790-0d45-9534-a6469e5b9ce9"]]
452858
+  (0.2ms) SAVEPOINT active_record_1
452859
+ SQL (0.2ms) UPDATE "rails_workflow_operation_templates" SET "dependencies" = $1, "updated_at" = $2 WHERE "rails_workflow_operation_templates"."id" = $3 [["dependencies", "[{\"statuses\":[2,3],\"id\":67}]"], ["updated_at", "2015-07-07 18:52:07.736966"], ["id", 67]]
452860
+  (0.2ms) RELEASE SAVEPOINT active_record_1
452861
+ RailsWorkflow::ProcessTemplate Load (0.3ms) SELECT "rails_workflow_process_templates".* FROM "rails_workflow_process_templates" WHERE "rails_workflow_process_templates"."uuid" = $1 LIMIT 1 [["uuid", "a708ce2c-cdff-b059-be0e-6bd16d552169"]]
452862
+ RailsWorkflow::OperationTemplate Load (0.3ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."process_template_id" = $1 ORDER BY "rails_workflow_operation_templates"."id" ASC LIMIT 1 [["process_template_id", 81]]
452863
+  (0.2ms) SAVEPOINT active_record_1
452864
+ SQL (0.3ms) UPDATE "rails_workflow_operation_templates" SET "title" = $1, "updated_at" = $2 WHERE "rails_workflow_operation_templates"."id" = $3 [["title", "Some new operation name"], ["updated_at", "2015-07-07 18:52:07.742777"], ["id", 65]]
452865
+  (0.2ms) RELEASE SAVEPOINT active_record_1
452866
+ RailsWorkflow::ProcessTemplate Load (0.4ms) SELECT "rails_workflow_process_templates".* FROM "rails_workflow_process_templates" WHERE "rails_workflow_process_templates"."uuid" = $1 ORDER BY "rails_workflow_process_templates"."id" ASC LIMIT 1 [["uuid", "a708ce2c-cdff-b059-be0e-6bd16d552169"]]
452867
+  (0.1ms) SAVEPOINT active_record_1
452868
+  (0.2ms) RELEASE SAVEPOINT active_record_1
452869
+  (0.3ms) SELECT "rails_workflow_operation_templates"."id" FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."process_template_id" = $1 ORDER BY "rails_workflow_operation_templates"."id" ASC [["process_template_id", 81]]
452870
+ RailsWorkflow::OperationTemplate Load (0.2ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."process_template_id" = $1 AND "rails_workflow_operation_templates"."uuid" = $2 ORDER BY "rails_workflow_operation_templates"."id" ASC LIMIT 1 [["process_template_id", 81], ["uuid", "0347a15a-9298-c4a2-3b5e-b521b614e9e3"]]
452871
+  (0.2ms) SAVEPOINT active_record_1
452872
+ SQL (0.4ms) UPDATE "rails_workflow_operation_templates" SET "title" = $1, "updated_at" = $2 WHERE "rails_workflow_operation_templates"."id" = $3 [["title", "Default Operation 2"], ["updated_at", "2015-07-07 18:52:07.752839"], ["id", 65]]
452873
+  (0.1ms) RELEASE SAVEPOINT active_record_1
452874
+ RailsWorkflow::OperationTemplate Load (0.2ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."process_template_id" = $1 AND "rails_workflow_operation_templates"."uuid" = $2 ORDER BY "rails_workflow_operation_templates"."id" ASC LIMIT 1 [["process_template_id", 81], ["uuid", "893ecf5d-b6e5-e0bf-7d07-adcadaafcb75"]]
452875
+  (0.3ms) SAVEPOINT active_record_1
452876
+ SQL (0.3ms) UPDATE "rails_workflow_operation_templates" SET "dependencies" = $1, "updated_at" = $2 WHERE "rails_workflow_operation_templates"."id" = $3 [["dependencies", "[{\"statuses\":[2,3],\"uuid\":\"893ecf5d-b6e5-e0bf-7d07-adcadaafcb75\"}]"], ["updated_at", "2015-07-07 18:52:07.761100"], ["id", 66]]
452877
+  (0.2ms) RELEASE SAVEPOINT active_record_1
452878
+ RailsWorkflow::OperationTemplate Load (0.3ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."process_template_id" = $1 AND "rails_workflow_operation_templates"."uuid" = $2 ORDER BY "rails_workflow_operation_templates"."id" ASC LIMIT 1 [["process_template_id", 81], ["uuid", "9ee9a27e-0790-0d45-9534-a6469e5b9ce9"]]
452879
+  (0.2ms) SAVEPOINT active_record_1
452880
+ SQL (0.3ms) UPDATE "rails_workflow_operation_templates" SET "dependencies" = $1, "updated_at" = $2 WHERE "rails_workflow_operation_templates"."id" = $3 [["dependencies", "[{\"statuses\":[2,3],\"uuid\":\"9ee9a27e-0790-0d45-9534-a6469e5b9ce9\"}]"], ["updated_at", "2015-07-07 18:52:07.768118"], ["id", 67]]
452881
+  (0.2ms) RELEASE SAVEPOINT active_record_1
452882
+  (0.1ms) SAVEPOINT active_record_1
452883
+  (0.1ms) RELEASE SAVEPOINT active_record_1
452884
+ RailsWorkflow::OperationTemplate Load (0.2ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."uuid" = $1 LIMIT 1 [["uuid", "893ecf5d-b6e5-e0bf-7d07-adcadaafcb75"]]
452885
+  (0.2ms) SAVEPOINT active_record_1
452886
+ SQL (0.2ms) UPDATE "rails_workflow_operation_templates" SET "dependencies" = $1, "updated_at" = $2 WHERE "rails_workflow_operation_templates"."id" = $3 [["dependencies", "[{\"statuses\":[2,3],\"id\":66}]"], ["updated_at", "2015-07-07 18:52:07.771985"], ["id", 66]]
452887
+  (0.2ms) RELEASE SAVEPOINT active_record_1
452888
+ RailsWorkflow::OperationTemplate Load (0.2ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."uuid" = $1 LIMIT 1 [["uuid", "9ee9a27e-0790-0d45-9534-a6469e5b9ce9"]]
452889
+  (0.1ms) SAVEPOINT active_record_1
452890
+ SQL (0.2ms) UPDATE "rails_workflow_operation_templates" SET "dependencies" = $1, "updated_at" = $2 WHERE "rails_workflow_operation_templates"."id" = $3 [["dependencies", "[{\"statuses\":[2,3],\"id\":67}]"], ["updated_at", "2015-07-07 18:52:07.775173"], ["id", 67]]
452891
+  (0.2ms) RELEASE SAVEPOINT active_record_1
452892
+ RailsWorkflow::OperationTemplate Load (0.2ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."id" = $1 LIMIT 1 [["id", 65]]
452893
+  (0.2ms) ROLLBACK
452894
+  (0.1ms) BEGIN
452895
+ RailsWorkflow::ProcessTemplate Load (0.2ms) SELECT "rails_workflow_process_templates".* FROM "rails_workflow_process_templates" WHERE "rails_workflow_process_templates"."uuid" = $1 ORDER BY "rails_workflow_process_templates"."id" ASC LIMIT 1 [["uuid", "a708ce2c-cdff-b059-be0e-6bd16d552169"]]
452896
+  (0.2ms) SAVEPOINT active_record_1
452897
+ SQL (0.2ms) INSERT INTO "rails_workflow_process_templates" ("uuid", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["uuid", "a708ce2c-cdff-b059-be0e-6bd16d552169"], ["created_at", "2015-07-07 18:52:07.781440"], ["updated_at", "2015-07-07 18:52:07.781440"]]
452898
+  (0.1ms) RELEASE SAVEPOINT active_record_1
452899
+  (0.1ms) SAVEPOINT active_record_1
452900
+ SQL (0.3ms) UPDATE "rails_workflow_process_templates" SET "title" = $1, "manager_class" = $2, "process_class" = $3, "type" = $4, "updated_at" = $5 WHERE "rails_workflow_process_templates"."id" = $6 [["title", "Test Process"], ["manager_class", ""], ["process_class", ""], ["type", ""], ["updated_at", "2015-07-07 18:52:07.783697"], ["id", 82]]
452901
+  (0.2ms) RELEASE SAVEPOINT active_record_1
452902
+  (0.2ms) SELECT "rails_workflow_operation_templates"."id" FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."process_template_id" = $1 ORDER BY "rails_workflow_operation_templates"."id" ASC [["process_template_id", 82]]
452903
+ RailsWorkflow::OperationTemplate Load (0.2ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."process_template_id" = $1 AND "rails_workflow_operation_templates"."uuid" = $2 ORDER BY "rails_workflow_operation_templates"."id" ASC LIMIT 1 [["process_template_id", 82], ["uuid", "0347a15a-9298-c4a2-3b5e-b521b614e9e3"]]
452904
+  (0.2ms) SAVEPOINT active_record_1
452905
+ SQL (0.2ms) INSERT INTO "rails_workflow_operation_templates" ("process_template_id", "uuid", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["process_template_id", 82], ["uuid", "0347a15a-9298-c4a2-3b5e-b521b614e9e3"], ["created_at", "2015-07-07 18:52:07.787686"], ["updated_at", "2015-07-07 18:52:07.787686"]]
452906
+  (0.1ms) RELEASE SAVEPOINT active_record_1
452907
+  (0.1ms) SAVEPOINT active_record_1
452908
+ SQL (0.3ms) UPDATE "rails_workflow_operation_templates" SET "title" = $1, "dependencies" = $2, "operation_class" = $3, "async" = $4, "kind" = $5, "is_background" = $6, "type" = $7, "partial_name" = $8, "updated_at" = $9 WHERE "rails_workflow_operation_templates"."id" = $10 [["title", "Default Operation 2"], ["dependencies", "[]"], ["operation_class", ""], ["async", "f"], ["kind", "default"], ["is_background", "t"], ["type", ""], ["partial_name", ""], ["updated_at", "2015-07-07 18:52:07.791077"], ["id", 68]]
452909
+  (0.2ms) RELEASE SAVEPOINT active_record_1
452910
+ RailsWorkflow::OperationTemplate Load (0.2ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."process_template_id" = $1 AND "rails_workflow_operation_templates"."uuid" = $2 ORDER BY "rails_workflow_operation_templates"."id" ASC LIMIT 1 [["process_template_id", 82], ["uuid", "893ecf5d-b6e5-e0bf-7d07-adcadaafcb75"]]
452911
+  (0.2ms) SAVEPOINT active_record_1
452912
+ SQL (0.3ms) INSERT INTO "rails_workflow_operation_templates" ("process_template_id", "uuid", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["process_template_id", 82], ["uuid", "893ecf5d-b6e5-e0bf-7d07-adcadaafcb75"], ["created_at", "2015-07-07 18:52:07.794398"], ["updated_at", "2015-07-07 18:52:07.794398"]]
452913
+  (0.2ms) RELEASE SAVEPOINT active_record_1
452914
+  (0.1ms) SAVEPOINT active_record_1
452915
+ SQL (0.3ms) UPDATE "rails_workflow_operation_templates" SET "title" = $1, "dependencies" = $2, "operation_class" = $3, "async" = $4, "kind" = $5, "group" = $6, "instruction" = $7, "is_background" = $8, "type" = $9, "partial_name" = $10, "updated_at" = $11 WHERE "rails_workflow_operation_templates"."id" = $12 [["title", "TEST 2"], ["dependencies", "[{\"statuses\":[2,3],\"uuid\":\"893ecf5d-b6e5-e0bf-7d07-adcadaafcb75\"}]"], ["operation_class", ""], ["async", "f"], ["kind", "user_group"], ["group", "stock_team"], ["instruction", ""], ["is_background", "t"], ["type", ""], ["partial_name", ""], ["updated_at", "2015-07-07 18:52:07.799010"], ["id", 69]]
452916
+  (0.2ms) RELEASE SAVEPOINT active_record_1
452917
+ RailsWorkflow::OperationTemplate Load (0.2ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."process_template_id" = $1 AND "rails_workflow_operation_templates"."uuid" = $2 ORDER BY "rails_workflow_operation_templates"."id" ASC LIMIT 1 [["process_template_id", 82], ["uuid", "9ee9a27e-0790-0d45-9534-a6469e5b9ce9"]]
452918
+  (0.1ms) SAVEPOINT active_record_1
452919
+ SQL (0.2ms) INSERT INTO "rails_workflow_operation_templates" ("process_template_id", "uuid", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["process_template_id", 82], ["uuid", "9ee9a27e-0790-0d45-9534-a6469e5b9ce9"], ["created_at", "2015-07-07 18:52:07.802558"], ["updated_at", "2015-07-07 18:52:07.802558"]]
452920
+  (0.2ms) RELEASE SAVEPOINT active_record_1
452921
+  (0.2ms) SAVEPOINT active_record_1
452922
+ SQL (0.3ms) UPDATE "rails_workflow_operation_templates" SET "title" = $1, "dependencies" = $2, "operation_class" = $3, "async" = $4, "kind" = $5, "role" = $6, "instruction" = $7, "is_background" = $8, "type" = $9, "partial_name" = $10, "updated_at" = $11 WHERE "rails_workflow_operation_templates"."id" = $12 [["title", "Admin Operation"], ["dependencies", "[{\"statuses\":[2,3],\"uuid\":\"9ee9a27e-0790-0d45-9534-a6469e5b9ce9\"}]"], ["operation_class", ""], ["async", "f"], ["kind", "user_role"], ["role", "admin"], ["instruction", ""], ["is_background", "t"], ["type", ""], ["partial_name", ""], ["updated_at", "2015-07-07 18:52:07.807075"], ["id", 70]]
452923
+  (0.2ms) RELEASE SAVEPOINT active_record_1
452924
+  (0.1ms) SAVEPOINT active_record_1
452925
+  (0.2ms) RELEASE SAVEPOINT active_record_1
452926
+ RailsWorkflow::OperationTemplate Load (0.2ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."uuid" = $1 LIMIT 1 [["uuid", "893ecf5d-b6e5-e0bf-7d07-adcadaafcb75"]]
452927
+  (0.1ms) SAVEPOINT active_record_1
452928
+ SQL (0.2ms) UPDATE "rails_workflow_operation_templates" SET "dependencies" = $1, "updated_at" = $2 WHERE "rails_workflow_operation_templates"."id" = $3 [["dependencies", "[{\"statuses\":[2,3],\"id\":69}]"], ["updated_at", "2015-07-07 18:52:07.811186"], ["id", 69]]
452929
+  (0.1ms) RELEASE SAVEPOINT active_record_1
452930
+ RailsWorkflow::OperationTemplate Load (0.2ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."uuid" = $1 LIMIT 1 [["uuid", "9ee9a27e-0790-0d45-9534-a6469e5b9ce9"]]
452931
+  (0.1ms) SAVEPOINT active_record_1
452932
+ SQL (0.2ms) UPDATE "rails_workflow_operation_templates" SET "dependencies" = $1, "updated_at" = $2 WHERE "rails_workflow_operation_templates"."id" = $3 [["dependencies", "[{\"statuses\":[2,3],\"id\":70}]"], ["updated_at", "2015-07-07 18:52:07.814364"], ["id", 70]]
452933
+  (0.1ms) RELEASE SAVEPOINT active_record_1
452934
+ RailsWorkflow::ProcessTemplate Load (0.3ms) SELECT "rails_workflow_process_templates".* FROM "rails_workflow_process_templates" WHERE "rails_workflow_process_templates"."uuid" = $1 LIMIT 1 [["uuid", "a708ce2c-cdff-b059-be0e-6bd16d552169"]]
452935
+  (0.2ms) SAVEPOINT active_record_1
452936
+ SQL (0.6ms) INSERT INTO "rails_workflow_operation_templates" ("title", "process_template_id", "uuid", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["title", "Some new operation"], ["process_template_id", 82], ["uuid", "c1777ff8-4654-5d3e-307b-bf1f9b5ee3e1"], ["created_at", "2015-07-07 18:52:07.819957"], ["updated_at", "2015-07-07 18:52:07.819957"]]
452937
+  (0.3ms) RELEASE SAVEPOINT active_record_1
452938
+  (0.3ms) SELECT COUNT(*) FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."process_template_id" = $1 [["process_template_id", 82]]
452939
+ RailsWorkflow::ProcessTemplate Load (0.2ms) SELECT "rails_workflow_process_templates".* FROM "rails_workflow_process_templates" WHERE "rails_workflow_process_templates"."uuid" = $1 ORDER BY "rails_workflow_process_templates"."id" ASC LIMIT 1 [["uuid", "a708ce2c-cdff-b059-be0e-6bd16d552169"]]
452940
+  (0.2ms) SAVEPOINT active_record_1
452941
+  (0.2ms) RELEASE SAVEPOINT active_record_1
452942
+  (0.2ms) SELECT "rails_workflow_operation_templates"."id" FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."process_template_id" = $1 ORDER BY "rails_workflow_operation_templates"."id" ASC [["process_template_id", 82]]
452943
+ RailsWorkflow::OperationTemplate Load (0.3ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."process_template_id" = $1 AND "rails_workflow_operation_templates"."uuid" = $2 ORDER BY "rails_workflow_operation_templates"."id" ASC LIMIT 1 [["process_template_id", 82], ["uuid", "0347a15a-9298-c4a2-3b5e-b521b614e9e3"]]
452944
+  (0.2ms) SAVEPOINT active_record_1
452945
+  (0.1ms) RELEASE SAVEPOINT active_record_1
452946
+ RailsWorkflow::OperationTemplate Load (0.3ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."process_template_id" = $1 AND "rails_workflow_operation_templates"."uuid" = $2 ORDER BY "rails_workflow_operation_templates"."id" ASC LIMIT 1 [["process_template_id", 82], ["uuid", "893ecf5d-b6e5-e0bf-7d07-adcadaafcb75"]]
452947
+  (0.2ms) SAVEPOINT active_record_1
452948
+ SQL (0.3ms) UPDATE "rails_workflow_operation_templates" SET "dependencies" = $1, "updated_at" = $2 WHERE "rails_workflow_operation_templates"."id" = $3 [["dependencies", "[{\"statuses\":[2,3],\"uuid\":\"893ecf5d-b6e5-e0bf-7d07-adcadaafcb75\"}]"], ["updated_at", "2015-07-07 18:52:07.838227"], ["id", 69]]
452949
+  (0.2ms) RELEASE SAVEPOINT active_record_1
452950
+ RailsWorkflow::OperationTemplate Load (0.2ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."process_template_id" = $1 AND "rails_workflow_operation_templates"."uuid" = $2 ORDER BY "rails_workflow_operation_templates"."id" ASC LIMIT 1 [["process_template_id", 82], ["uuid", "9ee9a27e-0790-0d45-9534-a6469e5b9ce9"]]
452951
+  (0.2ms) SAVEPOINT active_record_1
452952
+ SQL (0.4ms) UPDATE "rails_workflow_operation_templates" SET "dependencies" = $1, "updated_at" = $2 WHERE "rails_workflow_operation_templates"."id" = $3 [["dependencies", "[{\"statuses\":[2,3],\"uuid\":\"9ee9a27e-0790-0d45-9534-a6469e5b9ce9\"}]"], ["updated_at", "2015-07-07 18:52:07.844960"], ["id", 70]]
452953
+  (0.2ms) RELEASE SAVEPOINT active_record_1
452954
+ SQL (0.3ms) DELETE FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."id" = 71
452955
+  (0.2ms) SAVEPOINT active_record_1
452956
+  (0.1ms) RELEASE SAVEPOINT active_record_1
452957
+ RailsWorkflow::OperationTemplate Load (0.2ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."uuid" = $1 LIMIT 1 [["uuid", "893ecf5d-b6e5-e0bf-7d07-adcadaafcb75"]]
452958
+  (0.2ms) SAVEPOINT active_record_1
452959
+ SQL (0.2ms) UPDATE "rails_workflow_operation_templates" SET "dependencies" = $1, "updated_at" = $2 WHERE "rails_workflow_operation_templates"."id" = $3 [["dependencies", "[{\"statuses\":[2,3],\"id\":69}]"], ["updated_at", "2015-07-07 18:52:07.850121"], ["id", 69]]
452960
+  (0.1ms) RELEASE SAVEPOINT active_record_1
452961
+ RailsWorkflow::OperationTemplate Load (0.2ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."uuid" = $1 LIMIT 1 [["uuid", "9ee9a27e-0790-0d45-9534-a6469e5b9ce9"]]
452962
+  (0.1ms) SAVEPOINT active_record_1
452963
+ SQL (0.2ms) UPDATE "rails_workflow_operation_templates" SET "dependencies" = $1, "updated_at" = $2 WHERE "rails_workflow_operation_templates"."id" = $3 [["dependencies", "[{\"statuses\":[2,3],\"id\":70}]"], ["updated_at", "2015-07-07 18:52:07.853624"], ["id", 70]]
452964
+  (0.1ms) RELEASE SAVEPOINT active_record_1
452965
+ RailsWorkflow::ProcessTemplate Load (0.2ms) SELECT "rails_workflow_process_templates".* FROM "rails_workflow_process_templates" WHERE "rails_workflow_process_templates"."uuid" = $1 LIMIT 1 [["uuid", "a708ce2c-cdff-b059-be0e-6bd16d552169"]]
452966
+  (0.3ms) SELECT COUNT(*) FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."process_template_id" = $1 [["process_template_id", 82]]
452967
+  (0.2ms) ROLLBACK