trust 0.6.2 → 0.6.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -3810,3 +3810,2383 @@ Processing by UsersController#update as HTML
3810
3810
  Redirected to http://test.host/users/1
3811
3811
  Completed 302 Found in 3ms (ActiveRecord: 0.1ms)
3812
3812
   (0.3ms) rollback transaction
3813
+ Connecting to database specified by database.yml
3814
+ MONGODB [DEBUG] Logging level is currently :debug which could negatively impact client-side performance. You should set your logging level no lower than :info in production.
3815
+ MONGODB (23ms) admin['$cmd'].find({:ismaster=>1}).limit(-1)
3816
+ accounts belongs_to [:client]
3817
+ mongo_accounts belongs_to [:mongo_client]
3818
+  (0.3ms) begin transaction
3819
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
3820
+  (0.0ms) SAVEPOINT active_record_1
3821
+ SQL (3.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]
3822
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3823
+  (0.0ms) SAVEPOINT active_record_1
3824
+ SQL (0.9ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["name", nil], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]
3825
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3826
+  (0.0ms) SAVEPOINT active_record_1
3827
+ SQL (0.6ms) INSERT INTO "accounts" ("client_id", "created_at", "created_by_id", "name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["client_id", 1], ["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]
3828
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3829
+  (0.1ms) SELECT COUNT(*) FROM "accounts"
3830
+ Processing by AccountsController#create as HTML
3831
+ Parameters: {"account"=>{"name"=>nil}, "client_id"=>"1"}
3832
+ Client Load (0.1ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]]
3833
+  (0.0ms) SAVEPOINT active_record_1
3834
+ SQL (0.2ms) INSERT INTO "accounts" ("client_id", "created_at", "created_by_id", "name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["client_id", 1], ["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]
3835
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3836
+ Client Load (0.1ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = 1 LIMIT 1
3837
+ Redirected to http://test.host/client/1/accounts/2
3838
+ Completed 302 Found in 13ms (ActiveRecord: 0.5ms)
3839
+  (0.0ms) SELECT COUNT(*) FROM "accounts"
3840
+  (0.5ms) rollback transaction
3841
+  (0.0ms) begin transaction
3842
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
3843
+  (0.0ms) SAVEPOINT active_record_1
3844
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]
3845
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3846
+  (0.0ms) SAVEPOINT active_record_1
3847
+ SQL (0.2ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["name", nil], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]
3848
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3849
+  (0.0ms) SAVEPOINT active_record_1
3850
+ SQL (0.1ms) INSERT INTO "accounts" ("client_id", "created_at", "created_by_id", "name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["client_id", 1], ["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]
3851
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3852
+  (0.0ms) SELECT COUNT(*) FROM "accounts" 
3853
+ Processing by AccountsController#destroy as HTML
3854
+ Parameters: {"client_id"=>"1", "id"=>"1"}
3855
+ Client Load (0.0ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]]
3856
+ Account Load (0.1ms) SELECT "accounts".* FROM "accounts" WHERE "accounts"."client_id" = 1 AND "accounts"."id" = ? LIMIT 1 [["id", "1"]]
3857
+  (0.0ms) SAVEPOINT active_record_1
3858
+ SQL (0.1ms) DELETE FROM "accounts" WHERE "accounts"."id" = ? [["id", 1]]
3859
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3860
+ Redirected to http://test.host/client/1/accounts
3861
+ Completed 302 Found in 3ms (ActiveRecord: 0.2ms)
3862
+  (0.0ms) SELECT COUNT(*) FROM "accounts" 
3863
+  (0.3ms) rollback transaction
3864
+  (0.0ms) begin transaction
3865
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
3866
+  (0.0ms) SAVEPOINT active_record_1
3867
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]
3868
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3869
+  (0.0ms) SAVEPOINT active_record_1
3870
+ SQL (0.2ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["name", nil], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]
3871
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3872
+  (0.0ms) SAVEPOINT active_record_1
3873
+ SQL (0.1ms) INSERT INTO "accounts" ("client_id", "created_at", "created_by_id", "name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["client_id", 1], ["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]
3874
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3875
+ Processing by AccountsController#edit as HTML
3876
+ Parameters: {"client_id"=>"1", "id"=>"1"}
3877
+ Client Load (0.0ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]]
3878
+ Account Load (0.0ms) SELECT "accounts".* FROM "accounts" WHERE "accounts"."client_id" = 1 AND "accounts"."id" = ? LIMIT 1 [["id", "1"]]
3879
+ Rendered accounts/_form.html.erb (7.3ms)
3880
+ Completed 200 OK in 41ms (Views: 38.8ms | ActiveRecord: 0.1ms)
3881
+  (0.4ms) rollback transaction
3882
+  (0.0ms) begin transaction
3883
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
3884
+  (0.0ms) SAVEPOINT active_record_1
3885
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]
3886
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3887
+  (0.0ms) SAVEPOINT active_record_1
3888
+ SQL (0.2ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["name", nil], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]
3889
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3890
+  (0.0ms) SAVEPOINT active_record_1
3891
+ SQL (0.1ms) INSERT INTO "accounts" ("client_id", "created_at", "created_by_id", "name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["client_id", 1], ["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]
3892
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3893
+ Processing by AccountsController#index as HTML
3894
+ Parameters: {"client_id"=>"1"}
3895
+ Client Load (0.0ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]]
3896
+ Account Load (0.1ms) SELECT "accounts".* FROM "accounts" WHERE "accounts"."client_id" = 1
3897
+ Client Load (0.1ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = 1 LIMIT 1
3898
+ Completed 200 OK in 6ms (Views: 3.8ms | ActiveRecord: 0.2ms)
3899
+  (0.4ms) rollback transaction
3900
+  (0.0ms) begin transaction
3901
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
3902
+  (0.0ms) SAVEPOINT active_record_1
3903
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]
3904
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3905
+  (0.0ms) SAVEPOINT active_record_1
3906
+ SQL (0.2ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["name", nil], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]
3907
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3908
+  (0.0ms) SAVEPOINT active_record_1
3909
+ SQL (0.1ms) INSERT INTO "accounts" ("client_id", "created_at", "created_by_id", "name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["client_id", 1], ["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]
3910
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3911
+ Processing by AccountsController#new as HTML
3912
+ Parameters: {"client_id"=>"1"}
3913
+ Client Load (0.0ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]]
3914
+ Rendered accounts/_form.html.erb (1.4ms)
3915
+ Completed 200 OK in 5ms (Views: 3.8ms | ActiveRecord: 0.0ms)
3916
+  (0.4ms) rollback transaction
3917
+  (0.0ms) begin transaction
3918
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
3919
+  (0.0ms) SAVEPOINT active_record_1
3920
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]
3921
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3922
+  (0.0ms) SAVEPOINT active_record_1
3923
+ SQL (0.2ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["name", nil], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]
3924
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3925
+  (0.0ms) SAVEPOINT active_record_1
3926
+ SQL (0.1ms) INSERT INTO "accounts" ("client_id", "created_at", "created_by_id", "name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["client_id", 1], ["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]
3927
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3928
+ Processing by AccountsController#show as HTML
3929
+ Parameters: {"client_id"=>"1", "id"=>"1"}
3930
+ Client Load (0.0ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]]
3931
+ Account Load (0.0ms) SELECT "accounts".* FROM "accounts" WHERE "accounts"."client_id" = 1 AND "accounts"."id" = ? LIMIT 1 [["id", "1"]]
3932
+ Completed 200 OK in 5ms (Views: 3.1ms | ActiveRecord: 0.1ms)
3933
+  (0.3ms) rollback transaction
3934
+  (0.0ms) begin transaction
3935
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
3936
+  (0.0ms) SAVEPOINT active_record_1
3937
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]
3938
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3939
+  (0.0ms) SAVEPOINT active_record_1
3940
+ SQL (0.2ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["name", nil], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]
3941
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3942
+  (0.0ms) SAVEPOINT active_record_1
3943
+ SQL (0.1ms) INSERT INTO "accounts" ("client_id", "created_at", "created_by_id", "name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["client_id", 1], ["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]
3944
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3945
+ Processing by AccountsController#update as HTML
3946
+ Parameters: {"account"=>{"name"=>nil}, "client_id"=>"1", "id"=>"1"}
3947
+ Client Load (0.0ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]]
3948
+ Account Load (0.0ms) SELECT "accounts".* FROM "accounts" WHERE "accounts"."client_id" = 1 AND "accounts"."id" = ? LIMIT 1 [["id", "1"]]
3949
+  (0.0ms) SAVEPOINT active_record_1
3950
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3951
+ Redirected to http://test.host/client/1/accounts/1
3952
+ Completed 302 Found in 3ms (ActiveRecord: 0.1ms)
3953
+  (0.4ms) rollback transaction
3954
+  (0.0ms) begin transaction
3955
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1
3956
+  (0.0ms) SAVEPOINT active_record_1
3957
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["name", "accountant"], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]
3958
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3959
+  (0.0ms) SAVEPOINT active_record_1
3960
+ SQL (0.2ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["name", nil], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]
3961
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3962
+  (0.0ms) SAVEPOINT active_record_1
3963
+ SQL (0.1ms) INSERT INTO "accounts" ("client_id", "created_at", "created_by_id", "name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["client_id", 1], ["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]
3964
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3965
+ Processing by AccountsController#update as HTML
3966
+ Parameters: {"account"=>{"name"=>nil}, "client_id"=>"1", "id"=>"1"}
3967
+ Client Load (0.1ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]]
3968
+ Account Load (0.0ms) SELECT "accounts".* FROM "accounts" WHERE "accounts"."client_id" = 1 AND "accounts"."id" = ? LIMIT 1 [["id", "1"]]
3969
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
3970
+  (0.0ms) SAVEPOINT active_record_1
3971
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3972
+ Redirected to http://test.host/client/1/accounts/1
3973
+ Completed 302 Found in 4ms (ActiveRecord: 0.2ms)
3974
+  (0.4ms) rollback transaction
3975
+  (0.0ms) begin transaction
3976
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1
3977
+  (0.0ms) SAVEPOINT active_record_1
3978
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["name", "accountant"], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]
3979
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3980
+  (0.0ms) SAVEPOINT active_record_1
3981
+ SQL (0.3ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["name", nil], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]
3982
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3983
+  (0.0ms) SAVEPOINT active_record_1
3984
+ SQL (0.1ms) INSERT INTO "accounts" ("client_id", "created_at", "created_by_id", "name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["client_id", 1], ["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]
3985
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3986
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'guest' LIMIT 1
3987
+  (0.0ms) SAVEPOINT active_record_1
3988
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["name", "guest"], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]
3989
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3990
+ Processing by AccountsController#update as HTML
3991
+ Parameters: {"account"=>{"name"=>nil}, "client_id"=>"1", "id"=>"1"}
3992
+ Client Load (0.0ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]]
3993
+ Account Load (0.0ms) SELECT "accounts".* FROM "accounts" WHERE "accounts"."client_id" = 1 AND "accounts"."id" = ? LIMIT 1 [["id", "1"]]
3994
+ Completed 500 Internal Server Error in 2ms
3995
+  (0.4ms) rollback transaction
3996
+  (0.0ms) begin transaction
3997
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1
3998
+  (0.0ms) SAVEPOINT active_record_1
3999
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["name", "accountant"], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]
4000
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4001
+  (0.0ms) SAVEPOINT active_record_1
4002
+ SQL (0.2ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["name", nil], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]
4003
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4004
+  (0.0ms) SAVEPOINT active_record_1
4005
+ SQL (0.1ms) INSERT INTO "accounts" ("client_id", "created_at", "created_by_id", "name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["client_id", 1], ["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]
4006
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4007
+ Processing by AccountsController#destroy as HTML
4008
+ Parameters: {"client_id"=>"1", "id"=>"1"}
4009
+ Client Load (0.0ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]]
4010
+ Account Load (0.0ms) SELECT "accounts".* FROM "accounts" WHERE "accounts"."client_id" = 1 AND "accounts"."id" = ? LIMIT 1 [["id", "1"]]
4011
+ Completed 500 Internal Server Error in 2ms
4012
+  (0.4ms) rollback transaction
4013
+  (0.0ms) begin transaction
4014
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1
4015
+  (0.0ms) SAVEPOINT active_record_1
4016
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["name", "accountant"], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]
4017
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4018
+  (0.0ms) SAVEPOINT active_record_1
4019
+ SQL (0.2ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["name", nil], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]
4020
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4021
+  (0.0ms) SAVEPOINT active_record_1
4022
+ SQL (0.1ms) INSERT INTO "accounts" ("client_id", "created_at", "created_by_id", "name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["client_id", 1], ["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]
4023
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4024
+ Processing by AccountsController#index as HTML
4025
+ Parameters: {"client_id"=>"1"}
4026
+ Client Load (0.0ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]]
4027
+ Completed 500 Internal Server Error in 1ms
4028
+  (0.3ms) rollback transaction
4029
+  (0.0ms) begin transaction
4030
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1
4031
+  (0.0ms) SAVEPOINT active_record_1
4032
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["name", "accountant"], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]
4033
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4034
+  (0.0ms) SAVEPOINT active_record_1
4035
+ SQL (0.2ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["name", nil], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]
4036
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4037
+  (0.0ms) SAVEPOINT active_record_1
4038
+ SQL (0.1ms) INSERT INTO "accounts" ("client_id", "created_at", "created_by_id", "name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["client_id", 1], ["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]
4039
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4040
+ Processing by AccountsController#new as HTML
4041
+ Parameters: {"client_id"=>"1"}
4042
+ Client Load (0.0ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]]
4043
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
4044
+ Completed 500 Internal Server Error in 2ms
4045
+  (0.4ms) rollback transaction
4046
+  (0.0ms) begin transaction
4047
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1
4048
+  (0.0ms) SAVEPOINT active_record_1
4049
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["name", "accountant"], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]
4050
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4051
+  (0.0ms) SAVEPOINT active_record_1
4052
+ SQL (0.2ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["name", nil], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]
4053
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4054
+  (0.0ms) SAVEPOINT active_record_1
4055
+ SQL (0.1ms) INSERT INTO "accounts" ("client_id", "created_at", "created_by_id", "name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["client_id", 1], ["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]
4056
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4057
+ Processing by AccountsController#show as HTML
4058
+ Parameters: {"client_id"=>"1", "id"=>"1"}
4059
+ Client Load (0.0ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]]
4060
+ Account Load (25.5ms) SELECT "accounts".* FROM "accounts" WHERE "accounts"."client_id" = 1 AND "accounts"."id" = ? LIMIT 1 [["id", "1"]]
4061
+ Completed 500 Internal Server Error in 27ms
4062
+  (0.5ms) rollback transaction
4063
+  (0.0ms) begin transaction
4064
+  (0.0ms) SAVEPOINT active_record_1
4065
+ SQL (0.3ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["name", nil], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]
4066
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4067
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
4068
+  (0.0ms) SAVEPOINT active_record_1
4069
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]
4070
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4071
+  (0.0ms) SELECT COUNT(*) FROM "clients" 
4072
+ Processing by ClientsController#create as HTML
4073
+ Parameters: {"client"=>{"name"=>nil}}
4074
+  (0.0ms) SAVEPOINT active_record_1
4075
+ SQL (0.2ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["name", nil], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]
4076
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4077
+ Redirected to http://test.host/clients/2
4078
+ Completed 302 Found in 3ms (ActiveRecord: 0.2ms)
4079
+  (0.0ms) SELECT COUNT(*) FROM "clients" 
4080
+  (0.4ms) rollback transaction
4081
+  (0.0ms) begin transaction
4082
+  (0.0ms) SAVEPOINT active_record_1
4083
+ SQL (0.3ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["name", nil], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]
4084
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4085
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
4086
+  (0.0ms) SAVEPOINT active_record_1
4087
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]
4088
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4089
+  (0.0ms) SELECT COUNT(*) FROM "clients" 
4090
+ Processing by ClientsController#destroy as HTML
4091
+ Parameters: {"id"=>"1"}
4092
+ Client Load (0.0ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]]
4093
+ Client Load (0.0ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]]
4094
+  (0.0ms) SAVEPOINT active_record_1
4095
+ SQL (0.1ms) DELETE FROM "clients" WHERE "clients"."id" = ? [["id", 1]]
4096
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4097
+ Redirected to http://test.host/clients
4098
+ Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
4099
+  (0.0ms) SELECT COUNT(*) FROM "clients" 
4100
+  (0.4ms) rollback transaction
4101
+  (0.0ms) begin transaction
4102
+  (0.0ms) SAVEPOINT active_record_1
4103
+ SQL (0.2ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["name", nil], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]
4104
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4105
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
4106
+  (0.0ms) SAVEPOINT active_record_1
4107
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]
4108
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4109
+ Processing by ClientsController#edit as HTML
4110
+ Parameters: {"id"=>"1"}
4111
+ Client Load (0.0ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]]
4112
+ Rendered clients/_form.html.erb (2.0ms)
4113
+ Completed 200 OK in 6ms (Views: 4.8ms | ActiveRecord: 0.0ms)
4114
+  (0.4ms) rollback transaction
4115
+  (0.0ms) begin transaction
4116
+  (0.0ms) SAVEPOINT active_record_1
4117
+ SQL (0.6ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["name", nil], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]
4118
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4119
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
4120
+  (0.0ms) SAVEPOINT active_record_1
4121
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]
4122
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4123
+ Processing by ClientsController#index as HTML
4124
+ Client Load (0.1ms) SELECT "clients".* FROM "clients" 
4125
+ Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.1ms)
4126
+  (0.4ms) rollback transaction
4127
+  (0.0ms) begin transaction
4128
+  (0.0ms) SAVEPOINT active_record_1
4129
+ SQL (0.3ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["name", nil], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]
4130
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4131
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
4132
+  (0.0ms) SAVEPOINT active_record_1
4133
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]
4134
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4135
+ Processing by ClientsController#new as HTML
4136
+ Rendered clients/_form.html.erb (1.4ms)
4137
+ Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.0ms)
4138
+  (0.5ms) rollback transaction
4139
+  (0.0ms) begin transaction
4140
+  (0.0ms) SAVEPOINT active_record_1
4141
+ SQL (0.3ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["name", nil], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]
4142
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4143
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
4144
+  (0.0ms) SAVEPOINT active_record_1
4145
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]
4146
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4147
+ Processing by ClientsController#show as HTML
4148
+ Parameters: {"id"=>"1"}
4149
+ Client Load (0.0ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]]
4150
+ Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.0ms)
4151
+  (0.3ms) rollback transaction
4152
+  (0.0ms) begin transaction
4153
+  (0.0ms) SAVEPOINT active_record_1
4154
+ SQL (0.2ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["name", nil], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]
4155
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4156
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
4157
+  (0.0ms) SAVEPOINT active_record_1
4158
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]
4159
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4160
+ Processing by ClientsController#update as HTML
4161
+ Parameters: {"client"=>{"name"=>nil}, "id"=>"1"}
4162
+ Client Load (0.0ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]]
4163
+  (0.0ms) SAVEPOINT active_record_1
4164
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4165
+ Redirected to http://test.host/clients/1
4166
+ Completed 302 Found in 2ms (ActiveRecord: 0.1ms)
4167
+  (0.3ms) rollback transaction
4168
+  (0.0ms) begin transaction
4169
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
4170
+  (0.0ms) SAVEPOINT active_record_1
4171
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]
4172
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4173
+ MONGODB (93ms) dummy_test['system.namespaces'].find({})
4174
+ MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5052163b03b25728c5000001'), "accountant_id"=>1}])
4175
+ MONGODB (5ms) dummy_test['system.namespaces'].find({})
4176
+ MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5052163b03b25728c5000002'), "mongo_client_id"=>BSON::ObjectId('5052163b03b25728c5000001'), "created_by_id"=>1}])
4177
+ MONGODB (0ms) dummy_test['$cmd'].find({"count"=>"mongo_accounts", "query"=>{}, "fields"=>nil}).limit(-1)
4178
+ Processing by MongoAccountsController#create as HTML
4179
+ Parameters: {"mongo_account"=>{"name"=>nil}, "mongo_client_id"=>"5052163b03b25728c5000001"}
4180
+ MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5052163b03b25728c5000001')}).limit(-1).sort([[:_id, :asc]])
4181
+ MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5052163b03b25728c5000003'), "name"=>nil, "mongo_client_id"=>BSON::ObjectId('5052163b03b25728c5000001'), "created_by_id"=>1}])
4182
+ Redirected to http://test.host/mongo_client/5052163b03b25728c5000001/mongo_accounts/5052163b03b25728c5000003
4183
+ Completed 302 Found in 3ms (ActiveRecord: 0.0ms)
4184
+ MONGODB (0ms) dummy_test['$cmd'].find({"count"=>"mongo_accounts", "query"=>{}, "fields"=>nil}).limit(-1)
4185
+  (0.4ms) rollback transaction
4186
+  (0.0ms) begin transaction
4187
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
4188
+  (0.0ms) SAVEPOINT active_record_1
4189
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]
4190
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4191
+ MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5052163b03b25728c5000004'), "accountant_id"=>1}])
4192
+ MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5052163b03b25728c5000005'), "mongo_client_id"=>BSON::ObjectId('5052163b03b25728c5000004'), "created_by_id"=>1}])
4193
+ MONGODB (0ms) dummy_test['$cmd'].find({"count"=>"mongo_accounts", "query"=>{}, "fields"=>nil}).limit(-1)
4194
+ Processing by MongoAccountsController#destroy as HTML
4195
+ Parameters: {"mongo_client_id"=>"5052163b03b25728c5000004", "id"=>"5052163b03b25728c5000005"}
4196
+ MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5052163b03b25728c5000004')}).limit(-1).sort([[:_id, :asc]])
4197
+ MONGODB (3ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('5052163b03b25728c5000004'), :_id=>BSON::ObjectId('5052163b03b25728c5000005')}).limit(-1).sort([[:_id, :asc]])
4198
+ MONGODB (0ms) dummy_test['mongo_accounts'].remove({:_id=>BSON::ObjectId('5052163b03b25728c5000005')})
4199
+ Redirected to http://test.host/mongo_client/5052163b03b25728c5000004/mongo_accounts
4200
+ Completed 302 Found in 7ms (ActiveRecord: 0.0ms)
4201
+ MONGODB (0ms) dummy_test['$cmd'].find({"count"=>"mongo_accounts", "query"=>{}, "fields"=>nil}).limit(-1)
4202
+  (0.4ms) rollback transaction
4203
+  (0.0ms) begin transaction
4204
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
4205
+  (0.0ms) SAVEPOINT active_record_1
4206
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]
4207
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4208
+ MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5052163b03b25728c5000006'), "accountant_id"=>1}])
4209
+ MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5052163b03b25728c5000007'), "mongo_client_id"=>BSON::ObjectId('5052163b03b25728c5000006'), "created_by_id"=>1}])
4210
+ Processing by MongoAccountsController#edit as HTML
4211
+ Parameters: {"mongo_client_id"=>"5052163b03b25728c5000006", "id"=>"5052163b03b25728c5000007"}
4212
+ MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5052163b03b25728c5000006')}).limit(-1).sort([[:_id, :asc]])
4213
+ MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('5052163b03b25728c5000006'), :_id=>BSON::ObjectId('5052163b03b25728c5000007')}).limit(-1).sort([[:_id, :asc]])
4214
+ Rendered mongo_accounts/_form.html.erb (2.6ms)
4215
+ Completed 200 OK in 9ms (Views: 6.4ms | ActiveRecord: 0.0ms)
4216
+  (0.4ms) rollback transaction
4217
+  (0.0ms) begin transaction
4218
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
4219
+  (0.0ms) SAVEPOINT active_record_1
4220
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]
4221
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4222
+ MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5052163b03b25728c5000008'), "accountant_id"=>1}])
4223
+ MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5052163b03b25728c5000009'), "mongo_client_id"=>BSON::ObjectId('5052163b03b25728c5000008'), "created_by_id"=>1}])
4224
+ Processing by MongoAccountsController#index as HTML
4225
+ Parameters: {"mongo_client_id"=>"5052163b03b25728c5000008"}
4226
+ MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5052163b03b25728c5000008')}).limit(-1).sort([[:_id, :asc]])
4227
+ MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('5052163b03b25728c5000008')})
4228
+ MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5052163b03b25728c5000008')}).limit(-1).sort([[:_id, :asc]])
4229
+ Completed 200 OK in 6ms (Views: 4.6ms | ActiveRecord: 0.0ms)
4230
+  (0.4ms) rollback transaction
4231
+  (0.0ms) begin transaction
4232
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
4233
+  (0.0ms) SAVEPOINT active_record_1
4234
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]
4235
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4236
+ MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5052163b03b25728c500000a'), "accountant_id"=>1}])
4237
+ MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5052163b03b25728c500000b'), "mongo_client_id"=>BSON::ObjectId('5052163b03b25728c500000a'), "created_by_id"=>1}])
4238
+ Processing by MongoAccountsController#new as HTML
4239
+ Parameters: {"mongo_client_id"=>"5052163b03b25728c500000a"}
4240
+ MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5052163b03b25728c500000a')}).limit(-1).sort([[:_id, :asc]])
4241
+ Rendered mongo_accounts/_form.html.erb (25.8ms)
4242
+ Completed 200 OK in 31ms (Views: 28.5ms | ActiveRecord: 0.0ms)
4243
+  (0.4ms) rollback transaction
4244
+  (0.0ms) begin transaction
4245
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
4246
+  (0.0ms) SAVEPOINT active_record_1
4247
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]
4248
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4249
+ MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5052163b03b25728c500000d'), "accountant_id"=>1}])
4250
+ MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5052163b03b25728c500000e'), "mongo_client_id"=>BSON::ObjectId('5052163b03b25728c500000d'), "created_by_id"=>1}])
4251
+ Processing by MongoAccountsController#show as HTML
4252
+ Parameters: {"mongo_client_id"=>"5052163b03b25728c500000d", "id"=>"5052163b03b25728c500000e"}
4253
+ MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5052163b03b25728c500000d')}).limit(-1).sort([[:_id, :asc]])
4254
+ MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('5052163b03b25728c500000d'), :_id=>BSON::ObjectId('5052163b03b25728c500000e')}).limit(-1).sort([[:_id, :asc]])
4255
+ Completed 200 OK in 6ms (Views: 2.6ms | ActiveRecord: 0.0ms)
4256
+  (0.4ms) rollback transaction
4257
+  (0.0ms) begin transaction
4258
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
4259
+  (0.0ms) SAVEPOINT active_record_1
4260
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]
4261
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4262
+ MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5052163b03b25728c500000f'), "accountant_id"=>1}])
4263
+ MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5052163b03b25728c5000010'), "mongo_client_id"=>BSON::ObjectId('5052163b03b25728c500000f'), "created_by_id"=>1}])
4264
+ Processing by MongoAccountsController#update as HTML
4265
+ Parameters: {"mongo_account"=>{"name"=>nil}, "mongo_client_id"=>"5052163b03b25728c500000f", "id"=>"5052163b03b25728c5000010"}
4266
+ MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5052163b03b25728c500000f')}).limit(-1).sort([[:_id, :asc]])
4267
+ MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('5052163b03b25728c500000f'), :_id=>BSON::ObjectId('5052163b03b25728c5000010')}).limit(-1).sort([[:_id, :asc]])
4268
+ Redirected to http://test.host/mongo_client/5052163b03b25728c5000010/mongo_accounts/5052163b03b25728c5000010
4269
+ Completed 302 Found in 3ms (ActiveRecord: 0.0ms)
4270
+  (0.4ms) rollback transaction
4271
+  (0.0ms) begin transaction
4272
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1
4273
+  (0.0ms) SAVEPOINT active_record_1
4274
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["name", "accountant"], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]
4275
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4276
+ MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5052163b03b25728c5000011'), "accountant_id"=>1}])
4277
+ MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5052163b03b25728c5000012'), "mongo_client_id"=>BSON::ObjectId('5052163b03b25728c5000011'), "created_by_id"=>1}])
4278
+ Processing by MongoAccountsController#update as HTML
4279
+ Parameters: {"mongo_account"=>{"name"=>nil}, "mongo_client_id"=>"5052163b03b25728c5000011", "id"=>"5052163b03b25728c5000012"}
4280
+ MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5052163b03b25728c5000011')}).limit(-1).sort([[:_id, :asc]])
4281
+ MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('5052163b03b25728c5000011'), :_id=>BSON::ObjectId('5052163b03b25728c5000012')}).limit(-1).sort([[:_id, :asc]])
4282
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
4283
+ Redirected to http://test.host/mongo_client/5052163b03b25728c5000012/mongo_accounts/5052163b03b25728c5000012
4284
+ Completed 302 Found in 3ms (ActiveRecord: 0.1ms)
4285
+  (0.3ms) rollback transaction
4286
+  (0.0ms) begin transaction
4287
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1
4288
+  (0.0ms) SAVEPOINT active_record_1
4289
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["name", "accountant"], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]
4290
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4291
+ MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5052163b03b25728c5000013'), "accountant_id"=>1}])
4292
+ MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5052163b03b25728c5000014'), "mongo_client_id"=>BSON::ObjectId('5052163b03b25728c5000013'), "created_by_id"=>1}])
4293
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'guest' LIMIT 1
4294
+  (0.0ms) SAVEPOINT active_record_1
4295
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["name", "guest"], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]
4296
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4297
+ Processing by MongoAccountsController#update as HTML
4298
+ Parameters: {"mongo_account"=>{"name"=>nil}, "mongo_client_id"=>"5052163b03b25728c5000013", "id"=>"5052163b03b25728c5000014"}
4299
+ MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5052163b03b25728c5000013')}).limit(-1).sort([[:_id, :asc]])
4300
+ MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('5052163b03b25728c5000013'), :_id=>BSON::ObjectId('5052163b03b25728c5000014')}).limit(-1).sort([[:_id, :asc]])
4301
+ Completed 500 Internal Server Error in 2ms
4302
+  (0.3ms) rollback transaction
4303
+  (0.0ms) begin transaction
4304
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1
4305
+  (0.0ms) SAVEPOINT active_record_1
4306
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["name", "accountant"], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]
4307
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4308
+ MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5052163b03b25728c5000015'), "accountant_id"=>1}])
4309
+ MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5052163b03b25728c5000016'), "mongo_client_id"=>BSON::ObjectId('5052163b03b25728c5000015'), "created_by_id"=>1}])
4310
+ Processing by MongoAccountsController#destroy as HTML
4311
+ Parameters: {"mongo_client_id"=>"5052163b03b25728c5000015", "id"=>"5052163b03b25728c5000016"}
4312
+ MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5052163b03b25728c5000015')}).limit(-1).sort([[:_id, :asc]])
4313
+ MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('5052163b03b25728c5000015'), :_id=>BSON::ObjectId('5052163b03b25728c5000016')}).limit(-1).sort([[:_id, :asc]])
4314
+ Completed 500 Internal Server Error in 2ms
4315
+  (0.3ms) rollback transaction
4316
+  (0.0ms) begin transaction
4317
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1
4318
+  (0.1ms) SAVEPOINT active_record_1
4319
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["name", "accountant"], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]
4320
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4321
+ MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5052163b03b25728c5000017'), "accountant_id"=>1}])
4322
+ MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5052163b03b25728c5000018'), "mongo_client_id"=>BSON::ObjectId('5052163b03b25728c5000017'), "created_by_id"=>1}])
4323
+ Processing by MongoAccountsController#index as HTML
4324
+ Parameters: {"mongo_client_id"=>"5052163b03b25728c5000017"}
4325
+ MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5052163b03b25728c5000017')}).limit(-1).sort([[:_id, :asc]])
4326
+ Completed 500 Internal Server Error in 2ms
4327
+  (0.4ms) rollback transaction
4328
+  (0.0ms) begin transaction
4329
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1
4330
+  (0.0ms) SAVEPOINT active_record_1
4331
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["name", "accountant"], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]
4332
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4333
+ MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5052163b03b25728c5000019'), "accountant_id"=>1}])
4334
+ MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5052163b03b25728c500001a'), "mongo_client_id"=>BSON::ObjectId('5052163b03b25728c5000019'), "created_by_id"=>1}])
4335
+ Processing by MongoAccountsController#new as HTML
4336
+ Parameters: {"mongo_client_id"=>"5052163b03b25728c5000019"}
4337
+ MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5052163b03b25728c5000019')}).limit(-1).sort([[:_id, :asc]])
4338
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
4339
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
4340
+ Completed 500 Internal Server Error in 3ms
4341
+  (0.3ms) rollback transaction
4342
+  (0.0ms) begin transaction
4343
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1
4344
+  (0.0ms) SAVEPOINT active_record_1
4345
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["name", "accountant"], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]
4346
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4347
+ MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5052163b03b25728c500001c'), "accountant_id"=>1}])
4348
+ MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5052163b03b25728c500001d'), "mongo_client_id"=>BSON::ObjectId('5052163b03b25728c500001c'), "created_by_id"=>1}])
4349
+ Processing by MongoAccountsController#show as HTML
4350
+ Parameters: {"mongo_client_id"=>"5052163b03b25728c500001c", "id"=>"5052163b03b25728c500001d"}
4351
+ MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5052163b03b25728c500001c')}).limit(-1).sort([[:_id, :asc]])
4352
+ MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('5052163b03b25728c500001c'), :_id=>BSON::ObjectId('5052163b03b25728c500001d')}).limit(-1).sort([[:_id, :asc]])
4353
+ Completed 500 Internal Server Error in 2ms
4354
+  (0.3ms) rollback transaction
4355
+  (0.0ms) begin transaction
4356
+ MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5052163b03b25728c500001e'), "accountant_id"=>1}])
4357
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
4358
+  (0.0ms) SAVEPOINT active_record_1
4359
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]
4360
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4361
+ MONGODB (0ms) dummy_test['$cmd'].find({"count"=>"mongo_clients", "query"=>{}, "fields"=>nil}).limit(-1)
4362
+ Processing by MongoClientsController#create as HTML
4363
+ Parameters: {"mongo_client"=>{"name"=>nil}}
4364
+ MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5052163b03b25728c500001f'), "name"=>nil, "accountant_id"=>1}])
4365
+ Redirected to http://test.host/mongo_clients/5052163b03b25728c500001f
4366
+ Completed 302 Found in 2ms (ActiveRecord: 0.0ms)
4367
+ MONGODB (0ms) dummy_test['$cmd'].find({"count"=>"mongo_clients", "query"=>{}, "fields"=>nil}).limit(-1)
4368
+  (0.3ms) rollback transaction
4369
+  (0.0ms) begin transaction
4370
+ MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5052163b03b25728c5000020'), "accountant_id"=>1}])
4371
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
4372
+  (0.0ms) SAVEPOINT active_record_1
4373
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]
4374
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4375
+ MONGODB (0ms) dummy_test['$cmd'].find({"count"=>"mongo_clients", "query"=>{}, "fields"=>nil}).limit(-1)
4376
+ Processing by MongoClientsController#destroy as HTML
4377
+ Parameters: {"id"=>"5052163b03b25728c5000020"}
4378
+ MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5052163b03b25728c5000020')}).limit(-1).sort([[:_id, :asc]])
4379
+ MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5052163b03b25728c5000020')}).limit(-1).sort([[:_id, :asc]])
4380
+ MONGODB (0ms) dummy_test['mongo_clients'].remove({:_id=>BSON::ObjectId('5052163b03b25728c5000020')})
4381
+ Redirected to http://test.host/mongo_clients
4382
+ Completed 302 Found in 3ms (ActiveRecord: 0.0ms)
4383
+ MONGODB (0ms) dummy_test['$cmd'].find({"count"=>"mongo_clients", "query"=>{}, "fields"=>nil}).limit(-1)
4384
+  (0.3ms) rollback transaction
4385
+  (0.0ms) begin transaction
4386
+ MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5052163b03b25728c5000021'), "accountant_id"=>1}])
4387
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
4388
+  (0.0ms) SAVEPOINT active_record_1
4389
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]
4390
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4391
+ Processing by MongoClientsController#edit as HTML
4392
+ Parameters: {"id"=>"5052163b03b25728c5000021"}
4393
+ MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5052163b03b25728c5000021')}).limit(-1).sort([[:_id, :asc]])
4394
+ Rendered mongo_clients/_form.html.erb (2.0ms)
4395
+ Completed 200 OK in 7ms (Views: 5.0ms | ActiveRecord: 0.0ms)
4396
+  (0.4ms) rollback transaction
4397
+  (0.0ms) begin transaction
4398
+ MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5052163b03b25728c5000022'), "accountant_id"=>1}])
4399
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
4400
+  (0.0ms) SAVEPOINT active_record_1
4401
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]
4402
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4403
+ Processing by MongoClientsController#index as HTML
4404
+ MONGODB (1ms) dummy_test['mongo_clients'].find({})
4405
+ Completed 200 OK in 72ms (Views: 70.7ms | ActiveRecord: 0.0ms)
4406
+  (0.6ms) rollback transaction
4407
+  (0.0ms) begin transaction
4408
+ MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5052163b03b25728c5000023'), "accountant_id"=>1}])
4409
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
4410
+  (0.0ms) SAVEPOINT active_record_1
4411
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]
4412
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4413
+ Processing by MongoClientsController#new as HTML
4414
+ Rendered mongo_clients/_form.html.erb (1.5ms)
4415
+ Completed 200 OK in 5ms (Views: 3.8ms | ActiveRecord: 0.0ms)
4416
+  (0.2ms) rollback transaction
4417
+  (0.0ms) begin transaction
4418
+ MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5052163b03b25728c5000025'), "accountant_id"=>1}])
4419
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
4420
+  (0.0ms) SAVEPOINT active_record_1
4421
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]
4422
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4423
+ Processing by MongoClientsController#show as HTML
4424
+ Parameters: {"id"=>"5052163b03b25728c5000025"}
4425
+ MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5052163b03b25728c5000025')}).limit(-1).sort([[:_id, :asc]])
4426
+ Completed 200 OK in 26ms (Views: 24.7ms | ActiveRecord: 0.0ms)
4427
+  (0.3ms) rollback transaction
4428
+  (0.0ms) begin transaction
4429
+ MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5052163b03b25728c5000026'), "accountant_id"=>1}])
4430
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
4431
+  (0.0ms) SAVEPOINT active_record_1
4432
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]
4433
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4434
+ Processing by MongoClientsController#update as HTML
4435
+ Parameters: {"mongo_client"=>{"name"=>nil}, "id"=>"5052163b03b25728c5000026"}
4436
+ MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5052163b03b25728c5000026')}).limit(-1).sort([[:_id, :asc]])
4437
+ Redirected to http://test.host/mongo_clients/5052163b03b25728c5000026
4438
+ Completed 302 Found in 3ms (ActiveRecord: 0.0ms)
4439
+  (2.8ms) rollback transaction
4440
+  (0.0ms) begin transaction
4441
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
4442
+  (0.0ms) SAVEPOINT active_record_1
4443
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["name", :system_admin], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]
4444
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4445
+  (0.2ms) rollback transaction
4446
+  (0.0ms) begin transaction
4447
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1
4448
+  (0.0ms) SAVEPOINT active_record_1
4449
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["name", :accountant], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]
4450
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4451
+  (0.3ms) rollback transaction
4452
+  (0.0ms) begin transaction
4453
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1
4454
+  (0.0ms) SAVEPOINT active_record_1
4455
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["name", :accountant], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]
4456
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4457
+  (0.2ms) rollback transaction
4458
+  (0.0ms) begin transaction
4459
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'department_manager' LIMIT 1
4460
+  (0.0ms) SAVEPOINT active_record_1
4461
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["name", :department_manager], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]
4462
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4463
+  (0.3ms) rollback transaction
4464
+  (0.0ms) begin transaction
4465
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
4466
+  (0.0ms) SAVEPOINT active_record_1
4467
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["name", :system_admin], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]
4468
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4469
+  (0.4ms) rollback transaction
4470
+  (0.0ms) begin transaction
4471
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'guest' LIMIT 1
4472
+  (0.0ms) SAVEPOINT active_record_1
4473
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["name", :guest], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]
4474
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4475
+  (0.0ms) SAVEPOINT active_record_1
4476
+ SQL (4.7ms) INSERT INTO "accounts" ("client_id", "created_at", "created_by_id", "name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["client_id", nil], ["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]
4477
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4478
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1
4479
+  (0.0ms) SAVEPOINT active_record_1
4480
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["name", :accountant], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]
4481
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4482
+  (2.8ms) rollback transaction
4483
+  (0.0ms) begin transaction
4484
+ User Load (5.3ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1
4485
+  (0.0ms) SAVEPOINT active_record_1
4486
+ SQL (3.9ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00], ["name", :accountant], ["updated_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00]]
4487
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4488
+  (0.0ms) SAVEPOINT active_record_1
4489
+ SQL (0.2ms) INSERT INTO "accounts" ("client_id", "created_at", "created_by_id", "name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["client_id", nil], ["created_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00]]
4490
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4491
+  (0.3ms) rollback transaction
4492
+  (0.0ms) begin transaction
4493
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1
4494
+  (0.0ms) SAVEPOINT active_record_1
4495
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00], ["name", :accountant], ["updated_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00]]
4496
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4497
+  (0.3ms) rollback transaction
4498
+  (0.0ms) begin transaction
4499
+ User Load (1.8ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1
4500
+  (0.0ms) SAVEPOINT active_record_1
4501
+ SQL (0.9ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00], ["name", :accountant], ["updated_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00]]
4502
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4503
+  (2.4ms) rollback transaction
4504
+  (0.0ms) begin transaction
4505
+ User Load (5.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'department_manager' LIMIT 1
4506
+  (0.0ms) SAVEPOINT active_record_1
4507
+ SQL (4.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00], ["name", :department_manager], ["updated_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00]]
4508
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4509
+  (0.2ms) rollback transaction
4510
+  (0.0ms) begin transaction
4511
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'guest' LIMIT 1
4512
+  (0.0ms) SAVEPOINT active_record_1
4513
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00], ["name", :guest], ["updated_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00]]
4514
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4515
+  (0.3ms) rollback transaction
4516
+  (0.0ms) begin transaction
4517
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1
4518
+  (0.0ms) SAVEPOINT active_record_1
4519
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00], ["name", :accountant], ["updated_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00]]
4520
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4521
+  (0.2ms) rollback transaction
4522
+  (0.0ms) begin transaction
4523
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
4524
+  (0.0ms) SAVEPOINT active_record_1
4525
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00], ["name", :system_admin], ["updated_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00]]
4526
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4527
+  (0.3ms) rollback transaction
4528
+  (0.0ms) begin transaction
4529
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'guest' LIMIT 1
4530
+  (0.0ms) SAVEPOINT active_record_1
4531
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00], ["name", :guest], ["updated_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00]]
4532
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4533
+  (0.2ms) rollback transaction
4534
+  (0.0ms) begin transaction
4535
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
4536
+  (0.0ms) SAVEPOINT active_record_1
4537
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00], ["name", :system_admin], ["updated_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00]]
4538
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4539
+  (0.3ms) rollback transaction
4540
+  (0.0ms) begin transaction
4541
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'guest' LIMIT 1
4542
+  (0.0ms) SAVEPOINT active_record_1
4543
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00], ["name", :guest], ["updated_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00]]
4544
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4545
+  (0.3ms) rollback transaction
4546
+  (0.0ms) begin transaction
4547
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
4548
+  (0.0ms) SAVEPOINT active_record_1
4549
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00], ["name", :system_admin], ["updated_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00]]
4550
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4551
+  (0.2ms) rollback transaction
4552
+  (0.0ms) begin transaction
4553
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1
4554
+  (0.0ms) SAVEPOINT active_record_1
4555
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00], ["name", :accountant], ["updated_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00]]
4556
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4557
+  (0.4ms) rollback transaction
4558
+  (0.0ms) begin transaction
4559
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
4560
+  (0.0ms) SAVEPOINT active_record_1
4561
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00], ["name", :system_admin], ["updated_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00]]
4562
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4563
+  (0.4ms) rollback transaction
4564
+  (0.0ms) begin transaction
4565
+  (0.0ms) rollback transaction
4566
+  (0.0ms) begin transaction
4567
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'guest' LIMIT 1
4568
+  (0.0ms) SAVEPOINT active_record_1
4569
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00], ["name", :guest], ["updated_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00]]
4570
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4571
+  (0.3ms) rollback transaction
4572
+  (0.0ms) begin transaction
4573
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'blind_man' LIMIT 1
4574
+  (0.0ms) SAVEPOINT active_record_1
4575
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00], ["name", :blind_man], ["updated_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00]]
4576
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4577
+  (0.2ms) rollback transaction
4578
+  (0.0ms) begin transaction
4579
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
4580
+  (0.0ms) SAVEPOINT active_record_1
4581
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00], ["name", :system_admin], ["updated_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00]]
4582
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4583
+  (0.3ms) rollback transaction
4584
+  (0.0ms) begin transaction
4585
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1
4586
+  (0.0ms) SAVEPOINT active_record_1
4587
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00], ["name", :accountant], ["updated_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00]]
4588
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4589
+  (0.4ms) rollback transaction
4590
+  (0.0ms) begin transaction
4591
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1
4592
+  (0.0ms) SAVEPOINT active_record_1
4593
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00], ["name", :accountant], ["updated_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00]]
4594
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4595
+  (0.2ms) rollback transaction
4596
+  (0.0ms) begin transaction
4597
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'department_manager' LIMIT 1
4598
+  (0.0ms) SAVEPOINT active_record_1
4599
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00], ["name", :department_manager], ["updated_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00]]
4600
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4601
+  (0.3ms) rollback transaction
4602
+  (0.0ms) begin transaction
4603
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
4604
+  (0.0ms) SAVEPOINT active_record_1
4605
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00], ["name", :system_admin], ["updated_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00]]
4606
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4607
+  (0.2ms) rollback transaction
4608
+  (0.0ms) begin transaction
4609
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'guest' LIMIT 1
4610
+  (0.0ms) SAVEPOINT active_record_1
4611
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00], ["name", :guest], ["updated_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00]]
4612
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4613
+ MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5052163c03b25728c500002f'), "created_by_id"=>1}])
4614
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1
4615
+  (0.0ms) SAVEPOINT active_record_1
4616
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00], ["name", :accountant], ["updated_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00]]
4617
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4618
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
4619
+  (0.3ms) rollback transaction
4620
+  (0.0ms) begin transaction
4621
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1
4622
+  (0.0ms) SAVEPOINT active_record_1
4623
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00], ["name", :accountant], ["updated_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00]]
4624
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4625
+ MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5052163c03b25728c5000030'), "created_by_id"=>1}])
4626
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
4627
+  (0.3ms) rollback transaction
4628
+  (0.0ms) begin transaction
4629
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1
4630
+  (0.0ms) SAVEPOINT active_record_1
4631
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00], ["name", :accountant], ["updated_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00]]
4632
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4633
+  (0.3ms) rollback transaction
4634
+  (0.0ms) begin transaction
4635
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1
4636
+  (0.0ms) SAVEPOINT active_record_1
4637
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00], ["name", :accountant], ["updated_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00]]
4638
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4639
+  (0.3ms) rollback transaction
4640
+  (0.0ms) begin transaction
4641
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'department_manager' LIMIT 1
4642
+  (0.0ms) SAVEPOINT active_record_1
4643
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00], ["name", :department_manager], ["updated_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00]]
4644
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4645
+  (0.3ms) rollback transaction
4646
+  (0.0ms) begin transaction
4647
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'guest' LIMIT 1
4648
+  (0.0ms) SAVEPOINT active_record_1
4649
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00], ["name", :guest], ["updated_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00]]
4650
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4651
+  (0.3ms) rollback transaction
4652
+  (0.0ms) begin transaction
4653
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1
4654
+  (0.0ms) SAVEPOINT active_record_1
4655
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00], ["name", :accountant], ["updated_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00]]
4656
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4657
+  (0.2ms) rollback transaction
4658
+  (0.0ms) begin transaction
4659
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
4660
+  (0.0ms) SAVEPOINT active_record_1
4661
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00], ["name", :system_admin], ["updated_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00]]
4662
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4663
+  (0.2ms) rollback transaction
4664
+  (0.0ms) begin transaction
4665
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1
4666
+  (0.0ms) SAVEPOINT active_record_1
4667
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00], ["name", :accountant], ["updated_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00]]
4668
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4669
+  (0.4ms) rollback transaction
4670
+  (0.0ms) begin transaction
4671
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
4672
+  (0.0ms) SAVEPOINT active_record_1
4673
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00], ["name", :system_admin], ["updated_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00]]
4674
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4675
+  (0.4ms) rollback transaction
4676
+  (0.0ms) begin transaction
4677
+  (0.0ms) rollback transaction
4678
+  (0.0ms) begin transaction
4679
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'guest' LIMIT 1
4680
+  (0.0ms) SAVEPOINT active_record_1
4681
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00], ["name", :guest], ["updated_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00]]
4682
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4683
+  (0.3ms) rollback transaction
4684
+  (0.0ms) begin transaction
4685
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'blind_man' LIMIT 1
4686
+  (0.0ms) SAVEPOINT active_record_1
4687
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00], ["name", :blind_man], ["updated_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00]]
4688
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4689
+  (0.2ms) rollback transaction
4690
+  (0.0ms) begin transaction
4691
+  (0.0ms) rollback transaction
4692
+  (0.0ms) begin transaction
4693
+  (0.0ms) rollback transaction
4694
+  (0.0ms) begin transaction
4695
+  (0.0ms) rollback transaction
4696
+  (0.0ms) begin transaction
4697
+  (0.0ms) rollback transaction
4698
+  (0.0ms) begin transaction
4699
+  (0.0ms) rollback transaction
4700
+  (0.0ms) begin transaction
4701
+  (0.0ms) rollback transaction
4702
+  (0.0ms) begin transaction
4703
+  (0.0ms) rollback transaction
4704
+  (0.0ms) begin transaction
4705
+  (0.1ms) rollback transaction
4706
+  (0.0ms) begin transaction
4707
+  (0.0ms) rollback transaction
4708
+  (0.0ms) begin transaction
4709
+  (0.0ms) rollback transaction
4710
+  (0.0ms) begin transaction
4711
+  (0.0ms) rollback transaction
4712
+  (0.0ms) begin transaction
4713
+  (0.0ms) rollback transaction
4714
+  (0.0ms) begin transaction
4715
+  (0.0ms) rollback transaction
4716
+  (0.0ms) begin transaction
4717
+  (0.0ms) rollback transaction
4718
+  (0.0ms) begin transaction
4719
+  (0.0ms) rollback transaction
4720
+  (0.0ms) begin transaction
4721
+  (0.0ms) rollback transaction
4722
+  (0.0ms) begin transaction
4723
+  (0.1ms) rollback transaction
4724
+  (0.0ms) begin transaction
4725
+  (0.0ms) rollback transaction
4726
+  (0.0ms) begin transaction
4727
+ controller belongs_to [:heaven, {:as=>:earth}]
4728
+  (0.0ms) rollback transaction
4729
+  (0.0ms) begin transaction
4730
+ controller belongs_to [:heaven, :hell]
4731
+ controller belongs_to [:earth]
4732
+  (0.0ms) rollback transaction
4733
+  (0.0ms) begin transaction
4734
+ controller belongs_to [:heaven]
4735
+  (0.0ms) rollback transaction
4736
+  (0.0ms) begin transaction
4737
+  (0.0ms) rollback transaction
4738
+  (0.0ms) begin transaction
4739
+  (0.0ms) rollback transaction
4740
+  (0.0ms) begin transaction
4741
+  (0.0ms) rollback transaction
4742
+  (0.0ms) begin transaction
4743
+  (0.0ms) rollback transaction
4744
+  (0.0ms) begin transaction
4745
+  (0.1ms) rollback transaction
4746
+  (0.0ms) begin transaction
4747
+  (0.1ms) rollback transaction
4748
+  (0.0ms) begin transaction
4749
+  (0.1ms) rollback transaction
4750
+  (0.0ms) begin transaction
4751
+  (0.1ms) rollback transaction
4752
+  (0.0ms) begin transaction
4753
+  (0.1ms) rollback transaction
4754
+  (0.0ms) begin transaction
4755
+  (0.1ms) rollback transaction
4756
+  (0.0ms) begin transaction
4757
+  (0.1ms) rollback transaction
4758
+  (0.0ms) begin transaction
4759
+  (0.1ms) rollback transaction
4760
+  (0.0ms) begin transaction
4761
+  (0.0ms) rollback transaction
4762
+  (0.0ms) begin transaction
4763
+  (0.1ms) rollback transaction
4764
+  (0.0ms) begin transaction
4765
+  (0.1ms) rollback transaction
4766
+  (0.0ms) begin transaction
4767
+  (0.1ms) rollback transaction
4768
+  (0.0ms) begin transaction
4769
+  (0.1ms) rollback transaction
4770
+  (0.0ms) begin transaction
4771
+  (0.1ms) rollback transaction
4772
+  (0.0ms) begin transaction
4773
+  (0.1ms) rollback transaction
4774
+  (0.0ms) begin transaction
4775
+  (0.1ms) rollback transaction
4776
+  (0.0ms) begin transaction
4777
+  (0.1ms) rollback transaction
4778
+  (0.0ms) begin transaction
4779
+  (0.1ms) rollback transaction
4780
+  (0.0ms) begin transaction
4781
+  (0.1ms) rollback transaction
4782
+  (0.0ms) begin transaction
4783
+  (0.1ms) rollback transaction
4784
+  (0.0ms) begin transaction
4785
+  (0.1ms) rollback transaction
4786
+  (0.0ms) begin transaction
4787
+  (0.1ms) rollback transaction
4788
+  (0.0ms) begin transaction
4789
+  (0.1ms) rollback transaction
4790
+  (0.0ms) begin transaction
4791
+  (0.1ms) rollback transaction
4792
+  (0.0ms) begin transaction
4793
+  (0.1ms) rollback transaction
4794
+  (0.0ms) begin transaction
4795
+  (0.1ms) rollback transaction
4796
+  (0.0ms) begin transaction
4797
+  (0.1ms) rollback transaction
4798
+  (0.0ms) begin transaction
4799
+ child belongs_to [:parent]
4800
+  (0.0ms) rollback transaction
4801
+  (0.0ms) begin transaction
4802
+ child belongs_to [:parent]
4803
+  (0.0ms) rollback transaction
4804
+  (0.0ms) begin transaction
4805
+ child belongs_to [:parent]
4806
+  (0.0ms) rollback transaction
4807
+  (0.0ms) begin transaction
4808
+ child belongs_to [:parent]
4809
+  (0.0ms) rollback transaction
4810
+  (0.0ms) begin transaction
4811
+ child belongs_to [:parent]
4812
+  (0.0ms) rollback transaction
4813
+  (0.1ms) begin transaction
4814
+ child belongs_to [:parent]
4815
+  (0.0ms) rollback transaction
4816
+  (0.0ms) begin transaction
4817
+ child belongs_to [:parent]
4818
+  (0.0ms) rollback transaction
4819
+  (0.0ms) begin transaction
4820
+  (0.0ms) rollback transaction
4821
+  (0.0ms) begin transaction
4822
+  (0.0ms) rollback transaction
4823
+  (0.0ms) begin transaction
4824
+  (0.0ms) rollback transaction
4825
+  (0.0ms) begin transaction
4826
+  (0.0ms) rollback transaction
4827
+  (0.0ms) begin transaction
4828
+  (0.0ms) rollback transaction
4829
+  (0.0ms) begin transaction
4830
+  (0.0ms) rollback transaction
4831
+  (0.0ms) begin transaction
4832
+  (0.0ms) rollback transaction
4833
+  (0.0ms) begin transaction
4834
+  (0.0ms) rollback transaction
4835
+  (0.0ms) begin transaction
4836
+  (0.0ms) rollback transaction
4837
+  (0.0ms) begin transaction
4838
+  (0.0ms) rollback transaction
4839
+  (0.0ms) begin transaction
4840
+  (0.0ms) rollback transaction
4841
+  (0.0ms) begin transaction
4842
+  (0.0ms) rollback transaction
4843
+  (0.0ms) begin transaction
4844
+  (0.0ms) rollback transaction
4845
+  (0.0ms) begin transaction
4846
+  (0.0ms) rollback transaction
4847
+  (0.0ms) begin transaction
4848
+  (0.0ms) rollback transaction
4849
+  (0.0ms) begin transaction
4850
+  (0.0ms) rollback transaction
4851
+  (0.0ms) begin transaction
4852
+  (0.0ms) rollback transaction
4853
+  (0.0ms) begin transaction
4854
+  (0.0ms) rollback transaction
4855
+  (0.0ms) begin transaction
4856
+  (0.0ms) rollback transaction
4857
+  (0.0ms) begin transaction
4858
+  (0.0ms) rollback transaction
4859
+  (0.0ms) begin transaction
4860
+  (0.0ms) rollback transaction
4861
+  (0.0ms) begin transaction
4862
+  (0.0ms) rollback transaction
4863
+  (0.0ms) begin transaction
4864
+  (0.0ms) rollback transaction
4865
+  (0.0ms) begin transaction
4866
+  (0.0ms) rollback transaction
4867
+  (0.0ms) begin transaction
4868
+  (0.0ms) rollback transaction
4869
+  (0.0ms) begin transaction
4870
+  (0.0ms) rollback transaction
4871
+  (0.0ms) begin transaction
4872
+  (0.0ms) rollback transaction
4873
+  (0.0ms) begin transaction
4874
+  (0.0ms) rollback transaction
4875
+  (0.0ms) begin transaction
4876
+  (0.0ms) rollback transaction
4877
+  (0.0ms) begin transaction
4878
+  (0.0ms) rollback transaction
4879
+  (0.0ms) begin transaction
4880
+  (0.0ms) rollback transaction
4881
+  (0.0ms) begin transaction
4882
+  (0.0ms) rollback transaction
4883
+  (0.0ms) begin transaction
4884
+  (0.0ms) rollback transaction
4885
+  (0.0ms) begin transaction
4886
+  (0.0ms) rollback transaction
4887
+  (0.0ms) begin transaction
4888
+  (0.0ms) rollback transaction
4889
+  (0.0ms) begin transaction
4890
+  (0.0ms) rollback transaction
4891
+  (0.0ms) begin transaction
4892
+  (0.0ms) rollback transaction
4893
+  (0.0ms) begin transaction
4894
+  (0.0ms) rollback transaction
4895
+  (0.0ms) begin transaction
4896
+  (0.0ms) SAVEPOINT active_record_1
4897
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00], ["name", nil], ["updated_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00]]
4898
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4899
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
4900
+  (0.0ms) SAVEPOINT active_record_1
4901
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00]]
4902
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4903
+  (0.0ms) SELECT COUNT(*) FROM "users" 
4904
+ Processing by UsersController#create as HTML
4905
+ Parameters: {"user"=>{"name"=>nil}}
4906
+  (0.0ms) SAVEPOINT active_record_1
4907
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00], ["name", nil], ["updated_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00]]
4908
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4909
+ Redirected to http://test.host/users/3
4910
+ Completed 302 Found in 5ms (ActiveRecord: 0.2ms)
4911
+  (0.1ms) SELECT COUNT(*) FROM "users" 
4912
+  (1.8ms) rollback transaction
4913
+  (0.0ms) begin transaction
4914
+  (0.0ms) SAVEPOINT active_record_1
4915
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00], ["name", nil], ["updated_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00]]
4916
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4917
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
4918
+  (0.0ms) SAVEPOINT active_record_1
4919
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00]]
4920
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4921
+  (0.0ms) SELECT COUNT(*) FROM "users" 
4922
+ Processing by UsersController#destroy as HTML
4923
+ Parameters: {"id"=>"1"}
4924
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]]
4925
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]]
4926
+  (0.0ms) SAVEPOINT active_record_1
4927
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
4928
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4929
+ Redirected to http://test.host/users
4930
+ Completed 302 Found in 4ms (ActiveRecord: 0.2ms)
4931
+  (0.0ms) SELECT COUNT(*) FROM "users" 
4932
+  (0.4ms) rollback transaction
4933
+  (0.0ms) begin transaction
4934
+  (0.0ms) SAVEPOINT active_record_1
4935
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00], ["name", nil], ["updated_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00]]
4936
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4937
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
4938
+  (0.0ms) SAVEPOINT active_record_1
4939
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00]]
4940
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4941
+ Processing by UsersController#edit as HTML
4942
+ Parameters: {"id"=>"1"}
4943
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]]
4944
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]]
4945
+ Rendered users/_form.html.erb (1.8ms)
4946
+ Completed 200 OK in 7ms (Views: 5.0ms | ActiveRecord: 0.1ms)
4947
+  (0.4ms) rollback transaction
4948
+  (0.1ms) begin transaction
4949
+  (0.0ms) SAVEPOINT active_record_1
4950
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00], ["name", nil], ["updated_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00]]
4951
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4952
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
4953
+  (0.0ms) SAVEPOINT active_record_1
4954
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00]]
4955
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4956
+ Processing by UsersController#index as HTML
4957
+ User Load (0.1ms) SELECT "users".* FROM "users"
4958
+ Completed 200 OK in 6ms (Views: 3.3ms | ActiveRecord: 0.1ms)
4959
+  (0.3ms) rollback transaction
4960
+  (0.0ms) begin transaction
4961
+  (0.0ms) SAVEPOINT active_record_1
4962
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00], ["name", nil], ["updated_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00]]
4963
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4964
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
4965
+  (0.0ms) SAVEPOINT active_record_1
4966
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00]]
4967
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4968
+ Processing by UsersController#new as HTML
4969
+ Rendered users/_form.html.erb (1.3ms)
4970
+ Completed 200 OK in 6ms (Views: 3.8ms | ActiveRecord: 0.0ms)
4971
+  (0.4ms) rollback transaction
4972
+  (0.0ms) begin transaction
4973
+  (0.0ms) SAVEPOINT active_record_1
4974
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00], ["name", nil], ["updated_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00]]
4975
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4976
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
4977
+  (0.0ms) SAVEPOINT active_record_1
4978
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00]]
4979
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4980
+ Processing by UsersController#show as HTML
4981
+ Parameters: {"id"=>"1"}
4982
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]]
4983
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]]
4984
+ Completed 200 OK in 6ms (Views: 2.6ms | ActiveRecord: 0.1ms)
4985
+  (0.5ms) rollback transaction
4986
+  (0.0ms) begin transaction
4987
+  (0.0ms) SAVEPOINT active_record_1
4988
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00], ["name", nil], ["updated_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00]]
4989
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4990
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
4991
+  (0.0ms) SAVEPOINT active_record_1
4992
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00]]
4993
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4994
+ Processing by UsersController#update as HTML
4995
+ Parameters: {"user"=>{"name"=>nil}, "id"=>"1"}
4996
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]]
4997
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]]
4998
+  (0.0ms) SAVEPOINT active_record_1
4999
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5000
+ Redirected to http://test.host/users/1
5001
+ Completed 302 Found in 4ms (ActiveRecord: 0.1ms)
5002
+  (0.4ms) rollback transaction
5003
+ Connecting to database specified by database.yml
5004
+ MONGODB [DEBUG] Logging level is currently :debug which could negatively impact client-side performance. You should set your logging level no lower than :info in production.
5005
+ MONGODB (0ms) admin['$cmd'].find({:ismaster=>1}).limit(-1)
5006
+ accounts belongs_to [:client]
5007
+ mongo_accounts belongs_to [:mongo_client]
5008
+  (0.3ms) begin transaction
5009
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
5010
+  (0.0ms) SAVEPOINT active_record_1
5011
+ SQL (2.9ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:22 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 13 Sep 2012 17:33:22 UTC +00:00]]
5012
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5013
+  (0.0ms) SAVEPOINT active_record_1
5014
+ SQL (0.5ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Thu, 13 Sep 2012 17:33:22 UTC +00:00], ["name", nil], ["updated_at", Thu, 13 Sep 2012 17:33:22 UTC +00:00]]
5015
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5016
+  (0.0ms) SAVEPOINT active_record_1
5017
+ SQL (0.4ms) INSERT INTO "accounts" ("client_id", "created_at", "created_by_id", "name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["client_id", 1], ["created_at", Thu, 13 Sep 2012 17:33:22 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Thu, 13 Sep 2012 17:33:22 UTC +00:00]]
5018
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5019
+  (0.1ms) SELECT COUNT(*) FROM "accounts"
5020
+ Processing by AccountsController#create as HTML
5021
+ Parameters: {"account"=>{"name"=>nil}, "client_id"=>"1"}
5022
+ Client Load (0.1ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]]
5023
+  (0.0ms) SAVEPOINT active_record_1
5024
+ SQL (0.2ms) INSERT INTO "accounts" ("client_id", "created_at", "created_by_id", "name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["client_id", 1], ["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]
5025
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5026
+ Client Load (0.1ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = 1 LIMIT 1
5027
+ Redirected to http://test.host/client/1/accounts/2
5028
+ Completed 302 Found in 13ms (ActiveRecord: 0.5ms)
5029
+  (0.0ms) SELECT COUNT(*) FROM "accounts"
5030
+  (1.7ms) rollback transaction
5031
+  (0.0ms) begin transaction
5032
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
5033
+  (0.0ms) SAVEPOINT active_record_1
5034
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]
5035
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5036
+  (0.0ms) SAVEPOINT active_record_1
5037
+ SQL (0.2ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", nil], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]
5038
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5039
+  (0.0ms) SAVEPOINT active_record_1
5040
+ SQL (0.1ms) INSERT INTO "accounts" ("client_id", "created_at", "created_by_id", "name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["client_id", 1], ["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]
5041
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5042
+  (0.0ms) SELECT COUNT(*) FROM "accounts" 
5043
+ Processing by AccountsController#destroy as HTML
5044
+ Parameters: {"client_id"=>"1", "id"=>"1"}
5045
+ Client Load (0.0ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]]
5046
+ Account Load (0.1ms) SELECT "accounts".* FROM "accounts" WHERE "accounts"."client_id" = 1 AND "accounts"."id" = ? LIMIT 1 [["id", "1"]]
5047
+  (0.0ms) SAVEPOINT active_record_1
5048
+ SQL (0.1ms) DELETE FROM "accounts" WHERE "accounts"."id" = ? [["id", 1]]
5049
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5050
+ Redirected to http://test.host/client/1/accounts
5051
+ Completed 302 Found in 3ms (ActiveRecord: 0.2ms)
5052
+  (0.0ms) SELECT COUNT(*) FROM "accounts" 
5053
+  (0.3ms) rollback transaction
5054
+  (0.0ms) begin transaction
5055
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
5056
+  (0.0ms) SAVEPOINT active_record_1
5057
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]
5058
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5059
+  (0.0ms) SAVEPOINT active_record_1
5060
+ SQL (0.2ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", nil], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]
5061
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5062
+  (0.0ms) SAVEPOINT active_record_1
5063
+ SQL (0.1ms) INSERT INTO "accounts" ("client_id", "created_at", "created_by_id", "name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["client_id", 1], ["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]
5064
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5065
+ Processing by AccountsController#edit as HTML
5066
+ Parameters: {"client_id"=>"1", "id"=>"1"}
5067
+ Client Load (0.0ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]]
5068
+ Account Load (0.0ms) SELECT "accounts".* FROM "accounts" WHERE "accounts"."client_id" = 1 AND "accounts"."id" = ? LIMIT 1 [["id", "1"]]
5069
+ Rendered accounts/_form.html.erb (5.7ms)
5070
+ Completed 200 OK in 37ms (Views: 34.7ms | ActiveRecord: 0.1ms)
5071
+  (0.4ms) rollback transaction
5072
+  (0.1ms) begin transaction
5073
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
5074
+  (0.0ms) SAVEPOINT active_record_1
5075
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]
5076
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5077
+  (0.0ms) SAVEPOINT active_record_1
5078
+ SQL (0.3ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", nil], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]
5079
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5080
+  (0.0ms) SAVEPOINT active_record_1
5081
+ SQL (0.1ms) INSERT INTO "accounts" ("client_id", "created_at", "created_by_id", "name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["client_id", 1], ["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]
5082
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5083
+ Processing by AccountsController#index as HTML
5084
+ Parameters: {"client_id"=>"1"}
5085
+ Client Load (0.1ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]]
5086
+ Account Load (0.1ms) SELECT "accounts".* FROM "accounts" WHERE "accounts"."client_id" = 1
5087
+ Client Load (0.1ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = 1 LIMIT 1
5088
+ Completed 200 OK in 6ms (Views: 3.2ms | ActiveRecord: 0.2ms)
5089
+  (0.5ms) rollback transaction
5090
+  (0.0ms) begin transaction
5091
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
5092
+  (0.0ms) SAVEPOINT active_record_1
5093
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]
5094
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5095
+  (0.0ms) SAVEPOINT active_record_1
5096
+ SQL (0.2ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", nil], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]
5097
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5098
+  (0.0ms) SAVEPOINT active_record_1
5099
+ SQL (0.1ms) INSERT INTO "accounts" ("client_id", "created_at", "created_by_id", "name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["client_id", 1], ["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]
5100
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5101
+ Processing by AccountsController#new as HTML
5102
+ Parameters: {"client_id"=>"1"}
5103
+ Client Load (0.0ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]]
5104
+ Rendered accounts/_form.html.erb (1.2ms)
5105
+ Completed 200 OK in 5ms (Views: 3.0ms | ActiveRecord: 0.0ms)
5106
+  (0.3ms) rollback transaction
5107
+  (0.0ms) begin transaction
5108
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
5109
+  (0.0ms) SAVEPOINT active_record_1
5110
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]
5111
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5112
+  (0.0ms) SAVEPOINT active_record_1
5113
+ SQL (0.3ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", nil], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]
5114
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5115
+  (0.0ms) SAVEPOINT active_record_1
5116
+ SQL (0.1ms) INSERT INTO "accounts" ("client_id", "created_at", "created_by_id", "name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["client_id", 1], ["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]
5117
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5118
+ Processing by AccountsController#show as HTML
5119
+ Parameters: {"client_id"=>"1", "id"=>"1"}
5120
+ Client Load (0.1ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]]
5121
+ Account Load (0.0ms) SELECT "accounts".* FROM "accounts" WHERE "accounts"."client_id" = 1 AND "accounts"."id" = ? LIMIT 1 [["id", "1"]]
5122
+ Completed 200 OK in 4ms (Views: 2.2ms | ActiveRecord: 0.1ms)
5123
+  (0.4ms) rollback transaction
5124
+  (0.0ms) begin transaction
5125
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
5126
+  (0.0ms) SAVEPOINT active_record_1
5127
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]
5128
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5129
+  (0.0ms) SAVEPOINT active_record_1
5130
+ SQL (0.2ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", nil], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]
5131
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5132
+  (0.0ms) SAVEPOINT active_record_1
5133
+ SQL (0.1ms) INSERT INTO "accounts" ("client_id", "created_at", "created_by_id", "name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["client_id", 1], ["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]
5134
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5135
+ Processing by AccountsController#update as HTML
5136
+ Parameters: {"account"=>{"name"=>nil}, "client_id"=>"1", "id"=>"1"}
5137
+ Client Load (0.0ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]]
5138
+ Account Load (0.0ms) SELECT "accounts".* FROM "accounts" WHERE "accounts"."client_id" = 1 AND "accounts"."id" = ? LIMIT 1 [["id", "1"]]
5139
+  (0.0ms) SAVEPOINT active_record_1
5140
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5141
+ Redirected to http://test.host/client/1/accounts/1
5142
+ Completed 302 Found in 4ms (ActiveRecord: 0.2ms)
5143
+  (0.3ms) rollback transaction
5144
+  (0.0ms) begin transaction
5145
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1
5146
+  (0.0ms) SAVEPOINT active_record_1
5147
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", "accountant"], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]
5148
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5149
+  (0.0ms) SAVEPOINT active_record_1
5150
+ SQL (0.2ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", nil], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]
5151
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5152
+  (0.0ms) SAVEPOINT active_record_1
5153
+ SQL (0.1ms) INSERT INTO "accounts" ("client_id", "created_at", "created_by_id", "name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["client_id", 1], ["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]
5154
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5155
+ Processing by AccountsController#update as HTML
5156
+ Parameters: {"account"=>{"name"=>nil}, "client_id"=>"1", "id"=>"1"}
5157
+ Client Load (0.0ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]]
5158
+ Account Load (0.0ms) SELECT "accounts".* FROM "accounts" WHERE "accounts"."client_id" = 1 AND "accounts"."id" = ? LIMIT 1 [["id", "1"]]
5159
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
5160
+  (0.0ms) SAVEPOINT active_record_1
5161
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5162
+ Redirected to http://test.host/client/1/accounts/1
5163
+ Completed 302 Found in 3ms (ActiveRecord: 0.2ms)
5164
+  (0.4ms) rollback transaction
5165
+  (0.0ms) begin transaction
5166
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1
5167
+  (0.0ms) SAVEPOINT active_record_1
5168
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", "accountant"], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]
5169
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5170
+  (0.0ms) SAVEPOINT active_record_1
5171
+ SQL (0.2ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", nil], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]
5172
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5173
+  (0.0ms) SAVEPOINT active_record_1
5174
+ SQL (0.1ms) INSERT INTO "accounts" ("client_id", "created_at", "created_by_id", "name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["client_id", 1], ["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]
5175
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5176
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'guest' LIMIT 1
5177
+  (0.0ms) SAVEPOINT active_record_1
5178
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", "guest"], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]
5179
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5180
+ Processing by AccountsController#update as HTML
5181
+ Parameters: {"account"=>{"name"=>nil}, "client_id"=>"1", "id"=>"1"}
5182
+ Client Load (0.0ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]]
5183
+ Account Load (0.0ms) SELECT "accounts".* FROM "accounts" WHERE "accounts"."client_id" = 1 AND "accounts"."id" = ? LIMIT 1 [["id", "1"]]
5184
+ Completed 500 Internal Server Error in 2ms
5185
+  (0.3ms) rollback transaction
5186
+  (0.0ms) begin transaction
5187
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1
5188
+  (0.0ms) SAVEPOINT active_record_1
5189
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", "accountant"], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]
5190
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5191
+  (0.0ms) SAVEPOINT active_record_1
5192
+ SQL (0.2ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", nil], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]
5193
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5194
+  (0.0ms) SAVEPOINT active_record_1
5195
+ SQL (0.1ms) INSERT INTO "accounts" ("client_id", "created_at", "created_by_id", "name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["client_id", 1], ["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]
5196
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5197
+ Processing by AccountsController#destroy as HTML
5198
+ Parameters: {"client_id"=>"1", "id"=>"1"}
5199
+ Client Load (0.0ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]]
5200
+ Account Load (0.0ms) SELECT "accounts".* FROM "accounts" WHERE "accounts"."client_id" = 1 AND "accounts"."id" = ? LIMIT 1 [["id", "1"]]
5201
+ Completed 500 Internal Server Error in 2ms
5202
+  (0.3ms) rollback transaction
5203
+  (0.0ms) begin transaction
5204
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1
5205
+  (0.0ms) SAVEPOINT active_record_1
5206
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", "accountant"], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]
5207
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5208
+  (0.0ms) SAVEPOINT active_record_1
5209
+ SQL (0.2ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", nil], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]
5210
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5211
+  (0.0ms) SAVEPOINT active_record_1
5212
+ SQL (0.1ms) INSERT INTO "accounts" ("client_id", "created_at", "created_by_id", "name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["client_id", 1], ["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]
5213
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5214
+ Processing by AccountsController#index as HTML
5215
+ Parameters: {"client_id"=>"1"}
5216
+ Client Load (0.0ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]]
5217
+ Completed 500 Internal Server Error in 1ms
5218
+  (0.3ms) rollback transaction
5219
+  (0.0ms) begin transaction
5220
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1
5221
+  (0.0ms) SAVEPOINT active_record_1
5222
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", "accountant"], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]
5223
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5224
+  (0.0ms) SAVEPOINT active_record_1
5225
+ SQL (0.2ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", nil], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]
5226
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5227
+  (0.0ms) SAVEPOINT active_record_1
5228
+ SQL (0.1ms) INSERT INTO "accounts" ("client_id", "created_at", "created_by_id", "name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["client_id", 1], ["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]
5229
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5230
+ Processing by AccountsController#new as HTML
5231
+ Parameters: {"client_id"=>"1"}
5232
+ Client Load (0.0ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]]
5233
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
5234
+ Completed 500 Internal Server Error in 2ms
5235
+  (0.3ms) rollback transaction
5236
+  (0.0ms) begin transaction
5237
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1
5238
+  (0.0ms) SAVEPOINT active_record_1
5239
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", "accountant"], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]
5240
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5241
+  (0.0ms) SAVEPOINT active_record_1
5242
+ SQL (0.2ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", nil], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]
5243
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5244
+  (0.0ms) SAVEPOINT active_record_1
5245
+ SQL (0.1ms) INSERT INTO "accounts" ("client_id", "created_at", "created_by_id", "name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["client_id", 1], ["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]
5246
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5247
+ Processing by AccountsController#show as HTML
5248
+ Parameters: {"client_id"=>"1", "id"=>"1"}
5249
+ Client Load (0.0ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]]
5250
+ Account Load (0.0ms) SELECT "accounts".* FROM "accounts" WHERE "accounts"."client_id" = 1 AND "accounts"."id" = ? LIMIT 1 [["id", "1"]]
5251
+ Completed 500 Internal Server Error in 26ms
5252
+  (0.4ms) rollback transaction
5253
+  (0.0ms) begin transaction
5254
+  (0.0ms) SAVEPOINT active_record_1
5255
+ SQL (0.5ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", nil], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]
5256
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5257
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
5258
+  (0.0ms) SAVEPOINT active_record_1
5259
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]
5260
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5261
+  (0.0ms) SELECT COUNT(*) FROM "clients" 
5262
+ Processing by ClientsController#create as HTML
5263
+ Parameters: {"client"=>{"name"=>nil}}
5264
+  (0.0ms) SAVEPOINT active_record_1
5265
+ SQL (0.2ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", nil], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]
5266
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5267
+ Redirected to http://test.host/clients/2
5268
+ Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
5269
+  (0.1ms) SELECT COUNT(*) FROM "clients" 
5270
+  (0.3ms) rollback transaction
5271
+  (0.0ms) begin transaction
5272
+  (0.0ms) SAVEPOINT active_record_1
5273
+ SQL (0.3ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", nil], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]
5274
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5275
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
5276
+  (0.0ms) SAVEPOINT active_record_1
5277
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]
5278
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5279
+  (0.0ms) SELECT COUNT(*) FROM "clients" 
5280
+ Processing by ClientsController#destroy as HTML
5281
+ Parameters: {"id"=>"1"}
5282
+ Client Load (0.0ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]]
5283
+ Client Load (0.0ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]]
5284
+  (0.0ms) SAVEPOINT active_record_1
5285
+ SQL (0.1ms) DELETE FROM "clients" WHERE "clients"."id" = ? [["id", 1]]
5286
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5287
+ Redirected to http://test.host/clients
5288
+ Completed 302 Found in 3ms (ActiveRecord: 0.2ms)
5289
+  (0.0ms) SELECT COUNT(*) FROM "clients" 
5290
+  (0.4ms) rollback transaction
5291
+  (0.0ms) begin transaction
5292
+  (0.0ms) SAVEPOINT active_record_1
5293
+ SQL (0.4ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", nil], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]
5294
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5295
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
5296
+  (0.0ms) SAVEPOINT active_record_1
5297
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]
5298
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5299
+ Processing by ClientsController#edit as HTML
5300
+ Parameters: {"id"=>"1"}
5301
+ Client Load (0.0ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]]
5302
+ Rendered clients/_form.html.erb (1.8ms)
5303
+ Completed 200 OK in 6ms (Views: 4.5ms | ActiveRecord: 0.0ms)
5304
+  (0.3ms) rollback transaction
5305
+  (0.0ms) begin transaction
5306
+  (0.0ms) SAVEPOINT active_record_1
5307
+ SQL (0.3ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", nil], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]
5308
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5309
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
5310
+  (0.0ms) SAVEPOINT active_record_1
5311
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]
5312
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5313
+ Processing by ClientsController#index as HTML
5314
+ Client Load (0.1ms) SELECT "clients".* FROM "clients" 
5315
+ Completed 200 OK in 4ms (Views: 2.5ms | ActiveRecord: 0.1ms)
5316
+  (0.3ms) rollback transaction
5317
+  (0.0ms) begin transaction
5318
+  (0.0ms) SAVEPOINT active_record_1
5319
+ SQL (0.3ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", nil], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]
5320
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5321
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
5322
+  (0.0ms) SAVEPOINT active_record_1
5323
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]
5324
+  (0.1ms) RELEASE SAVEPOINT active_record_1
5325
+ Processing by ClientsController#new as HTML
5326
+ Rendered clients/_form.html.erb (1.2ms)
5327
+ Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.0ms)
5328
+  (0.4ms) rollback transaction
5329
+  (0.0ms) begin transaction
5330
+  (0.0ms) SAVEPOINT active_record_1
5331
+ SQL (0.3ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", nil], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]
5332
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5333
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
5334
+  (0.0ms) SAVEPOINT active_record_1
5335
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]
5336
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5337
+ Processing by ClientsController#show as HTML
5338
+ Parameters: {"id"=>"1"}
5339
+ Client Load (0.1ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]]
5340
+ Completed 200 OK in 4ms (Views: 2.1ms | ActiveRecord: 0.1ms)
5341
+  (0.4ms) rollback transaction
5342
+  (0.0ms) begin transaction
5343
+  (0.0ms) SAVEPOINT active_record_1
5344
+ SQL (0.3ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", nil], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]
5345
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5346
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
5347
+  (0.0ms) SAVEPOINT active_record_1
5348
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]
5349
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5350
+ Processing by ClientsController#update as HTML
5351
+ Parameters: {"client"=>{"name"=>nil}, "id"=>"1"}
5352
+ Client Load (0.0ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]]
5353
+  (0.0ms) SAVEPOINT active_record_1
5354
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5355
+ Redirected to http://test.host/clients/1
5356
+ Completed 302 Found in 2ms (ActiveRecord: 0.1ms)
5357
+  (0.3ms) rollback transaction
5358
+  (0.1ms) begin transaction
5359
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
5360
+  (0.0ms) SAVEPOINT active_record_1
5361
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]
5362
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5363
+ MONGODB (0ms) dummy_test['system.namespaces'].find({})
5364
+ MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505218e303b25729d5000001'), "accountant_id"=>1}])
5365
+ MONGODB (2ms) dummy_test['system.namespaces'].find({})
5366
+ MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505218e303b25729d5000002'), "mongo_client_id"=>BSON::ObjectId('505218e303b25729d5000001'), "created_by_id"=>1}])
5367
+ MONGODB (0ms) dummy_test['$cmd'].find({"count"=>"mongo_accounts", "query"=>{}, "fields"=>nil}).limit(-1)
5368
+ Processing by MongoAccountsController#create as HTML
5369
+ Parameters: {"mongo_account"=>{"name"=>nil}, "mongo_client_id"=>"505218e303b25729d5000001"}
5370
+ MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505218e303b25729d5000001')}).limit(-1).sort([[:_id, :asc]])
5371
+ MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505218e303b25729d5000003'), "name"=>nil, "mongo_client_id"=>BSON::ObjectId('505218e303b25729d5000001'), "created_by_id"=>1}])
5372
+ Redirected to http://test.host/mongo_client/505218e303b25729d5000001/mongo_accounts/505218e303b25729d5000003
5373
+ Completed 302 Found in 3ms (ActiveRecord: 0.0ms)
5374
+ MONGODB (0ms) dummy_test['$cmd'].find({"count"=>"mongo_accounts", "query"=>{}, "fields"=>nil}).limit(-1)
5375
+  (0.4ms) rollback transaction
5376
+  (0.0ms) begin transaction
5377
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
5378
+  (0.0ms) SAVEPOINT active_record_1
5379
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]
5380
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5381
+ MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505218e303b25729d5000004'), "accountant_id"=>1}])
5382
+ MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505218e303b25729d5000005'), "mongo_client_id"=>BSON::ObjectId('505218e303b25729d5000004'), "created_by_id"=>1}])
5383
+ MONGODB (0ms) dummy_test['$cmd'].find({"count"=>"mongo_accounts", "query"=>{}, "fields"=>nil}).limit(-1)
5384
+ Processing by MongoAccountsController#destroy as HTML
5385
+ Parameters: {"mongo_client_id"=>"505218e303b25729d5000004", "id"=>"505218e303b25729d5000005"}
5386
+ MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505218e303b25729d5000004')}).limit(-1).sort([[:_id, :asc]])
5387
+ MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('505218e303b25729d5000004'), :_id=>BSON::ObjectId('505218e303b25729d5000005')}).limit(-1).sort([[:_id, :asc]])
5388
+ MONGODB (0ms) dummy_test['mongo_accounts'].remove({:_id=>BSON::ObjectId('505218e303b25729d5000005')})
5389
+ Redirected to http://test.host/mongo_client/505218e303b25729d5000004/mongo_accounts
5390
+ Completed 302 Found in 3ms (ActiveRecord: 0.0ms)
5391
+ MONGODB (0ms) dummy_test['$cmd'].find({"count"=>"mongo_accounts", "query"=>{}, "fields"=>nil}).limit(-1)
5392
+  (0.4ms) rollback transaction
5393
+  (0.0ms) begin transaction
5394
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
5395
+  (0.0ms) SAVEPOINT active_record_1
5396
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]
5397
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5398
+ MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505218e303b25729d5000006'), "accountant_id"=>1}])
5399
+ MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505218e303b25729d5000007'), "mongo_client_id"=>BSON::ObjectId('505218e303b25729d5000006'), "created_by_id"=>1}])
5400
+ Processing by MongoAccountsController#edit as HTML
5401
+ Parameters: {"mongo_client_id"=>"505218e303b25729d5000006", "id"=>"505218e303b25729d5000007"}
5402
+ MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505218e303b25729d5000006')}).limit(-1).sort([[:_id, :asc]])
5403
+ MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('505218e303b25729d5000006'), :_id=>BSON::ObjectId('505218e303b25729d5000007')}).limit(-1).sort([[:_id, :asc]])
5404
+ Rendered mongo_accounts/_form.html.erb (3.5ms)
5405
+ Completed 200 OK in 9ms (Views: 7.0ms | ActiveRecord: 0.0ms)
5406
+  (0.5ms) rollback transaction
5407
+  (0.0ms) begin transaction
5408
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
5409
+  (0.0ms) SAVEPOINT active_record_1
5410
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]
5411
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5412
+ MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505218e303b25729d5000008'), "accountant_id"=>1}])
5413
+ MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505218e303b25729d5000009'), "mongo_client_id"=>BSON::ObjectId('505218e303b25729d5000008'), "created_by_id"=>1}])
5414
+ Processing by MongoAccountsController#index as HTML
5415
+ Parameters: {"mongo_client_id"=>"505218e303b25729d5000008"}
5416
+ MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505218e303b25729d5000008')}).limit(-1).sort([[:_id, :asc]])
5417
+ MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('505218e303b25729d5000008')})
5418
+ MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505218e303b25729d5000008')}).limit(-1).sort([[:_id, :asc]])
5419
+ Completed 200 OK in 6ms (Views: 4.3ms | ActiveRecord: 0.0ms)
5420
+  (0.4ms) rollback transaction
5421
+  (0.0ms) begin transaction
5422
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
5423
+  (0.0ms) SAVEPOINT active_record_1
5424
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]
5425
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5426
+ MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505218e303b25729d500000a'), "accountant_id"=>1}])
5427
+ MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505218e303b25729d500000b'), "mongo_client_id"=>BSON::ObjectId('505218e303b25729d500000a'), "created_by_id"=>1}])
5428
+ Processing by MongoAccountsController#new as HTML
5429
+ Parameters: {"mongo_client_id"=>"505218e303b25729d500000a"}
5430
+ MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505218e303b25729d500000a')}).limit(-1).sort([[:_id, :asc]])
5431
+ Rendered mongo_accounts/_form.html.erb (27.0ms)
5432
+ Completed 200 OK in 32ms (Views: 29.6ms | ActiveRecord: 0.0ms)
5433
+  (0.4ms) rollback transaction
5434
+  (0.0ms) begin transaction
5435
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
5436
+  (0.0ms) SAVEPOINT active_record_1
5437
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]
5438
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5439
+ MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505218e303b25729d500000d'), "accountant_id"=>1}])
5440
+ MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505218e303b25729d500000e'), "mongo_client_id"=>BSON::ObjectId('505218e303b25729d500000d'), "created_by_id"=>1}])
5441
+ Processing by MongoAccountsController#show as HTML
5442
+ Parameters: {"mongo_client_id"=>"505218e303b25729d500000d", "id"=>"505218e303b25729d500000e"}
5443
+ MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505218e303b25729d500000d')}).limit(-1).sort([[:_id, :asc]])
5444
+ MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('505218e303b25729d500000d'), :_id=>BSON::ObjectId('505218e303b25729d500000e')}).limit(-1).sort([[:_id, :asc]])
5445
+ Completed 200 OK in 5ms (Views: 2.2ms | ActiveRecord: 0.0ms)
5446
+  (0.6ms) rollback transaction
5447
+  (0.1ms) begin transaction
5448
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
5449
+  (0.0ms) SAVEPOINT active_record_1
5450
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]
5451
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5452
+ MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505218e303b25729d500000f'), "accountant_id"=>1}])
5453
+ MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505218e303b25729d5000010'), "mongo_client_id"=>BSON::ObjectId('505218e303b25729d500000f'), "created_by_id"=>1}])
5454
+ Processing by MongoAccountsController#update as HTML
5455
+ Parameters: {"mongo_account"=>{"name"=>nil}, "mongo_client_id"=>"505218e303b25729d500000f", "id"=>"505218e303b25729d5000010"}
5456
+ MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505218e303b25729d500000f')}).limit(-1).sort([[:_id, :asc]])
5457
+ MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('505218e303b25729d500000f'), :_id=>BSON::ObjectId('505218e303b25729d5000010')}).limit(-1).sort([[:_id, :asc]])
5458
+ Redirected to http://test.host/mongo_client/505218e303b25729d5000010/mongo_accounts/505218e303b25729d5000010
5459
+ Completed 302 Found in 3ms (ActiveRecord: 0.0ms)
5460
+  (0.2ms) rollback transaction
5461
+  (0.0ms) begin transaction
5462
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1
5463
+  (0.0ms) SAVEPOINT active_record_1
5464
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", "accountant"], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]
5465
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5466
+ MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505218e303b25729d5000011'), "accountant_id"=>1}])
5467
+ MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505218e303b25729d5000012'), "mongo_client_id"=>BSON::ObjectId('505218e303b25729d5000011'), "created_by_id"=>1}])
5468
+ Processing by MongoAccountsController#update as HTML
5469
+ Parameters: {"mongo_account"=>{"name"=>nil}, "mongo_client_id"=>"505218e303b25729d5000011", "id"=>"505218e303b25729d5000012"}
5470
+ MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505218e303b25729d5000011')}).limit(-1).sort([[:_id, :asc]])
5471
+ MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('505218e303b25729d5000011'), :_id=>BSON::ObjectId('505218e303b25729d5000012')}).limit(-1).sort([[:_id, :asc]])
5472
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
5473
+ Redirected to http://test.host/mongo_client/505218e303b25729d5000012/mongo_accounts/505218e303b25729d5000012
5474
+ Completed 302 Found in 4ms (ActiveRecord: 0.1ms)
5475
+  (0.4ms) rollback transaction
5476
+  (0.0ms) begin transaction
5477
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1
5478
+  (0.0ms) SAVEPOINT active_record_1
5479
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", "accountant"], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]
5480
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5481
+ MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505218e303b25729d5000013'), "accountant_id"=>1}])
5482
+ MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505218e303b25729d5000014'), "mongo_client_id"=>BSON::ObjectId('505218e303b25729d5000013'), "created_by_id"=>1}])
5483
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'guest' LIMIT 1
5484
+  (0.0ms) SAVEPOINT active_record_1
5485
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", "guest"], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]
5486
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5487
+ Processing by MongoAccountsController#update as HTML
5488
+ Parameters: {"mongo_account"=>{"name"=>nil}, "mongo_client_id"=>"505218e303b25729d5000013", "id"=>"505218e303b25729d5000014"}
5489
+ MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505218e303b25729d5000013')}).limit(-1).sort([[:_id, :asc]])
5490
+ MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('505218e303b25729d5000013'), :_id=>BSON::ObjectId('505218e303b25729d5000014')}).limit(-1).sort([[:_id, :asc]])
5491
+ Completed 500 Internal Server Error in 2ms
5492
+  (0.4ms) rollback transaction
5493
+  (0.0ms) begin transaction
5494
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1
5495
+  (0.0ms) SAVEPOINT active_record_1
5496
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", "accountant"], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]
5497
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5498
+ MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505218e303b25729d5000015'), "accountant_id"=>1}])
5499
+ MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505218e303b25729d5000016'), "mongo_client_id"=>BSON::ObjectId('505218e303b25729d5000015'), "created_by_id"=>1}])
5500
+ Processing by MongoAccountsController#destroy as HTML
5501
+ Parameters: {"mongo_client_id"=>"505218e303b25729d5000015", "id"=>"505218e303b25729d5000016"}
5502
+ MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505218e303b25729d5000015')}).limit(-1).sort([[:_id, :asc]])
5503
+ MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('505218e303b25729d5000015'), :_id=>BSON::ObjectId('505218e303b25729d5000016')}).limit(-1).sort([[:_id, :asc]])
5504
+ Completed 500 Internal Server Error in 2ms
5505
+  (0.3ms) rollback transaction
5506
+  (0.0ms) begin transaction
5507
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1
5508
+  (0.0ms) SAVEPOINT active_record_1
5509
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", "accountant"], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]
5510
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5511
+ MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505218e303b25729d5000017'), "accountant_id"=>1}])
5512
+ MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505218e303b25729d5000018'), "mongo_client_id"=>BSON::ObjectId('505218e303b25729d5000017'), "created_by_id"=>1}])
5513
+ Processing by MongoAccountsController#index as HTML
5514
+ Parameters: {"mongo_client_id"=>"505218e303b25729d5000017"}
5515
+ MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505218e303b25729d5000017')}).limit(-1).sort([[:_id, :asc]])
5516
+ Completed 500 Internal Server Error in 2ms
5517
+  (0.4ms) rollback transaction
5518
+  (0.0ms) begin transaction
5519
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1
5520
+  (0.0ms) SAVEPOINT active_record_1
5521
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", "accountant"], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]
5522
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5523
+ MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505218e303b25729d5000019'), "accountant_id"=>1}])
5524
+ MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505218e303b25729d500001a'), "mongo_client_id"=>BSON::ObjectId('505218e303b25729d5000019'), "created_by_id"=>1}])
5525
+ Processing by MongoAccountsController#new as HTML
5526
+ Parameters: {"mongo_client_id"=>"505218e303b25729d5000019"}
5527
+ MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505218e303b25729d5000019')}).limit(-1).sort([[:_id, :asc]])
5528
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
5529
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
5530
+ Completed 500 Internal Server Error in 3ms
5531
+  (0.3ms) rollback transaction
5532
+  (0.0ms) begin transaction
5533
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1
5534
+  (0.0ms) SAVEPOINT active_record_1
5535
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", "accountant"], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]
5536
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5537
+ MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505218e303b25729d500001c'), "accountant_id"=>1}])
5538
+ MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505218e303b25729d500001d'), "mongo_client_id"=>BSON::ObjectId('505218e303b25729d500001c'), "created_by_id"=>1}])
5539
+ Processing by MongoAccountsController#show as HTML
5540
+ Parameters: {"mongo_client_id"=>"505218e303b25729d500001c", "id"=>"505218e303b25729d500001d"}
5541
+ MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505218e303b25729d500001c')}).limit(-1).sort([[:_id, :asc]])
5542
+ MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('505218e303b25729d500001c'), :_id=>BSON::ObjectId('505218e303b25729d500001d')}).limit(-1).sort([[:_id, :asc]])
5543
+ Completed 500 Internal Server Error in 2ms
5544
+  (0.3ms) rollback transaction
5545
+  (0.0ms) begin transaction
5546
+ MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505218e303b25729d500001e'), "accountant_id"=>1}])
5547
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
5548
+  (0.0ms) SAVEPOINT active_record_1
5549
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]
5550
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5551
+ MONGODB (0ms) dummy_test['$cmd'].find({"count"=>"mongo_clients", "query"=>{}, "fields"=>nil}).limit(-1)
5552
+ Processing by MongoClientsController#create as HTML
5553
+ Parameters: {"mongo_client"=>{"name"=>nil}}
5554
+ MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505218e303b25729d500001f'), "name"=>nil, "accountant_id"=>1}])
5555
+ Redirected to http://test.host/mongo_clients/505218e303b25729d500001f
5556
+ Completed 302 Found in 2ms (ActiveRecord: 0.0ms)
5557
+ MONGODB (0ms) dummy_test['$cmd'].find({"count"=>"mongo_clients", "query"=>{}, "fields"=>nil}).limit(-1)
5558
+  (0.3ms) rollback transaction
5559
+  (0.0ms) begin transaction
5560
+ MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505218e303b25729d5000020'), "accountant_id"=>1}])
5561
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
5562
+  (0.0ms) SAVEPOINT active_record_1
5563
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]
5564
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5565
+ MONGODB (0ms) dummy_test['$cmd'].find({"count"=>"mongo_clients", "query"=>{}, "fields"=>nil}).limit(-1)
5566
+ Processing by MongoClientsController#destroy as HTML
5567
+ Parameters: {"id"=>"505218e303b25729d5000020"}
5568
+ MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505218e303b25729d5000020')}).limit(-1).sort([[:_id, :asc]])
5569
+ MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505218e303b25729d5000020')}).limit(-1).sort([[:_id, :asc]])
5570
+ MONGODB (0ms) dummy_test['mongo_clients'].remove({:_id=>BSON::ObjectId('505218e303b25729d5000020')})
5571
+ Redirected to http://test.host/mongo_clients
5572
+ Completed 302 Found in 2ms (ActiveRecord: 0.0ms)
5573
+ MONGODB (0ms) dummy_test['$cmd'].find({"count"=>"mongo_clients", "query"=>{}, "fields"=>nil}).limit(-1)
5574
+  (0.3ms) rollback transaction
5575
+  (0.0ms) begin transaction
5576
+ MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505218e303b25729d5000021'), "accountant_id"=>1}])
5577
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
5578
+  (0.0ms) SAVEPOINT active_record_1
5579
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]
5580
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5581
+ Processing by MongoClientsController#edit as HTML
5582
+ Parameters: {"id"=>"505218e303b25729d5000021"}
5583
+ MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505218e303b25729d5000021')}).limit(-1).sort([[:_id, :asc]])
5584
+ Rendered mongo_clients/_form.html.erb (2.0ms)
5585
+ Completed 200 OK in 6ms (Views: 4.7ms | ActiveRecord: 0.0ms)
5586
+  (0.3ms) rollback transaction
5587
+  (0.1ms) begin transaction
5588
+ MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505218e303b25729d5000022'), "accountant_id"=>1}])
5589
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
5590
+  (0.0ms) SAVEPOINT active_record_1
5591
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]
5592
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5593
+ Processing by MongoClientsController#index as HTML
5594
+ MONGODB (2ms) dummy_test['mongo_clients'].find({})
5595
+ Completed 200 OK in 105ms (Views: 104.6ms | ActiveRecord: 0.0ms)
5596
+  (0.4ms) rollback transaction
5597
+  (0.0ms) begin transaction
5598
+ MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505218e303b25729d5000023'), "accountant_id"=>1}])
5599
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
5600
+  (0.0ms) SAVEPOINT active_record_1
5601
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]
5602
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5603
+ Processing by MongoClientsController#new as HTML
5604
+ Rendered mongo_clients/_form.html.erb (1.4ms)
5605
+ Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.0ms)
5606
+  (0.4ms) rollback transaction
5607
+  (0.0ms) begin transaction
5608
+ MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505218e303b25729d5000025'), "accountant_id"=>1}])
5609
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
5610
+  (0.0ms) SAVEPOINT active_record_1
5611
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]
5612
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5613
+ Processing by MongoClientsController#show as HTML
5614
+ Parameters: {"id"=>"505218e303b25729d5000025"}
5615
+ MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505218e303b25729d5000025')}).limit(-1).sort([[:_id, :asc]])
5616
+ Completed 200 OK in 4ms (Views: 2.1ms | ActiveRecord: 0.0ms)
5617
+  (0.4ms) rollback transaction
5618
+  (0.0ms) begin transaction
5619
+ MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505218e303b25729d5000026'), "accountant_id"=>1}])
5620
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
5621
+  (0.0ms) SAVEPOINT active_record_1
5622
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]
5623
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5624
+ Processing by MongoClientsController#update as HTML
5625
+ Parameters: {"mongo_client"=>{"name"=>nil}, "id"=>"505218e303b25729d5000026"}
5626
+ MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505218e303b25729d5000026')}).limit(-1).sort([[:_id, :asc]])
5627
+ Redirected to http://test.host/mongo_clients/505218e303b25729d5000026
5628
+ Completed 302 Found in 3ms (ActiveRecord: 0.0ms)
5629
+  (0.4ms) rollback transaction
5630
+  (0.0ms) begin transaction
5631
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
5632
+  (0.0ms) SAVEPOINT active_record_1
5633
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", :system_admin], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]
5634
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5635
+  (0.4ms) rollback transaction
5636
+  (0.0ms) begin transaction
5637
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1
5638
+  (0.0ms) SAVEPOINT active_record_1
5639
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", :accountant], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]
5640
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5641
+  (0.3ms) rollback transaction
5642
+  (0.0ms) begin transaction
5643
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1
5644
+  (0.0ms) SAVEPOINT active_record_1
5645
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", :accountant], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]
5646
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5647
+  (0.3ms) rollback transaction
5648
+  (0.0ms) begin transaction
5649
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'department_manager' LIMIT 1
5650
+  (0.0ms) SAVEPOINT active_record_1
5651
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", :department_manager], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]
5652
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5653
+  (0.3ms) rollback transaction
5654
+  (0.0ms) begin transaction
5655
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
5656
+  (0.0ms) SAVEPOINT active_record_1
5657
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", :system_admin], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]
5658
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5659
+  (0.2ms) rollback transaction
5660
+  (0.0ms) begin transaction
5661
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'guest' LIMIT 1
5662
+  (0.0ms) SAVEPOINT active_record_1
5663
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", :guest], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]
5664
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5665
+  (0.0ms) SAVEPOINT active_record_1
5666
+ SQL (0.2ms) INSERT INTO "accounts" ("client_id", "created_at", "created_by_id", "name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["client_id", nil], ["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]
5667
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5668
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1
5669
+  (0.0ms) SAVEPOINT active_record_1
5670
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", :accountant], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]
5671
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5672
+  (0.3ms) rollback transaction
5673
+  (0.0ms) begin transaction
5674
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1
5675
+  (0.0ms) SAVEPOINT active_record_1
5676
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", :accountant], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]
5677
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5678
+  (0.0ms) SAVEPOINT active_record_1
5679
+ SQL (0.2ms) INSERT INTO "accounts" ("client_id", "created_at", "created_by_id", "name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["client_id", nil], ["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]
5680
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5681
+  (0.2ms) rollback transaction
5682
+  (0.0ms) begin transaction
5683
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1
5684
+  (0.0ms) SAVEPOINT active_record_1
5685
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", :accountant], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]
5686
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5687
+  (0.2ms) rollback transaction
5688
+  (0.0ms) begin transaction
5689
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1
5690
+  (0.0ms) SAVEPOINT active_record_1
5691
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", :accountant], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]
5692
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5693
+  (0.3ms) rollback transaction
5694
+  (0.0ms) begin transaction
5695
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'department_manager' LIMIT 1
5696
+  (0.0ms) SAVEPOINT active_record_1
5697
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", :department_manager], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]
5698
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5699
+  (0.3ms) rollback transaction
5700
+  (0.0ms) begin transaction
5701
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'guest' LIMIT 1
5702
+  (0.0ms) SAVEPOINT active_record_1
5703
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", :guest], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]
5704
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5705
+  (0.2ms) rollback transaction
5706
+  (0.0ms) begin transaction
5707
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1
5708
+  (0.0ms) SAVEPOINT active_record_1
5709
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", :accountant], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]
5710
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5711
+  (0.2ms) rollback transaction
5712
+  (0.0ms) begin transaction
5713
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
5714
+  (0.0ms) SAVEPOINT active_record_1
5715
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", :system_admin], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]
5716
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5717
+  (0.3ms) rollback transaction
5718
+  (0.0ms) begin transaction
5719
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'guest' LIMIT 1
5720
+  (0.0ms) SAVEPOINT active_record_1
5721
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", :guest], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]
5722
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5723
+  (0.3ms) rollback transaction
5724
+  (0.1ms) begin transaction
5725
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
5726
+  (0.0ms) SAVEPOINT active_record_1
5727
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", :system_admin], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]
5728
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5729
+  (0.2ms) rollback transaction
5730
+  (0.0ms) begin transaction
5731
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'guest' LIMIT 1
5732
+  (0.0ms) SAVEPOINT active_record_1
5733
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", :guest], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]
5734
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5735
+  (0.3ms) rollback transaction
5736
+  (0.0ms) begin transaction
5737
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
5738
+  (0.0ms) SAVEPOINT active_record_1
5739
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", :system_admin], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]
5740
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5741
+  (0.3ms) rollback transaction
5742
+  (0.0ms) begin transaction
5743
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1
5744
+  (0.0ms) SAVEPOINT active_record_1
5745
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", :accountant], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]
5746
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5747
+  (0.2ms) rollback transaction
5748
+  (0.0ms) begin transaction
5749
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
5750
+  (0.0ms) SAVEPOINT active_record_1
5751
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", :system_admin], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]
5752
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5753
+  (0.3ms) rollback transaction
5754
+  (0.0ms) begin transaction
5755
+  (0.0ms) rollback transaction
5756
+  (0.0ms) begin transaction
5757
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'guest' LIMIT 1
5758
+  (0.0ms) SAVEPOINT active_record_1
5759
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", :guest], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]
5760
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5761
+  (0.4ms) rollback transaction
5762
+  (0.0ms) begin transaction
5763
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'blind_man' LIMIT 1
5764
+  (0.0ms) SAVEPOINT active_record_1
5765
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", :blind_man], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]
5766
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5767
+  (0.3ms) rollback transaction
5768
+  (0.0ms) begin transaction
5769
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
5770
+  (0.0ms) SAVEPOINT active_record_1
5771
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", :system_admin], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]
5772
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5773
+  (0.2ms) rollback transaction
5774
+  (0.0ms) begin transaction
5775
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1
5776
+  (0.0ms) SAVEPOINT active_record_1
5777
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", :accountant], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]
5778
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5779
+  (0.3ms) rollback transaction
5780
+  (0.0ms) begin transaction
5781
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1
5782
+  (0.0ms) SAVEPOINT active_record_1
5783
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", :accountant], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]
5784
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5785
+  (0.3ms) rollback transaction
5786
+  (0.0ms) begin transaction
5787
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'department_manager' LIMIT 1
5788
+  (0.0ms) SAVEPOINT active_record_1
5789
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", :department_manager], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]
5790
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5791
+  (0.3ms) rollback transaction
5792
+  (0.0ms) begin transaction
5793
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
5794
+  (0.0ms) SAVEPOINT active_record_1
5795
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", :system_admin], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]
5796
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5797
+  (0.3ms) rollback transaction
5798
+  (0.0ms) begin transaction
5799
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'guest' LIMIT 1
5800
+  (0.0ms) SAVEPOINT active_record_1
5801
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", :guest], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]
5802
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5803
+ MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505218e303b25729d500002f'), "created_by_id"=>1}])
5804
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1
5805
+  (0.0ms) SAVEPOINT active_record_1
5806
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", :accountant], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]
5807
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5808
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
5809
+  (0.2ms) rollback transaction
5810
+  (0.0ms) begin transaction
5811
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1
5812
+  (0.0ms) SAVEPOINT active_record_1
5813
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", :accountant], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]
5814
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5815
+ MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505218e303b25729d5000030'), "created_by_id"=>1}])
5816
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
5817
+  (0.4ms) rollback transaction
5818
+  (0.0ms) begin transaction
5819
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1
5820
+  (0.0ms) SAVEPOINT active_record_1
5821
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", :accountant], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]
5822
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5823
+  (0.3ms) rollback transaction
5824
+  (0.0ms) begin transaction
5825
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1
5826
+  (0.0ms) SAVEPOINT active_record_1
5827
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", :accountant], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]
5828
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5829
+  (0.3ms) rollback transaction
5830
+  (0.0ms) begin transaction
5831
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'department_manager' LIMIT 1
5832
+  (0.0ms) SAVEPOINT active_record_1
5833
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", :department_manager], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]
5834
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5835
+  (0.3ms) rollback transaction
5836
+  (0.0ms) begin transaction
5837
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'guest' LIMIT 1
5838
+  (0.0ms) SAVEPOINT active_record_1
5839
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", :guest], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]
5840
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5841
+  (0.3ms) rollback transaction
5842
+  (0.0ms) begin transaction
5843
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1
5844
+  (0.0ms) SAVEPOINT active_record_1
5845
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", :accountant], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]
5846
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5847
+  (0.2ms) rollback transaction
5848
+  (0.0ms) begin transaction
5849
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
5850
+  (0.0ms) SAVEPOINT active_record_1
5851
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", :system_admin], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]
5852
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5853
+  (0.3ms) rollback transaction
5854
+  (0.0ms) begin transaction
5855
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1
5856
+  (0.0ms) SAVEPOINT active_record_1
5857
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", :accountant], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]
5858
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5859
+  (0.2ms) rollback transaction
5860
+  (0.0ms) begin transaction
5861
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
5862
+  (0.0ms) SAVEPOINT active_record_1
5863
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", :system_admin], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]
5864
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5865
+  (0.2ms) rollback transaction
5866
+  (0.0ms) begin transaction
5867
+  (0.0ms) rollback transaction
5868
+  (0.0ms) begin transaction
5869
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'guest' LIMIT 1
5870
+  (0.0ms) SAVEPOINT active_record_1
5871
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", :guest], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]
5872
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5873
+  (0.3ms) rollback transaction
5874
+  (0.0ms) begin transaction
5875
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'blind_man' LIMIT 1
5876
+  (0.0ms) SAVEPOINT active_record_1
5877
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", :blind_man], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]
5878
+  (0.1ms) RELEASE SAVEPOINT active_record_1
5879
+  (0.3ms) rollback transaction
5880
+  (0.0ms) begin transaction
5881
+  (0.0ms) rollback transaction
5882
+  (0.0ms) begin transaction
5883
+  (0.0ms) rollback transaction
5884
+  (0.0ms) begin transaction
5885
+  (0.0ms) rollback transaction
5886
+  (0.0ms) begin transaction
5887
+  (0.0ms) rollback transaction
5888
+  (0.0ms) begin transaction
5889
+  (0.0ms) rollback transaction
5890
+  (0.0ms) begin transaction
5891
+  (0.0ms) rollback transaction
5892
+  (0.0ms) begin transaction
5893
+  (0.0ms) rollback transaction
5894
+  (0.0ms) begin transaction
5895
+  (0.0ms) rollback transaction
5896
+  (0.0ms) begin transaction
5897
+  (0.0ms) rollback transaction
5898
+  (0.0ms) begin transaction
5899
+  (0.0ms) rollback transaction
5900
+  (0.0ms) begin transaction
5901
+  (0.0ms) rollback transaction
5902
+  (0.0ms) begin transaction
5903
+  (0.0ms) rollback transaction
5904
+  (0.0ms) begin transaction
5905
+  (0.0ms) rollback transaction
5906
+  (0.0ms) begin transaction
5907
+  (0.0ms) rollback transaction
5908
+  (0.0ms) begin transaction
5909
+  (0.0ms) rollback transaction
5910
+  (0.0ms) begin transaction
5911
+  (0.1ms) rollback transaction
5912
+  (0.0ms) begin transaction
5913
+  (0.0ms) rollback transaction
5914
+  (0.0ms) begin transaction
5915
+  (0.0ms) rollback transaction
5916
+  (0.0ms) begin transaction
5917
+ controller belongs_to [:heaven, {:as=>:earth}]
5918
+  (0.0ms) rollback transaction
5919
+  (0.0ms) begin transaction
5920
+ controller belongs_to [:heaven, :hell]
5921
+ controller belongs_to [:earth]
5922
+  (0.0ms) rollback transaction
5923
+  (0.0ms) begin transaction
5924
+ controller belongs_to [:heaven]
5925
+  (0.0ms) rollback transaction
5926
+  (0.0ms) begin transaction
5927
+  (0.0ms) rollback transaction
5928
+  (0.0ms) begin transaction
5929
+  (0.0ms) rollback transaction
5930
+  (0.0ms) begin transaction
5931
+  (0.0ms) rollback transaction
5932
+  (0.0ms) begin transaction
5933
+  (0.0ms) rollback transaction
5934
+  (0.0ms) begin transaction
5935
+  (0.1ms) rollback transaction
5936
+  (0.0ms) begin transaction
5937
+  (0.1ms) rollback transaction
5938
+  (0.0ms) begin transaction
5939
+  (0.1ms) rollback transaction
5940
+  (0.0ms) begin transaction
5941
+  (0.1ms) rollback transaction
5942
+  (0.0ms) begin transaction
5943
+  (0.1ms) rollback transaction
5944
+  (0.0ms) begin transaction
5945
+  (0.1ms) rollback transaction
5946
+  (0.0ms) begin transaction
5947
+  (0.1ms) rollback transaction
5948
+  (0.0ms) begin transaction
5949
+  (0.1ms) rollback transaction
5950
+  (0.0ms) begin transaction
5951
+  (0.1ms) rollback transaction
5952
+  (0.0ms) begin transaction
5953
+  (0.1ms) rollback transaction
5954
+  (0.0ms) begin transaction
5955
+  (0.1ms) rollback transaction
5956
+  (0.0ms) begin transaction
5957
+  (0.1ms) rollback transaction
5958
+  (0.0ms) begin transaction
5959
+  (0.1ms) rollback transaction
5960
+  (0.0ms) begin transaction
5961
+  (0.1ms) rollback transaction
5962
+  (0.0ms) begin transaction
5963
+  (0.1ms) rollback transaction
5964
+  (0.0ms) begin transaction
5965
+  (0.1ms) rollback transaction
5966
+  (0.0ms) begin transaction
5967
+  (0.1ms) rollback transaction
5968
+  (0.0ms) begin transaction
5969
+  (0.1ms) rollback transaction
5970
+  (0.0ms) begin transaction
5971
+  (0.1ms) rollback transaction
5972
+  (0.0ms) begin transaction
5973
+  (0.1ms) rollback transaction
5974
+  (0.0ms) begin transaction
5975
+  (0.1ms) rollback transaction
5976
+  (0.0ms) begin transaction
5977
+  (0.1ms) rollback transaction
5978
+  (0.0ms) begin transaction
5979
+  (0.1ms) rollback transaction
5980
+  (0.0ms) begin transaction
5981
+  (0.1ms) rollback transaction
5982
+  (0.0ms) begin transaction
5983
+  (0.1ms) rollback transaction
5984
+  (0.0ms) begin transaction
5985
+  (0.1ms) rollback transaction
5986
+  (0.0ms) begin transaction
5987
+  (0.1ms) rollback transaction
5988
+  (0.0ms) begin transaction
5989
+ child belongs_to [:parent]
5990
+  (0.0ms) rollback transaction
5991
+  (0.0ms) begin transaction
5992
+ child belongs_to [:parent]
5993
+  (0.0ms) rollback transaction
5994
+  (0.0ms) begin transaction
5995
+ child belongs_to [:parent]
5996
+  (0.0ms) rollback transaction
5997
+  (0.0ms) begin transaction
5998
+ child belongs_to [:parent]
5999
+  (0.0ms) rollback transaction
6000
+  (0.0ms) begin transaction
6001
+ child belongs_to [:parent]
6002
+  (0.0ms) rollback transaction
6003
+  (0.0ms) begin transaction
6004
+ child belongs_to [:parent]
6005
+  (0.0ms) rollback transaction
6006
+  (0.0ms) begin transaction
6007
+ child belongs_to [:parent]
6008
+  (0.0ms) rollback transaction
6009
+  (0.0ms) begin transaction
6010
+  (0.1ms) rollback transaction
6011
+  (0.0ms) begin transaction
6012
+  (0.0ms) rollback transaction
6013
+  (0.0ms) begin transaction
6014
+  (0.0ms) rollback transaction
6015
+  (0.0ms) begin transaction
6016
+  (0.0ms) rollback transaction
6017
+  (0.0ms) begin transaction
6018
+  (0.0ms) rollback transaction
6019
+  (0.0ms) begin transaction
6020
+  (0.0ms) rollback transaction
6021
+  (0.0ms) begin transaction
6022
+  (0.0ms) rollback transaction
6023
+  (0.0ms) begin transaction
6024
+  (0.0ms) rollback transaction
6025
+  (0.0ms) begin transaction
6026
+  (0.0ms) rollback transaction
6027
+  (0.0ms) begin transaction
6028
+  (0.0ms) rollback transaction
6029
+  (0.0ms) begin transaction
6030
+  (0.0ms) rollback transaction
6031
+  (0.0ms) begin transaction
6032
+  (0.0ms) rollback transaction
6033
+  (0.0ms) begin transaction
6034
+  (0.0ms) rollback transaction
6035
+  (0.0ms) begin transaction
6036
+  (0.0ms) rollback transaction
6037
+  (0.0ms) begin transaction
6038
+  (0.0ms) rollback transaction
6039
+  (0.0ms) begin transaction
6040
+  (0.0ms) rollback transaction
6041
+  (0.0ms) begin transaction
6042
+  (0.0ms) rollback transaction
6043
+  (0.0ms) begin transaction
6044
+  (0.0ms) rollback transaction
6045
+  (0.0ms) begin transaction
6046
+  (0.0ms) rollback transaction
6047
+  (0.0ms) begin transaction
6048
+  (0.0ms) rollback transaction
6049
+  (0.0ms) begin transaction
6050
+  (0.0ms) rollback transaction
6051
+  (0.0ms) begin transaction
6052
+  (0.0ms) rollback transaction
6053
+  (0.0ms) begin transaction
6054
+  (0.0ms) rollback transaction
6055
+  (0.0ms) begin transaction
6056
+  (0.0ms) rollback transaction
6057
+  (0.0ms) begin transaction
6058
+  (0.0ms) rollback transaction
6059
+  (0.0ms) begin transaction
6060
+  (0.0ms) rollback transaction
6061
+  (0.0ms) begin transaction
6062
+  (0.0ms) rollback transaction
6063
+  (0.0ms) begin transaction
6064
+  (0.0ms) rollback transaction
6065
+  (0.0ms) begin transaction
6066
+  (0.0ms) rollback transaction
6067
+  (0.0ms) begin transaction
6068
+  (0.0ms) rollback transaction
6069
+  (0.0ms) begin transaction
6070
+  (0.0ms) rollback transaction
6071
+  (0.0ms) begin transaction
6072
+  (0.0ms) rollback transaction
6073
+  (0.0ms) begin transaction
6074
+  (0.0ms) rollback transaction
6075
+  (0.0ms) begin transaction
6076
+  (0.0ms) rollback transaction
6077
+  (0.0ms) begin transaction
6078
+  (0.0ms) rollback transaction
6079
+  (0.0ms) begin transaction
6080
+  (0.0ms) rollback transaction
6081
+  (0.0ms) begin transaction
6082
+  (0.0ms) rollback transaction
6083
+  (0.0ms) begin transaction
6084
+  (0.0ms) rollback transaction
6085
+  (0.0ms) begin transaction
6086
+  (0.0ms) SAVEPOINT active_record_1
6087
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:24 UTC +00:00], ["name", nil], ["updated_at", Thu, 13 Sep 2012 17:33:24 UTC +00:00]]
6088
+  (0.0ms) RELEASE SAVEPOINT active_record_1
6089
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
6090
+  (0.0ms) SAVEPOINT active_record_1
6091
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:24 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 13 Sep 2012 17:33:24 UTC +00:00]]
6092
+  (0.0ms) RELEASE SAVEPOINT active_record_1
6093
+  (0.0ms) SELECT COUNT(*) FROM "users" 
6094
+ Processing by UsersController#create as HTML
6095
+ Parameters: {"user"=>{"name"=>nil}}
6096
+  (0.1ms) SAVEPOINT active_record_1
6097
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:24 UTC +00:00], ["name", nil], ["updated_at", Thu, 13 Sep 2012 17:33:24 UTC +00:00]]
6098
+  (0.0ms) RELEASE SAVEPOINT active_record_1
6099
+ Redirected to http://test.host/users/3
6100
+ Completed 302 Found in 7ms (ActiveRecord: 0.3ms)
6101
+  (0.1ms) SELECT COUNT(*) FROM "users" 
6102
+  (1.6ms) rollback transaction
6103
+  (0.0ms) begin transaction
6104
+  (0.0ms) SAVEPOINT active_record_1
6105
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:24 UTC +00:00], ["name", nil], ["updated_at", Thu, 13 Sep 2012 17:33:24 UTC +00:00]]
6106
+  (0.0ms) RELEASE SAVEPOINT active_record_1
6107
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
6108
+  (0.0ms) SAVEPOINT active_record_1
6109
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:24 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 13 Sep 2012 17:33:24 UTC +00:00]]
6110
+  (0.0ms) RELEASE SAVEPOINT active_record_1
6111
+  (0.1ms) SELECT COUNT(*) FROM "users" 
6112
+ Processing by UsersController#destroy as HTML
6113
+ Parameters: {"id"=>"1"}
6114
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]]
6115
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]]
6116
+  (0.2ms) SAVEPOINT active_record_1
6117
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
6118
+  (0.0ms) RELEASE SAVEPOINT active_record_1
6119
+ Redirected to http://test.host/users
6120
+ Completed 302 Found in 7ms (ActiveRecord: 0.6ms)
6121
+  (0.0ms) SELECT COUNT(*) FROM "users" 
6122
+  (0.4ms) rollback transaction
6123
+  (0.0ms) begin transaction
6124
+  (0.0ms) SAVEPOINT active_record_1
6125
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:24 UTC +00:00], ["name", nil], ["updated_at", Thu, 13 Sep 2012 17:33:24 UTC +00:00]]
6126
+  (0.0ms) RELEASE SAVEPOINT active_record_1
6127
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
6128
+  (0.0ms) SAVEPOINT active_record_1
6129
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:24 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 13 Sep 2012 17:33:24 UTC +00:00]]
6130
+  (0.0ms) RELEASE SAVEPOINT active_record_1
6131
+ Processing by UsersController#edit as HTML
6132
+ Parameters: {"id"=>"1"}
6133
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]]
6134
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]]
6135
+ Rendered users/_form.html.erb (1.9ms)
6136
+ Completed 200 OK in 36ms (Views: 4.8ms | ActiveRecord: 0.1ms)
6137
+  (0.3ms) rollback transaction
6138
+  (0.1ms) begin transaction
6139
+  (0.0ms) SAVEPOINT active_record_1
6140
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:24 UTC +00:00], ["name", nil], ["updated_at", Thu, 13 Sep 2012 17:33:24 UTC +00:00]]
6141
+  (0.0ms) RELEASE SAVEPOINT active_record_1
6142
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
6143
+  (0.0ms) SAVEPOINT active_record_1
6144
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:24 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 13 Sep 2012 17:33:24 UTC +00:00]]
6145
+  (0.0ms) RELEASE SAVEPOINT active_record_1
6146
+ Processing by UsersController#index as HTML
6147
+ User Load (0.1ms) SELECT "users".* FROM "users"
6148
+ Completed 200 OK in 6ms (Views: 3.1ms | ActiveRecord: 0.1ms)
6149
+  (0.3ms) rollback transaction
6150
+  (0.0ms) begin transaction
6151
+  (0.0ms) SAVEPOINT active_record_1
6152
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:24 UTC +00:00], ["name", nil], ["updated_at", Thu, 13 Sep 2012 17:33:24 UTC +00:00]]
6153
+  (0.0ms) RELEASE SAVEPOINT active_record_1
6154
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
6155
+  (0.0ms) SAVEPOINT active_record_1
6156
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:24 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 13 Sep 2012 17:33:24 UTC +00:00]]
6157
+  (0.0ms) RELEASE SAVEPOINT active_record_1
6158
+ Processing by UsersController#new as HTML
6159
+ Rendered users/_form.html.erb (1.3ms)
6160
+ Completed 200 OK in 5ms (Views: 3.3ms | ActiveRecord: 0.0ms)
6161
+  (0.6ms) rollback transaction
6162
+  (0.1ms) begin transaction
6163
+  (0.0ms) SAVEPOINT active_record_1
6164
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:24 UTC +00:00], ["name", nil], ["updated_at", Thu, 13 Sep 2012 17:33:24 UTC +00:00]]
6165
+  (0.0ms) RELEASE SAVEPOINT active_record_1
6166
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
6167
+  (0.0ms) SAVEPOINT active_record_1
6168
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:24 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 13 Sep 2012 17:33:24 UTC +00:00]]
6169
+  (0.0ms) RELEASE SAVEPOINT active_record_1
6170
+ Processing by UsersController#show as HTML
6171
+ Parameters: {"id"=>"1"}
6172
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]]
6173
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]]
6174
+ Completed 200 OK in 5ms (Views: 2.1ms | ActiveRecord: 0.1ms)
6175
+  (0.4ms) rollback transaction
6176
+  (0.0ms) begin transaction
6177
+  (0.0ms) SAVEPOINT active_record_1
6178
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:24 UTC +00:00], ["name", nil], ["updated_at", Thu, 13 Sep 2012 17:33:24 UTC +00:00]]
6179
+  (0.0ms) RELEASE SAVEPOINT active_record_1
6180
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
6181
+  (0.0ms) SAVEPOINT active_record_1
6182
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:24 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 13 Sep 2012 17:33:24 UTC +00:00]]
6183
+  (0.0ms) RELEASE SAVEPOINT active_record_1
6184
+ Processing by UsersController#update as HTML
6185
+ Parameters: {"user"=>{"name"=>nil}, "id"=>"1"}
6186
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]]
6187
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]]
6188
+  (0.0ms) SAVEPOINT active_record_1
6189
+  (0.0ms) RELEASE SAVEPOINT active_record_1
6190
+ Redirected to http://test.host/users/1
6191
+ Completed 302 Found in 5ms (ActiveRecord: 0.2ms)
6192
+  (0.3ms) rollback transaction