test/dummy/log/test.log in adherent-0.1.2 vs test/dummy/log/test.log in adherent-0.1.3
- old
+ new
@@ -89360,5 +89360,3963 @@
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["created_at", Sat, 24 Aug 2013 15:44:49 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:44:49 UTC +00:00]]
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
Completed 200 OK in 8ms (Views: 1.5ms | ActiveRecord: 0.9ms)
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
+Connecting to database specified by database.yml
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mAdherent::Member Exists (70.9ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh1' AND "adherent_members"."organism_id" = 1) LIMIT 1[0m
+ [1m[35mSQL (30.5ms)[0m INSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["birthdate", nil], ["created_at", Sun, 25 Aug 2013 06:31:26 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "Adh1"], ["organism_id", 1], ["updated_at", Sun, 25 Aug 2013 06:31:26 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (28.6ms)[0m [1mINSERT INTO "adherent_coords" ("address", "city", "created_at", "gsm", "mail", "member_id", "office", "tel", "updated_at", "zip") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id"[0m [["address", nil], ["city", "Lille"], ["created_at", Sun, 25 Aug 2013 06:31:26 UTC +00:00], ["gsm", nil], ["mail", nil], ["member_id", 15], ["office", nil], ["tel", nil], ["updated_at", Sun, 25 Aug 2013 06:31:26 UTC +00:00], ["zip", 59000]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mAdherent::Coord Load (0.6ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 15 LIMIT 1[0m
+ [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "adherent_coords"
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (10.1ms)[0m DELETE FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 [["id", 1]]
+ [1m[36mSQL (0.3ms)[0m [1mDELETE FROM "adherent_members" WHERE "adherent_members"."id" = $1[0m [["id", 15]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "adherent_coords" [0m
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36mOrganism Load (15.8ms)[0m [1mSELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mSQL (12.5ms)[0m [1mINSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["created_at", Sun, 25 Aug 2013 06:31:27 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sun, 25 Aug 2013 06:31:27 UTC +00:00]]
+ [1m[35m (1.1ms)[0m COMMIT
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Exists (0.3ms)[0m SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 42) LIMIT 1
+ [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["birthdate", nil], ["created_at", Sun, 25 Aug 2013 06:31:27 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 42], ["updated_at", Sun, 25 Aug 2013 06:31:27 UTC +00:00]]
+ [1m[35m (22.9ms)[0m COMMIT
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Exists (0.3ms)[0m SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 42) LIMIT 1
+ [1m[36mSQL (2.0ms)[0m [1mINSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["birthdate", nil], ["created_at", Sun, 25 Aug 2013 06:31:27 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 42], ["updated_at", Sun, 25 Aug 2013 06:31:27 UTC +00:00]]
+ [1m[35m (0.8ms)[0m COMMIT
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Exists (4.7ms)[0m SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 42) LIMIT 1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["birthdate", nil], ["created_at", Sun, 25 Aug 2013 06:31:27 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 42], ["updated_at", Sun, 25 Aug 2013 06:31:27 UTC +00:00]]
+ [1m[35m (0.5ms)[0m COMMIT
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Exists (0.3ms)[0m SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh003' AND "adherent_members"."organism_id" = 42) LIMIT 1
+ [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["birthdate", nil], ["created_at", Sun, 25 Aug 2013 06:31:27 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 42], ["updated_at", Sun, 25 Aug 2013 06:31:27 UTC +00:00]]
+ [1m[35m (0.8ms)[0m COMMIT
+ [1m[36m (3.5ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Exists (0.5ms)[0m SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh004' AND "adherent_members"."organism_id" = 42) LIMIT 1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["birthdate", nil], ["created_at", Sun, 25 Aug 2013 06:31:27 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 42], ["updated_at", Sun, 25 Aug 2013 06:31:27 UTC +00:00]]
+ [1m[35m (0.8ms)[0m COMMIT
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" [0m
+Started GET "/adherent/members" for 127.0.0.1 at 2013-08-25 08:32:01 +0200
+Processing by Adherent::MembersController#index as HTML
+ [1m[35mOrganism Load (3.3ms)[0m SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1
+ [1m[36mAdherent::Member Load (0.4ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 42[0m
+ [1m[35mAdherent::Adhesion Load (27.0ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 16 ORDER BY to_date
+ [1m[36mAdherent::Coord Load (0.8ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 16 LIMIT 1[0m
+ [1m[35mAdherent::Adhesion Load (0.5ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 17 ORDER BY to_date
+ [1m[36mAdherent::Coord Load (0.5ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 17 LIMIT 1[0m
+ [1m[35mAdherent::Adhesion Load (0.5ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 18 ORDER BY to_date
+ [1m[36mAdherent::Coord Load (0.4ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 18 LIMIT 1[0m
+ [1m[35mAdherent::Adhesion Load (0.4ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 19 ORDER BY to_date
+ [1m[36mAdherent::Coord Load (0.0ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 19 LIMIT 1[0m
+ [1m[35mAdherent::Adhesion Load (0.5ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 20 ORDER BY to_date
+ [1m[36mAdherent::Coord Load (0.2ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 20 LIMIT 1[0m
+ Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/index.html.erb within layouts/adherent/application (194.5ms)
+ Rendered layouts/adherent/_header.html.haml (1.7ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (2.7ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (1.4ms)
+Completed 200 OK in 396ms (Views: 290.6ms | ActiveRecord: 62.0ms)
+Started GET "/assets/adherent/application.css" for 127.0.0.1 at 2013-08-25 08:32:02 +0200
+Compiled jquery.ui.core.css (2ms) (pid 4287)
+Compiled jquery.ui.theme.css (16ms) (pid 4287)
+Compiled jquery.ui.datepicker.css (187ms) (pid 4287)
+Compiled adherent/adhesion.css (0ms) (pid 4287)
+Compiled adherent/bootstrap.css (0ms) (pid 4287)
+Compiled adherent/coords.css (1ms) (pid 4287)
+Compiled adherent/date_picker.css (0ms) (pid 4287)
+Compiled adherent/jc_application.css (1353ms) (pid 4287)
+Compiled adherent/jcmenu.css (0ms) (pid 4287)
+Compiled adherent/layouts.css (17ms) (pid 4287)
+Compiled adherent/members.css (0ms) (pid 4287)
+Compiled adherent/old_bootstrap.css (0ms) (pid 4287)
+Compiled adherent/payments.css (0ms) (pid 4287)
+Compiled adherent/reglements.css (0ms) (pid 4287)
+Compiled adherent/application.css (3401ms) (pid 4287)
+Served asset /adherent/application.css - 200 OK (3531ms)
+Started GET "/assets/adherent/application.js" for 127.0.0.1 at 2013-08-25 08:32:06 +0200
+Compiled jquery.js (9ms) (pid 4287)
+Compiled jquery_ujs.js (0ms) (pid 4287)
+Compiled jquery.ui.core.js (0ms) (pid 4287)
+Compiled jquery.ui.datepicker.js (118ms) (pid 4287)
+Compiled adherent/adhesion.js (0ms) (pid 4287)
+Compiled adherent/bootstrap.js (6ms) (pid 4287)
+Compiled adherent/coords.js (0ms) (pid 4287)
+Compiled adherent/date_picker.js (0ms) (pid 4287)
+Compiled adherent/members.js (0ms) (pid 4287)
+Compiled adherent/payments.js (0ms) (pid 4287)
+Compiled adherent/reglements.js (1ms) (pid 4287)
+Compiled adherent/application.js (1687ms) (pid 4287)
+Served asset /adherent/application.js - 200 OK (2137ms)
+Started GET "/assets/adherent/icones/home.png" for 127.0.0.1 at 2013-08-25 08:32:08 +0200
+Served asset /adherent/icones/home.png - 200 OK (940ms)
+Started GET "/assets/adherent/icones/modifier.png" for 127.0.0.1 at 2013-08-25 08:32:09 +0200
+Served asset /adherent/icones/modifier.png - 200 OK (172ms)
+Started GET "/assets/adherent/icones/bandaid.png" for 127.0.0.1 at 2013-08-25 08:32:09 +0200
+Served asset /adherent/icones/bandaid.png - 200 OK (217ms)
+Started GET "/assets/adherent/icones/payment.png" for 127.0.0.1 at 2013-08-25 08:32:09 +0200
+Served asset /adherent/icones/payment.png - 200 OK (239ms)
+Started GET "/assets/adherent/icones/card-address.png" for 127.0.0.1 at 2013-08-25 08:32:10 +0200
+Served asset /adherent/icones/card-address.png - 200 OK (170ms)
+Started GET "/assets/adherent/icones/user-plus.png" for 127.0.0.1 at 2013-08-25 08:32:10 +0200
+Served asset /adherent/icones/user-plus.png - 200 OK (153ms)
+Started GET "/assets/adherent/icones/supprimer.png" for 127.0.0.1 at 2013-08-25 08:32:10 +0200
+Served asset /adherent/icones/supprimer.png - 200 OK (695ms)
+Started DELETE "/adherent/members/16" for 127.0.0.1 at 2013-08-25 08:32:18 +0200
+Processing by Adherent::MembersController#destroy as HTML
+ Parameters: {"id"=>"16"}
+ [1m[35mOrganism Load (0.4ms)[0m SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1
+ [1m[36mAdherent::Member Load (23.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "16"]]
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mAdherent::Coord Load (0.3ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 16 LIMIT 1[0m
+ [1m[35mSQL (93.3ms)[0m DELETE FROM "adherent_members" WHERE "adherent_members"."id" = $1 [["id", 16]]
+ [1m[36m (88.9ms)[0m [1mCOMMIT[0m
+Redirected to http://127.0.0.1:35257/adherent/members
+Completed 302 Found in 213ms (ActiveRecord: 206.3ms)
+Started GET "/adherent/members" for 127.0.0.1 at 2013-08-25 08:32:19 +0200
+Processing by Adherent::MembersController#index as HTML
+ [1m[35mOrganism Load (0.3ms)[0m SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 42[0m
+ [1m[35mAdherent::Adhesion Load (0.4ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 17 ORDER BY to_date
+ [1m[36mAdherent::Coord Load (0.2ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 17 LIMIT 1[0m
+ [1m[35mAdherent::Adhesion Load (0.3ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 18 ORDER BY to_date
+ [1m[36mAdherent::Coord Load (0.4ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 18 LIMIT 1[0m
+ [1m[35mAdherent::Adhesion Load (0.4ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 19 ORDER BY to_date
+ [1m[36mAdherent::Coord Load (0.2ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 19 LIMIT 1[0m
+ [1m[35mAdherent::Adhesion Load (0.4ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 20 ORDER BY to_date
+ [1m[36mAdherent::Coord Load (0.2ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 20 LIMIT 1[0m
+ Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/index.html.erb within layouts/adherent/application (24.7ms)
+ Rendered layouts/adherent/_header.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.2ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms)
+Completed 200 OK in 35ms (Views: 29.0ms | ActiveRecord: 3.1ms)
+ [1m[35m (1.1ms)[0m SELECT COUNT(*) FROM "adherent_members"
+ [1m[36m (262.2ms)[0m [1mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "organisms" DISABLE TRIGGER ALL[0m
+ [1m[35m (343.6ms)[0m select table_name from information_schema.views where table_schema = 'adh_test'
+ [1m[36m (1580.4ms)[0m [1mTRUNCATE TABLE "adherent_adhesions", "adherent_payments", "adherent_coords", "adherent_reglements", "adherent_members", "organisms" RESTART IDENTITY CASCADE;[0m
+ [1m[35m (0.7ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "organisms" ENABLE TRIGGER ALL
+ [1m[36mOrganism Load (13.4ms)[0m [1mSELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1[0m
+ [1m[35m (1.3ms)[0m BEGIN
+ [1m[36mSQL (61.0ms)[0m [1mINSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["created_at", Sun, 25 Aug 2013 06:32:22 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sun, 25 Aug 2013 06:32:22 UTC +00:00]]
+ [1m[35m (16.0ms)[0m COMMIT
+ [1m[36m (1.5ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Exists (0.4ms)[0m SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 1) LIMIT 1
+ [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["birthdate", nil], ["created_at", Sun, 25 Aug 2013 06:32:22 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 1], ["updated_at", Sun, 25 Aug 2013 06:32:22 UTC +00:00]]
+ [1m[35m (126.0ms)[0m COMMIT
+ [1m[36m (0.2ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Exists (0.6ms)[0m SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 1) LIMIT 1
+ [1m[36mSQL (1.6ms)[0m [1mINSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["birthdate", nil], ["created_at", Sun, 25 Aug 2013 06:32:22 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 1], ["updated_at", Sun, 25 Aug 2013 06:32:22 UTC +00:00]]
+ [1m[35m (18.9ms)[0m COMMIT
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Exists (0.3ms)[0m SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 1) LIMIT 1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["birthdate", nil], ["created_at", Sun, 25 Aug 2013 06:32:22 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 1], ["updated_at", Sun, 25 Aug 2013 06:32:22 UTC +00:00]]
+ [1m[35m (11.1ms)[0m COMMIT
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Exists (0.3ms)[0m SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh003' AND "adherent_members"."organism_id" = 1) LIMIT 1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["birthdate", nil], ["created_at", Sun, 25 Aug 2013 06:32:22 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 1], ["updated_at", Sun, 25 Aug 2013 06:32:22 UTC +00:00]]
+ [1m[35m (1.5ms)[0m COMMIT
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Exists (0.4ms)[0m SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh004' AND "adherent_members"."organism_id" = 1) LIMIT 1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["birthdate", nil], ["created_at", Sun, 25 Aug 2013 06:32:22 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 1], ["updated_at", Sun, 25 Aug 2013 06:32:22 UTC +00:00]]
+ [1m[35m (3.3ms)[0m COMMIT
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" [0m
+ [1m[35m (0.2ms)[0m BEGIN
+ [1m[36mSQL (44.6ms)[0m [1mINSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["amount", #<BigDecimal:b68c0d8c,'0.5432E2',18(45)>], ["created_at", Sun, 25 Aug 2013 06:32:22 UTC +00:00], ["date", Sun, 25 Aug 2013], ["member_id", 1], ["mode", "Chèque"], ["updated_at", Sun, 25 Aug 2013 06:32:22 UTC +00:00]]
+ [1m[35mAdherent::Member Load (0.4ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 1 LIMIT 1
+ [1m[36mAdherent::Adhesion Load (0.5ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 1 ORDER BY to_date[0m
+ [1m[35m (3.4ms)[0m COMMIT
+Started GET "/adherent/members/1/payments" for 127.0.0.1 at 2013-08-25 08:32:23 +0200
+Processing by Adherent::PaymentsController#index as HTML
+ Parameters: {"member_id"=>"1"}
+ [1m[36mOrganism Load (4.0ms)[0m [1mSELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1[0m
+ [1m[35mAdherent::Member Load (6.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "1"]]
+ [1m[36mAdherent::Payment Load (0.2ms)[0m [1mSELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 1[0m
+ [1m[35mAdherent::Reglement Load (0.1ms)[0m SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 1
+ [1m[36mAdherent::Reglement Load (0.3ms)[0m [1mSELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 1[0m
+ [1m[35m (51.1ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 1
+ [1m[36mAdherent::Reglement Load (2.4ms)[0m [1mSELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 1[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 1
+ Rendered layouts/adherent/_header.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms)
+Completed 200 OK in 160ms (Views: 79.9ms | ActiveRecord: 67.3ms)
+Started GET "/assets/adherent/icones/users.png" for 127.0.0.1 at 2013-08-25 08:32:23 +0200
+Served asset /adherent/icones/users.png - 200 OK (230ms)
+Started GET "/assets/adherent/icones/money-plus.png" for 127.0.0.1 at 2013-08-25 08:32:23 +0200
+Served asset /adherent/icones/money-plus.png - 200 OK (304ms)
+Started GET "/assets/adherent/icones/imputation.png" for 127.0.0.1 at 2013-08-25 08:32:23 +0200
+Served asset /adherent/icones/imputation.png - 200 OK (116ms)
+Started DELETE "/adherent/members/1/payments/1" for 127.0.0.1 at 2013-08-25 08:32:24 +0200
+Processing by Adherent::PaymentsController#destroy as HTML
+ Parameters: {"member_id"=>"1", "id"=>"1"}
+ [1m[36mOrganism Load (0.4ms)[0m [1mSELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1[0m
+ [1m[35mAdherent::Member Load (3.5ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "1"]]
+ [1m[36mAdherent::Payment Load (19.4ms)[0m [1mSELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 1 AND "adherent_payments"."id" = $1 LIMIT 1[0m [["id", "1"]]
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mAdherent::Reglement Load (6.7ms)[0m [1mSELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 1[0m
+ [1m[35mSQL (7.2ms)[0m DELETE FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 [["id", 1]]
+ [1m[36m (13.5ms)[0m [1mCOMMIT[0m
+Redirected to http://127.0.0.1:35257/adherent/members/1/payments
+Completed 302 Found in 72ms (ActiveRecord: 50.8ms)
+Started GET "/adherent/members/1/payments" for 127.0.0.1 at 2013-08-25 08:32:24 +0200
+Processing by Adherent::PaymentsController#index as HTML
+ Parameters: {"member_id"=>"1"}
+ [1m[35mOrganism Load (0.4ms)[0m SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "1"]]
+ [1m[35mAdherent::Payment Load (0.8ms)[0m SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 1
+ Rendered layouts/adherent/_header.html.haml (0.0ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms)
+Completed 200 OK in 16ms (Views: 12.1ms | ActiveRecord: 1.4ms)
+ [1m[36m (0.7ms)[0m [1mSELECT COUNT(*) FROM "adherent_payments" [0m
+ [1m[35m (0.6ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "organisms" DISABLE TRIGGER ALL
+ [1m[36m (440.8ms)[0m [1mTRUNCATE TABLE "adherent_adhesions", "adherent_payments", "adherent_coords", "adherent_reglements", "adherent_members", "organisms" RESTART IDENTITY CASCADE;[0m
+ [1m[35m (0.7ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "organisms" ENABLE TRIGGER ALL
+ [1m[36mOrganism Load (0.5ms)[0m [1mSELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mSQL (42.4ms)[0m [1mINSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["created_at", Sun, 25 Aug 2013 06:32:26 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sun, 25 Aug 2013 06:32:26 UTC +00:00]]
+ [1m[35m (28.6ms)[0m COMMIT
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Exists (0.4ms)[0m SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 1) LIMIT 1
+ [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["birthdate", nil], ["created_at", Sun, 25 Aug 2013 06:32:26 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 1], ["updated_at", Sun, 25 Aug 2013 06:32:26 UTC +00:00]]
+ [1m[35m (25.0ms)[0m COMMIT
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Exists (0.4ms)[0m SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 1) LIMIT 1
+ [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["birthdate", nil], ["created_at", Sun, 25 Aug 2013 06:32:26 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 1], ["updated_at", Sun, 25 Aug 2013 06:32:26 UTC +00:00]]
+ [1m[35m (8.0ms)[0m COMMIT
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Exists (0.3ms)[0m SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 1) LIMIT 1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["birthdate", nil], ["created_at", Sun, 25 Aug 2013 06:32:26 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 1], ["updated_at", Sun, 25 Aug 2013 06:32:26 UTC +00:00]]
+ [1m[35m (12.2ms)[0m COMMIT
+ [1m[36m (1.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Exists (0.3ms)[0m SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh003' AND "adherent_members"."organism_id" = 1) LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["birthdate", nil], ["created_at", Sun, 25 Aug 2013 06:32:26 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 1], ["updated_at", Sun, 25 Aug 2013 06:32:26 UTC +00:00]]
+ [1m[35m (1.2ms)[0m COMMIT
+ [1m[36m (0.4ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Exists (0.3ms)[0m SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh004' AND "adherent_members"."organism_id" = 1) LIMIT 1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["birthdate", nil], ["created_at", Sun, 25 Aug 2013 06:32:26 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 1], ["updated_at", Sun, 25 Aug 2013 06:32:26 UTC +00:00]]
+ [1m[35m (16.2ms)[0m COMMIT
+ [1m[36mAdherent::Member Load (0.4ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" [0m
+ [1m[35mAdherent::Adhesion Load (0.4ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 1
+ [1m[36mAdherent::Adhesion Load (0.5ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 1 ORDER BY to_date DESC LIMIT 1[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mSQL (1.5ms)[0m [1mINSERT INTO "adherent_adhesions" ("amount", "created_at", "from_date", "member_id", "to_date", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["amount", #<BigDecimal:a08e5bc,'0.0',9(36)>], ["created_at", Sun, 25 Aug 2013 06:32:26 UTC +00:00], ["from_date", Sun, 25 Aug 2013], ["member_id", 1], ["to_date", Sun, 24 Aug 2014], ["updated_at", Sun, 25 Aug 2013 06:32:26 UTC +00:00]]
+ [1m[35m (14.6ms)[0m COMMIT
+Started GET "/adherent/members/1/adhesions" for 127.0.0.1 at 2013-08-25 08:32:26 +0200
+Processing by Adherent::AdhesionsController#index as HTML
+ Parameters: {"member_id"=>"1"}
+ [1m[36mOrganism Load (0.5ms)[0m [1mSELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1[0m
+ [1m[35mAdherent::Member Load (0.5ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "1"]]
+ [1m[36m (0.5ms)[0m [1mSELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 1[0m
+ [1m[35mAdherent::Adhesion Load (0.4ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 1
+ [1m[36m (0.5ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 1[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 1
+ Rendered layouts/adherent/_header.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms)
+Completed 200 OK in 73ms (Views: 55.1ms | ActiveRecord: 2.4ms)
+Started GET "/assets/adherent/icones/nouveau.png" for 127.0.0.1 at 2013-08-25 08:32:26 +0200
+Served asset /adherent/icones/nouveau.png - 200 OK (99ms)
+Started DELETE "/adherent/members/1/adhesions/1" for 127.0.0.1 at 2013-08-25 08:32:27 +0200
+Processing by Adherent::AdhesionsController#destroy as HTML
+ Parameters: {"member_id"=>"1", "id"=>"1"}
+ [1m[36mOrganism Load (0.7ms)[0m [1mSELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1[0m
+ [1m[35mAdherent::Member Load (3.1ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "1"]]
+ [1m[36mAdherent::Adhesion Load (10.1ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 1 AND "adherent_adhesions"."id" = $1 LIMIT 1[0m [["id", "1"]]
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mSQL (0.5ms)[0m [1mDELETE FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1[0m [["id", 1]]
+ [1m[35m (66.8ms)[0m COMMIT
+Redirected to http://127.0.0.1:35257/adherent/members/1/adhesions
+Completed 302 Found in 117ms (ActiveRecord: 81.2ms)
+Started GET "/adherent/members/1/adhesions" for 127.0.0.1 at 2013-08-25 08:32:27 +0200
+Processing by Adherent::AdhesionsController#index as HTML
+ Parameters: {"member_id"=>"1"}
+ [1m[36mOrganism Load (2.6ms)[0m [1mSELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1[0m
+ [1m[35mAdherent::Member Load (0.4ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "1"]]
+ [1m[36m (0.7ms)[0m [1mSELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 1[0m
+Redirected to http://127.0.0.1:35257/adherent/members/1/adhesions/new
+Completed 302 Found in 12ms (ActiveRecord: 3.7ms)
+Started GET "/adherent/members/1/adhesions/new" for 127.0.0.1 at 2013-08-25 08:32:27 +0200
+Processing by Adherent::AdhesionsController#new as HTML
+ Parameters: {"member_id"=>"1"}
+ [1m[35mOrganism Load (0.3ms)[0m SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "1"]]
+ [1m[35mAdherent::Adhesion Load (0.2ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 1
+ [1m[36mAdherent::Adhesion Load (0.9ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 1 ORDER BY to_date DESC LIMIT 1[0m
+ [1m[35m (1.6ms)[0m SELECT COUNT(*) FROM "adherent_adhesions"
+ [1m[36m (3.7ms)[0m [1mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "organisms" DISABLE TRIGGER ALL[0m
+ Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (1102.3ms)
+ Rendered layouts/adherent/_header.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms)
+Completed 200 OK in 1146ms (Views: 1138.3ms | ActiveRecord: 1.7ms)
+ [1m[35m (569.6ms)[0m TRUNCATE TABLE "adherent_adhesions", "adherent_payments", "adherent_coords", "adherent_reglements", "adherent_members", "organisms" RESTART IDENTITY CASCADE;
+ [1m[36m (2.9ms)[0m [1mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "organisms" ENABLE TRIGGER ALL[0m
+Started GET "/assets/adherent/cal.gif" for 127.0.0.1 at 2013-08-25 08:32:29 +0200
+Served asset /adherent/cal.gif - 200 OK (425ms)
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mCOMMIT[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mOrganism Load (0.8ms)[0m [1mSELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1[0m
+ [1m[35m (2.6ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (1.2ms)[0m [1mINSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["created_at", Sun, 25 Aug 2013 06:32:29 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sun, 25 Aug 2013 06:32:29 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mAdherent::Member Exists (0.4ms)[0m SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 1) LIMIT 1
+ [1m[36mSQL (0.7ms)[0m [1mINSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["birthdate", nil], ["created_at", Sun, 25 Aug 2013 06:32:29 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 1], ["updated_at", Sun, 25 Aug 2013 06:32:29 UTC +00:00]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mAdherent::Member Exists (0.3ms)[0m SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 1) LIMIT 1
+ [1m[36mSQL (1.0ms)[0m [1mINSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["birthdate", nil], ["created_at", Sun, 25 Aug 2013 06:32:29 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 1], ["updated_at", Sun, 25 Aug 2013 06:32:29 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mAdherent::Member Exists (0.4ms)[0m SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 1) LIMIT 1
+ [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["birthdate", nil], ["created_at", Sun, 25 Aug 2013 06:32:29 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 1], ["updated_at", Sun, 25 Aug 2013 06:32:29 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" [0m
+ [1m[35mAdherent::Adhesion Load (0.3ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 1
+ [1m[36mAdherent::Adhesion Load (0.3ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 1 ORDER BY to_date DESC LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "adherent_adhesions" ("amount", "created_at", "from_date", "member_id", "to_date", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["amount", #<BigDecimal:b68c0508,'0.5E2',9(36)>], ["created_at", Sun, 25 Aug 2013 06:32:29 UTC +00:00], ["from_date", Sun, 25 Aug 2013], ["member_id", 1], ["to_date", Sun, 24 Aug 2014], ["updated_at", Sun, 25 Aug 2013 06:32:29 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (1.1ms)[0m [1mSELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 1[0m
+Started GET "/adherent/members/1/payments/new" for 127.0.0.1 at 2013-08-25 08:32:31 +0200
+Processing by Adherent::PaymentsController#new as HTML
+ Parameters: {"member_id"=>"1"}
+ [1m[35mOrganism Load (1.1ms)[0m SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1
+ [1m[36mAdherent::Member Load (0.6ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "1"]]
+ [1m[35mAdherent::Adhesion Load (84.7ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 1 ORDER BY to_date
+ [1m[36m (0.5ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 1[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 1
+ Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (80.6ms)
+ Rendered layouts/adherent/_header.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms)
+Completed 200 OK in 224ms (Views: 127.3ms | ActiveRecord: 88.3ms)
+Started POST "/adherent/members/1/payments" for 127.0.0.1 at 2013-08-25 08:32:31 +0200
+Processing by Adherent::PaymentsController#create as HTML
+ Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"50", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"1"}
+ [1m[36mOrganism Load (0.7ms)[0m [1mSELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1[0m
+ [1m[35mAdherent::Member Load (0.5ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "1"]]
+ [1m[36m (1.4ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (1.5ms)[0m INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #<BigDecimal:a399be4,'0.5E2',9(18)>], ["created_at", Sun, 25 Aug 2013 06:32:31 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 1], ["mode", "CB"], ["updated_at", Sun, 25 Aug 2013 06:32:31 UTC +00:00]]
+ [1m[36mAdherent::Member Load (2.8ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 1 LIMIT 1[0m
+ [1m[35mAdherent::Adhesion Load (0.2ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 1 ORDER BY to_date
+ [1m[36m (1.1ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 1[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 1
+ [1m[36mSQL (1.5ms)[0m [1mINSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["adhesion_id", 1], ["amount", #<BigDecimal:a3a49a4,'0.5E2',9(18)>], ["created_at", Sun, 25 Aug 2013 06:32:32 UTC +00:00], ["payment_id", 1], ["updated_at", Sun, 25 Aug 2013 06:32:32 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+Redirected to http://www.example.com/adherent/members/1/payments
+Completed 302 Found in 49ms (ActiveRecord: 9.9ms)
+Started GET "/adherent/members/1/payments" for 127.0.0.1 at 2013-08-25 08:32:32 +0200
+Processing by Adherent::PaymentsController#index as HTML
+ Parameters: {"member_id"=>"1"}
+ [1m[36mOrganism Load (0.4ms)[0m [1mSELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1[0m
+ [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "1"]]
+ [1m[36mAdherent::Payment Load (0.6ms)[0m [1mSELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 1[0m
+ [1m[35mAdherent::Reglement Load (1.6ms)[0m SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 1
+ [1m[36mAdherent::Adhesion Load (6.1ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 1 LIMIT 1[0m
+ [1m[35mAdherent::Member Load (0.5ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 1 LIMIT 1
+ [1m[36mAdherent::Reglement Load (0.3ms)[0m [1mSELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 1[0m
+ [1m[35m (0.2ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 1
+ [1m[36mAdherent::Reglement Load (0.2ms)[0m [1mSELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 1[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 1
+ Rendered layouts/adherent/_header.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.0ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms)
+Completed 200 OK in 47ms (Views: 34.7ms | ActiveRecord: 10.3ms)
+ [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 1[0m
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.2ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m COMMIT
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mOrganism Load (0.4ms)[0m SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (1.1ms)[0m INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sun, 25 Aug 2013 06:32:32 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sun, 25 Aug 2013 06:32:32 UTC +00:00]]
+ [1m[36m (0.8ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mAdherent::Member Exists (2.6ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 2) LIMIT 1[0m
+ [1m[35mSQL (0.8ms)[0m INSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["birthdate", nil], ["created_at", Sun, 25 Aug 2013 06:32:32 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 2], ["updated_at", Sun, 25 Aug 2013 06:32:32 UTC +00:00]]
+ [1m[36m (1.3ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (2.4ms)[0m SAVEPOINT active_record_1
+ [1m[36mAdherent::Member Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 2) LIMIT 1[0m
+ [1m[35mSQL (5.5ms)[0m INSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["birthdate", nil], ["created_at", Sun, 25 Aug 2013 06:32:32 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 2], ["updated_at", Sun, 25 Aug 2013 06:32:32 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mAdherent::Member Exists (0.6ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 2) LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["birthdate", nil], ["created_at", Sun, 25 Aug 2013 06:32:32 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 2], ["updated_at", Sun, 25 Aug 2013 06:32:32 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members"
+ [1m[36mAdherent::Adhesion Load (0.3ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 4[0m
+ [1m[35mAdherent::Adhesion Load (0.2ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 4 ORDER BY to_date DESC LIMIT 1
+ [1m[36m (4.5ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (3.7ms)[0m INSERT INTO "adherent_adhesions" ("amount", "created_at", "from_date", "member_id", "to_date", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #<BigDecimal:b3dda00,'0.5E2',9(36)>], ["created_at", Sun, 25 Aug 2013 06:32:32 UTC +00:00], ["from_date", Sun, 25 Aug 2013], ["member_id", 4], ["to_date", Sun, 24 Aug 2014], ["updated_at", Sun, 25 Aug 2013 06:32:32 UTC +00:00]]
+ [1m[36m (0.3ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/adherent/members/4/payments/new" for 127.0.0.1 at 2013-08-25 08:32:32 +0200
+Processing by Adherent::PaymentsController#new as HTML
+ Parameters: {"member_id"=>"4"}
+ [1m[35mOrganism Load (1.3ms)[0m SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1
+ [1m[36mAdherent::Member Load (1.0ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "4"]]
+ [1m[35mAdherent::Adhesion Load (0.3ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 4 ORDER BY to_date
+ [1m[36m (0.3ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 2[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 2
+ Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (6.5ms)
+ Rendered layouts/adherent/_header.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms)
+Completed 200 OK in 19ms (Views: 10.3ms | ActiveRecord: 2.9ms)
+Started POST "/adherent/members/4/payments" for 127.0.0.1 at 2013-08-25 08:32:32 +0200
+Processing by Adherent::PaymentsController#create as HTML
+ Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"50", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"4"}
+ [1m[36mOrganism Load (0.3ms)[0m [1mSELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1[0m
+ [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "4"]]
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.5ms)[0m INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #<BigDecimal:b67dc31c,'0.5E2',9(18)>], ["created_at", Sun, 25 Aug 2013 06:32:32 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 4], ["mode", "CB"], ["updated_at", Sun, 25 Aug 2013 06:32:32 UTC +00:00]]
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 4 LIMIT 1[0m
+ [1m[35mAdherent::Adhesion Load (0.4ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 4 ORDER BY to_date
+ [1m[36m (0.2ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 2[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 2
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["adhesion_id", 2], ["amount", #<BigDecimal:b6807c38,'0.5E2',9(18)>], ["created_at", Sun, 25 Aug 2013 06:32:32 UTC +00:00], ["payment_id", 2], ["updated_at", Sun, 25 Aug 2013 06:32:32 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+Redirected to http://www.example.com/adherent/members/4/payments
+Completed 302 Found in 12ms (ActiveRecord: 2.6ms)
+Started GET "/adherent/members/4/payments" for 127.0.0.1 at 2013-08-25 08:32:32 +0200
+Processing by Adherent::PaymentsController#index as HTML
+ Parameters: {"member_id"=>"4"}
+ [1m[36mOrganism Load (0.4ms)[0m [1mSELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1[0m
+ [1m[35mAdherent::Member Load (0.4ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "4"]]
+ [1m[36mAdherent::Payment Load (0.3ms)[0m [1mSELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 4[0m
+ [1m[35mAdherent::Reglement Load (0.6ms)[0m SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 2
+ [1m[36mAdherent::Adhesion Load (0.3ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 2 LIMIT 1[0m
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 4 LIMIT 1
+ [1m[36mAdherent::Reglement Load (0.2ms)[0m [1mSELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 2[0m
+ [1m[35m (0.3ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 2
+ [1m[36mAdherent::Reglement Load (0.2ms)[0m [1mSELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 2[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 2
+ Rendered layouts/adherent/_header.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms)
+Completed 200 OK in 16ms (Views: 10.6ms | ActiveRecord: 3.1ms)
+ [1m[36mAdherent::Adhesion Load (0.4ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 4 ORDER BY to_date[0m
+ [1m[35m (0.2ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 2
+ [1m[36m (0.3ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mCOMMIT[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mOrganism Load (0.3ms)[0m [1mSELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (3.3ms)[0m [1mINSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["created_at", Sun, 25 Aug 2013 06:32:32 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sun, 25 Aug 2013 06:32:32 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mAdherent::Member Exists (0.8ms)[0m SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 3) LIMIT 1
+ [1m[36mSQL (2.3ms)[0m [1mINSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["birthdate", nil], ["created_at", Sun, 25 Aug 2013 06:32:32 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 3], ["updated_at", Sun, 25 Aug 2013 06:32:32 UTC +00:00]]
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mAdherent::Member Exists (0.3ms)[0m SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 3) LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["birthdate", nil], ["created_at", Sun, 25 Aug 2013 06:32:32 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 3], ["updated_at", Sun, 25 Aug 2013 06:32:32 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mAdherent::Member Exists (0.9ms)[0m SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 3) LIMIT 1
+ [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["birthdate", nil], ["created_at", Sun, 25 Aug 2013 06:32:32 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 3], ["updated_at", Sun, 25 Aug 2013 06:32:32 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" [0m
+ [1m[35mAdherent::Adhesion Load (0.2ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 7
+ [1m[36mAdherent::Adhesion Load (0.3ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 7 ORDER BY to_date DESC LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.7ms)[0m [1mINSERT INTO "adherent_adhesions" ("amount", "created_at", "from_date", "member_id", "to_date", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["amount", #<BigDecimal:b654322c,'0.5E2',9(36)>], ["created_at", Sun, 25 Aug 2013 06:32:32 UTC +00:00], ["from_date", Sun, 25 Aug 2013], ["member_id", 7], ["to_date", Sun, 24 Aug 2014], ["updated_at", Sun, 25 Aug 2013 06:32:32 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "adherent_reglements" [0m
+Started GET "/adherent/members/7/payments/new" for 127.0.0.1 at 2013-08-25 08:32:32 +0200
+Processing by Adherent::PaymentsController#new as HTML
+ Parameters: {"member_id"=>"7"}
+ [1m[35mOrganism Load (0.4ms)[0m SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "7"]]
+ [1m[35mAdherent::Adhesion Load (0.4ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 7 ORDER BY to_date
+ [1m[36m (0.3ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 3[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 3
+ Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (5.4ms)
+ Rendered layouts/adherent/_header.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms)
+Completed 200 OK in 16ms (Views: 9.2ms | ActiveRecord: 1.3ms)
+Started POST "/adherent/members/7/payments" for 127.0.0.1 at 2013-08-25 08:32:32 +0200
+Processing by Adherent::PaymentsController#create as HTML
+ Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"50", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"7"}
+ [1m[36mOrganism Load (0.2ms)[0m [1mSELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1[0m
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "7"]]
+ [1m[36m (0.4ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.5ms)[0m INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #<BigDecimal:b65a6cdc,'0.5E2',9(18)>], ["created_at", Sun, 25 Aug 2013 06:32:32 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 7], ["mode", "CB"], ["updated_at", Sun, 25 Aug 2013 06:32:32 UTC +00:00]]
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 7 LIMIT 1[0m
+ [1m[35mAdherent::Adhesion Load (0.4ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 7 ORDER BY to_date
+ [1m[36m (0.2ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 3[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 3
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["adhesion_id", 3], ["amount", #<BigDecimal:b65a4414,'0.5E2',9(18)>], ["created_at", Sun, 25 Aug 2013 06:32:32 UTC +00:00], ["payment_id", 3], ["updated_at", Sun, 25 Aug 2013 06:32:32 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+Redirected to http://www.example.com/adherent/members/7/payments
+Completed 302 Found in 13ms (ActiveRecord: 2.8ms)
+Started GET "/adherent/members/7/payments" for 127.0.0.1 at 2013-08-25 08:32:32 +0200
+Processing by Adherent::PaymentsController#index as HTML
+ Parameters: {"member_id"=>"7"}
+ [1m[36mOrganism Load (0.4ms)[0m [1mSELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1[0m
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "7"]]
+ [1m[36mAdherent::Payment Load (1.0ms)[0m [1mSELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 7[0m
+ [1m[35mAdherent::Reglement Load (0.5ms)[0m SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 3
+ [1m[36mAdherent::Adhesion Load (0.3ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 3 LIMIT 1[0m
+ [1m[35mAdherent::Member Load (0.1ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 7 LIMIT 1
+ [1m[36mAdherent::Reglement Load (0.2ms)[0m [1mSELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 3[0m
+ [1m[35m (0.2ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 3
+ [1m[36mAdherent::Reglement Load (0.2ms)[0m [1mSELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 3[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 3
+ Rendered layouts/adherent/_header.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms)
+Completed 200 OK in 16ms (Views: 10.9ms | ActiveRecord: 3.1ms)
+ [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "adherent_reglements" [0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m COMMIT
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mOrganism Load (0.3ms)[0m SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (3.0ms)[0m INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sun, 25 Aug 2013 06:32:32 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sun, 25 Aug 2013 06:32:32 UTC +00:00]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mAdherent::Member Exists (0.5ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 4) LIMIT 1[0m
+ [1m[35mSQL (0.5ms)[0m INSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["birthdate", nil], ["created_at", Sun, 25 Aug 2013 06:32:32 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 4], ["updated_at", Sun, 25 Aug 2013 06:32:32 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mAdherent::Member Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 4) LIMIT 1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["birthdate", nil], ["created_at", Sun, 25 Aug 2013 06:32:32 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 4], ["updated_at", Sun, 25 Aug 2013 06:32:32 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mAdherent::Member Exists (0.5ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 4) LIMIT 1[0m
+ [1m[35mSQL (0.8ms)[0m INSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["birthdate", nil], ["created_at", Sun, 25 Aug 2013 06:32:32 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 4], ["updated_at", Sun, 25 Aug 2013 06:32:32 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mAdherent::Member Load (0.1ms)[0m SELECT "adherent_members".* FROM "adherent_members"
+ [1m[36mAdherent::Adhesion Load (0.4ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 10[0m
+ [1m[35mAdherent::Adhesion Load (0.4ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 10 ORDER BY to_date DESC LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (1.6ms)[0m INSERT INTO "adherent_adhesions" ("amount", "created_at", "from_date", "member_id", "to_date", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #<BigDecimal:b20a5fc,'0.5E2',9(36)>], ["created_at", Sun, 25 Aug 2013 06:32:32 UTC +00:00], ["from_date", Sun, 25 Aug 2013], ["member_id", 10], ["to_date", Sun, 24 Aug 2014], ["updated_at", Sun, 25 Aug 2013 06:32:32 UTC +00:00]]
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/adherent/members/10/payments/new" for 127.0.0.1 at 2013-08-25 08:32:32 +0200
+Processing by Adherent::PaymentsController#new as HTML
+ Parameters: {"member_id"=>"10"}
+ [1m[35mOrganism Load (3.2ms)[0m SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "10"]]
+ [1m[35mAdherent::Adhesion Load (0.3ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 10 ORDER BY to_date
+ [1m[36m (0.2ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 4[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 4
+ Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (5.3ms)
+ Rendered layouts/adherent/_header.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms)
+Completed 200 OK in 20ms (Views: 10.6ms | ActiveRecord: 4.0ms)
+Started POST "/adherent/members/10/payments" for 127.0.0.1 at 2013-08-25 08:32:32 +0200
+Processing by Adherent::PaymentsController#create as HTML
+ Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"10"}
+ [1m[36mOrganism Load (0.4ms)[0m [1mSELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1[0m
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "10"]]
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (1.6ms)[0m INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #<BigDecimal:b2a0d7c,'0.8E2',9(18)>], ["created_at", Sun, 25 Aug 2013 06:32:32 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 10], ["mode", "CB"], ["updated_at", Sun, 25 Aug 2013 06:32:32 UTC +00:00]]
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 10 LIMIT 1[0m
+ [1m[35mAdherent::Adhesion Load (0.3ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 10 ORDER BY to_date
+ [1m[36m (0.2ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 4[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 4
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["adhesion_id", 4], ["amount", #<BigDecimal:b2c3444,'0.5E2',9(27)>], ["created_at", Sun, 25 Aug 2013 06:32:32 UTC +00:00], ["payment_id", 4], ["updated_at", Sun, 25 Aug 2013 06:32:32 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+Redirected to http://www.example.com/adherent/members/10/payments
+Completed 302 Found in 13ms (ActiveRecord: 3.5ms)
+Started GET "/adherent/members/10/payments" for 127.0.0.1 at 2013-08-25 08:32:32 +0200
+Processing by Adherent::PaymentsController#index as HTML
+ Parameters: {"member_id"=>"10"}
+ [1m[36mOrganism Load (0.3ms)[0m [1mSELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1[0m
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "10"]]
+ [1m[36mAdherent::Payment Load (0.4ms)[0m [1mSELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 10[0m
+ [1m[35mAdherent::Reglement Load (0.4ms)[0m SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 4
+ [1m[36mAdherent::Adhesion Load (0.2ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 4 LIMIT 1[0m
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 10 LIMIT 1
+ [1m[36mAdherent::Reglement Load (0.3ms)[0m [1mSELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 4[0m
+ [1m[35m (0.2ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 4
+ [1m[36mAdherent::Reglement Load (0.2ms)[0m [1mSELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 4[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 4
+ Rendered layouts/adherent/_header.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms)
+Completed 200 OK in 20ms (Views: 14.0ms | ActiveRecord: 2.5ms)
+ [1m[36mAdherent::Payment Load (0.6ms)[0m [1mSELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 10 ORDER BY "adherent_payments"."id" DESC LIMIT 1[0m
+ [1m[35mAdherent::Adhesion Load (0.3ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 11
+ [1m[36mAdherent::Adhesion Load (0.3ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 11 ORDER BY to_date DESC LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "adherent_adhesions" ("amount", "created_at", "from_date", "member_id", "to_date", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["amount", #<BigDecimal:afdb574,'0.49E2',9(36)>], ["created_at", Sun, 25 Aug 2013 06:32:33 UTC +00:00], ["from_date", Sun, 25 Aug 2013], ["member_id", 11], ["to_date", Sun, 24 Aug 2014], ["updated_at", Sun, 25 Aug 2013 06:32:33 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mAdherent::Adhesion Load (0.3ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 12[0m
+ [1m[35mAdherent::Adhesion Load (0.3ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 12 ORDER BY to_date DESC LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.6ms)[0m INSERT INTO "adherent_adhesions" ("amount", "created_at", "from_date", "member_id", "to_date", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #<BigDecimal:afec0f4,'0.27E2',9(36)>], ["created_at", Sun, 25 Aug 2013 06:32:33 UTC +00:00], ["from_date", Sun, 25 Aug 2013], ["member_id", 12], ["to_date", Sun, 24 Aug 2014], ["updated_at", Sun, 25 Aug 2013 06:32:33 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/adherent/payments/4/reglements/new" for 127.0.0.1 at 2013-08-25 08:32:33 +0200
+Processing by Adherent::ReglementsController#new as HTML
+ Parameters: {"payment_id"=>"4"}
+ [1m[35mOrganism Load (0.3ms)[0m SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1
+ [1m[36mAdherent::Payment Load (0.4ms)[0m [1mSELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1[0m [["id", "4"]]
+ [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 10 LIMIT 1
+ [1m[36mAdherent::Reglement Load (0.2ms)[0m [1mSELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 4[0m
+ [1m[35m (0.2ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 4
+ [1m[36mAdherent::Adhesion Load (0.2ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" [0m
+ [1m[35m (0.3ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 4
+ [1m[36m (0.2ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 5[0m
+ [1m[35m (0.2ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 6
+ [1m[36mAdherent::Reglement Load (0.4ms)[0m [1mSELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 4[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 4
+ [1m[36mAdherent::Member Load (0.7ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 11 LIMIT 1[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 5
+ [1m[36mAdherent::Member Load (0.4ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 12 LIMIT 1[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 6
+ Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (16.7ms)
+ Rendered layouts/adherent/_header.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms)
+Completed 200 OK in 64ms (Views: 53.2ms | ActiveRecord: 3.8ms)
+ [1m[36mAdherent::Adhesion Load (0.1ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 10 ORDER BY to_date[0m
+ [1m[35m (0.2ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 4
+ [1m[36mAdherent::Payment Load (0.4ms)[0m [1mSELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 10 ORDER BY "adherent_payments"."id" DESC LIMIT 1[0m
+ [1m[35mAdherent::Reglement Load (0.2ms)[0m SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 4
+ [1m[36m (0.2ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 4[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m COMMIT
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mOrganism Load (0.3ms)[0m SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (2.0ms)[0m INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sun, 25 Aug 2013 06:32:33 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sun, 25 Aug 2013 06:32:33 UTC +00:00]]
+ [1m[36m (2.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mAdherent::Member Exists (0.6ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 5) LIMIT 1[0m
+ [1m[35mSQL (1.6ms)[0m INSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["birthdate", nil], ["created_at", Sun, 25 Aug 2013 06:32:33 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 5], ["updated_at", Sun, 25 Aug 2013 06:32:33 UTC +00:00]]
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (4.4ms)[0m SAVEPOINT active_record_1
+ [1m[36mAdherent::Member Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 5) LIMIT 1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["birthdate", nil], ["created_at", Sun, 25 Aug 2013 06:32:33 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 5], ["updated_at", Sun, 25 Aug 2013 06:32:33 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_1
+ [1m[36mAdherent::Member Exists (1.4ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 5) LIMIT 1[0m
+ [1m[35mSQL (1.3ms)[0m INSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["birthdate", nil], ["created_at", Sun, 25 Aug 2013 06:32:33 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 5], ["updated_at", Sun, 25 Aug 2013 06:32:33 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members"
+ [1m[36mAdherent::Adhesion Load (0.2ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 13[0m
+ [1m[35mAdherent::Adhesion Load (0.3ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 13 ORDER BY to_date DESC LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "adherent_adhesions" ("amount", "created_at", "from_date", "member_id", "to_date", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #<BigDecimal:9abec68,'0.5E2',9(36)>], ["created_at", Sun, 25 Aug 2013 06:32:33 UTC +00:00], ["from_date", Sun, 25 Aug 2013], ["member_id", 13], ["to_date", Sun, 24 Aug 2014], ["updated_at", Sun, 25 Aug 2013 06:32:33 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/adherent/members/13/payments/new" for 127.0.0.1 at 2013-08-25 08:32:33 +0200
+Processing by Adherent::PaymentsController#new as HTML
+ Parameters: {"member_id"=>"13"}
+ [1m[35mOrganism Load (0.3ms)[0m SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1
+ [1m[36mAdherent::Member Load (0.6ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "13"]]
+ [1m[35mAdherent::Adhesion Load (0.5ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 13 ORDER BY to_date
+ [1m[36m (0.2ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 7[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 7
+ Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (5.7ms)
+ Rendered layouts/adherent/_header.html.haml (0.0ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms)
+Completed 200 OK in 16ms (Views: 9.0ms | ActiveRecord: 1.7ms)
+Started POST "/adherent/members/13/payments" for 127.0.0.1 at 2013-08-25 08:32:33 +0200
+Processing by Adherent::PaymentsController#create as HTML
+ Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"13"}
+ [1m[36mOrganism Load (0.4ms)[0m [1mSELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1[0m
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "13"]]
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.5ms)[0m INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #<BigDecimal:aad6a4c,'0.8E2',9(18)>], ["created_at", Sun, 25 Aug 2013 06:32:33 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 13], ["mode", "CB"], ["updated_at", Sun, 25 Aug 2013 06:32:33 UTC +00:00]]
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 13 LIMIT 1[0m
+ [1m[35mAdherent::Adhesion Load (0.3ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 13 ORDER BY to_date
+ [1m[36m (0.2ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 7[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 7
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["adhesion_id", 7], ["amount", #<BigDecimal:acb5cc8,'0.5E2',9(27)>], ["created_at", Sun, 25 Aug 2013 06:32:33 UTC +00:00], ["payment_id", 5], ["updated_at", Sun, 25 Aug 2013 06:32:33 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+Redirected to http://www.example.com/adherent/members/13/payments
+Completed 302 Found in 13ms (ActiveRecord: 2.4ms)
+Started GET "/adherent/members/13/payments" for 127.0.0.1 at 2013-08-25 08:32:33 +0200
+Processing by Adherent::PaymentsController#index as HTML
+ Parameters: {"member_id"=>"13"}
+ [1m[36mOrganism Load (0.2ms)[0m [1mSELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1[0m
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "13"]]
+ [1m[36mAdherent::Payment Load (0.3ms)[0m [1mSELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 13[0m
+ [1m[35mAdherent::Reglement Load (0.3ms)[0m SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 5
+ [1m[36mAdherent::Adhesion Load (0.3ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 7 LIMIT 1[0m
+ [1m[35mAdherent::Member Load (0.1ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 13 LIMIT 1
+ [1m[36mAdherent::Reglement Load (0.3ms)[0m [1mSELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 5[0m
+ [1m[35m (0.3ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 5
+ [1m[36mAdherent::Reglement Load (0.2ms)[0m [1mSELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 5[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 5
+ Rendered layouts/adherent/_header.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.0ms)
+Completed 200 OK in 16ms (Views: 12.1ms | ActiveRecord: 2.2ms)
+ [1m[36mAdherent::Payment Load (0.5ms)[0m [1mSELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 13 ORDER BY "adherent_payments"."id" DESC LIMIT 1[0m
+ [1m[35mAdherent::Adhesion Load (0.2ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 14
+ [1m[36mAdherent::Adhesion Load (0.1ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 14 ORDER BY to_date DESC LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "adherent_adhesions" ("amount", "created_at", "from_date", "member_id", "to_date", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["amount", #<BigDecimal:ae0d904,'0.49E2',9(36)>], ["created_at", Sun, 25 Aug 2013 06:32:33 UTC +00:00], ["from_date", Sun, 25 Aug 2013], ["member_id", 14], ["to_date", Sun, 24 Aug 2014], ["updated_at", Sun, 25 Aug 2013 06:32:33 UTC +00:00]]
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mAdherent::Adhesion Load (0.3ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 15[0m
+ [1m[35mAdherent::Adhesion Load (0.2ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 15 ORDER BY to_date DESC LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "adherent_adhesions" ("amount", "created_at", "from_date", "member_id", "to_date", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #<BigDecimal:9ae5c64,'0.27E2',9(36)>], ["created_at", Sun, 25 Aug 2013 06:32:33 UTC +00:00], ["from_date", Sun, 25 Aug 2013], ["member_id", 15], ["to_date", Sun, 24 Aug 2014], ["updated_at", Sun, 25 Aug 2013 06:32:33 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/adherent/payments/5/reglements/new" for 127.0.0.1 at 2013-08-25 08:32:33 +0200
+Processing by Adherent::ReglementsController#new as HTML
+ Parameters: {"payment_id"=>"5"}
+ [1m[35mOrganism Load (0.5ms)[0m SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1
+ [1m[36mAdherent::Payment Load (0.3ms)[0m [1mSELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1[0m [["id", "5"]]
+ [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 13 LIMIT 1
+ [1m[36mAdherent::Reglement Load (1.0ms)[0m [1mSELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 5[0m
+ [1m[35m (0.4ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 5
+ [1m[36mAdherent::Adhesion Load (0.3ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" [0m
+ [1m[35m (0.1ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 7
+ [1m[36m (0.2ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 8[0m
+ [1m[35m (0.0ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 9
+ [1m[36mAdherent::Reglement Load (0.3ms)[0m [1mSELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 5[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 5
+ [1m[36mAdherent::Member Load (0.4ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 14 LIMIT 1[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 8
+ [1m[36mAdherent::Member Load (0.6ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 15 LIMIT 1[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 9
+ Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (18.0ms)
+ Rendered layouts/adherent/_header.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.2ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms)
+Completed 200 OK in 44ms (Views: 31.9ms | ActiveRecord: 4.5ms)
+ [1m[36m (0.3ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mCOMMIT[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36mOrganism Load (0.4ms)[0m [1mSELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1[0m
+ [1m[35m (0.5ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (2.1ms)[0m [1mINSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["created_at", Sun, 25 Aug 2013 06:32:33 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sun, 25 Aug 2013 06:32:33 UTC +00:00]]
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mAdherent::Member Exists (0.3ms)[0m SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 6) LIMIT 1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["birthdate", nil], ["created_at", Sun, 25 Aug 2013 06:32:33 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 6], ["updated_at", Sun, 25 Aug 2013 06:32:33 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mAdherent::Member Exists (0.2ms)[0m SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 6) LIMIT 1
+ [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["birthdate", nil], ["created_at", Sun, 25 Aug 2013 06:32:33 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 6], ["updated_at", Sun, 25 Aug 2013 06:32:33 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mAdherent::Member Exists (0.2ms)[0m SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 6) LIMIT 1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["birthdate", nil], ["created_at", Sun, 25 Aug 2013 06:32:33 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 6], ["updated_at", Sun, 25 Aug 2013 06:32:33 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mAdherent::Member Load (1.6ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" [0m
+ [1m[35mAdherent::Adhesion Load (0.3ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 16
+ [1m[36mAdherent::Adhesion Load (0.3ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 16 ORDER BY to_date DESC LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "adherent_adhesions" ("amount", "created_at", "from_date", "member_id", "to_date", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["amount", #<BigDecimal:b6abaa20,'0.5E2',9(36)>], ["created_at", Sun, 25 Aug 2013 06:32:33 UTC +00:00], ["from_date", Sun, 25 Aug 2013], ["member_id", 16], ["to_date", Sun, 24 Aug 2014], ["updated_at", Sun, 25 Aug 2013 06:32:33 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+Started GET "/adherent/members/16/payments/new" for 127.0.0.1 at 2013-08-25 08:32:33 +0200
+Processing by Adherent::PaymentsController#new as HTML
+ Parameters: {"member_id"=>"16"}
+ [1m[36mOrganism Load (0.4ms)[0m [1mSELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1[0m
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "16"]]
+ [1m[36mAdherent::Adhesion Load (0.4ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 16 ORDER BY to_date[0m
+ [1m[35m (0.2ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 10
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 10[0m
+ Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (9.4ms)
+ Rendered layouts/adherent/_header.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms)
+Completed 200 OK in 21ms (Views: 14.3ms | ActiveRecord: 1.2ms)
+Started POST "/adherent/members/16/payments" for 127.0.0.1 at 2013-08-25 08:32:33 +0200
+Processing by Adherent::PaymentsController#create as HTML
+ Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"16"}
+ [1m[35mOrganism Load (0.4ms)[0m SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "16"]]
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["amount", #<BigDecimal:b65114c0,'0.8E2',9(18)>], ["created_at", Sun, 25 Aug 2013 06:32:33 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 16], ["mode", "CB"], ["updated_at", Sun, 25 Aug 2013 06:32:33 UTC +00:00]]
+ [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 16 LIMIT 1
+ [1m[36mAdherent::Adhesion Load (0.4ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 16 ORDER BY to_date[0m
+ [1m[35m (0.2ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 10
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 10[0m
+ [1m[35mSQL (1.1ms)[0m INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 10], ["amount", #<BigDecimal:b652879c,'0.5E2',9(27)>], ["created_at", Sun, 25 Aug 2013 06:32:33 UTC +00:00], ["payment_id", 6], ["updated_at", Sun, 25 Aug 2013 06:32:33 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/adherent/members/16/payments
+Completed 302 Found in 15ms (ActiveRecord: 3.4ms)
+Started GET "/adherent/members/16/payments" for 127.0.0.1 at 2013-08-25 08:32:33 +0200
+Processing by Adherent::PaymentsController#index as HTML
+ Parameters: {"member_id"=>"16"}
+ [1m[35mOrganism Load (0.3ms)[0m SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1
+ [1m[36mAdherent::Member Load (0.0ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "16"]]
+ [1m[35mAdherent::Payment Load (0.4ms)[0m SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 16
+ [1m[36mAdherent::Reglement Load (0.2ms)[0m [1mSELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 6[0m
+ [1m[35mAdherent::Adhesion Load (0.4ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 10 LIMIT 1
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 16 LIMIT 1[0m
+ [1m[35mAdherent::Reglement Load (0.2ms)[0m SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 6
+ [1m[36m (0.2ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 6[0m
+ [1m[35mAdherent::Reglement Load (0.8ms)[0m SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 6
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 6[0m
+ Rendered layouts/adherent/_header.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms)
+Completed 200 OK in 18ms (Views: 13.2ms | ActiveRecord: 2.9ms)
+ [1m[35mAdherent::Payment Load (0.4ms)[0m SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 16 ORDER BY "adherent_payments"."id" DESC LIMIT 1
+ [1m[36mAdherent::Adhesion Load (0.3ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 17[0m
+ [1m[35mAdherent::Adhesion Load (0.5ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 17 ORDER BY to_date DESC LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.6ms)[0m INSERT INTO "adherent_adhesions" ("amount", "created_at", "from_date", "member_id", "to_date", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #<BigDecimal:b65960e4,'0.49E2',9(36)>], ["created_at", Sun, 25 Aug 2013 06:32:33 UTC +00:00], ["from_date", Sun, 25 Aug 2013], ["member_id", 17], ["to_date", Sun, 24 Aug 2014], ["updated_at", Sun, 25 Aug 2013 06:32:33 UTC +00:00]]
+ [1m[36m (2.6ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mAdherent::Adhesion Load (0.3ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 18
+ [1m[36mAdherent::Adhesion Load (0.3ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 18 ORDER BY to_date DESC LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "adherent_adhesions" ("amount", "created_at", "from_date", "member_id", "to_date", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["amount", #<BigDecimal:b65a254c,'0.27E2',9(36)>], ["created_at", Sun, 25 Aug 2013 06:32:33 UTC +00:00], ["from_date", Sun, 25 Aug 2013], ["member_id", 18], ["to_date", Sun, 24 Aug 2014], ["updated_at", Sun, 25 Aug 2013 06:32:33 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+Started GET "/adherent/payments/6/reglements/new" for 127.0.0.1 at 2013-08-25 08:32:33 +0200
+Processing by Adherent::ReglementsController#new as HTML
+ Parameters: {"payment_id"=>"6"}
+ [1m[36mOrganism Load (0.3ms)[0m [1mSELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1[0m
+ [1m[35mAdherent::Payment Load (0.3ms)[0m SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", "6"]]
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 16 LIMIT 1[0m
+ [1m[35mAdherent::Reglement Load (0.2ms)[0m SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 6
+ [1m[36m (0.2ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 6[0m
+ [1m[35mAdherent::Adhesion Load (0.2ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions"
+ [1m[36m (0.4ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 10[0m
+ [1m[35m (0.3ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 11
+ [1m[36m (0.2ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 12[0m
+ [1m[35mAdherent::Reglement Load (0.3ms)[0m SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 6
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 6[0m
+ [1m[35mAdherent::Member Load (0.4ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 17 LIMIT 1
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 11[0m
+ [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 18 LIMIT 1
+ [1m[36mCACHE (0.1ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 12[0m
+ Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (9.4ms)
+ Rendered layouts/adherent/_header.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms)
+Completed 200 OK in 27ms (Views: 16.7ms | ActiveRecord: 3.4ms)
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m COMMIT
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mOrganism Load (0.4ms)[0m SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (4.2ms)[0m INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sun, 25 Aug 2013 06:32:33 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sun, 25 Aug 2013 06:32:33 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mAdherent::Member Exists (3.4ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 7) LIMIT 1[0m
+ [1m[35mSQL (1.4ms)[0m INSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["birthdate", nil], ["created_at", Sun, 25 Aug 2013 06:32:33 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 7], ["updated_at", Sun, 25 Aug 2013 06:32:33 UTC +00:00]]
+ [1m[36m (0.5ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mAdherent::Member Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 7) LIMIT 1[0m
+ [1m[35mSQL (2.1ms)[0m INSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["birthdate", nil], ["created_at", Sun, 25 Aug 2013 06:32:33 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 7], ["updated_at", Sun, 25 Aug 2013 06:32:33 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mAdherent::Member Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 7) LIMIT 1[0m
+ [1m[35mSQL (1.0ms)[0m INSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["birthdate", nil], ["created_at", Sun, 25 Aug 2013 06:32:33 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 7], ["updated_at", Sun, 25 Aug 2013 06:32:33 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mAdherent::Member Load (0.8ms)[0m SELECT "adherent_members".* FROM "adherent_members"
+ [1m[36mAdherent::Adhesion Load (0.3ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 19[0m
+ [1m[35mAdherent::Adhesion Load (0.3ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 19 ORDER BY to_date DESC LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.5ms)[0m INSERT INTO "adherent_adhesions" ("amount", "created_at", "from_date", "member_id", "to_date", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #<BigDecimal:b20861c,'0.5E2',9(36)>], ["created_at", Sun, 25 Aug 2013 06:32:33 UTC +00:00], ["from_date", Sun, 25 Aug 2013], ["member_id", 19], ["to_date", Sun, 24 Aug 2014], ["updated_at", Sun, 25 Aug 2013 06:32:33 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/adherent/members/19/payments/new" for 127.0.0.1 at 2013-08-25 08:32:33 +0200
+Processing by Adherent::PaymentsController#new as HTML
+ Parameters: {"member_id"=>"19"}
+ [1m[35mOrganism Load (0.3ms)[0m SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "19"]]
+ [1m[35mAdherent::Adhesion Load (0.3ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 19 ORDER BY to_date
+ [1m[36m (0.2ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 13[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 13
+ Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (8.8ms)
+ Rendered layouts/adherent/_header.html.haml (0.0ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms)
+Completed 200 OK in 18ms (Views: 12.1ms | ActiveRecord: 1.1ms)
+Started POST "/adherent/members/19/payments" for 127.0.0.1 at 2013-08-25 08:32:33 +0200
+Processing by Adherent::PaymentsController#create as HTML
+ Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"19"}
+ [1m[36mOrganism Load (0.4ms)[0m [1mSELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1[0m
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "19"]]
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.6ms)[0m INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #<BigDecimal:b2aad90,'0.8E2',9(18)>], ["created_at", Sun, 25 Aug 2013 06:32:33 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 19], ["mode", "CB"], ["updated_at", Sun, 25 Aug 2013 06:32:33 UTC +00:00]]
+ [1m[36mAdherent::Member Load (0.4ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 19 LIMIT 1[0m
+ [1m[35mAdherent::Adhesion Load (0.4ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 19 ORDER BY to_date
+ [1m[36m (0.3ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 13[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 13
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["adhesion_id", 13], ["amount", #<BigDecimal:b2c1310,'0.5E2',9(27)>], ["created_at", Sun, 25 Aug 2013 06:32:33 UTC +00:00], ["payment_id", 7], ["updated_at", Sun, 25 Aug 2013 06:32:33 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+Redirected to http://www.example.com/adherent/members/19/payments
+Completed 302 Found in 17ms (ActiveRecord: 2.9ms)
+Started GET "/adherent/members/19/payments" for 127.0.0.1 at 2013-08-25 08:32:33 +0200
+Processing by Adherent::PaymentsController#index as HTML
+ Parameters: {"member_id"=>"19"}
+ [1m[36mOrganism Load (0.3ms)[0m [1mSELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1[0m
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "19"]]
+ [1m[36mAdherent::Payment Load (0.4ms)[0m [1mSELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 19[0m
+ [1m[35mAdherent::Reglement Load (0.2ms)[0m SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 7
+ [1m[36mAdherent::Adhesion Load (0.3ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 13 LIMIT 1[0m
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 19 LIMIT 1
+ [1m[36mAdherent::Reglement Load (1.0ms)[0m [1mSELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 7[0m
+ [1m[35m (0.2ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 7
+ [1m[36mAdherent::Reglement Load (0.3ms)[0m [1mSELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 7[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 7
+ Rendered layouts/adherent/_header.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms)
+Completed 200 OK in 17ms (Views: 12.3ms | ActiveRecord: 3.2ms)
+ [1m[36mAdherent::Payment Load (0.4ms)[0m [1mSELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 19 ORDER BY "adherent_payments"."id" DESC LIMIT 1[0m
+ [1m[35mAdherent::Adhesion Load (0.3ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 20
+ [1m[36mAdherent::Adhesion Load (0.4ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 20 ORDER BY to_date DESC LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "adherent_adhesions" ("amount", "created_at", "from_date", "member_id", "to_date", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["amount", #<BigDecimal:afd94f4,'0.49E2',9(36)>], ["created_at", Sun, 25 Aug 2013 06:32:33 UTC +00:00], ["from_date", Sun, 25 Aug 2013], ["member_id", 20], ["to_date", Sun, 24 Aug 2014], ["updated_at", Sun, 25 Aug 2013 06:32:33 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mAdherent::Adhesion Load (0.2ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 21[0m
+ [1m[35mAdherent::Adhesion Load (0.3ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 21 ORDER BY to_date DESC LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "adherent_adhesions" ("amount", "created_at", "from_date", "member_id", "to_date", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #<BigDecimal:affe09c,'0.27E2',9(36)>], ["created_at", Sun, 25 Aug 2013 06:32:33 UTC +00:00], ["from_date", Sun, 25 Aug 2013], ["member_id", 21], ["to_date", Sun, 24 Aug 2014], ["updated_at", Sun, 25 Aug 2013 06:32:33 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/adherent/payments/7/reglements/new" for 127.0.0.1 at 2013-08-25 08:32:33 +0200
+Processing by Adherent::ReglementsController#new as HTML
+ Parameters: {"payment_id"=>"7"}
+ [1m[35mOrganism Load (0.4ms)[0m SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1
+ [1m[36mAdherent::Payment Load (0.3ms)[0m [1mSELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1[0m [["id", "7"]]
+ [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 19 LIMIT 1
+ [1m[36mAdherent::Reglement Load (0.2ms)[0m [1mSELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 7[0m
+ [1m[35m (0.2ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 7
+ [1m[36mAdherent::Adhesion Load (0.2ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" [0m
+ [1m[35m (0.3ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 13
+ [1m[36m (0.2ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 14[0m
+ [1m[35m (0.2ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 15
+ [1m[36mAdherent::Reglement Load (0.3ms)[0m [1mSELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 7[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 7
+ [1m[36mAdherent::Member Load (0.4ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 20 LIMIT 1[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 14
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 21 LIMIT 1[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 15
+ Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (11.9ms)
+ Rendered layouts/adherent/_header.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms)
+Completed 200 OK in 28ms (Views: 17.8ms | ActiveRecord: 3.2ms)
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mCOMMIT[0m
+ [1m[35m (0.5ms)[0m BEGIN
+ [1m[36mOrganism Load (3.2ms)[0m [1mSELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["created_at", Sun, 25 Aug 2013 06:32:33 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sun, 25 Aug 2013 06:32:33 UTC +00:00]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mAdherent::Member Exists (2.3ms)[0m SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 8) LIMIT 1
+ [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["birthdate", nil], ["created_at", Sun, 25 Aug 2013 06:32:33 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 8], ["updated_at", Sun, 25 Aug 2013 06:32:33 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mAdherent::Member Exists (0.3ms)[0m SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 8) LIMIT 1
+ [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["birthdate", nil], ["created_at", Sun, 25 Aug 2013 06:32:33 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 8], ["updated_at", Sun, 25 Aug 2013 06:32:33 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mAdherent::Member Exists (0.4ms)[0m SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 8) LIMIT 1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["birthdate", nil], ["created_at", Sun, 25 Aug 2013 06:32:33 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 8], ["updated_at", Sun, 25 Aug 2013 06:32:33 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" [0m
+ [1m[35mAdherent::Adhesion Load (0.9ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 22
+ [1m[36mAdherent::Adhesion Load (0.3ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 22 ORDER BY to_date DESC LIMIT 1[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "adherent_adhesions" ("amount", "created_at", "from_date", "member_id", "to_date", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["amount", #<BigDecimal:b42a288,'0.5E2',9(36)>], ["created_at", Sun, 25 Aug 2013 06:32:33 UTC +00:00], ["from_date", Sun, 25 Aug 2013], ["member_id", 22], ["to_date", Sun, 24 Aug 2014], ["updated_at", Sun, 25 Aug 2013 06:32:33 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+Started GET "/adherent/members/22/payments/new" for 127.0.0.1 at 2013-08-25 08:32:33 +0200
+Processing by Adherent::PaymentsController#new as HTML
+ Parameters: {"member_id"=>"22"}
+ [1m[36mOrganism Load (0.3ms)[0m [1mSELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1[0m
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "22"]]
+ [1m[36mAdherent::Adhesion Load (0.4ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 22 ORDER BY to_date[0m
+ [1m[35m (0.3ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 16
+ [1m[36mCACHE (0.5ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 16[0m
+ Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (6.0ms)
+ Rendered layouts/adherent/_header.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms)
+Completed 200 OK in 17ms (Views: 9.7ms | ActiveRecord: 1.8ms)
+Started POST "/adherent/members/22/payments" for 127.0.0.1 at 2013-08-25 08:32:33 +0200
+Processing by Adherent::PaymentsController#create as HTML
+ Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"22"}
+ [1m[35mOrganism Load (0.4ms)[0m SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "22"]]
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["amount", #<BigDecimal:b4ef72c,'0.8E2',9(18)>], ["created_at", Sun, 25 Aug 2013 06:32:33 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 22], ["mode", "CB"], ["updated_at", Sun, 25 Aug 2013 06:32:33 UTC +00:00]]
+ [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 22 LIMIT 1
+ [1m[36mAdherent::Adhesion Load (0.3ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 22 ORDER BY to_date[0m
+ [1m[35m (0.3ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 16
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 16[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 16], ["amount", #<BigDecimal:b524c74,'0.5E2',9(27)>], ["created_at", Sun, 25 Aug 2013 06:32:33 UTC +00:00], ["payment_id", 8], ["updated_at", Sun, 25 Aug 2013 06:32:33 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/adherent/members/22/payments
+Completed 302 Found in 16ms (ActiveRecord: 2.5ms)
+Started GET "/adherent/members/22/payments" for 127.0.0.1 at 2013-08-25 08:32:33 +0200
+Processing by Adherent::PaymentsController#index as HTML
+ Parameters: {"member_id"=>"22"}
+ [1m[35mOrganism Load (0.4ms)[0m SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "22"]]
+ [1m[35mAdherent::Payment Load (0.4ms)[0m SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 22
+ [1m[36mAdherent::Reglement Load (0.4ms)[0m [1mSELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 8[0m
+ [1m[35mAdherent::Adhesion Load (0.3ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 16 LIMIT 1
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 22 LIMIT 1[0m
+ [1m[35mAdherent::Reglement Load (0.1ms)[0m SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 8
+ [1m[36m (0.2ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 8[0m
+ [1m[35mAdherent::Reglement Load (0.2ms)[0m SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 8
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 8[0m
+ Rendered layouts/adherent/_header.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms)
+Completed 200 OK in 18ms (Views: 13.7ms | ActiveRecord: 2.5ms)
+ [1m[35mAdherent::Payment Load (0.4ms)[0m SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 22 ORDER BY "adherent_payments"."id" DESC LIMIT 1
+ [1m[36mAdherent::Adhesion Load (0.2ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 23[0m
+ [1m[35mAdherent::Adhesion Load (0.2ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 23 ORDER BY to_date DESC LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "adherent_adhesions" ("amount", "created_at", "from_date", "member_id", "to_date", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #<BigDecimal:b76bb90,'0.49E2',9(36)>], ["created_at", Sun, 25 Aug 2013 06:32:33 UTC +00:00], ["from_date", Sun, 25 Aug 2013], ["member_id", 23], ["to_date", Sun, 24 Aug 2014], ["updated_at", Sun, 25 Aug 2013 06:32:33 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mAdherent::Adhesion Load (0.2ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 24
+ [1m[36mAdherent::Adhesion Load (0.5ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 24 ORDER BY to_date DESC LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "adherent_adhesions" ("amount", "created_at", "from_date", "member_id", "to_date", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["amount", #<BigDecimal:b77aac8,'0.27E2',9(36)>], ["created_at", Sun, 25 Aug 2013 06:32:34 UTC +00:00], ["from_date", Sun, 25 Aug 2013], ["member_id", 24], ["to_date", Sun, 24 Aug 2014], ["updated_at", Sun, 25 Aug 2013 06:32:34 UTC +00:00]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+Started GET "/adherent/payments/8/reglements/new" for 127.0.0.1 at 2013-08-25 08:32:34 +0200
+Processing by Adherent::ReglementsController#new as HTML
+ Parameters: {"payment_id"=>"8"}
+ [1m[36mOrganism Load (0.9ms)[0m [1mSELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1[0m
+ [1m[35mAdherent::Payment Load (0.3ms)[0m SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", "8"]]
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 22 LIMIT 1[0m
+ [1m[35mAdherent::Reglement Load (0.2ms)[0m SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 8
+ [1m[36m (0.2ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 8[0m
+ [1m[35mAdherent::Adhesion Load (0.2ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions"
+ [1m[36m (0.2ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 16[0m
+ [1m[35m (0.3ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 17
+ [1m[36m (0.2ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 18[0m
+ [1m[35mAdherent::Reglement Load (0.2ms)[0m SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 8
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 8[0m
+ [1m[35mAdherent::Member Load (6.0ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 23 LIMIT 1
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 17[0m
+ [1m[35mAdherent::Member Load (1.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 24 LIMIT 1
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 18[0m
+ Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (76.3ms)
+ Rendered layouts/adherent/_header.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms)
+Completed 200 OK in 97ms (Views: 78.2ms | ActiveRecord: 10.3ms)
+Started POST "/adherent/payments/8/reglements" for 127.0.0.1 at 2013-08-25 08:32:34 +0200
+Processing by Adherent::ReglementsController#create as HTML
+ Parameters: {"utf8"=>"✓", "reglement"=>{"adhesion_id"=>"17"}, "commit"=>"Enregistrer", "payment_id"=>"8"}
+ [1m[35mOrganism Load (0.3ms)[0m SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1
+ [1m[36mAdherent::Payment Load (0.3ms)[0m [1mSELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1[0m [["id", "8"]]
+ [1m[35mAdherent::Adhesion Load (1.3ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "17"]]
+ [1m[36mAdherent::Reglement Load (0.3ms)[0m [1mSELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 8[0m
+ [1m[35m (0.2ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 8
+ [1m[36m (0.2ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 17[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["adhesion_id", 17], ["amount", #<BigDecimal:a4076f8,'0.3E2',9(27)>], ["created_at", Sun, 25 Aug 2013 06:32:34 UTC +00:00], ["payment_id", 8], ["updated_at", Sun, 25 Aug 2013 06:32:34 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 22 LIMIT 1[0m
+Redirected to http://www.example.com/adherent/members/22/payments
+Completed 302 Found in 13ms (ActiveRecord: 3.6ms)
+Started GET "/adherent/members/22/payments" for 127.0.0.1 at 2013-08-25 08:32:34 +0200
+Processing by Adherent::PaymentsController#index as HTML
+ Parameters: {"member_id"=>"22"}
+ [1m[35mOrganism Load (0.3ms)[0m SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "22"]]
+ [1m[35mAdherent::Payment Load (0.4ms)[0m SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 22
+ [1m[36mAdherent::Reglement Load (0.3ms)[0m [1mSELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 8[0m
+ [1m[35mAdherent::Adhesion Load (0.2ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 17 LIMIT 1
+ [1m[36mAdherent::Member Load (0.1ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 23 LIMIT 1[0m
+ [1m[35mAdherent::Adhesion Load (0.2ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 16 LIMIT 1
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 22 LIMIT 1[0m
+ [1m[35mAdherent::Reglement Load (0.2ms)[0m SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 8
+ [1m[36m (3.7ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 8[0m
+ [1m[35mAdherent::Reglement Load (0.6ms)[0m SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 8
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 8[0m
+ Rendered layouts/adherent/_header.html.haml (3.2ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms)
+Completed 200 OK in 29ms (Views: 21.1ms | ActiveRecord: 6.6ms)
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m COMMIT
+ [1m[36m (0.5ms)[0m [1mBEGIN[0m
+ [1m[35mOrganism Load (1.0ms)[0m SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1
+ [1m[36m (0.6ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (5.1ms)[0m INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sun, 25 Aug 2013 06:32:34 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sun, 25 Aug 2013 06:32:34 UTC +00:00]]
+ [1m[36m (4.9ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mAdherent::Member Exists (1.8ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 9) LIMIT 1[0m
+ [1m[35mSQL (2.9ms)[0m INSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["birthdate", nil], ["created_at", Sun, 25 Aug 2013 06:32:34 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 9], ["updated_at", Sun, 25 Aug 2013 06:32:34 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (1.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mAdherent::Member Exists (0.9ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 9) LIMIT 1[0m
+ [1m[35mSQL (0.8ms)[0m INSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["birthdate", nil], ["created_at", Sun, 25 Aug 2013 06:32:34 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 9], ["updated_at", Sun, 25 Aug 2013 06:32:34 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mAdherent::Member Exists (0.5ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 9) LIMIT 1[0m
+ [1m[35mSQL (1.6ms)[0m INSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["birthdate", nil], ["created_at", Sun, 25 Aug 2013 06:32:34 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 9], ["updated_at", Sun, 25 Aug 2013 06:32:34 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members"
+ [1m[36mAdherent::Adhesion Load (1.8ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 25[0m
+ [1m[35mAdherent::Adhesion Load (1.7ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 25 ORDER BY to_date DESC LIMIT 1
+ [1m[36m (1.5ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (3.3ms)[0m INSERT INTO "adherent_adhesions" ("amount", "created_at", "from_date", "member_id", "to_date", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #<BigDecimal:adf7744,'0.5E2',9(36)>], ["created_at", Sun, 25 Aug 2013 06:32:34 UTC +00:00], ["from_date", Sun, 25 Aug 2013], ["member_id", 25], ["to_date", Sun, 24 Aug 2014], ["updated_at", Sun, 25 Aug 2013 06:32:34 UTC +00:00]]
+ [1m[36m (0.6ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/adherent/members/25/payments/new" for 127.0.0.1 at 2013-08-25 08:32:34 +0200
+Processing by Adherent::PaymentsController#new as HTML
+ Parameters: {"member_id"=>"25"}
+ [1m[35mOrganism Load (0.3ms)[0m SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "25"]]
+ [1m[35mAdherent::Adhesion Load (0.3ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 25 ORDER BY to_date
+ [1m[36m (0.2ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 19[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 19
+ Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (7.0ms)
+ Rendered layouts/adherent/_header.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms)
+Completed 200 OK in 19ms (Views: 11.6ms | ActiveRecord: 1.1ms)
+Started POST "/adherent/members/25/payments" for 127.0.0.1 at 2013-08-25 08:32:34 +0200
+Processing by Adherent::PaymentsController#create as HTML
+ Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"25"}
+ [1m[36mOrganism Load (0.4ms)[0m [1mSELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1[0m
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "25"]]
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #<BigDecimal:b7188794,'0.8E2',9(18)>], ["created_at", Sun, 25 Aug 2013 06:32:34 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 25], ["mode", "CB"], ["updated_at", Sun, 25 Aug 2013 06:32:34 UTC +00:00]]
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 25 LIMIT 1[0m
+ [1m[35mAdherent::Adhesion Load (0.2ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 25 ORDER BY to_date
+ [1m[36m (0.2ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 19[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 19
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["adhesion_id", 19], ["amount", #<BigDecimal:b676f1cc,'0.5E2',9(27)>], ["created_at", Sun, 25 Aug 2013 06:32:34 UTC +00:00], ["payment_id", 9], ["updated_at", Sun, 25 Aug 2013 06:32:34 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+Redirected to http://www.example.com/adherent/members/25/payments
+Completed 302 Found in 14ms (ActiveRecord: 2.1ms)
+Started GET "/adherent/members/25/payments" for 127.0.0.1 at 2013-08-25 08:32:34 +0200
+Processing by Adherent::PaymentsController#index as HTML
+ Parameters: {"member_id"=>"25"}
+ [1m[36mOrganism Load (0.3ms)[0m [1mSELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1[0m
+ [1m[35mAdherent::Member Load (3.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "25"]]
+ [1m[36mAdherent::Payment Load (0.4ms)[0m [1mSELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 25[0m
+ [1m[35mAdherent::Reglement Load (0.3ms)[0m SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 9
+ [1m[36mAdherent::Adhesion Load (0.2ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 19 LIMIT 1[0m
+ [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 25 LIMIT 1
+ [1m[36mAdherent::Reglement Load (0.6ms)[0m [1mSELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 9[0m
+ [1m[35m (0.2ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 9
+ [1m[36mAdherent::Reglement Load (0.2ms)[0m [1mSELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 9[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 9
+ Rendered layouts/adherent/_header.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms)
+Completed 200 OK in 21ms (Views: 13.7ms | ActiveRecord: 5.8ms)
+ [1m[36mAdherent::Payment Load (0.3ms)[0m [1mSELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 25 ORDER BY "adherent_payments"."id" DESC LIMIT 1[0m
+ [1m[35mAdherent::Adhesion Load (0.3ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 26
+ [1m[36mAdherent::Adhesion Load (0.3ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 26 ORDER BY to_date DESC LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "adherent_adhesions" ("amount", "created_at", "from_date", "member_id", "to_date", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["amount", #<BigDecimal:b683e5bc,'0.49E2',9(36)>], ["created_at", Sun, 25 Aug 2013 06:32:34 UTC +00:00], ["from_date", Sun, 25 Aug 2013], ["member_id", 26], ["to_date", Sun, 24 Aug 2014], ["updated_at", Sun, 25 Aug 2013 06:32:34 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mAdherent::Adhesion Load (0.2ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 27[0m
+ [1m[35mAdherent::Adhesion Load (0.2ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 27 ORDER BY to_date DESC LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "adherent_adhesions" ("amount", "created_at", "from_date", "member_id", "to_date", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #<BigDecimal:b68648ac,'0.27E2',9(36)>], ["created_at", Sun, 25 Aug 2013 06:32:34 UTC +00:00], ["from_date", Sun, 25 Aug 2013], ["member_id", 27], ["to_date", Sun, 24 Aug 2014], ["updated_at", Sun, 25 Aug 2013 06:32:34 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/adherent/payments/9/reglements/new" for 127.0.0.1 at 2013-08-25 08:32:34 +0200
+Processing by Adherent::ReglementsController#new as HTML
+ Parameters: {"payment_id"=>"9"}
+ [1m[35mOrganism Load (0.3ms)[0m SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1
+ [1m[36mAdherent::Payment Load (0.2ms)[0m [1mSELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1[0m [["id", "9"]]
+ [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 25 LIMIT 1
+ [1m[36mAdherent::Reglement Load (0.2ms)[0m [1mSELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 9[0m
+ [1m[35m (0.3ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 9
+ [1m[36mAdherent::Adhesion Load (0.2ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" [0m
+ [1m[35m (0.3ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 19
+ [1m[36m (0.0ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 20[0m
+ [1m[35m (0.2ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 21
+ [1m[36mAdherent::Reglement Load (0.3ms)[0m [1mSELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 9[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 9
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 26 LIMIT 1[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 20
+ [1m[36mAdherent::Member Load (0.4ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 27 LIMIT 1[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 21
+ Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (8.8ms)
+ Rendered layouts/adherent/_header.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms)
+Completed 200 OK in 25ms (Views: 12.5ms | ActiveRecord: 2.9ms)
+Started POST "/adherent/payments/9/reglements" for 127.0.0.1 at 2013-08-25 08:32:34 +0200
+Processing by Adherent::ReglementsController#create as HTML
+ Parameters: {"utf8"=>"✓", "reglement"=>{"adhesion_id"=>"20"}, "commit"=>"Enregistrer", "payment_id"=>"9"}
+ [1m[36mOrganism Load (0.3ms)[0m [1mSELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1[0m
+ [1m[35mAdherent::Payment Load (0.3ms)[0m SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", "9"]]
+ [1m[36mAdherent::Adhesion Load (0.1ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1[0m [["id", "20"]]
+ [1m[35mAdherent::Reglement Load (0.2ms)[0m SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 9
+ [1m[36m (0.2ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 9[0m
+ [1m[35m (0.2ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 20
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (1.1ms)[0m INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 20], ["amount", #<BigDecimal:b6572ea0,'0.3E2',9(27)>], ["created_at", Sun, 25 Aug 2013 06:32:34 UTC +00:00], ["payment_id", 9], ["updated_at", Sun, 25 Aug 2013 06:32:34 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mAdherent::Member Load (0.6ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 25 LIMIT 1
+Redirected to http://www.example.com/adherent/members/25/payments
+Completed 302 Found in 13ms (ActiveRecord: 3.2ms)
+Started GET "/adherent/members/25/payments" for 127.0.0.1 at 2013-08-25 08:32:34 +0200
+Processing by Adherent::PaymentsController#index as HTML
+ Parameters: {"member_id"=>"25"}
+ [1m[36mOrganism Load (0.3ms)[0m [1mSELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1[0m
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "25"]]
+ [1m[36mAdherent::Payment Load (0.2ms)[0m [1mSELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 25[0m
+ [1m[35mAdherent::Reglement Load (0.4ms)[0m SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 9
+ [1m[36mAdherent::Adhesion Load (0.2ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 20 LIMIT 1[0m
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 26 LIMIT 1
+ [1m[36mAdherent::Adhesion Load (0.2ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 19 LIMIT 1[0m
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 25 LIMIT 1
+ [1m[36mAdherent::Reglement Load (0.3ms)[0m [1mSELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 9[0m
+ [1m[35m (0.2ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 9
+ [1m[36mAdherent::Reglement Load (0.2ms)[0m [1mSELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 9[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 9
+ Rendered layouts/adherent/_header.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms)
+Completed 200 OK in 18ms (Views: 14.2ms | ActiveRecord: 2.6ms)
+ [1m[36mAdherent::Reglement Load (0.3ms)[0m [1mSELECT "adherent_reglements".* FROM "adherent_reglements" [0m
+ [1m[35m (1.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m COMMIT
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mOrganism Load (1.5ms)[0m SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1
+ [1m[36m (0.6ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (7.8ms)[0m INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sun, 25 Aug 2013 06:32:34 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sun, 25 Aug 2013 06:32:34 UTC +00:00]]
+ [1m[36m (0.3ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mAdherent::Member Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 10) LIMIT 1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["birthdate", nil], ["created_at", Sun, 25 Aug 2013 06:32:34 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 10], ["updated_at", Sun, 25 Aug 2013 06:32:34 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mAdherent::Member Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 10) LIMIT 1[0m
+ [1m[35mSQL (1.1ms)[0m INSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["birthdate", nil], ["created_at", Sun, 25 Aug 2013 06:32:34 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 10], ["updated_at", Sun, 25 Aug 2013 06:32:34 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mAdherent::Member Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 10) LIMIT 1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["birthdate", nil], ["created_at", Sun, 25 Aug 2013 06:32:34 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 10], ["updated_at", Sun, 25 Aug 2013 06:32:34 UTC +00:00]]
+ [1m[36m (0.3ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members"
+ [1m[36mAdherent::Adhesion Load (0.3ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 28[0m
+ [1m[35mAdherent::Adhesion Load (0.3ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 28 ORDER BY to_date DESC LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (2.7ms)[0m INSERT INTO "adherent_adhesions" ("amount", "created_at", "from_date", "member_id", "to_date", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #<BigDecimal:b664e298,'0.5E2',9(36)>], ["created_at", Sun, 25 Aug 2013 06:32:34 UTC +00:00], ["from_date", Sun, 25 Aug 2013], ["member_id", 28], ["to_date", Sun, 24 Aug 2014], ["updated_at", Sun, 25 Aug 2013 06:32:34 UTC +00:00]]
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/adherent/members/28/payments/new" for 127.0.0.1 at 2013-08-25 08:32:34 +0200
+Processing by Adherent::PaymentsController#new as HTML
+ Parameters: {"member_id"=>"28"}
+ [1m[35mOrganism Load (0.6ms)[0m SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "28"]]
+ [1m[35mAdherent::Adhesion Load (0.4ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 28 ORDER BY to_date
+ [1m[36m (0.4ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 22[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 22
+ Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (8.2ms)
+ Rendered layouts/adherent/_header.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.2ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms)
+Completed 200 OK in 23ms (Views: 13.8ms | ActiveRecord: 1.7ms)
+Started POST "/adherent/members/28/payments" for 127.0.0.1 at 2013-08-25 08:32:34 +0200
+Processing by Adherent::PaymentsController#create as HTML
+ Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"28"}
+ [1m[36mOrganism Load (0.4ms)[0m [1mSELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1[0m
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "28"]]
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #<BigDecimal:aefc518,'0.8E2',9(18)>], ["created_at", Sun, 25 Aug 2013 06:32:34 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 28], ["mode", "CB"], ["updated_at", Sun, 25 Aug 2013 06:32:34 UTC +00:00]]
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 28 LIMIT 1[0m
+ [1m[35mAdherent::Adhesion Load (0.3ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 28 ORDER BY to_date
+ [1m[36m (1.0ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 22[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 22
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["adhesion_id", 22], ["amount", #<BigDecimal:af1ae14,'0.5E2',9(27)>], ["created_at", Sun, 25 Aug 2013 06:32:34 UTC +00:00], ["payment_id", 10], ["updated_at", Sun, 25 Aug 2013 06:32:34 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+Redirected to http://www.example.com/adherent/members/28/payments
+Completed 302 Found in 12ms (ActiveRecord: 2.7ms)
+Started GET "/adherent/members/28/payments" for 127.0.0.1 at 2013-08-25 08:32:34 +0200
+Processing by Adherent::PaymentsController#index as HTML
+ Parameters: {"member_id"=>"28"}
+ [1m[36mOrganism Load (0.3ms)[0m [1mSELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1[0m
+ [1m[35mAdherent::Member Load (0.4ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "28"]]
+ [1m[36mAdherent::Payment Load (0.3ms)[0m [1mSELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 28[0m
+ [1m[35mAdherent::Reglement Load (0.3ms)[0m SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 10
+ [1m[36mAdherent::Adhesion Load (0.3ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 22 LIMIT 1[0m
+ [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 28 LIMIT 1
+ [1m[36mAdherent::Reglement Load (0.2ms)[0m [1mSELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 10[0m
+ [1m[35m (0.2ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 10
+ [1m[36mAdherent::Reglement Load (0.2ms)[0m [1mSELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 10[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 10
+ Rendered layouts/adherent/_header.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms)
+Completed 200 OK in 19ms (Views: 14.5ms | ActiveRecord: 2.5ms)
+ [1m[36mAdherent::Payment Load (0.9ms)[0m [1mSELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 28 ORDER BY "adherent_payments"."id" DESC LIMIT 1[0m
+ [1m[35mAdherent::Adhesion Load (0.2ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 29
+ [1m[36mAdherent::Adhesion Load (0.2ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 29 ORDER BY to_date DESC LIMIT 1[0m
+ [1m[35m (0.6ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "adherent_adhesions" ("amount", "created_at", "from_date", "member_id", "to_date", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["amount", #<BigDecimal:b3070a4,'0.49E2',9(36)>], ["created_at", Sun, 25 Aug 2013 06:32:34 UTC +00:00], ["from_date", Sun, 25 Aug 2013], ["member_id", 29], ["to_date", Sun, 24 Aug 2014], ["updated_at", Sun, 25 Aug 2013 06:32:34 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mAdherent::Adhesion Load (0.2ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 30[0m
+ [1m[35mAdherent::Adhesion Load (0.4ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 30 ORDER BY to_date DESC LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.5ms)[0m INSERT INTO "adherent_adhesions" ("amount", "created_at", "from_date", "member_id", "to_date", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #<BigDecimal:b31bb94,'0.27E2',9(36)>], ["created_at", Sun, 25 Aug 2013 06:32:34 UTC +00:00], ["from_date", Sun, 25 Aug 2013], ["member_id", 30], ["to_date", Sun, 24 Aug 2014], ["updated_at", Sun, 25 Aug 2013 06:32:34 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/adherent/payments/10/reglements/new" for 127.0.0.1 at 2013-08-25 08:32:34 +0200
+Processing by Adherent::ReglementsController#new as HTML
+ Parameters: {"payment_id"=>"10"}
+ [1m[35mOrganism Load (0.1ms)[0m SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1
+ [1m[36mAdherent::Payment Load (0.2ms)[0m [1mSELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1[0m [["id", "10"]]
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 28 LIMIT 1
+ [1m[36mAdherent::Reglement Load (0.2ms)[0m [1mSELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 10[0m
+ [1m[35m (0.1ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 10
+ [1m[36mAdherent::Adhesion Load (0.2ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" [0m
+ [1m[35m (0.2ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 22
+ [1m[36m (0.2ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 23[0m
+ [1m[35m (0.2ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 24
+ [1m[36mAdherent::Reglement Load (0.3ms)[0m [1mSELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 10[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 10
+ [1m[36mAdherent::Member Load (0.4ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 29 LIMIT 1[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 23
+ [1m[36mAdherent::Member Load (0.6ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 30 LIMIT 1[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 24
+ Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (13.4ms)
+ Rendered layouts/adherent/_header.html.haml (0.2ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms)
+Completed 200 OK in 27ms (Views: 17.8ms | ActiveRecord: 3.0ms)
+Started POST "/adherent/payments/10/reglements" for 127.0.0.1 at 2013-08-25 08:32:34 +0200
+Processing by Adherent::ReglementsController#create as HTML
+ Parameters: {"utf8"=>"✓", "reglement"=>{"adhesion_id"=>"23"}, "commit"=>"Enregistrer", "payment_id"=>"10"}
+ [1m[36mOrganism Load (0.3ms)[0m [1mSELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1[0m
+ [1m[35mAdherent::Payment Load (0.3ms)[0m SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", "10"]]
+ [1m[36mAdherent::Adhesion Load (0.2ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1[0m [["id", "23"]]
+ [1m[35mAdherent::Reglement Load (0.2ms)[0m SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 10
+ [1m[36m (0.2ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 10[0m
+ [1m[35m (0.3ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 23
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.6ms)[0m INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 23], ["amount", #<BigDecimal:b06f990,'0.3E2',9(27)>], ["created_at", Sun, 25 Aug 2013 06:32:34 UTC +00:00], ["payment_id", 10], ["updated_at", Sun, 25 Aug 2013 06:32:34 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 28 LIMIT 1
+Redirected to http://www.example.com/adherent/members/28/payments
+Completed 302 Found in 12ms (ActiveRecord: 2.7ms)
+Started GET "/adherent/members/28/payments" for 127.0.0.1 at 2013-08-25 08:32:34 +0200
+Processing by Adherent::PaymentsController#index as HTML
+ Parameters: {"member_id"=>"28"}
+ [1m[36mOrganism Load (0.3ms)[0m [1mSELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1[0m
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "28"]]
+ [1m[36mAdherent::Payment Load (0.4ms)[0m [1mSELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 28[0m
+ [1m[35mAdherent::Reglement Load (0.5ms)[0m SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 10
+ [1m[36mAdherent::Adhesion Load (0.3ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 23 LIMIT 1[0m
+ [1m[35mAdherent::Member Load (0.4ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 29 LIMIT 1
+ [1m[36mAdherent::Adhesion Load (0.3ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 22 LIMIT 1[0m
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 28 LIMIT 1
+ [1m[36mAdherent::Reglement Load (0.2ms)[0m [1mSELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 10[0m
+ [1m[35m (0.3ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 10
+ [1m[36mAdherent::Reglement Load (0.3ms)[0m [1mSELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 10[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 10
+ Rendered layouts/adherent/_header.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.2ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms)
+Completed 200 OK in 21ms (Views: 16.3ms | ActiveRecord: 3.3ms)
+ [1m[36mAdherent::Adhesion Load (0.4ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 29 ORDER BY to_date[0m
+ [1m[35m (0.1ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 23
+ [1m[36m (0.2ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 23[0m
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m COMMIT
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mOrganism Load (0.7ms)[0m SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1
+ [1m[36m (0.9ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.8ms)[0m INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sun, 25 Aug 2013 06:32:34 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sun, 25 Aug 2013 06:32:34 UTC +00:00]]
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m SAVEPOINT active_record_1
+ [1m[36mAdherent::Member Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 11) LIMIT 1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["birthdate", nil], ["created_at", Sun, 25 Aug 2013 06:32:34 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 11], ["updated_at", Sun, 25 Aug 2013 06:32:34 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mAdherent::Member Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 11) LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["birthdate", nil], ["created_at", Sun, 25 Aug 2013 06:32:34 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 11], ["updated_at", Sun, 25 Aug 2013 06:32:34 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mAdherent::Member Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 11) LIMIT 1[0m
+ [1m[35mSQL (0.7ms)[0m INSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["birthdate", nil], ["created_at", Sun, 25 Aug 2013 06:32:34 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 11], ["updated_at", Sun, 25 Aug 2013 06:32:34 UTC +00:00]]
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mAdherent::Member Load (0.4ms)[0m SELECT "adherent_members".* FROM "adherent_members"
+ [1m[36mAdherent::Adhesion Load (0.3ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 31[0m
+ [1m[35mAdherent::Adhesion Load (0.3ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 31 ORDER BY to_date DESC LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.5ms)[0m INSERT INTO "adherent_adhesions" ("amount", "created_at", "from_date", "member_id", "to_date", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #<BigDecimal:b495628,'0.5E2',9(36)>], ["created_at", Sun, 25 Aug 2013 06:32:34 UTC +00:00], ["from_date", Sun, 25 Aug 2013], ["member_id", 31], ["to_date", Sun, 24 Aug 2014], ["updated_at", Sun, 25 Aug 2013 06:32:34 UTC +00:00]]
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/adherent/members/31/payments/new" for 127.0.0.1 at 2013-08-25 08:32:34 +0200
+Processing by Adherent::PaymentsController#new as HTML
+ Parameters: {"member_id"=>"31"}
+ [1m[35mOrganism Load (0.3ms)[0m SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "31"]]
+ [1m[35mAdherent::Adhesion Load (0.3ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 31 ORDER BY to_date
+ [1m[36m (0.3ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 25[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 25
+ Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (5.3ms)
+ Rendered layouts/adherent/_header.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms)
+Completed 200 OK in 19ms (Views: 10.7ms | ActiveRecord: 1.2ms)
+Started POST "/adherent/members/31/payments" for 127.0.0.1 at 2013-08-25 08:32:34 +0200
+Processing by Adherent::PaymentsController#create as HTML
+ Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"31"}
+ [1m[36mOrganism Load (0.2ms)[0m [1mSELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1[0m
+ [1m[35mAdherent::Member Load (0.0ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "31"]]
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #<BigDecimal:b724a88,'0.8E2',9(18)>], ["created_at", Sun, 25 Aug 2013 06:32:34 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 31], ["mode", "CB"], ["updated_at", Sun, 25 Aug 2013 06:32:34 UTC +00:00]]
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 31 LIMIT 1[0m
+ [1m[35mAdherent::Adhesion Load (0.3ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 31 ORDER BY to_date
+ [1m[36m (0.4ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 25[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 25
+ [1m[36mSQL (1.1ms)[0m [1mINSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["adhesion_id", 25], ["amount", #<BigDecimal:b741e80,'0.5E2',9(27)>], ["created_at", Sun, 25 Aug 2013 06:32:34 UTC +00:00], ["payment_id", 11], ["updated_at", Sun, 25 Aug 2013 06:32:34 UTC +00:00]]
+ [1m[35m (1.3ms)[0m RELEASE SAVEPOINT active_record_1
+Redirected to http://www.example.com/adherent/members/31/payments
+Completed 302 Found in 19ms (ActiveRecord: 4.3ms)
+Started GET "/adherent/members/31/payments" for 127.0.0.1 at 2013-08-25 08:32:34 +0200
+Processing by Adherent::PaymentsController#index as HTML
+ Parameters: {"member_id"=>"31"}
+ [1m[36mOrganism Load (0.3ms)[0m [1mSELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1[0m
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "31"]]
+ [1m[36mAdherent::Payment Load (0.3ms)[0m [1mSELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 31[0m
+ [1m[35mAdherent::Reglement Load (0.3ms)[0m SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 11
+ [1m[36mAdherent::Adhesion Load (0.3ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 25 LIMIT 1[0m
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 31 LIMIT 1
+ [1m[36mAdherent::Reglement Load (0.3ms)[0m [1mSELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 11[0m
+ [1m[35m (0.2ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 11
+ [1m[36mAdherent::Reglement Load (0.2ms)[0m [1mSELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 11[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 11
+ Rendered layouts/adherent/_header.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.0ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms)
+Completed 200 OK in 90ms (Views: 85.3ms | ActiveRecord: 2.4ms)
+ [1m[36mAdherent::Payment Load (0.5ms)[0m [1mSELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 31 ORDER BY "adherent_payments"."id" DESC LIMIT 1[0m
+ [1m[35mAdherent::Adhesion Load (0.2ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 32
+ [1m[36mAdherent::Adhesion Load (0.2ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 32 ORDER BY to_date DESC LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "adherent_adhesions" ("amount", "created_at", "from_date", "member_id", "to_date", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["amount", #<BigDecimal:9ff1c30,'0.49E2',9(36)>], ["created_at", Sun, 25 Aug 2013 06:32:35 UTC +00:00], ["from_date", Sun, 25 Aug 2013], ["member_id", 32], ["to_date", Sun, 24 Aug 2014], ["updated_at", Sun, 25 Aug 2013 06:32:35 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mAdherent::Adhesion Load (0.3ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 33[0m
+ [1m[35mAdherent::Adhesion Load (0.1ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 33 ORDER BY to_date DESC LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "adherent_adhesions" ("amount", "created_at", "from_date", "member_id", "to_date", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #<BigDecimal:a1ad9c0,'0.27E2',9(36)>], ["created_at", Sun, 25 Aug 2013 06:32:35 UTC +00:00], ["from_date", Sun, 25 Aug 2013], ["member_id", 33], ["to_date", Sun, 24 Aug 2014], ["updated_at", Sun, 25 Aug 2013 06:32:35 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/adherent/payments/11/reglements/new" for 127.0.0.1 at 2013-08-25 08:32:35 +0200
+Processing by Adherent::ReglementsController#new as HTML
+ Parameters: {"payment_id"=>"11"}
+ [1m[35mOrganism Load (0.3ms)[0m SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1
+ [1m[36mAdherent::Payment Load (0.2ms)[0m [1mSELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1[0m [["id", "11"]]
+ [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 31 LIMIT 1
+ [1m[36mAdherent::Reglement Load (0.2ms)[0m [1mSELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 11[0m
+ [1m[35m (0.2ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 11
+ [1m[36mAdherent::Adhesion Load (0.2ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" [0m
+ [1m[35m (0.2ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 25
+ [1m[36m (0.1ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 26[0m
+ [1m[35m (0.2ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 27
+ [1m[36mAdherent::Reglement Load (0.4ms)[0m [1mSELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 11[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 11
+ [1m[36mAdherent::Member Load (0.5ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 32 LIMIT 1[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 26
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 33 LIMIT 1[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 27
+ Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (10.2ms)
+ Rendered layouts/adherent/_header.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms)
+Completed 200 OK in 25ms (Views: 14.3ms | ActiveRecord: 3.1ms)
+Started POST "/adherent/payments/11/reglements" for 127.0.0.1 at 2013-08-25 08:32:35 +0200
+Processing by Adherent::ReglementsController#create as HTML
+ Parameters: {"utf8"=>"✓", "reglement"=>{"adhesion_id"=>"26"}, "commit"=>"Enregistrer", "payment_id"=>"11"}
+ [1m[36mOrganism Load (0.3ms)[0m [1mSELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1[0m
+ [1m[35mAdherent::Payment Load (0.2ms)[0m SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", "11"]]
+ [1m[36mAdherent::Adhesion Load (0.3ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1[0m [["id", "26"]]
+ [1m[35mAdherent::Reglement Load (0.2ms)[0m SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 11
+ [1m[36m (0.2ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 11[0m
+ [1m[35m (0.2ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 26
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.5ms)[0m INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 26], ["amount", #<BigDecimal:ad28e44,'0.3E2',9(27)>], ["created_at", Sun, 25 Aug 2013 06:32:35 UTC +00:00], ["payment_id", 11], ["updated_at", Sun, 25 Aug 2013 06:32:35 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 31 LIMIT 1
+Redirected to http://www.example.com/adherent/members/31/payments
+Completed 302 Found in 11ms (ActiveRecord: 2.4ms)
+Started GET "/adherent/members/31/payments" for 127.0.0.1 at 2013-08-25 08:32:35 +0200
+Processing by Adherent::PaymentsController#index as HTML
+ Parameters: {"member_id"=>"31"}
+ [1m[36mOrganism Load (0.3ms)[0m [1mSELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1[0m
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "31"]]
+ [1m[36mAdherent::Payment Load (0.3ms)[0m [1mSELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 31[0m
+ [1m[35mAdherent::Reglement Load (0.3ms)[0m SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 11
+ [1m[36mAdherent::Adhesion Load (0.2ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 26 LIMIT 1[0m
+ [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 32 LIMIT 1
+ [1m[36mAdherent::Adhesion Load (0.3ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 25 LIMIT 1[0m
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 31 LIMIT 1
+ [1m[36mAdherent::Reglement Load (0.2ms)[0m [1mSELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 11[0m
+ [1m[35m (0.3ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 11
+ [1m[36mAdherent::Reglement Load (0.2ms)[0m [1mSELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 11[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 11
+ Rendered layouts/adherent/_header.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms)
+Completed 200 OK in 19ms (Views: 14.7ms | ActiveRecord: 2.9ms)
+ [1m[36mAdherent::Reglement Load (0.3ms)[0m [1mSELECT "adherent_reglements".* FROM "adherent_reglements" LIMIT 1[0m
+ [1m[35mAdherent::Adhesion Load (0.8ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 25 LIMIT 1
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 31 LIMIT 1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.2ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m COMMIT
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mOrganism Load (3.7ms)[0m SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (1.6ms)[0m INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sun, 25 Aug 2013 06:32:35 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sun, 25 Aug 2013 06:32:35 UTC +00:00]]
+ [1m[36m (0.9ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (1.3ms)[0m SAVEPOINT active_record_1
+ [1m[36mAdherent::Member Exists (0.4ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 12) LIMIT 1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["birthdate", nil], ["created_at", Sun, 25 Aug 2013 06:32:35 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 12], ["updated_at", Sun, 25 Aug 2013 06:32:35 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mAdherent::Member Exists (1.3ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 12) LIMIT 1[0m
+ [1m[35mSQL (0.5ms)[0m INSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["birthdate", nil], ["created_at", Sun, 25 Aug 2013 06:32:35 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 12], ["updated_at", Sun, 25 Aug 2013 06:32:35 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mAdherent::Member Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 12) LIMIT 1[0m
+ [1m[35mSQL (1.9ms)[0m INSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["birthdate", nil], ["created_at", Sun, 25 Aug 2013 06:32:35 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 12], ["updated_at", Sun, 25 Aug 2013 06:32:35 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members"
+ [1m[36mAdherent::Adhesion Load (0.3ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 34[0m
+ [1m[35mAdherent::Adhesion Load (0.3ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 34 ORDER BY to_date DESC LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.5ms)[0m INSERT INTO "adherent_adhesions" ("amount", "created_at", "from_date", "member_id", "to_date", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #<BigDecimal:b672e21c,'0.5E2',9(36)>], ["created_at", Sun, 25 Aug 2013 06:32:35 UTC +00:00], ["from_date", Sun, 25 Aug 2013], ["member_id", 34], ["to_date", Sun, 24 Aug 2014], ["updated_at", Sun, 25 Aug 2013 06:32:35 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/adherent/members/34/payments/new" for 127.0.0.1 at 2013-08-25 08:32:35 +0200
+Processing by Adherent::PaymentsController#new as HTML
+ Parameters: {"member_id"=>"34"}
+ [1m[35mOrganism Load (0.3ms)[0m SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "34"]]
+ [1m[35mAdherent::Adhesion Load (0.9ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 34 ORDER BY to_date
+ [1m[36m (0.3ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 28[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 28
+ Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (5.6ms)
+ Rendered layouts/adherent/_header.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms)
+Completed 200 OK in 16ms (Views: 9.5ms | ActiveRecord: 1.7ms)
+Started POST "/adherent/members/34/payments" for 127.0.0.1 at 2013-08-25 08:32:35 +0200
+Processing by Adherent::PaymentsController#create as HTML
+ Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"34"}
+ [1m[36mOrganism Load (1.1ms)[0m [1mSELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1[0m
+ [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "34"]]
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #<BigDecimal:b685af14,'0.8E2',9(18)>], ["created_at", Sun, 25 Aug 2013 06:32:35 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 34], ["mode", "CB"], ["updated_at", Sun, 25 Aug 2013 06:32:35 UTC +00:00]]
+ [1m[36mAdherent::Member Load (0.5ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 34 LIMIT 1[0m
+ [1m[35mAdherent::Adhesion Load (0.6ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 34 ORDER BY to_date
+ [1m[36m (0.3ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 28[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 28
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["adhesion_id", 28], ["amount", #<BigDecimal:b6883ae0,'0.5E2',9(27)>], ["created_at", Sun, 25 Aug 2013 06:32:35 UTC +00:00], ["payment_id", 12], ["updated_at", Sun, 25 Aug 2013 06:32:35 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+Redirected to http://www.example.com/adherent/members/34/payments
+Completed 302 Found in 18ms (ActiveRecord: 3.7ms)
+Started GET "/adherent/members/34/payments" for 127.0.0.1 at 2013-08-25 08:32:35 +0200
+Processing by Adherent::PaymentsController#index as HTML
+ Parameters: {"member_id"=>"34"}
+ [1m[36mOrganism Load (0.1ms)[0m [1mSELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1[0m
+ [1m[35mAdherent::Member Load (0.4ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "34"]]
+ [1m[36mAdherent::Payment Load (7.7ms)[0m [1mSELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 34[0m
+ [1m[35mAdherent::Reglement Load (0.4ms)[0m SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 12
+ [1m[36mAdherent::Adhesion Load (0.4ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 28 LIMIT 1[0m
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 34 LIMIT 1
+ [1m[36mAdherent::Reglement Load (0.4ms)[0m [1mSELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 12[0m
+ [1m[35m (2.9ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 12
+ [1m[36mAdherent::Reglement Load (0.3ms)[0m [1mSELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 12[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 12
+ Rendered layouts/adherent/_header.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms)
+Completed 200 OK in 26ms (Views: 10.9ms | ActiveRecord: 12.8ms)
+ [1m[36mAdherent::Payment Load (6.2ms)[0m [1mSELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 34 ORDER BY "adherent_payments"."id" DESC LIMIT 1[0m
+ [1m[35mAdherent::Adhesion Load (1.0ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 35
+ [1m[36mAdherent::Adhesion Load (1.6ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 35 ORDER BY to_date DESC LIMIT 1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.8ms)[0m [1mINSERT INTO "adherent_adhesions" ("amount", "created_at", "from_date", "member_id", "to_date", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["amount", #<BigDecimal:b6551ae8,'0.49E2',9(36)>], ["created_at", Sun, 25 Aug 2013 06:32:35 UTC +00:00], ["from_date", Sun, 25 Aug 2013], ["member_id", 35], ["to_date", Sun, 24 Aug 2014], ["updated_at", Sun, 25 Aug 2013 06:32:35 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mAdherent::Adhesion Load (0.4ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 36[0m
+ [1m[35mAdherent::Adhesion Load (0.4ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 36 ORDER BY to_date DESC LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.5ms)[0m INSERT INTO "adherent_adhesions" ("amount", "created_at", "from_date", "member_id", "to_date", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #<BigDecimal:b65399d4,'0.27E2',9(36)>], ["created_at", Sun, 25 Aug 2013 06:32:35 UTC +00:00], ["from_date", Sun, 25 Aug 2013], ["member_id", 36], ["to_date", Sun, 24 Aug 2014], ["updated_at", Sun, 25 Aug 2013 06:32:35 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/adherent/payments/12/reglements/new" for 127.0.0.1 at 2013-08-25 08:32:35 +0200
+Processing by Adherent::ReglementsController#new as HTML
+ Parameters: {"payment_id"=>"12"}
+ [1m[35mOrganism Load (0.4ms)[0m SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1
+ [1m[36mAdherent::Payment Load (0.2ms)[0m [1mSELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1[0m [["id", "12"]]
+ [1m[35mAdherent::Member Load (0.4ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 34 LIMIT 1
+ [1m[36mAdherent::Reglement Load (0.4ms)[0m [1mSELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 12[0m
+ [1m[35m (0.5ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 12
+ [1m[36mAdherent::Adhesion Load (2.4ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" [0m
+ [1m[35m (1.1ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 28
+ [1m[36m (0.4ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 29[0m
+ [1m[35m (0.2ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 30
+ [1m[36mAdherent::Reglement Load (0.7ms)[0m [1mSELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 12[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 12
+ [1m[36mAdherent::Member Load (4.8ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 35 LIMIT 1[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 29
+ [1m[36mAdherent::Member Load (1.5ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 36 LIMIT 1[0m
+ [1m[35mCACHE (0.1ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 30
+ Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (18.8ms)
+ Rendered layouts/adherent/_header.html.haml (4.5ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms)
+Completed 200 OK in 51ms (Views: 26.4ms | ActiveRecord: 13.0ms)
+Started POST "/adherent/payments/12/reglements" for 127.0.0.1 at 2013-08-25 08:32:35 +0200
+Processing by Adherent::ReglementsController#create as HTML
+ Parameters: {"utf8"=>"✓", "reglement"=>{"adhesion_id"=>"29"}, "commit"=>"Enregistrer", "payment_id"=>"12"}
+ [1m[36mOrganism Load (0.3ms)[0m [1mSELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1[0m
+ [1m[35mAdherent::Payment Load (0.1ms)[0m SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", "12"]]
+ [1m[36mAdherent::Adhesion Load (0.2ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1[0m [["id", "29"]]
+ [1m[35mAdherent::Reglement Load (0.2ms)[0m SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 12
+ [1m[36m (0.2ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 12[0m
+ [1m[35m (0.2ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 29
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.5ms)[0m INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 29], ["amount", #<BigDecimal:b1707f4,'0.3E2',9(27)>], ["created_at", Sun, 25 Aug 2013 06:32:35 UTC +00:00], ["payment_id", 12], ["updated_at", Sun, 25 Aug 2013 06:32:35 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mAdherent::Member Load (0.4ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 34 LIMIT 1
+Redirected to http://www.example.com/adherent/members/34/payments
+Completed 302 Found in 13ms (ActiveRecord: 2.2ms)
+Started GET "/adherent/members/34/payments" for 127.0.0.1 at 2013-08-25 08:32:35 +0200
+Processing by Adherent::PaymentsController#index as HTML
+ Parameters: {"member_id"=>"34"}
+ [1m[36mOrganism Load (0.3ms)[0m [1mSELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1[0m
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "34"]]
+ [1m[36mAdherent::Payment Load (0.5ms)[0m [1mSELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 34[0m
+ [1m[35mAdherent::Reglement Load (0.0ms)[0m SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 12
+ [1m[36mAdherent::Adhesion Load (0.4ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 29 LIMIT 1[0m
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 35 LIMIT 1
+ [1m[36mAdherent::Adhesion Load (0.4ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 28 LIMIT 1[0m
+ [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 34 LIMIT 1
+ [1m[36mAdherent::Reglement Load (0.3ms)[0m [1mSELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 12[0m
+ [1m[35m (0.2ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 12
+ [1m[36mAdherent::Reglement Load (0.4ms)[0m [1mSELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 12[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 12
+ Rendered layouts/adherent/_header.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.0ms)
+Completed 200 OK in 21ms (Views: 15.9ms | ActiveRecord: 3.2ms)
+ [1m[36mAdherent::Reglement Load (0.9ms)[0m [1mSELECT "adherent_reglements".* FROM "adherent_reglements" ORDER BY "adherent_reglements"."id" DESC LIMIT 1[0m
+ [1m[35mAdherent::Adhesion Load (0.8ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 29 LIMIT 1
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 35 LIMIT 1[0m
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m COMMIT
+ [1m[36m (0.2ms)[0m [1mBEGIN[0m
+ [1m[35mOrganism Load (0.3ms)[0m SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1
+ [1m[36m (2.6ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.6ms)[0m INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sun, 25 Aug 2013 06:32:35 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sun, 25 Aug 2013 06:32:35 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mAdherent::Member Exists (1.1ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 13) LIMIT 1[0m
+ [1m[35mSQL (0.5ms)[0m INSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["birthdate", nil], ["created_at", Sun, 25 Aug 2013 06:32:35 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 13], ["updated_at", Sun, 25 Aug 2013 06:32:35 UTC +00:00]]
+ [1m[36m (0.3ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mAdherent::Member Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 13) LIMIT 1[0m
+ [1m[35mSQL (0.5ms)[0m INSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["birthdate", nil], ["created_at", Sun, 25 Aug 2013 06:32:35 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 13], ["updated_at", Sun, 25 Aug 2013 06:32:35 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.9ms)[0m SAVEPOINT active_record_1
+ [1m[36mAdherent::Member Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 13) LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["birthdate", nil], ["created_at", Sun, 25 Aug 2013 06:32:35 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 13], ["updated_at", Sun, 25 Aug 2013 06:32:35 UTC +00:00]]
+ [1m[36m (1.5ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members"
+ [1m[36mAdherent::Adhesion Load (4.2ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 37[0m
+ [1m[35mAdherent::Adhesion Load (0.4ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 37 ORDER BY to_date DESC LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "adherent_adhesions" ("amount", "created_at", "from_date", "member_id", "to_date", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #<BigDecimal:af1304c,'0.5E2',9(36)>], ["created_at", Sun, 25 Aug 2013 06:32:35 UTC +00:00], ["from_date", Sun, 25 Aug 2013], ["member_id", 37], ["to_date", Sun, 24 Aug 2014], ["updated_at", Sun, 25 Aug 2013 06:32:35 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/adherent/members/37/payments/new" for 127.0.0.1 at 2013-08-25 08:32:35 +0200
+Processing by Adherent::PaymentsController#new as HTML
+ Parameters: {"member_id"=>"37"}
+ [1m[35mOrganism Load (1.3ms)[0m SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "37"]]
+ [1m[35mAdherent::Adhesion Load (1.6ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 37 ORDER BY to_date
+ [1m[36m (0.1ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 31[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 31
+ Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (5.2ms)
+ Rendered layouts/adherent/_header.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms)
+Completed 200 OK in 19ms (Views: 9.7ms | ActiveRecord: 3.2ms)
+Started POST "/adherent/members/37/payments" for 127.0.0.1 at 2013-08-25 08:32:35 +0200
+Processing by Adherent::PaymentsController#create as HTML
+ Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"33", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"37"}
+ [1m[36mOrganism Load (0.3ms)[0m [1mSELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1[0m
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "37"]]
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.5ms)[0m INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #<BigDecimal:b31788c,'0.33E2',9(18)>], ["created_at", Sun, 25 Aug 2013 06:32:35 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 37], ["mode", "CB"], ["updated_at", Sun, 25 Aug 2013 06:32:35 UTC +00:00]]
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 37 LIMIT 1[0m
+ [1m[35mAdherent::Adhesion Load (0.3ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 37 ORDER BY to_date
+ [1m[36m (0.2ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 31[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 31
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["adhesion_id", 31], ["amount", #<BigDecimal:b31549c,'0.33E2',9(18)>], ["created_at", Sun, 25 Aug 2013 06:32:35 UTC +00:00], ["payment_id", 13], ["updated_at", Sun, 25 Aug 2013 06:32:35 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+Redirected to http://www.example.com/adherent/members/37/payments
+Completed 302 Found in 14ms (ActiveRecord: 2.5ms)
+Started GET "/adherent/members/37/payments" for 127.0.0.1 at 2013-08-25 08:32:35 +0200
+Processing by Adherent::PaymentsController#index as HTML
+ Parameters: {"member_id"=>"37"}
+ [1m[36mOrganism Load (0.3ms)[0m [1mSELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1[0m
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "37"]]
+ [1m[36mAdherent::Payment Load (0.3ms)[0m [1mSELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 37[0m
+ [1m[35mAdherent::Reglement Load (0.2ms)[0m SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 13
+ [1m[36mAdherent::Adhesion Load (0.3ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 31 LIMIT 1[0m
+ [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 37 LIMIT 1
+ [1m[36mAdherent::Reglement Load (0.2ms)[0m [1mSELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 13[0m
+ [1m[35m (0.3ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 13
+ [1m[36mAdherent::Reglement Load (0.2ms)[0m [1mSELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 13[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 13
+ Rendered layouts/adherent/_header.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms)
+Completed 200 OK in 17ms (Views: 13.5ms | ActiveRecord: 2.4ms)
+ [1m[36mAdherent::Adhesion Load (0.4ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 37 ORDER BY to_date[0m
+ [1m[35m (0.3ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 31
+ [1m[36m (0.2ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 31[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m COMMIT
+ [1m[36m (0.2ms)[0m [1mBEGIN[0m
+ [1m[35mOrganism Load (0.3ms)[0m SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (3.3ms)[0m INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sun, 25 Aug 2013 06:32:35 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sun, 25 Aug 2013 06:32:35 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mAdherent::Member Exists (0.9ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 14) LIMIT 1[0m
+ [1m[35mSQL (0.5ms)[0m INSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["birthdate", nil], ["created_at", Sun, 25 Aug 2013 06:32:35 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 14], ["updated_at", Sun, 25 Aug 2013 06:32:35 UTC +00:00]]
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m SAVEPOINT active_record_1
+ [1m[36mAdherent::Member Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 14) LIMIT 1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["birthdate", nil], ["created_at", Sun, 25 Aug 2013 06:32:35 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 14], ["updated_at", Sun, 25 Aug 2013 06:32:35 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mAdherent::Member Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 14) LIMIT 1[0m
+ [1m[35mSQL (0.6ms)[0m INSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["birthdate", nil], ["created_at", Sun, 25 Aug 2013 06:32:35 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 14], ["updated_at", Sun, 25 Aug 2013 06:32:35 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members"
+ [1m[36mAdherent::Adhesion Load (0.2ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 40[0m
+ [1m[35mAdherent::Adhesion Load (0.4ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 40 ORDER BY to_date DESC LIMIT 1
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.5ms)[0m INSERT INTO "adherent_adhesions" ("amount", "created_at", "from_date", "member_id", "to_date", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #<BigDecimal:b09c1e8,'0.5E2',9(36)>], ["created_at", Sun, 25 Aug 2013 06:32:35 UTC +00:00], ["from_date", Sun, 25 Aug 2013], ["member_id", 40], ["to_date", Sun, 24 Aug 2014], ["updated_at", Sun, 25 Aug 2013 06:32:35 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/adherent/members/40/payments/new" for 127.0.0.1 at 2013-08-25 08:32:35 +0200
+Processing by Adherent::PaymentsController#new as HTML
+ Parameters: {"member_id"=>"40"}
+ [1m[35mOrganism Load (0.3ms)[0m SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1
+ [1m[36mAdherent::Member Load (0.8ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "40"]]
+ [1m[35mAdherent::Adhesion Load (0.4ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 40 ORDER BY to_date
+ [1m[36m (0.2ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 32[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 32
+ Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (5.5ms)
+ Rendered layouts/adherent/_header.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms)
+Completed 200 OK in 15ms (Views: 9.0ms | ActiveRecord: 1.7ms)
+Started POST "/adherent/members/40/payments" for 127.0.0.1 at 2013-08-25 08:32:35 +0200
+Processing by Adherent::PaymentsController#create as HTML
+ Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"33", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"40"}
+ [1m[36mOrganism Load (0.3ms)[0m [1mSELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1[0m
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "40"]]
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (28.5ms)[0m INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #<BigDecimal:b4661fc,'0.33E2',9(18)>], ["created_at", Sun, 25 Aug 2013 06:32:35 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 40], ["mode", "CB"], ["updated_at", Sun, 25 Aug 2013 06:32:35 UTC +00:00]]
+ [1m[36mAdherent::Member Load (0.4ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 40 LIMIT 1[0m
+ [1m[35mAdherent::Adhesion Load (0.3ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 40 ORDER BY to_date
+ [1m[36m (0.3ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 32[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 32
+ [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["adhesion_id", 32], ["amount", #<BigDecimal:b4644ec,'0.33E2',9(18)>], ["created_at", Sun, 25 Aug 2013 06:32:35 UTC +00:00], ["payment_id", 14], ["updated_at", Sun, 25 Aug 2013 06:32:35 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+Redirected to http://www.example.com/adherent/members/40/payments
+Completed 302 Found in 42ms (ActiveRecord: 30.7ms)
+Started GET "/adherent/members/40/payments" for 127.0.0.1 at 2013-08-25 08:32:35 +0200
+Processing by Adherent::PaymentsController#index as HTML
+ Parameters: {"member_id"=>"40"}
+ [1m[36mOrganism Load (0.3ms)[0m [1mSELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1[0m
+ [1m[35mAdherent::Member Load (0.1ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "40"]]
+ [1m[36mAdherent::Payment Load (0.3ms)[0m [1mSELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 40[0m
+ [1m[35mAdherent::Reglement Load (0.3ms)[0m SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 14
+ [1m[36mAdherent::Adhesion Load (0.3ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 32 LIMIT 1[0m
+ [1m[35mAdherent::Member Load (0.1ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 40 LIMIT 1
+ [1m[36mAdherent::Reglement Load (0.2ms)[0m [1mSELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 14[0m
+ [1m[35m (0.2ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 14
+ [1m[36mAdherent::Reglement Load (0.2ms)[0m [1mSELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 14[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 14
+ Rendered layouts/adherent/_header.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms)
+Completed 200 OK in 16ms (Views: 12.3ms | ActiveRecord: 2.2ms)
+ [1m[36mAdherent::Adhesion Load (0.5ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 40 ORDER BY to_date[0m
+ [1m[35m (0.2ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 32
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.4ms)[0m [1mCOMMIT[0m
+ [1m[35m (0.3ms)[0m BEGIN
+ [1m[36mOrganism Load (0.8ms)[0m [1mSELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (4.3ms)[0m [1mINSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["created_at", Sun, 25 Aug 2013 06:32:35 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sun, 25 Aug 2013 06:32:35 UTC +00:00]]
+ [1m[35m (3.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.4ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mAdherent::Member Exists (3.3ms)[0m SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 15) LIMIT 1
+ [1m[36mSQL (1.6ms)[0m [1mINSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["birthdate", nil], ["created_at", Sun, 25 Aug 2013 06:32:35 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 15], ["updated_at", Sun, 25 Aug 2013 06:32:35 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mAdherent::Member Exists (1.9ms)[0m SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 15) LIMIT 1
+ [1m[36mSQL (3.0ms)[0m [1mINSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["birthdate", nil], ["created_at", Sun, 25 Aug 2013 06:32:35 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 15], ["updated_at", Sun, 25 Aug 2013 06:32:35 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (1.3ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mAdherent::Member Exists (2.0ms)[0m SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 15) LIMIT 1
+ [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["birthdate", nil], ["created_at", Sun, 25 Aug 2013 06:32:36 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 15], ["updated_at", Sun, 25 Aug 2013 06:32:36 UTC +00:00]]
+ [1m[35m (1.5ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" [0m
+ [1m[35mAdherent::Adhesion Load (0.7ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 43
+ [1m[36mAdherent::Adhesion Load (0.3ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 43 ORDER BY to_date DESC LIMIT 1[0m
+ [1m[35m (0.7ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (1.9ms)[0m [1mINSERT INTO "adherent_adhesions" ("amount", "created_at", "from_date", "member_id", "to_date", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["amount", #<BigDecimal:b75a494,'0.5E2',9(36)>], ["created_at", Sun, 25 Aug 2013 06:32:36 UTC +00:00], ["from_date", Sun, 25 Aug 2013], ["member_id", 43], ["to_date", Sun, 24 Aug 2014], ["updated_at", Sun, 25 Aug 2013 06:32:36 UTC +00:00]]
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
+Started GET "/adherent/members/43/payments/new" for 127.0.0.1 at 2013-08-25 08:32:36 +0200
+Processing by Adherent::PaymentsController#new as HTML
+ Parameters: {"member_id"=>"43"}
+ [1m[36mOrganism Load (0.3ms)[0m [1mSELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1[0m
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "43"]]
+ [1m[36mAdherent::Adhesion Load (0.3ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 43 ORDER BY to_date[0m
+ [1m[35m (0.3ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 33
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 33[0m
+ Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (5.9ms)
+ Rendered layouts/adherent/_header.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms)
+Completed 200 OK in 17ms (Views: 9.8ms | ActiveRecord: 1.1ms)
+Started POST "/adherent/members/43/payments" for 127.0.0.1 at 2013-08-25 08:32:36 +0200
+Processing by Adherent::PaymentsController#create as HTML
+ Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"66", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"43"}
+ [1m[35mOrganism Load (0.4ms)[0m SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1
+ [1m[36mAdherent::Member Load (0.1ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "43"]]
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["amount", #<BigDecimal:a11b1d8,'0.66E2',9(18)>], ["created_at", Sun, 25 Aug 2013 06:32:36 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 43], ["mode", "CB"], ["updated_at", Sun, 25 Aug 2013 06:32:36 UTC +00:00]]
+ [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 43 LIMIT 1
+ [1m[36mAdherent::Adhesion Load (0.3ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 43 ORDER BY to_date[0m
+ [1m[35m (0.4ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 33
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 33[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 33], ["amount", #<BigDecimal:a2fb660,'0.5E2',9(27)>], ["created_at", Sun, 25 Aug 2013 06:32:36 UTC +00:00], ["payment_id", 15], ["updated_at", Sun, 25 Aug 2013 06:32:36 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/adherent/members/43/payments
+Completed 302 Found in 14ms (ActiveRecord: 2.5ms)
+Started GET "/adherent/members/43/payments" for 127.0.0.1 at 2013-08-25 08:32:36 +0200
+Processing by Adherent::PaymentsController#index as HTML
+ Parameters: {"member_id"=>"43"}
+ [1m[35mOrganism Load (0.3ms)[0m SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "43"]]
+ [1m[35mAdherent::Payment Load (0.4ms)[0m SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 43
+ [1m[36mAdherent::Reglement Load (0.3ms)[0m [1mSELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 15[0m
+ [1m[35mAdherent::Adhesion Load (0.3ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 33 LIMIT 1
+ [1m[36mAdherent::Member Load (0.4ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 43 LIMIT 1[0m
+ [1m[35mAdherent::Reglement Load (0.2ms)[0m SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 15
+ [1m[36m (0.2ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 15[0m
+ [1m[35mAdherent::Reglement Load (0.2ms)[0m SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 15
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 15[0m
+ Rendered layouts/adherent/_header.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms)
+Completed 200 OK in 23ms (Views: 18.4ms | ActiveRecord: 2.5ms)
+ [1m[35mAdherent::Payment Load (0.4ms)[0m SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 43 ORDER BY "adherent_payments"."id" DESC LIMIT 1
+ [1m[36mAdherent::Reglement Load (0.2ms)[0m [1mSELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 15[0m
+ [1m[35m (5.9ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 15
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mCOMMIT[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mOrganism Load (1.5ms)[0m [1mSELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1[0m
+ [1m[35m (1.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["created_at", Sun, 25 Aug 2013 06:32:36 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sun, 25 Aug 2013 06:32:36 UTC +00:00]]
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mAdherent::Member Exists (0.0ms)[0m SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 16) LIMIT 1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["birthdate", nil], ["created_at", Sun, 25 Aug 2013 06:32:36 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 16], ["updated_at", Sun, 25 Aug 2013 06:32:36 UTC +00:00]]
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mAdherent::Member Exists (0.4ms)[0m SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 16) LIMIT 1
+ [1m[36mSQL (5.3ms)[0m [1mINSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["birthdate", nil], ["created_at", Sun, 25 Aug 2013 06:32:36 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 16], ["updated_at", Sun, 25 Aug 2013 06:32:36 UTC +00:00]]
+ [1m[35m (0.5ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mAdherent::Member Exists (0.3ms)[0m SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 16) LIMIT 1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["birthdate", nil], ["created_at", Sun, 25 Aug 2013 06:32:36 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 16], ["updated_at", Sun, 25 Aug 2013 06:32:36 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" [0m
+ [1m[35mAdherent::Adhesion Load (0.1ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 46
+ [1m[36mAdherent::Adhesion Load (0.3ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 46 ORDER BY to_date DESC LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.9ms)[0m [1mINSERT INTO "adherent_adhesions" ("amount", "created_at", "from_date", "member_id", "to_date", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["amount", #<BigDecimal:adc49ac,'0.5E2',9(36)>], ["created_at", Sun, 25 Aug 2013 06:32:36 UTC +00:00], ["from_date", Sun, 25 Aug 2013], ["member_id", 46], ["to_date", Sun, 24 Aug 2014], ["updated_at", Sun, 25 Aug 2013 06:32:36 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+Started GET "/adherent/members/46/payments/new" for 127.0.0.1 at 2013-08-25 08:32:36 +0200
+Processing by Adherent::PaymentsController#new as HTML
+ Parameters: {"member_id"=>"46"}
+ [1m[36mOrganism Load (0.5ms)[0m [1mSELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1[0m
+ [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "46"]]
+ [1m[36mAdherent::Adhesion Load (0.3ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 46 ORDER BY to_date[0m
+ [1m[35m (0.2ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 34
+ [1m[36mCACHE (0.7ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 34[0m
+ Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (11.3ms)
+ Rendered layouts/adherent/_header.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.0ms)
+Completed 200 OK in 32ms (Views: 19.7ms | ActiveRecord: 2.1ms)
+Started POST "/adherent/members/46/payments" for 127.0.0.1 at 2013-08-25 08:32:36 +0200
+Processing by Adherent::PaymentsController#create as HTML
+ Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"66", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"46"}
+ [1m[35mOrganism Load (0.3ms)[0m SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "46"]]
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["amount", #<BigDecimal:b6a0fdf0,'0.66E2',9(18)>], ["created_at", Sun, 25 Aug 2013 06:32:36 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 46], ["mode", "CB"], ["updated_at", Sun, 25 Aug 2013 06:32:36 UTC +00:00]]
+ [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 46 LIMIT 1
+ [1m[36mAdherent::Adhesion Load (0.3ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 46 ORDER BY to_date[0m
+ [1m[35m (0.3ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 34
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 34[0m
+ [1m[35mSQL (0.9ms)[0m INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 34], ["amount", #<BigDecimal:b6a3b6d0,'0.5E2',9(27)>], ["created_at", Sun, 25 Aug 2013 06:32:36 UTC +00:00], ["payment_id", 16], ["updated_at", Sun, 25 Aug 2013 06:32:36 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/adherent/members/46/payments
+Completed 302 Found in 12ms (ActiveRecord: 2.8ms)
+Started GET "/adherent/members/46/payments" for 127.0.0.1 at 2013-08-25 08:32:36 +0200
+Processing by Adherent::PaymentsController#index as HTML
+ Parameters: {"member_id"=>"46"}
+ [1m[35mOrganism Load (0.3ms)[0m SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "46"]]
+ [1m[35mAdherent::Payment Load (0.4ms)[0m SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 46
+ [1m[36mAdherent::Reglement Load (0.3ms)[0m [1mSELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 16[0m
+ [1m[35mAdherent::Adhesion Load (0.3ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 34 LIMIT 1
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 46 LIMIT 1[0m
+ [1m[35mAdherent::Reglement Load (0.3ms)[0m SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 16
+ [1m[36m (0.2ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 16[0m
+ [1m[35mAdherent::Reglement Load (0.2ms)[0m SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 16
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 16[0m
+ Rendered layouts/adherent/_header.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms)
+Completed 200 OK in 16ms (Views: 12.4ms | ActiveRecord: 2.5ms)
+ [1m[35mAdherent::Adhesion Load (0.4ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 46 ORDER BY to_date
+ [1m[36m (0.2ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 34[0m
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.2ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (3.2ms)[0m [1mINSERT INTO "adherent_adhesions" ("amount", "created_at", "from_date", "member_id", "to_date", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["amount", #<BigDecimal:b6ace318,'0.1927E2',18(45)>], ["created_at", Sun, 25 Aug 2013 06:32:36 UTC +00:00], ["from_date", Sun, 25 Aug 2013], ["member_id", 1], ["to_date", Sun, 24 Aug 2014], ["updated_at", Sun, 25 Aug 2013 06:32:36 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (2.3ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 35[0m
+ [1m[35m (1.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (4.8ms)[0m [1mINSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["adhesion_id", 35], ["amount", #<BigDecimal:b6833b58,'0.1927E2',18(36)>], ["created_at", Sun, 25 Aug 2013 06:32:36 UTC +00:00], ["payment_id", 1], ["updated_at", Sun, 25 Aug 2013 06:32:36 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.3ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 35[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "adherent_adhesions" ("amount", "created_at", "from_date", "member_id", "to_date", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["amount", #<BigDecimal:b686769c,'0.1927E2',18(45)>], ["created_at", Sun, 25 Aug 2013 06:32:36 UTC +00:00], ["from_date", Sun, 25 Aug 2013], ["member_id", 1], ["to_date", Sun, 24 Aug 2014], ["updated_at", Sun, 25 Aug 2013 06:32:36 UTC +00:00]]
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.3ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 36[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["adhesion_id", 36], ["amount", #<BigDecimal:b6883874,'0.1E2',9(36)>], ["created_at", Sun, 25 Aug 2013 06:32:36 UTC +00:00], ["payment_id", 1], ["updated_at", Sun, 25 Aug 2013 06:32:36 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.6ms)[0m INSERT INTO "adherent_adhesions" ("amount", "created_at", "from_date", "member_id", "to_date", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #<BigDecimal:b689f128,'0.1927E2',18(45)>], ["created_at", Sun, 25 Aug 2013 06:32:36 UTC +00:00], ["from_date", Sun, 25 Aug 2013], ["member_id", 1], ["to_date", Sun, 24 Aug 2014], ["updated_at", Sun, 25 Aug 2013 06:32:36 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 37
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 37], ["amount", #<BigDecimal:b68af2d0,'0.1E2',9(36)>], ["created_at", Sun, 25 Aug 2013 06:32:36 UTC +00:00], ["payment_id", 1], ["updated_at", Sun, 25 Aug 2013 06:32:36 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 37
+ [1m[36m (0.2ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 37[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.3ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+Processing by Adherent::AdhesionsController#index as HTML
+ Parameters: {"member_id"=>"1006"}
+ [1m[35mOrganism Load (0.3ms)[0m SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sun, 25 Aug 2013 06:32:36 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sun, 25 Aug 2013 06:32:36 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Completed 200 OK in 12ms (Views: 8.6ms | ActiveRecord: 0.8ms)
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+Processing by Adherent::AdhesionsController#index as HTML
+ Parameters: {"member_id"=>"1007"}
+ [1m[35mOrganism Load (6.1ms)[0m SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1
+ [1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.6ms)[0m INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sun, 25 Aug 2013 06:32:36 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sun, 25 Aug 2013 06:32:36 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Completed 200 OK in 11ms (Views: 1.0ms | ActiveRecord: 7.0ms)
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+Processing by Adherent::AdhesionsController#index as HTML
+ Parameters: {"member_id"=>"1008"}
+ [1m[35mOrganism Load (0.3ms)[0m SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sun, 25 Aug 2013 06:32:37 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sun, 25 Aug 2013 06:32:37 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://test.host/adherent/members/1008/adhesions/new
+Completed 302 Found in 7ms (ActiveRecord: 1.0ms)
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+Processing by Adherent::AdhesionsController#new as HTML
+ Parameters: {"member_id"=>"1009"}
+ [1m[35mOrganism Load (0.3ms)[0m SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sun, 25 Aug 2013 06:32:37 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sun, 25 Aug 2013 06:32:37 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Completed 200 OK in 4ms (Views: 0.9ms | ActiveRecord: 0.8ms)
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+Processing by Adherent::AdhesionsController#update as HTML
+ Parameters: {"adhesion"=>{"amount"=>"125"}, "member_id"=>"1011", "id"=>"1"}
+ [1m[35mOrganism Load (0.3ms)[0m SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sun, 25 Aug 2013 06:32:37 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sun, 25 Aug 2013 06:32:37 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://test.host/adherent/members/1011/adhesions
+Completed 302 Found in 5ms (ActiveRecord: 0.9ms)
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+Processing by Adherent::AdhesionsController#update as HTML
+ Parameters: {"adhesion"=>{"amount"=>"125"}, "member_id"=>"1013", "id"=>"1"}
+ [1m[35mOrganism Load (0.4ms)[0m SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sun, 25 Aug 2013 06:32:37 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sun, 25 Aug 2013 06:32:37 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Completed 200 OK in 28ms (Views: 21.9ms | ActiveRecord: 1.1ms)
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+Processing by Adherent::AdhesionsController#update as HTML
+ Parameters: {"adhesion"=>{"amount"=>"125"}, "member_id"=>"1015", "id"=>"1"}
+ [1m[35mOrganism Load (0.3ms)[0m SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.8ms)[0m INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sun, 25 Aug 2013 06:32:37 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sun, 25 Aug 2013 06:32:37 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Completed 200 OK in 11ms (Views: 1.0ms | ActiveRecord: 1.3ms)
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+Processing by Adherent::AdhesionsController#update as HTML
+ Parameters: {"adhesion"=>{"amount"=>"125"}, "member_id"=>"1017", "id"=>"1"}
+ [1m[35mOrganism Load (0.3ms)[0m SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sun, 25 Aug 2013 06:32:37 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sun, 25 Aug 2013 06:32:37 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://test.host/adherent/members/1017/adhesions
+Completed 302 Found in 6ms (ActiveRecord: 0.9ms)
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+Processing by Adherent::AdhesionsController#edit as HTML
+ Parameters: {"member_id"=>"1019", "id"=>"1"}
+ [1m[35mOrganism Load (0.3ms)[0m SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sun, 25 Aug 2013 06:32:37 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sun, 25 Aug 2013 06:32:37 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Completed 200 OK in 6ms (Views: 1.6ms | ActiveRecord: 0.9ms)
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+Processing by Adherent::AdhesionsController#edit as HTML
+ Parameters: {"member_id"=>"1021", "id"=>"1"}
+ [1m[35mOrganism Load (0.4ms)[0m SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sun, 25 Aug 2013 06:32:37 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sun, 25 Aug 2013 06:32:37 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Completed 200 OK in 6ms (Views: 1.9ms | ActiveRecord: 0.9ms)
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.6ms)[0m [1mBEGIN[0m
+Processing by Adherent::AdhesionsController#create as HTML
+ Parameters: {"adhesion"=>{"amount"=>"57", "mode"=>"CB", "date"=>"25/08/2013"}, "member_id"=>"1023"}
+ [1m[35mOrganism Load (0.3ms)[0m SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1
+ [1m[36m (4.9ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.5ms)[0m INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sun, 25 Aug 2013 06:32:37 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sun, 25 Aug 2013 06:32:37 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://test.host/adherent/members/1023/adhesions
+Completed 302 Found in 10ms (ActiveRecord: 5.8ms)
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+Processing by Adherent::AdhesionsController#create as HTML
+ Parameters: {"adhesion"=>{"amount"=>"57", "mode"=>"CB", "date"=>"25/08/2013"}, "member_id"=>"1025"}
+ [1m[35mOrganism Load (0.4ms)[0m SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.5ms)[0m INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sun, 25 Aug 2013 06:32:37 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sun, 25 Aug 2013 06:32:37 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Completed 200 OK in 10ms (Views: 2.2ms | ActiveRecord: 1.0ms)
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+Processing by Adherent::AdhesionsController#create as HTML
+ Parameters: {"adhesion"=>{"amount"=>"57", "mode"=>"CB", "date"=>"25/08/2013"}, "member_id"=>"1027"}
+ [1m[35mOrganism Load (0.3ms)[0m SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1
+ [1m[36m (6.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (2.3ms)[0m INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sun, 25 Aug 2013 06:32:37 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sun, 25 Aug 2013 06:32:37 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://test.host/adherent/members/1027/adhesions
+Completed 302 Found in 15ms (ActiveRecord: 8.9ms)
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+Processing by Adherent::CoordsController#show as HTML
+ Parameters: {"member_id"=>"1029"}
+ [1m[35mOrganism Load (1.5ms)[0m SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.5ms)[0m INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sun, 25 Aug 2013 06:32:38 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sun, 25 Aug 2013 06:32:38 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Completed 200 OK in 114ms (Views: 107.0ms | ActiveRecord: 2.2ms)
+ [1m[35m (0.5ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+Processing by Adherent::CoordsController#show as HTML
+ Parameters: {"member_id"=>"1031"}
+ [1m[35mOrganism Load (2.0ms)[0m SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.8ms)[0m INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sun, 25 Aug 2013 06:32:38 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sun, 25 Aug 2013 06:32:38 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Completed 200 OK in 7ms (Views: 1.6ms | ActiveRecord: 3.0ms)
+ [1m[35m (1.9ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+Processing by Adherent::CoordsController#new as HTML
+ Parameters: {"member_id"=>"1033"}
+ [1m[35mOrganism Load (0.3ms)[0m SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sun, 25 Aug 2013 06:32:38 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sun, 25 Aug 2013 06:32:38 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Completed 200 OK in 46ms (Views: 40.9ms | ActiveRecord: 0.9ms)
+ [1m[35m (1.3ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+Processing by Adherent::CoordsController#update as HTML
+ Parameters: {"coord"=>{"city"=>"Dallas"}, "member_id"=>"1035"}
+ [1m[35mOrganism Load (0.3ms)[0m SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.5ms)[0m INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sun, 25 Aug 2013 06:32:38 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sun, 25 Aug 2013 06:32:38 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://test.host/adherent/members/1035/coord
+Completed 302 Found in 6ms (ActiveRecord: 1.0ms)
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+Processing by Adherent::CoordsController#update as HTML
+ Parameters: {"coord"=>{"city"=>"Dallas"}, "member_id"=>"1037"}
+ [1m[35mOrganism Load (0.3ms)[0m SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sun, 25 Aug 2013 06:32:38 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sun, 25 Aug 2013 06:32:38 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Completed 200 OK in 200ms (Views: 195.9ms | ActiveRecord: 0.8ms)
+ [1m[35m (1.9ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+Processing by Adherent::CoordsController#update as HTML
+ Parameters: {"coord"=>{"city"=>"Dallas"}, "member_id"=>"1039"}
+ [1m[35mOrganism Load (0.3ms)[0m SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sun, 25 Aug 2013 06:32:38 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sun, 25 Aug 2013 06:32:38 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Completed 200 OK in 6ms (Views: 1.5ms | ActiveRecord: 0.8ms)
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.2ms)[0m [1mBEGIN[0m
+Processing by Adherent::CoordsController#update as HTML
+ Parameters: {"coord"=>{"city"=>"Dallas"}, "member_id"=>"1041"}
+ [1m[35mOrganism Load (0.5ms)[0m SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sun, 25 Aug 2013 06:32:38 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sun, 25 Aug 2013 06:32:38 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://test.host/adherent/members/1041/coord
+Completed 302 Found in 7ms (ActiveRecord: 1.0ms)
+ [1m[35m (0.3ms)[0m ROLLBACK
+ [1m[36m (0.2ms)[0m [1mBEGIN[0m
+Processing by Adherent::CoordsController#edit as HTML
+ Parameters: {"member_id"=>"1043"}
+ [1m[35mOrganism Load (0.5ms)[0m SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sun, 25 Aug 2013 06:32:39 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sun, 25 Aug 2013 06:32:39 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Completed 200 OK in 6ms (Views: 1.8ms | ActiveRecord: 1.1ms)
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.3ms)[0m [1mBEGIN[0m
+Processing by Adherent::CoordsController#edit as HTML
+ Parameters: {"member_id"=>"1045"}
+ [1m[35mOrganism Load (0.3ms)[0m SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (1.4ms)[0m INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sun, 25 Aug 2013 06:32:39 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sun, 25 Aug 2013 06:32:39 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Completed 200 OK in 6ms (Views: 1.3ms | ActiveRecord: 1.8ms)
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+Processing by Adherent::CoordsController#create as HTML
+ Parameters: {"coord"=>{"city"=>"Bruxelles", "zip"=>"1000"}, "member_id"=>"1047"}
+ [1m[35mOrganism Load (0.3ms)[0m SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.6ms)[0m INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sun, 25 Aug 2013 06:32:39 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sun, 25 Aug 2013 06:32:39 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Completed 200 OK in 6ms (Views: 1.0ms | ActiveRecord: 1.1ms)
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+Processing by Adherent::CoordsController#create as HTML
+ Parameters: {"coord"=>{"city"=>"Bruxelles", "zip"=>"1000"}, "member_id"=>"1049"}
+ [1m[35mOrganism Load (0.5ms)[0m SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.5ms)[0m INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sun, 25 Aug 2013 06:32:39 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sun, 25 Aug 2013 06:32:39 UTC +00:00]]
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://test.host/adherent/members/1049/adhesions/new
+Completed 302 Found in 6ms (ActiveRecord: 1.4ms)
+ [1m[35m (0.3ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m COMMIT
+ [1m[36m (0.4ms)[0m [1mBEGIN[0m
+ [1m[35mOrganism Load (1.2ms)[0m SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (9.2ms)[0m INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sun, 25 Aug 2013 06:32:39 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sun, 25 Aug 2013 06:32:39 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mAdherent::Member Exists (4.4ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 41) LIMIT 1[0m
+ [1m[35mSQL (1.1ms)[0m INSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["birthdate", nil], ["created_at", Sun, 25 Aug 2013 06:32:39 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 41], ["updated_at", Sun, 25 Aug 2013 06:32:39 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members"
+ [1m[36mAdherent::Adhesion Load (2.1ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 49[0m
+ [1m[35mAdherent::Adhesion Load (0.4ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 49 ORDER BY to_date DESC LIMIT 1
+ [1m[36m (2.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (2.7ms)[0m INSERT INTO "adherent_adhesions" ("amount", "created_at", "from_date", "member_id", "to_date", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #<BigDecimal:ad4d17c,'0.0',9(36)>], ["created_at", Sun, 25 Aug 2013 06:32:39 UTC +00:00], ["from_date", Sun, 25 Aug 2013], ["member_id", 49], ["to_date", Sun, 24 Aug 2014], ["updated_at", Sun, 25 Aug 2013 06:32:39 UTC +00:00]]
+ [1m[36m (1.7ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (2.6ms)[0m [1mINSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["amount", #<BigDecimal:ad9420c,'0.87654E3',18(45)>], ["created_at", Sun, 25 Aug 2013 06:32:39 UTC +00:00], ["date", Sun, 25 Aug 2013], ["member_id", 49], ["mode", "CB"], ["updated_at", Sun, 25 Aug 2013 06:32:39 UTC +00:00]]
+ [1m[35mAdherent::Member Load (1.8ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 49 LIMIT 1
+ [1m[36mAdherent::Adhesion Load (0.4ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 49 ORDER BY to_date[0m
+ [1m[35m (4.9ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 38
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/adherent/members/49/payments" for 127.0.0.1 at 2013-08-25 08:32:39 +0200
+Processing by Adherent::PaymentsController#index as HTML
+ Parameters: {"member_id"=>"49"}
+ [1m[35mOrganism Load (8.9ms)[0m SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1
+ [1m[36mAdherent::Member Load (4.6ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "49"]]
+ [1m[35mAdherent::Payment Load (1.9ms)[0m SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 49
+ [1m[36mAdherent::Reglement Load (2.1ms)[0m [1mSELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 17[0m
+ [1m[35mAdherent::Reglement Load (0.1ms)[0m SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 17
+ [1m[36m (0.2ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 17[0m
+ [1m[35mAdherent::Reglement Load (1.3ms)[0m SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 17
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 17[0m
+ Rendered layouts/adherent/_header.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms)
+Completed 200 OK in 44ms (Views: 22.6ms | ActiveRecord: 19.1ms)
+ [1m[35m (0.5ms)[0m ROLLBACK
+ [1m[36m (0.4ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m COMMIT
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mOrganism Load (0.3ms)[0m SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1
+ [1m[36m (0.4ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (3.2ms)[0m INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sun, 25 Aug 2013 06:32:39 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sun, 25 Aug 2013 06:32:39 UTC +00:00]]
+ [1m[36m (5.5ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m SAVEPOINT active_record_1
+ [1m[36mAdherent::Member Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 42) LIMIT 1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["birthdate", nil], ["created_at", Sun, 25 Aug 2013 06:32:39 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 42], ["updated_at", Sun, 25 Aug 2013 06:32:39 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members"
+ [1m[36mAdherent::Adhesion Load (0.3ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 50[0m
+ [1m[35mAdherent::Adhesion Load (0.3ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 50 ORDER BY to_date DESC LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "adherent_adhesions" ("amount", "created_at", "from_date", "member_id", "to_date", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #<BigDecimal:b6a042c0,'0.0',9(36)>], ["created_at", Sun, 25 Aug 2013 06:32:39 UTC +00:00], ["from_date", Sun, 25 Aug 2013], ["member_id", 50], ["to_date", Sun, 24 Aug 2014], ["updated_at", Sun, 25 Aug 2013 06:32:39 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["amount", #<BigDecimal:b6a1c488,'0.87654E3',18(45)>], ["created_at", Sun, 25 Aug 2013 06:32:39 UTC +00:00], ["date", Sun, 25 Aug 2013], ["member_id", 50], ["mode", "CB"], ["updated_at", Sun, 25 Aug 2013 06:32:39 UTC +00:00]]
+ [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 50 LIMIT 1
+ [1m[36mAdherent::Adhesion Load (0.4ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 50 ORDER BY to_date[0m
+ [1m[35m (0.2ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 39
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/adherent/members/50/payments" for 127.0.0.1 at 2013-08-25 08:32:39 +0200
+Processing by Adherent::PaymentsController#index as HTML
+ Parameters: {"member_id"=>"50"}
+ [1m[35mOrganism Load (0.3ms)[0m SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "50"]]
+ [1m[35mAdherent::Payment Load (0.5ms)[0m SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 50
+ [1m[36mAdherent::Reglement Load (0.2ms)[0m [1mSELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 18[0m
+ [1m[35mAdherent::Reglement Load (0.2ms)[0m SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 18
+ [1m[36m (0.2ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 18[0m
+ [1m[35mAdherent::Reglement Load (0.2ms)[0m SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 18
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 18[0m
+ Rendered layouts/adherent/_header.html.haml (0.0ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.0ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms)
+Completed 200 OK in 16ms (Views: 12.3ms | ActiveRecord: 1.9ms)
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m COMMIT
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mOrganism Load (0.3ms)[0m SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1
+ [1m[36m (1.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (2.2ms)[0m INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sun, 25 Aug 2013 06:32:39 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sun, 25 Aug 2013 06:32:39 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mAdherent::Member Exists (1.6ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 43) LIMIT 1[0m
+ [1m[35mSQL (4.6ms)[0m INSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["birthdate", nil], ["created_at", Sun, 25 Aug 2013 06:32:39 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 43], ["updated_at", Sun, 25 Aug 2013 06:32:39 UTC +00:00]]
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mAdherent::Member Load (1.0ms)[0m SELECT "adherent_members".* FROM "adherent_members"
+ [1m[36mAdherent::Adhesion Load (0.2ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 51[0m
+ [1m[35mAdherent::Adhesion Load (0.2ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 51 ORDER BY to_date DESC LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.5ms)[0m INSERT INTO "adherent_adhesions" ("amount", "created_at", "from_date", "member_id", "to_date", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #<BigDecimal:b683e9f4,'0.0',9(36)>], ["created_at", Sun, 25 Aug 2013 06:32:39 UTC +00:00], ["from_date", Sun, 25 Aug 2013], ["member_id", 51], ["to_date", Sun, 24 Aug 2014], ["updated_at", Sun, 25 Aug 2013 06:32:39 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/adherent/members/51/payments/new" for 127.0.0.1 at 2013-08-25 08:32:39 +0200
+Processing by Adherent::PaymentsController#new as HTML
+ Parameters: {"member_id"=>"51"}
+ [1m[35mOrganism Load (0.6ms)[0m SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "51"]]
+ [1m[35mAdherent::Adhesion Load (0.4ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 51 ORDER BY to_date
+ [1m[36m (0.3ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 40[0m
+ Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (5.3ms)
+ Rendered layouts/adherent/_header.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.2ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms)
+Completed 200 OK in 16ms (Views: 8.9ms | ActiveRecord: 1.5ms)
+ [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 51
+Started POST "/adherent/members/51/payments" for 127.0.0.1 at 2013-08-25 08:32:39 +0200
+Processing by Adherent::PaymentsController#create as HTML
+ Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"150.25", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"51"}
+ [1m[36mOrganism Load (0.4ms)[0m [1mSELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1[0m
+ [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "51"]]
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #<BigDecimal:b68b21c4,'0.15025E3',18(18)>], ["created_at", Sun, 25 Aug 2013 06:32:39 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 51], ["mode", "CB"], ["updated_at", Sun, 25 Aug 2013 06:32:39 UTC +00:00]]
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 51 LIMIT 1[0m
+ [1m[35mAdherent::Adhesion Load (0.3ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 51 ORDER BY to_date
+ [1m[36m (0.6ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 40[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+Redirected to http://www.example.com/adherent/members/51/payments
+Completed 302 Found in 10ms (ActiveRecord: 2.3ms)
+Started GET "/adherent/members/51/payments" for 127.0.0.1 at 2013-08-25 08:32:39 +0200
+Processing by Adherent::PaymentsController#index as HTML
+ Parameters: {"member_id"=>"51"}
+ [1m[36mOrganism Load (0.3ms)[0m [1mSELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1[0m
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "51"]]
+ [1m[36mAdherent::Payment Load (0.5ms)[0m [1mSELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 51[0m
+ [1m[35mAdherent::Reglement Load (0.2ms)[0m SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 19
+ [1m[36mAdherent::Reglement Load (0.2ms)[0m [1mSELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 19[0m
+ [1m[35m (0.2ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 19
+ [1m[36mAdherent::Reglement Load (0.2ms)[0m [1mSELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 19[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 19
+ Rendered layouts/adherent/_header.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.8ms)
+Completed 200 OK in 13ms (Views: 10.2ms | ActiveRecord: 1.7ms)
+ [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 51[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.8ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m COMMIT
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mOrganism Load (0.3ms)[0m SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (3.0ms)[0m INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sun, 25 Aug 2013 06:32:39 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sun, 25 Aug 2013 06:32:39 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mAdherent::Member Exists (1.9ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 44) LIMIT 1[0m
+ [1m[35mSQL (3.3ms)[0m INSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["birthdate", nil], ["created_at", Sun, 25 Aug 2013 06:32:39 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 44], ["updated_at", Sun, 25 Aug 2013 06:32:39 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mAdherent::Member Load (0.7ms)[0m SELECT "adherent_members".* FROM "adherent_members"
+ [1m[36mAdherent::Adhesion Load (0.8ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 52[0m
+ [1m[35mAdherent::Adhesion Load (0.4ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 52 ORDER BY to_date DESC LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.6ms)[0m INSERT INTO "adherent_adhesions" ("amount", "created_at", "from_date", "member_id", "to_date", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #<BigDecimal:afae04c,'0.0',9(36)>], ["created_at", Sun, 25 Aug 2013 06:32:39 UTC +00:00], ["from_date", Sun, 25 Aug 2013], ["member_id", 52], ["to_date", Sun, 24 Aug 2014], ["updated_at", Sun, 25 Aug 2013 06:32:39 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/adherent/members/52/payments/new" for 127.0.0.1 at 2013-08-25 08:32:39 +0200
+Processing by Adherent::PaymentsController#new as HTML
+ Parameters: {"member_id"=>"52"}
+ [1m[35mOrganism Load (0.3ms)[0m SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "52"]]
+ [1m[35mAdherent::Adhesion Load (0.6ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 52 ORDER BY to_date
+ [1m[36m (0.3ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 41[0m
+ Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (5.1ms)
+ Rendered layouts/adherent/_header.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms)
+Completed 200 OK in 15ms (Views: 8.5ms | ActiveRecord: 1.4ms)
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+Processing by Adherent::PaymentsController#index as HTML
+ Parameters: {"member_id"=>"1051"}
+ [1m[35mOrganism Load (0.9ms)[0m SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.5ms)[0m INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sun, 25 Aug 2013 06:32:39 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sun, 25 Aug 2013 06:32:39 UTC +00:00]]
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Completed 200 OK in 8ms (Views: 0.9ms | ActiveRecord: 1.7ms)
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+Processing by Adherent::PaymentsController#index as HTML
+ Parameters: {"member_id"=>"1052"}
+ [1m[35mOrganism Load (0.4ms)[0m SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1
+ [1m[36m (3.5ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.6ms)[0m INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sun, 25 Aug 2013 06:32:39 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sun, 25 Aug 2013 06:32:39 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Completed 200 OK in 12ms (Views: 1.1ms | ActiveRecord: 4.6ms)
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+Processing by Adherent::PaymentsController#create as HTML
+ Parameters: {"payment"=>{"amount"=>"57", "mode"=>"CB", "date"=>"25/08/2013"}, "member_id"=>"1053"}
+ [1m[35mOrganism Load (0.3ms)[0m SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.7ms)[0m INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sun, 25 Aug 2013 06:32:40 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sun, 25 Aug 2013 06:32:40 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://test.host/adherent/members/1053/payments
+Completed 302 Found in 5ms (ActiveRecord: 1.3ms)
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+Processing by Adherent::PaymentsController#create as HTML
+ Parameters: {"payment"=>{"amount"=>"57", "mode"=>"CB", "date"=>"25/08/2013"}, "member_id"=>"1055"}
+ [1m[35mOrganism Load (0.3ms)[0m SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sun, 25 Aug 2013 06:32:40 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sun, 25 Aug 2013 06:32:40 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Completed 200 OK in 6ms (Views: 2.4ms | ActiveRecord: 0.9ms)
+ [1m[35m (0.3ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+Processing by Adherent::PaymentsController#create as HTML
+ Parameters: {"payment"=>{"amount"=>"57", "mode"=>"CB", "date"=>"25/08/2013"}, "member_id"=>"1057"}
+ [1m[35mOrganism Load (0.4ms)[0m SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sun, 25 Aug 2013 06:32:40 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sun, 25 Aug 2013 06:32:40 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://test.host/adherent/members/1057/payments
+Completed 302 Found in 7ms (ActiveRecord: 1.0ms)
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+Processing by Adherent::PaymentsController#new as HTML
+ Parameters: {"member_id"=>"1059"}
+ [1m[35mOrganism Load (0.4ms)[0m SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.7ms)[0m INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sun, 25 Aug 2013 06:32:40 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sun, 25 Aug 2013 06:32:40 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Completed 200 OK in 5ms (Views: 1.1ms | ActiveRecord: 1.3ms)
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+Processing by Adherent::MembersController#destroy as HTML
+ Parameters: {"id"=>"1061"}
+ [1m[35mOrganism Load (0.4ms)[0m SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sun, 25 Aug 2013 06:32:40 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sun, 25 Aug 2013 06:32:40 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://test.host/adherent/members
+Completed 302 Found in 7ms (ActiveRecord: 0.7ms)
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+Processing by Adherent::MembersController#destroy as HTML
+ Parameters: {"id"=>"1062"}
+ [1m[35mOrganism Load (4.3ms)[0m SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.5ms)[0m INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sun, 25 Aug 2013 06:32:40 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sun, 25 Aug 2013 06:32:40 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://test.host/adherent/members
+Completed 302 Found in 10ms (ActiveRecord: 5.0ms)
+ [1m[35m (2.2ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+Processing by Adherent::MembersController#new as HTML
+ [1m[35mOrganism Load (0.4ms)[0m SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (2.8ms)[0m INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sun, 25 Aug 2013 06:32:40 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sun, 25 Aug 2013 06:32:40 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Completed 200 OK in 53ms (Views: 42.0ms | ActiveRecord: 3.4ms)
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+Processing by Adherent::MembersController#edit as HTML
+ Parameters: {"id"=>"998"}
+ [1m[35mOrganism Load (0.3ms)[0m SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sun, 25 Aug 2013 06:32:40 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sun, 25 Aug 2013 06:32:40 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Completed 200 OK in 20ms (Views: 15.3ms | ActiveRecord: 0.9ms)
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.9ms)[0m [1mBEGIN[0m
+Processing by Adherent::MembersController#edit as HTML
+ Parameters: {"id"=>"999"}
+ [1m[35mOrganism Load (1.4ms)[0m SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1
+ [1m[36m (0.5ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (9.5ms)[0m INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sun, 25 Aug 2013 06:32:40 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sun, 25 Aug 2013 06:32:40 UTC +00:00]]
+ [1m[36m (0.5ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Completed 200 OK in 17ms (Views: 0.7ms | ActiveRecord: 11.9ms)
+ [1m[35m (1.8ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+Processing by Adherent::MembersController#create as HTML
+ Parameters: {"member"=>{"name"=>"Dupont", "forname"=>"Jules", "number"=>"A001"}}
+ [1m[35mOrganism Load (2.1ms)[0m SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (1.2ms)[0m INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sun, 25 Aug 2013 06:32:40 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sun, 25 Aug 2013 06:32:40 UTC +00:00]]
+ [1m[36m (7.6ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (2.5ms)[0m SAVEPOINT active_record_1
+ [1m[36mAdherent::Member Exists (0.5ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'A001' AND "adherent_members"."organism_id" = 56) LIMIT 1[0m
+ [1m[35mSQL (3.4ms)[0m INSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["birthdate", nil], ["created_at", Sun, 25 Aug 2013 06:32:40 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "A001"], ["organism_id", 56], ["updated_at", Sun, 25 Aug 2013 06:32:40 UTC +00:00]]
+ [1m[36m (0.5ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://test.host/adherent/members/53/coord/new
+Completed 302 Found in 33ms (ActiveRecord: 17.8ms)
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+Processing by Adherent::MembersController#create as HTML
+ Parameters: {"member"=>{"name"=>"Dupont", "forname"=>"Jules", "number"=>"A001", "birthdate"=>"06/06/1955"}}
+ [1m[35mOrganism Load (0.5ms)[0m SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (1.0ms)[0m INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sun, 25 Aug 2013 06:32:40 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sun, 25 Aug 2013 06:32:40 UTC +00:00]]
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (2.7ms)[0m SAVEPOINT active_record_1
+ [1m[36mAdherent::Member Exists (0.4ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'A001' AND "adherent_members"."organism_id" = 57) LIMIT 1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["birthdate", Mon, 06 Jun 1955], ["created_at", Sun, 25 Aug 2013 06:32:40 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "A001"], ["organism_id", 57], ["updated_at", Sun, 25 Aug 2013 06:32:40 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://test.host/adherent/members/54/coord/new
+Completed 302 Found in 22ms (ActiveRecord: 5.4ms)
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+Processing by Adherent::MembersController#create as HTML
+ Parameters: {"member"=>{"name"=>"Dupont", "forname"=>"Jules", "number"=>"A001"}}
+ [1m[35mOrganism Load (1.8ms)[0m SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.6ms)[0m INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sun, 25 Aug 2013 06:32:40 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sun, 25 Aug 2013 06:32:40 UTC +00:00]]
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mAdherent::Member Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'A001' AND "adherent_members"."organism_id" = 58) LIMIT 1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["birthdate", nil], ["created_at", Sun, 25 Aug 2013 06:32:40 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "A001"], ["organism_id", 58], ["updated_at", Sun, 25 Aug 2013 06:32:40 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://test.host/adherent/members/55/coord/new
+Completed 302 Found in 15ms (ActiveRecord: 3.5ms)
+ [1m[35m (0.5ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+Processing by Adherent::MembersController#create as HTML
+ Parameters: {"member"=>{"name"=>"Dupont", "forname"=>"Jules", "number"=>"A001"}}
+ [1m[35mOrganism Load (0.3ms)[0m SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (1.3ms)[0m INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sun, 25 Aug 2013 06:32:41 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sun, 25 Aug 2013 06:32:41 UTC +00:00]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Completed 200 OK in 16ms (Views: 1.0ms | ActiveRecord: 1.7ms)
+ [1m[35m (1.5ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+Processing by Adherent::MembersController#update as HTML
+ Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1065"}
+ [1m[35mOrganism Load (0.4ms)[0m SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (1.0ms)[0m INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sun, 25 Aug 2013 06:32:41 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sun, 25 Aug 2013 06:32:41 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://test.host/adherent/members/1065
+Completed 302 Found in 12ms (ActiveRecord: 1.6ms)
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+Processing by Adherent::MembersController#update as HTML
+ Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1066"}
+ [1m[35mOrganism Load (0.3ms)[0m SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sun, 25 Aug 2013 06:32:41 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sun, 25 Aug 2013 06:32:41 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://test.host/adherent/members/1066
+Completed 302 Found in 5ms (ActiveRecord: 0.9ms)
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+Processing by Adherent::MembersController#update as HTML
+ Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1067"}
+ [1m[35mOrganism Load (3.5ms)[0m SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.5ms)[0m INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sun, 25 Aug 2013 06:32:41 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sun, 25 Aug 2013 06:32:41 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Completed 200 OK in 12ms (Views: 1.0ms | ActiveRecord: 4.2ms)
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+Processing by Adherent::MembersController#update as HTML
+ Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1068"}
+ [1m[35mOrganism Load (1.5ms)[0m SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1
+ [1m[36m (0.5ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.9ms)[0m INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sun, 25 Aug 2013 06:32:41 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sun, 25 Aug 2013 06:32:41 UTC +00:00]]
+ [1m[36m (0.3ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://test.host/adherent/members/1068
+Completed 302 Found in 14ms (ActiveRecord: 3.2ms)
+ [1m[35m (1.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+Processing by Adherent::MembersController#index as HTML
+ [1m[35mOrganism Load (0.3ms)[0m SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (1.2ms)[0m INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sun, 25 Aug 2013 06:32:41 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sun, 25 Aug 2013 06:32:41 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Completed 200 OK in 14ms (Views: 0.9ms | ActiveRecord: 1.8ms)
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+Processing by Adherent::MembersController#index as HTML
+ [1m[35mOrganism Load (2.1ms)[0m SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (1.6ms)[0m INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sun, 25 Aug 2013 06:32:41 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sun, 25 Aug 2013 06:32:41 UTC +00:00]]
+ [1m[36m (0.3ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mAdherent::Member Load (10.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 65
+Completed 200 OK in 31ms (Views: 1.3ms | ActiveRecord: 14.3ms)
+ [1m[36m (6.3ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+Processing by Adherent::MembersController#show as HTML
+ Parameters: {"id"=>"998"}
+ [1m[36mOrganism Load (0.3ms)[0m [1mSELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["created_at", Sun, 25 Aug 2013 06:32:41 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sun, 25 Aug 2013 06:32:41 UTC +00:00]]
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
+Completed 200 OK in 26ms (Views: 21.3ms | ActiveRecord: 1.0ms)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.2ms)[0m BEGIN
+Processing by Adherent::MembersController#show as HTML
+ Parameters: {"id"=>"999"}
+ [1m[36mOrganism Load (1.0ms)[0m [1mSELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["created_at", Sun, 25 Aug 2013 06:32:41 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sun, 25 Aug 2013 06:32:41 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+Completed 200 OK in 12ms (Views: 0.9ms | ActiveRecord: 1.7ms)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+Processing by Adherent::ReglementsController#create as HTML
+ Parameters: {"reglement"=>{"adhesion_id"=>"9"}, "payment_id"=>"1072"}
+ [1m[36mOrganism Load (4.4ms)[0m [1mSELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1[0m
+ [1m[35m (0.3ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["created_at", Sun, 25 Aug 2013 06:32:41 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sun, 25 Aug 2013 06:32:41 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+Redirected to http://test.host/adherent/members/1071/payments
+Completed 302 Found in 10ms (ActiveRecord: 5.2ms)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+Processing by Adherent::ReglementsController#new as HTML
+ Parameters: {"payment_id"=>"1074"}
+ [1m[36mOrganism Load (0.3ms)[0m [1mSELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["created_at", Sun, 25 Aug 2013 06:32:41 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sun, 25 Aug 2013 06:32:41 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mAdherent::Adhesion Load (0.2ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" [0m
+Completed 200 OK in 5ms (Views: 1.3ms | ActiveRecord: 1.1ms)
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+Processing by Adherent::ReglementsController#new as HTML
+ Parameters: {"payment_id"=>"1077"}
+ [1m[35mOrganism Load (0.9ms)[0m SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (2.1ms)[0m INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sun, 25 Aug 2013 06:32:41 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sun, 25 Aug 2013 06:32:41 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mAdherent::Adhesion Load (0.2ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions"
+Completed 200 OK in 13ms (Views: 1.5ms | ActiveRecord: 3.4ms)
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (1.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mCOMMIT[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mOrganism Load (0.3ms)[0m [1mSELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["created_at", Sun, 25 Aug 2013 06:32:42 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sun, 25 Aug 2013 06:32:42 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mAdherent::Member Exists (0.2ms)[0m SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 71) LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["birthdate", nil], ["created_at", Sun, 25 Aug 2013 06:32:42 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 71], ["updated_at", Sun, 25 Aug 2013 06:32:42 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mAdherent::Member Exists (0.4ms)[0m SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 71) LIMIT 1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["birthdate", nil], ["created_at", Sun, 25 Aug 2013 06:32:42 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 71], ["updated_at", Sun, 25 Aug 2013 06:32:42 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mAdherent::Member Exists (0.2ms)[0m SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 71) LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["birthdate", nil], ["created_at", Sun, 25 Aug 2013 06:32:42 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 71], ["updated_at", Sun, 25 Aug 2013 06:32:42 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mAdherent::Member Exists (0.2ms)[0m SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh003' AND "adherent_members"."organism_id" = 71) LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["birthdate", nil], ["created_at", Sun, 25 Aug 2013 06:32:42 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 71], ["updated_at", Sun, 25 Aug 2013 06:32:42 UTC +00:00]]
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mAdherent::Member Exists (0.2ms)[0m SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh004' AND "adherent_members"."organism_id" = 71) LIMIT 1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["birthdate", nil], ["created_at", Sun, 25 Aug 2013 06:32:42 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 71], ["updated_at", Sun, 25 Aug 2013 06:32:42 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" [0m
+Started GET "/adherent/members" for 127.0.0.1 at 2013-08-25 08:32:42 +0200
+Processing by Adherent::MembersController#index as HTML
+ [1m[35mOrganism Load (0.3ms)[0m SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 71[0m
+ [1m[35mAdherent::Adhesion Load (0.3ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 56 ORDER BY to_date
+ [1m[36mAdherent::Coord Load (0.3ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 56 LIMIT 1[0m
+ [1m[35mAdherent::Adhesion Load (0.3ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 57 ORDER BY to_date
+ [1m[36mAdherent::Coord Load (0.3ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 57 LIMIT 1[0m
+ [1m[35mAdherent::Adhesion Load (0.3ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 58 ORDER BY to_date
+ [1m[36mAdherent::Coord Load (0.2ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 58 LIMIT 1[0m
+ [1m[35mAdherent::Adhesion Load (0.4ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 59 ORDER BY to_date
+ [1m[36mAdherent::Coord Load (0.2ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 59 LIMIT 1[0m
+ [1m[35mAdherent::Adhesion Load (0.3ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 60 ORDER BY to_date
+ [1m[36mAdherent::Coord Load (0.2ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 60 LIMIT 1[0m
+ Rendered layouts/adherent/_header.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms)
+Completed 200 OK in 41ms (Views: 33.9ms | ActiveRecord: 3.5ms)
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m COMMIT
+ [1m[36m (1.1ms)[0m [1mBEGIN[0m
+ [1m[35mOrganism Load (0.4ms)[0m SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.5ms)[0m INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sun, 25 Aug 2013 06:32:42 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sun, 25 Aug 2013 06:32:42 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mAdherent::Member Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 72) LIMIT 1[0m
+ [1m[35mSQL (0.5ms)[0m INSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["birthdate", nil], ["created_at", Sun, 25 Aug 2013 06:32:42 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 72], ["updated_at", Sun, 25 Aug 2013 06:32:42 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mAdherent::Member Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 72) LIMIT 1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["birthdate", nil], ["created_at", Sun, 25 Aug 2013 06:32:42 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 72], ["updated_at", Sun, 25 Aug 2013 06:32:42 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mAdherent::Member Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 72) LIMIT 1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["birthdate", nil], ["created_at", Sun, 25 Aug 2013 06:32:42 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 72], ["updated_at", Sun, 25 Aug 2013 06:32:42 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mAdherent::Member Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh003' AND "adherent_members"."organism_id" = 72) LIMIT 1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["birthdate", nil], ["created_at", Sun, 25 Aug 2013 06:32:42 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 72], ["updated_at", Sun, 25 Aug 2013 06:32:42 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mAdherent::Member Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh004' AND "adherent_members"."organism_id" = 72) LIMIT 1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["birthdate", nil], ["created_at", Sun, 25 Aug 2013 06:32:42 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 72], ["updated_at", Sun, 25 Aug 2013 06:32:42 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members"
+Started GET "/adherent/members" for 127.0.0.1 at 2013-08-25 08:32:42 +0200
+Processing by Adherent::MembersController#index as HTML
+ [1m[36mOrganism Load (0.4ms)[0m [1mSELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1[0m
+ [1m[35mAdherent::Member Load (0.4ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 72
+ [1m[36mAdherent::Adhesion Load (0.4ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 61 ORDER BY to_date[0m
+ [1m[35mAdherent::Coord Load (0.1ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 61 LIMIT 1
+ [1m[36mAdherent::Adhesion Load (0.5ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 62 ORDER BY to_date[0m
+ [1m[35mAdherent::Coord Load (0.3ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 62 LIMIT 1
+ [1m[36mAdherent::Adhesion Load (0.2ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 63 ORDER BY to_date[0m
+ [1m[35mAdherent::Coord Load (0.2ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 63 LIMIT 1
+ [1m[36mAdherent::Adhesion Load (0.4ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 64 ORDER BY to_date[0m
+ [1m[35mAdherent::Coord Load (0.2ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 64 LIMIT 1
+ [1m[36mAdherent::Adhesion Load (0.4ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 65 ORDER BY to_date[0m
+ [1m[35mAdherent::Coord Load (0.2ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 65 LIMIT 1
+ Rendered layouts/adherent/_header.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms)
+Completed 200 OK in 34ms (Views: 26.7ms | ActiveRecord: 3.9ms)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mCOMMIT[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mOrganism Load (0.6ms)[0m [1mSELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (1.1ms)[0m [1mINSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["created_at", Sun, 25 Aug 2013 06:32:42 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sun, 25 Aug 2013 06:32:42 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (2.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mAdherent::Member Exists (0.3ms)[0m SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 73) LIMIT 1
+ [1m[36mSQL (7.9ms)[0m [1mINSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["birthdate", nil], ["created_at", Sun, 25 Aug 2013 06:32:42 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 73], ["updated_at", Sun, 25 Aug 2013 06:32:42 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (1.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mAdherent::Member Exists (0.3ms)[0m SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 73) LIMIT 1
+ [1m[36mSQL (4.0ms)[0m [1mINSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["birthdate", nil], ["created_at", Sun, 25 Aug 2013 06:32:42 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 73], ["updated_at", Sun, 25 Aug 2013 06:32:42 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mAdherent::Member Exists (1.6ms)[0m SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 73) LIMIT 1
+ [1m[36mSQL (7.9ms)[0m [1mINSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["birthdate", nil], ["created_at", Sun, 25 Aug 2013 06:32:42 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 73], ["updated_at", Sun, 25 Aug 2013 06:32:42 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mAdherent::Member Exists (5.4ms)[0m SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh003' AND "adherent_members"."organism_id" = 73) LIMIT 1
+ [1m[36mSQL (2.1ms)[0m [1mINSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["birthdate", nil], ["created_at", Sun, 25 Aug 2013 06:32:42 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 73], ["updated_at", Sun, 25 Aug 2013 06:32:42 UTC +00:00]]
+ [1m[35m (0.4ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.6ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mAdherent::Member Exists (4.3ms)[0m SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh004' AND "adherent_members"."organism_id" = 73) LIMIT 1
+ [1m[36mSQL (4.7ms)[0m [1mINSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["birthdate", nil], ["created_at", Sun, 25 Aug 2013 06:32:42 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 73], ["updated_at", Sun, 25 Aug 2013 06:32:42 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" [0m
+Started GET "/adherent/members/new" for 127.0.0.1 at 2013-08-25 08:32:42 +0200
+Processing by Adherent::MembersController#new as HTML
+ [1m[35mOrganism Load (0.6ms)[0m SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1
+ Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/_form.html.erb (11.9ms)
+ Rendered layouts/adherent/_header.html.haml (1.7ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.5ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.3ms)
+Completed 200 OK in 153ms (Views: 148.1ms | ActiveRecord: 0.6ms)
+ [1m[36m (1.9ms)[0m [1mSELECT COUNT(*) FROM "adherent_members" [0m
+Started POST "/adherent/members" for 127.0.0.1 at 2013-08-25 08:32:42 +0200
+Processing by Adherent::MembersController#create as HTML
+ Parameters: {"utf8"=>"✓", "member"=>{"number"=>"ADH1", "name"=>"James", "forname"=>"Jessie", "birthdate"=>""}, "commit"=>"Créer le membre"}
+ [1m[35mOrganism Load (0.2ms)[0m SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mAdherent::Member Exists (0.3ms)[0m SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'ADH1' AND "adherent_members"."organism_id" = 73) LIMIT 1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["birthdate", nil], ["created_at", Sun, 25 Aug 2013 06:32:42 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "ADH1"], ["organism_id", 73], ["updated_at", Sun, 25 Aug 2013 06:32:42 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+Redirected to http://www.example.com/adherent/members/71/coord/new
+Completed 302 Found in 7ms (ActiveRecord: 1.1ms)
+Started GET "/adherent/members/71/coord/new" for 127.0.0.1 at 2013-08-25 08:32:42 +0200
+Processing by Adherent::CoordsController#new as HTML
+ Parameters: {"member_id"=>"71"}
+ [1m[36mOrganism Load (0.3ms)[0m [1mSELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1[0m
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "71"]]
+ [1m[36mAdherent::Coord Load (0.4ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 71 LIMIT 1[0m
+ Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (21.0ms)
+ Rendered layouts/adherent/_header.html.haml (4.3ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.2ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms)
+Completed 200 OK in 51ms (Views: 47.1ms | ActiveRecord: 0.9ms)
+ [1m[35m (1.4ms)[0m SELECT COUNT(*) FROM "adherent_members"
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mCOMMIT[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mOrganism Load (0.3ms)[0m [1mSELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (1.6ms)[0m [1mINSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["created_at", Sun, 25 Aug 2013 06:32:42 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sun, 25 Aug 2013 06:32:42 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mAdherent::Member Exists (0.3ms)[0m SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 74) LIMIT 1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["birthdate", nil], ["created_at", Sun, 25 Aug 2013 06:32:42 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 74], ["updated_at", Sun, 25 Aug 2013 06:32:42 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mAdherent::Member Exists (0.3ms)[0m SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 74) LIMIT 1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["birthdate", nil], ["created_at", Sun, 25 Aug 2013 06:32:42 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 74], ["updated_at", Sun, 25 Aug 2013 06:32:42 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mAdherent::Member Exists (0.2ms)[0m SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 74) LIMIT 1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["birthdate", nil], ["created_at", Sun, 25 Aug 2013 06:32:42 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 74], ["updated_at", Sun, 25 Aug 2013 06:32:42 UTC +00:00]]
+ [1m[35m (0.3ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mAdherent::Member Exists (0.3ms)[0m SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh003' AND "adherent_members"."organism_id" = 74) LIMIT 1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["birthdate", nil], ["created_at", Sun, 25 Aug 2013 06:32:42 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 74], ["updated_at", Sun, 25 Aug 2013 06:32:42 UTC +00:00]]
+ [1m[35m (0.5ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mAdherent::Member Exists (0.3ms)[0m SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh004' AND "adherent_members"."organism_id" = 74) LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["birthdate", nil], ["created_at", Sun, 25 Aug 2013 06:32:42 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 74], ["updated_at", Sun, 25 Aug 2013 06:32:42 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" [0m
+Started GET "/adherent/members" for 127.0.0.1 at 2013-08-25 08:32:42 +0200
+Processing by Adherent::MembersController#index as HTML
+ [1m[35mOrganism Load (0.3ms)[0m SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 74[0m
+ [1m[35mAdherent::Adhesion Load (0.4ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 72 ORDER BY to_date
+ [1m[36mAdherent::Coord Load (0.3ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 72 LIMIT 1[0m
+ [1m[35mAdherent::Adhesion Load (0.4ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 73 ORDER BY to_date
+ [1m[36mAdherent::Coord Load (0.2ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 73 LIMIT 1[0m
+ [1m[35mAdherent::Adhesion Load (0.3ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 74 ORDER BY to_date
+ [1m[36mAdherent::Coord Load (0.2ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 74 LIMIT 1[0m
+ [1m[35mAdherent::Adhesion Load (0.4ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 75 ORDER BY to_date
+ [1m[36mAdherent::Coord Load (0.2ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 75 LIMIT 1[0m
+ [1m[35mAdherent::Adhesion Load (0.6ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 76 ORDER BY to_date
+ [1m[36mAdherent::Coord Load (0.3ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 76 LIMIT 1[0m
+ Rendered layouts/adherent/_header.html.haml (0.6ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.2ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms)
+Completed 200 OK in 34ms (Views: 27.3ms | ActiveRecord: 4.0ms)
+Started GET "/adherent/members/new" for 127.0.0.1 at 2013-08-25 08:32:42 +0200
+Processing by Adherent::MembersController#new as HTML
+ [1m[35mOrganism Load (0.3ms)[0m SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1
+ Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/_form.html.erb (4.7ms)
+ Rendered layouts/adherent/_header.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms)
+Completed 200 OK in 12ms (Views: 8.0ms | ActiveRecord: 0.3ms)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.3ms)[0m [1mCOMMIT[0m
+ [1m[35m (0.2ms)[0m BEGIN
+ [1m[36mOrganism Load (4.9ms)[0m [1mSELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1[0m
+ [1m[35m (1.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (3.7ms)[0m [1mINSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["created_at", Sun, 25 Aug 2013 06:32:43 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sun, 25 Aug 2013 06:32:43 UTC +00:00]]
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mAdherent::Member Exists (1.0ms)[0m SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 75) LIMIT 1
+ [1m[36mSQL (0.8ms)[0m [1mINSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["birthdate", nil], ["created_at", Sun, 25 Aug 2013 06:32:43 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 75], ["updated_at", Sun, 25 Aug 2013 06:32:43 UTC +00:00]]
+ [1m[35m (0.5ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mAdherent::Member Exists (0.4ms)[0m SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 75) LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["birthdate", nil], ["created_at", Sun, 25 Aug 2013 06:32:43 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 75], ["updated_at", Sun, 25 Aug 2013 06:32:43 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mAdherent::Member Exists (4.8ms)[0m SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 75) LIMIT 1
+ [1m[36mSQL (2.2ms)[0m [1mINSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["birthdate", nil], ["created_at", Sun, 25 Aug 2013 06:32:43 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 75], ["updated_at", Sun, 25 Aug 2013 06:32:43 UTC +00:00]]
+ [1m[35m (1.9ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mAdherent::Member Exists (2.3ms)[0m SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh003' AND "adherent_members"."organism_id" = 75) LIMIT 1
+ [1m[36mSQL (1.7ms)[0m [1mINSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["birthdate", nil], ["created_at", Sun, 25 Aug 2013 06:32:43 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 75], ["updated_at", Sun, 25 Aug 2013 06:32:43 UTC +00:00]]
+ [1m[35m (1.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (1.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mAdherent::Member Exists (0.9ms)[0m SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh004' AND "adherent_members"."organism_id" = 75) LIMIT 1
+ [1m[36mSQL (1.3ms)[0m [1mINSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["birthdate", nil], ["created_at", Sun, 25 Aug 2013 06:32:43 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 75], ["updated_at", Sun, 25 Aug 2013 06:32:43 UTC +00:00]]
+ [1m[35m (0.5ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mAdherent::Member Load (0.7ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" [0m
+Started GET "/adherent/members" for 127.0.0.1 at 2013-08-25 08:32:43 +0200
+Processing by Adherent::MembersController#index as HTML
+ [1m[35mOrganism Load (0.6ms)[0m SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1
+ [1m[36mAdherent::Member Load (1.8ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 75[0m
+ [1m[35mAdherent::Adhesion Load (3.2ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 77 ORDER BY to_date
+ [1m[36mAdherent::Coord Load (1.6ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 77 LIMIT 1[0m
+ [1m[35mAdherent::Adhesion Load (2.7ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 78 ORDER BY to_date
+ [1m[36mAdherent::Coord Load (2.8ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 78 LIMIT 1[0m
+ [1m[35mAdherent::Adhesion Load (0.5ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 79 ORDER BY to_date
+ [1m[36mAdherent::Coord Load (0.4ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 79 LIMIT 1[0m
+ [1m[35mAdherent::Adhesion Load (0.3ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 80 ORDER BY to_date
+ [1m[36mAdherent::Coord Load (0.4ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 80 LIMIT 1[0m
+ [1m[35mAdherent::Adhesion Load (0.3ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 81 ORDER BY to_date
+ [1m[36mAdherent::Coord Load (0.3ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 81 LIMIT 1[0m
+ Rendered layouts/adherent/_header.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms)
+Completed 200 OK in 57ms (Views: 28.6ms | ActiveRecord: 14.7ms)
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" LIMIT 1
+Started GET "/adherent/members/77/adhesions" for 127.0.0.1 at 2013-08-25 08:32:43 +0200
+Processing by Adherent::AdhesionsController#index as HTML
+ Parameters: {"member_id"=>"77"}
+ [1m[36mOrganism Load (2.7ms)[0m [1mSELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1[0m
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "77"]]
+ [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 77[0m
+Redirected to http://www.example.com/adherent/members/77/adhesions/new
+Completed 302 Found in 7ms (ActiveRecord: 3.2ms)
+Started GET "/adherent/members/77/adhesions/new" for 127.0.0.1 at 2013-08-25 08:32:43 +0200
+Processing by Adherent::AdhesionsController#new as HTML
+ Parameters: {"member_id"=>"77"}
+ [1m[35mOrganism Load (0.4ms)[0m SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "77"]]
+ [1m[35mAdherent::Adhesion Load (0.3ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 77
+ [1m[36mAdherent::Adhesion Load (0.2ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 77 ORDER BY to_date DESC LIMIT 1[0m
+ Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (4.7ms)
+ Rendered layouts/adherent/_header.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.2ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms)
+Completed 200 OK in 15ms (Views: 8.1ms | ActiveRecord: 1.1ms)
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.2ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m COMMIT
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mOrganism Load (0.3ms)[0m SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1
+ [1m[36m (0.4ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (2.9ms)[0m INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sun, 25 Aug 2013 06:32:43 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sun, 25 Aug 2013 06:32:43 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mAdherent::Member Exists (3.2ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 76) LIMIT 1[0m
+ [1m[35mSQL (1.5ms)[0m INSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["birthdate", nil], ["created_at", Sun, 25 Aug 2013 06:32:43 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 76], ["updated_at", Sun, 25 Aug 2013 06:32:43 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (1.2ms)[0m SAVEPOINT active_record_1
+ [1m[36mAdherent::Member Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 76) LIMIT 1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["birthdate", nil], ["created_at", Sun, 25 Aug 2013 06:32:43 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 76], ["updated_at", Sun, 25 Aug 2013 06:32:43 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mAdherent::Member Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 76) LIMIT 1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["birthdate", nil], ["created_at", Sun, 25 Aug 2013 06:32:43 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 76], ["updated_at", Sun, 25 Aug 2013 06:32:43 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mAdherent::Member Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh003' AND "adherent_members"."organism_id" = 76) LIMIT 1[0m
+ [1m[35mSQL (0.7ms)[0m INSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["birthdate", nil], ["created_at", Sun, 25 Aug 2013 06:32:43 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 76], ["updated_at", Sun, 25 Aug 2013 06:32:43 UTC +00:00]]
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mAdherent::Member Exists (0.6ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh004' AND "adherent_members"."organism_id" = 76) LIMIT 1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["birthdate", nil], ["created_at", Sun, 25 Aug 2013 06:32:43 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 76], ["updated_at", Sun, 25 Aug 2013 06:32:43 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mAdherent::Member Load (0.1ms)[0m SELECT "adherent_members".* FROM "adherent_members"
+Started GET "/adherent/members" for 127.0.0.1 at 2013-08-25 08:32:43 +0200
+Processing by Adherent::MembersController#index as HTML
+ [1m[36mOrganism Load (0.3ms)[0m [1mSELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1[0m
+ [1m[35mAdherent::Member Load (0.7ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 76
+ [1m[36mAdherent::Adhesion Load (0.5ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 82 ORDER BY to_date[0m
+ [1m[35mAdherent::Coord Load (0.3ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 82 LIMIT 1
+ [1m[36mAdherent::Adhesion Load (0.3ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 83 ORDER BY to_date[0m
+ [1m[35mAdherent::Coord Load (0.3ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 83 LIMIT 1
+ [1m[36mAdherent::Adhesion Load (0.3ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 84 ORDER BY to_date[0m
+ [1m[35mAdherent::Coord Load (0.2ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 84 LIMIT 1
+ [1m[36mAdherent::Adhesion Load (0.5ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 85 ORDER BY to_date[0m
+ [1m[35mAdherent::Coord Load (0.2ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 85 LIMIT 1
+ [1m[36mAdherent::Adhesion Load (0.3ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 86 ORDER BY to_date[0m
+ [1m[35mAdherent::Coord Load (6.3ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 86 LIMIT 1
+ Rendered layouts/adherent/_header.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms)
+Completed 200 OK in 44ms (Views: 27.2ms | ActiveRecord: 10.1ms)
+ [1m[36mAdherent::Member Load (3.7ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" LIMIT 1[0m
+ [1m[35mAdherent::Adhesion Load (0.3ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 82
+ [1m[36mAdherent::Adhesion Load (0.2ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 82 ORDER BY to_date DESC LIMIT 1[0m
+ [1m[35m (4.2ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "adherent_adhesions" ("amount", "created_at", "from_date", "member_id", "to_date", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["amount", #<BigDecimal:b474248,'0.0',9(36)>], ["created_at", Sun, 25 Aug 2013 06:32:43 UTC +00:00], ["from_date", Sun, 25 Aug 2013], ["member_id", 82], ["to_date", Sun, 24 Aug 2014], ["updated_at", Sun, 25 Aug 2013 06:32:43 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+Started GET "/adherent/members/82/adhesions" for 127.0.0.1 at 2013-08-25 08:32:43 +0200
+Processing by Adherent::AdhesionsController#index as HTML
+ Parameters: {"member_id"=>"82"}
+ [1m[36mOrganism Load (0.4ms)[0m [1mSELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1[0m
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "82"]]
+ [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 82[0m
+ [1m[35mAdherent::Adhesion Load (0.3ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 82
+ [1m[36m (0.4ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 42[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 42
+ Rendered layouts/adherent/_header.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms)
+Completed 200 OK in 19ms (Views: 14.4ms | ActiveRecord: 1.6ms)
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mCOMMIT[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mOrganism Load (0.5ms)[0m [1mSELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["created_at", Sun, 25 Aug 2013 06:32:43 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sun, 25 Aug 2013 06:32:43 UTC +00:00]]
+ [1m[35m (0.7ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mAdherent::Member Exists (0.3ms)[0m SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 77) LIMIT 1
+ [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["birthdate", nil], ["created_at", Sun, 25 Aug 2013 06:32:43 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 77], ["updated_at", Sun, 25 Aug 2013 06:32:43 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mAdherent::Member Exists (0.3ms)[0m SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 77) LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["birthdate", nil], ["created_at", Sun, 25 Aug 2013 06:32:43 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 77], ["updated_at", Sun, 25 Aug 2013 06:32:43 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mAdherent::Member Exists (0.4ms)[0m SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 77) LIMIT 1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["birthdate", nil], ["created_at", Sun, 25 Aug 2013 06:32:43 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 77], ["updated_at", Sun, 25 Aug 2013 06:32:43 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mAdherent::Member Exists (0.3ms)[0m SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh003' AND "adherent_members"."organism_id" = 77) LIMIT 1
+ [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["birthdate", nil], ["created_at", Sun, 25 Aug 2013 06:32:43 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 77], ["updated_at", Sun, 25 Aug 2013 06:32:43 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mAdherent::Member Exists (0.4ms)[0m SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh004' AND "adherent_members"."organism_id" = 77) LIMIT 1
+ [1m[36mSQL (1.6ms)[0m [1mINSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["birthdate", nil], ["created_at", Sun, 25 Aug 2013 06:32:43 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 77], ["updated_at", Sun, 25 Aug 2013 06:32:43 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mAdherent::Member Load (0.5ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" [0m
+Started GET "/adherent/members" for 127.0.0.1 at 2013-08-25 08:32:43 +0200
+Processing by Adherent::MembersController#index as HTML
+ [1m[35mOrganism Load (0.4ms)[0m SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1
+ [1m[36mAdherent::Member Load (4.4ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 77[0m
+ [1m[35mAdherent::Adhesion Load (3.9ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 87 ORDER BY to_date
+ [1m[36mAdherent::Coord Load (0.4ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 87 LIMIT 1[0m
+ [1m[35mAdherent::Adhesion Load (3.9ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 88 ORDER BY to_date
+ [1m[36mAdherent::Coord Load (0.2ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 88 LIMIT 1[0m
+ [1m[35mAdherent::Adhesion Load (3.2ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 89 ORDER BY to_date
+ [1m[36mAdherent::Coord Load (0.7ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 89 LIMIT 1[0m
+ [1m[35mAdherent::Adhesion Load (0.3ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 90 ORDER BY to_date
+ [1m[36mAdherent::Coord Load (0.3ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 90 LIMIT 1[0m
+ [1m[35mAdherent::Adhesion Load (0.3ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 91 ORDER BY to_date
+ [1m[36mAdherent::Coord Load (0.3ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 91 LIMIT 1[0m
+ Rendered layouts/adherent/_header.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms)
+Completed 200 OK in 52ms (Views: 26.4ms | ActiveRecord: 18.2ms)
+ [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" LIMIT 1
+Started GET "/adherent/members/87/payments" for 127.0.0.1 at 2013-08-25 08:32:43 +0200
+Processing by Adherent::PaymentsController#index as HTML
+ Parameters: {"member_id"=>"87"}
+ [1m[36mOrganism Load (0.5ms)[0m [1mSELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1[0m
+ [1m[35mAdherent::Member Load (0.4ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "87"]]
+ [1m[36mAdherent::Payment Load (0.4ms)[0m [1mSELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 87[0m
+ Rendered layouts/adherent/_header.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms)
+Completed 200 OK in 9ms (Views: 4.8ms | ActiveRecord: 1.3ms)
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m COMMIT
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mOrganism Load (0.3ms)[0m SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (2.1ms)[0m INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sun, 25 Aug 2013 06:32:43 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sun, 25 Aug 2013 06:32:43 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (4.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mAdherent::Member Exists (0.4ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 78) LIMIT 1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["birthdate", nil], ["created_at", Sun, 25 Aug 2013 06:32:43 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 78], ["updated_at", Sun, 25 Aug 2013 06:32:43 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mAdherent::Member Exists (1.4ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 78) LIMIT 1[0m
+ [1m[35mSQL (1.1ms)[0m INSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["birthdate", nil], ["created_at", Sun, 25 Aug 2013 06:32:43 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 78], ["updated_at", Sun, 25 Aug 2013 06:32:43 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mAdherent::Member Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 78) LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["birthdate", nil], ["created_at", Sun, 25 Aug 2013 06:32:43 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 78], ["updated_at", Sun, 25 Aug 2013 06:32:43 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mAdherent::Member Exists (0.8ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh003' AND "adherent_members"."organism_id" = 78) LIMIT 1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["birthdate", nil], ["created_at", Sun, 25 Aug 2013 06:32:43 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 78], ["updated_at", Sun, 25 Aug 2013 06:32:43 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mAdherent::Member Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh004' AND "adherent_members"."organism_id" = 78) LIMIT 1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["birthdate", nil], ["created_at", Sun, 25 Aug 2013 06:32:43 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 78], ["updated_at", Sun, 25 Aug 2013 06:32:43 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members"
+Started GET "/adherent/members" for 127.0.0.1 at 2013-08-25 08:32:43 +0200
+Processing by Adherent::MembersController#index as HTML
+ [1m[36mOrganism Load (0.4ms)[0m [1mSELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1[0m
+ [1m[35mAdherent::Member Load (0.1ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 78
+ [1m[36mAdherent::Adhesion Load (0.3ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 92 ORDER BY to_date[0m
+ [1m[35mAdherent::Coord Load (0.3ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 92 LIMIT 1
+ [1m[36mAdherent::Adhesion Load (0.3ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 93 ORDER BY to_date[0m
+ [1m[35mAdherent::Coord Load (0.2ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 93 LIMIT 1
+ [1m[36mAdherent::Adhesion Load (0.4ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 ORDER BY to_date[0m
+ [1m[35mAdherent::Coord Load (0.2ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 94 LIMIT 1
+ [1m[36mAdherent::Adhesion Load (0.4ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 95 ORDER BY to_date[0m
+ [1m[35mAdherent::Coord Load (0.2ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 95 LIMIT 1
+ [1m[36mAdherent::Adhesion Load (0.4ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 96 ORDER BY to_date[0m
+ [1m[35mAdherent::Coord Load (0.3ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 96 LIMIT 1
+ Rendered layouts/adherent/_header.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.0ms)
+Completed 200 OK in 32ms (Views: 25.9ms | ActiveRecord: 3.6ms)
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" LIMIT 1[0m
+Started GET "/adherent/members/92/edit" for 127.0.0.1 at 2013-08-25 08:32:43 +0200
+Processing by Adherent::MembersController#edit as HTML
+ Parameters: {"id"=>"92"}
+ [1m[35mOrganism Load (0.3ms)[0m SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "92"]]
+ Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/_form.html.erb (6.1ms)
+ Rendered layouts/adherent/_header.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms)
+Completed 200 OK in 12ms (Views: 10.6ms | ActiveRecord: 0.5ms)
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m COMMIT
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mOrganism Load (0.4ms)[0m SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1
+ [1m[36m (0.5ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (1.9ms)[0m INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sun, 25 Aug 2013 06:32:43 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sun, 25 Aug 2013 06:32:43 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_1
+ [1m[36mAdherent::Member Exists (0.4ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 79) LIMIT 1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["birthdate", nil], ["created_at", Sun, 25 Aug 2013 06:32:43 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 79], ["updated_at", Sun, 25 Aug 2013 06:32:43 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (1.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mAdherent::Member Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 79) LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["birthdate", nil], ["created_at", Sun, 25 Aug 2013 06:32:43 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 79], ["updated_at", Sun, 25 Aug 2013 06:32:43 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m SAVEPOINT active_record_1
+ [1m[36mAdherent::Member Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 79) LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["birthdate", nil], ["created_at", Sun, 25 Aug 2013 06:32:43 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 79], ["updated_at", Sun, 25 Aug 2013 06:32:43 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mAdherent::Member Exists (1.1ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh003' AND "adherent_members"."organism_id" = 79) LIMIT 1[0m
+ [1m[35mSQL (1.0ms)[0m INSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["birthdate", nil], ["created_at", Sun, 25 Aug 2013 06:32:43 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 79], ["updated_at", Sun, 25 Aug 2013 06:32:43 UTC +00:00]]
+ [1m[36m (1.8ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mAdherent::Member Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh004' AND "adherent_members"."organism_id" = 79) LIMIT 1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["birthdate", nil], ["created_at", Sun, 25 Aug 2013 06:32:43 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 79], ["updated_at", Sun, 25 Aug 2013 06:32:43 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members"
+Started GET "/adherent/members" for 127.0.0.1 at 2013-08-25 08:32:43 +0200
+Processing by Adherent::MembersController#index as HTML
+ [1m[36mOrganism Load (0.4ms)[0m [1mSELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1[0m
+ [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 79
+ [1m[36mAdherent::Adhesion Load (0.4ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 97 ORDER BY to_date[0m
+ [1m[35mAdherent::Coord Load (0.2ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 97 LIMIT 1
+ [1m[36mAdherent::Adhesion Load (0.4ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 98 ORDER BY to_date[0m
+ [1m[35mAdherent::Coord Load (0.2ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 98 LIMIT 1
+ [1m[36mAdherent::Adhesion Load (0.4ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 99 ORDER BY to_date[0m
+ [1m[35mAdherent::Coord Load (0.2ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 99 LIMIT 1
+ [1m[36mAdherent::Adhesion Load (0.1ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 100 ORDER BY to_date[0m
+ [1m[35mAdherent::Coord Load (0.9ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 100 LIMIT 1
+ [1m[36mAdherent::Adhesion Load (0.4ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 101 ORDER BY to_date[0m
+ [1m[35mAdherent::Coord Load (0.9ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 101 LIMIT 1
+ Rendered layouts/adherent/_header.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.2ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms)
+Completed 200 OK in 34ms (Views: 26.3ms | ActiveRecord: 4.9ms)
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" LIMIT 1[0m
+Started GET "/adherent/members/97/coord" for 127.0.0.1 at 2013-08-25 08:32:43 +0200
+Processing by Adherent::CoordsController#show as HTML
+ Parameters: {"member_id"=>"97"}
+ [1m[35mOrganism Load (0.3ms)[0m SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "97"]]
+ [1m[35mAdherent::Coord Load (0.3ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 97 LIMIT 1
+Redirected to http://www.example.com/adherent/members/97/coord/new
+Completed 302 Found in 5ms (ActiveRecord: 0.9ms)
+Started GET "/adherent/members/97/coord/new" for 127.0.0.1 at 2013-08-25 08:32:43 +0200
+Processing by Adherent::CoordsController#new as HTML
+ Parameters: {"member_id"=>"97"}
+ [1m[36mOrganism Load (0.3ms)[0m [1mSELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1[0m
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "97"]]
+ [1m[36mAdherent::Coord Load (0.3ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 97 LIMIT 1[0m
+ Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (9.4ms)
+ Rendered layouts/adherent/_header.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms)
+Completed 200 OK in 17ms (Views: 12.5ms | ActiveRecord: 0.8ms)
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m COMMIT
+ [1m[36m (0.2ms)[0m [1mBEGIN[0m
+ [1m[35mOrganism Load (0.3ms)[0m SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1
+ [1m[36m (0.9ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (1.7ms)[0m INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sun, 25 Aug 2013 06:32:44 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sun, 25 Aug 2013 06:32:44 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mAdherent::Member Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 80) LIMIT 1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["birthdate", nil], ["created_at", Sun, 25 Aug 2013 06:32:44 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 80], ["updated_at", Sun, 25 Aug 2013 06:32:44 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mAdherent::Member Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 80) LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["birthdate", nil], ["created_at", Sun, 25 Aug 2013 06:32:44 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 80], ["updated_at", Sun, 25 Aug 2013 06:32:44 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mAdherent::Member Exists (0.5ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 80) LIMIT 1[0m
+ [1m[35mSQL (1.4ms)[0m INSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["birthdate", nil], ["created_at", Sun, 25 Aug 2013 06:32:44 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 80], ["updated_at", Sun, 25 Aug 2013 06:32:44 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_1
+ [1m[36mAdherent::Member Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh003' AND "adherent_members"."organism_id" = 80) LIMIT 1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["birthdate", nil], ["created_at", Sun, 25 Aug 2013 06:32:44 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 80], ["updated_at", Sun, 25 Aug 2013 06:32:44 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mAdherent::Member Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh004' AND "adherent_members"."organism_id" = 80) LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["birthdate", nil], ["created_at", Sun, 25 Aug 2013 06:32:44 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 80], ["updated_at", Sun, 25 Aug 2013 06:32:44 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members"
+Started GET "/adherent/members" for 127.0.0.1 at 2013-08-25 08:32:44 +0200
+Processing by Adherent::MembersController#index as HTML
+ [1m[36mOrganism Load (0.4ms)[0m [1mSELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1[0m
+ [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 80
+ [1m[36mAdherent::Adhesion Load (0.3ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 102 ORDER BY to_date[0m
+ [1m[35mAdherent::Coord Load (0.2ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 102 LIMIT 1
+ [1m[36mAdherent::Adhesion Load (0.4ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 103 ORDER BY to_date[0m
+ [1m[35mAdherent::Coord Load (0.3ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 103 LIMIT 1
+ [1m[36mAdherent::Adhesion Load (0.3ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 104 ORDER BY to_date[0m
+ [1m[35mAdherent::Coord Load (0.2ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 104 LIMIT 1
+ [1m[36mAdherent::Adhesion Load (0.3ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 105 ORDER BY to_date[0m
+ [1m[35mAdherent::Coord Load (0.2ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 105 LIMIT 1
+ [1m[36mAdherent::Adhesion Load (0.3ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 106 ORDER BY to_date[0m
+ [1m[35mAdherent::Coord Load (0.2ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 106 LIMIT 1
+ Rendered layouts/adherent/_header.html.haml (0.2ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.2ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms)
+Completed 200 OK in 30ms (Views: 23.8ms | ActiveRecord: 3.4ms)
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.7ms)[0m [1mINSERT INTO "adherent_coords" ("address", "city", "created_at", "gsm", "mail", "member_id", "office", "tel", "updated_at", "zip") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id"[0m [["address", nil], ["city", "Marseille"], ["created_at", Sun, 25 Aug 2013 06:32:44 UTC +00:00], ["gsm", nil], ["mail", nil], ["member_id", 102], ["office", nil], ["tel", nil], ["updated_at", Sun, 25 Aug 2013 06:32:44 UTC +00:00], ["zip", nil]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mAdherent::Coord Load (0.3ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 102 LIMIT 1[0m
+Started GET "/adherent/members/102/coord" for 127.0.0.1 at 2013-08-25 08:32:44 +0200
+Processing by Adherent::CoordsController#show as HTML
+ Parameters: {"member_id"=>"102"}
+ [1m[35mOrganism Load (0.3ms)[0m SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "102"]]
+ [1m[35mAdherent::Coord Load (0.2ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 102 LIMIT 1
+ Rendered layouts/adherent/_header.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.2ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms)
+Completed 200 OK in 8ms (Views: 5.1ms | ActiveRecord: 0.7ms)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mOrganism Load (0.4ms)[0m [1mSELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (3.5ms)[0m [1mINSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["created_at", Sun, 25 Aug 2013 06:32:44 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sun, 25 Aug 2013 06:32:44 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mAdherent::Member Exists (0.3ms)[0m SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 81) LIMIT 1
+ [1m[36mSQL (2.2ms)[0m [1mINSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["birthdate", nil], ["created_at", Sun, 25 Aug 2013 06:32:44 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 81], ["updated_at", Sun, 25 Aug 2013 06:32:44 UTC +00:00]]
+ [1m[35m (0.7ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" [0m
+ [1m[35m (0.6ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.9ms)[0m [1mINSERT INTO "adherent_adhesions" ("amount", "created_at", "from_date", "member_id", "to_date", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["amount", #<BigDecimal:b0304c0,'0.87654E3',18(45)>], ["created_at", Sun, 25 Aug 2013 06:32:44 UTC +00:00], ["from_date", Sun, 25 Aug 2013], ["member_id", 107], ["to_date", Wed, 25 Sep 2013], ["updated_at", Sun, 25 Aug 2013 06:32:44 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+Started GET "/adherent/members/107/adhesions" for 127.0.0.1 at 2013-08-25 08:32:44 +0200
+Processing by Adherent::AdhesionsController#index as HTML
+ Parameters: {"member_id"=>"107"}
+ [1m[36mOrganism Load (0.3ms)[0m [1mSELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1[0m
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "107"]]
+ [1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 107[0m
+ [1m[35mAdherent::Adhesion Load (0.2ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 107
+ [1m[36m (0.3ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 43[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 43
+ Rendered layouts/adherent/_header.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.0ms)
+Completed 200 OK in 25ms (Views: 12.3ms | ActiveRecord: 1.4ms)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mOrganism Load (0.3ms)[0m [1mSELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (2.9ms)[0m [1mINSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["created_at", Sun, 25 Aug 2013 06:32:44 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sun, 25 Aug 2013 06:32:44 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mAdherent::Member Exists (2.3ms)[0m SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 82) LIMIT 1
+ [1m[36mSQL (1.4ms)[0m [1mINSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["birthdate", nil], ["created_at", Sun, 25 Aug 2013 06:32:44 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 82], ["updated_at", Sun, 25 Aug 2013 06:32:44 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mAdherent::Member Load (3.6ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" [0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "adherent_adhesions" ("amount", "created_at", "from_date", "member_id", "to_date", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["amount", #<BigDecimal:b0f7c14,'0.87654E3',18(45)>], ["created_at", Sun, 25 Aug 2013 06:32:44 UTC +00:00], ["from_date", Sun, 25 Aug 2013], ["member_id", 108], ["to_date", Wed, 25 Sep 2013], ["updated_at", Sun, 25 Aug 2013 06:32:44 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+Started GET "/adherent/members/108/adhesions" for 127.0.0.1 at 2013-08-25 08:32:44 +0200
+Processing by Adherent::AdhesionsController#index as HTML
+ Parameters: {"member_id"=>"108"}
+ [1m[36mOrganism Load (0.3ms)[0m [1mSELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1[0m
+ [1m[35mAdherent::Member Load (0.4ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "108"]]
+ [1m[36m (0.6ms)[0m [1mSELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 108[0m
+ [1m[35mAdherent::Adhesion Load (0.4ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 108
+ [1m[36m (0.3ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 44[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 44
+ Rendered layouts/adherent/_header.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.0ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms)
+Completed 200 OK in 16ms (Views: 8.5ms | ActiveRecord: 2.1ms)
+Started GET "/adherent/members/108/payments/new" for 127.0.0.1 at 2013-08-25 08:32:44 +0200
+Processing by Adherent::PaymentsController#new as HTML
+ Parameters: {"member_id"=>"108"}
+ [1m[36mOrganism Load (0.3ms)[0m [1mSELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1[0m
+ [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "108"]]
+ [1m[36mAdherent::Adhesion Load (0.9ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 108 ORDER BY to_date[0m
+ [1m[35m (0.3ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 44
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 44[0m
+ Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (5.9ms)
+ Rendered layouts/adherent/_header.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms)
+Completed 200 OK in 17ms (Views: 9.1ms | ActiveRecord: 1.7ms)
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mOrganism Load (0.3ms)[0m SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (1.3ms)[0m INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sun, 25 Aug 2013 06:32:44 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sun, 25 Aug 2013 06:32:44 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (2.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mAdherent::Member Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 83) LIMIT 1[0m
+ [1m[35mSQL (8.2ms)[0m INSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["birthdate", nil], ["created_at", Sun, 25 Aug 2013 06:32:44 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 83], ["updated_at", Sun, 25 Aug 2013 06:32:44 UTC +00:00]]
+ [1m[36m (1.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mAdherent::Member Load (1.4ms)[0m SELECT "adherent_members".* FROM "adherent_members"
+ [1m[36m (1.4ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (3.2ms)[0m INSERT INTO "adherent_adhesions" ("amount", "created_at", "from_date", "member_id", "to_date", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #<BigDecimal:b5a4438,'0.87654E3',18(45)>], ["created_at", Sun, 25 Aug 2013 06:32:44 UTC +00:00], ["from_date", Sun, 25 Aug 2013], ["member_id", 109], ["to_date", Wed, 25 Sep 2013], ["updated_at", Sun, 25 Aug 2013 06:32:44 UTC +00:00]]
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/adherent/members/109/adhesions" for 127.0.0.1 at 2013-08-25 08:32:44 +0200
+Processing by Adherent::AdhesionsController#index as HTML
+ Parameters: {"member_id"=>"109"}
+ [1m[35mOrganism Load (0.3ms)[0m SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "109"]]
+ [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 109
+ [1m[36mAdherent::Adhesion Load (0.3ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 109[0m
+ [1m[35m (0.3ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 45
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 45[0m
+ Rendered layouts/adherent/_header.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms)
+Completed 200 OK in 21ms (Views: 13.6ms | ActiveRecord: 1.3ms)
+Started GET "/adherent/members/109/adhesions/45/edit" for 127.0.0.1 at 2013-08-25 08:32:44 +0200
+Processing by Adherent::AdhesionsController#edit as HTML
+ Parameters: {"member_id"=>"109", "id"=>"45"}
+ [1m[35mOrganism Load (0.5ms)[0m SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "109"]]
+ [1m[35mAdherent::Adhesion Load (0.4ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 109 AND "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "45"]]
+ Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (4.9ms)
+ Rendered layouts/adherent/_header.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms)
+Completed 200 OK in 13ms (Views: 9.1ms | ActiveRecord: 1.1ms)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mOrganism Load (0.3ms)[0m [1mSELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (2.2ms)[0m [1mINSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["created_at", Sun, 25 Aug 2013 06:32:44 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sun, 25 Aug 2013 06:32:44 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (1.7ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mAdherent::Member Exists (0.7ms)[0m SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 84) LIMIT 1
+ [1m[36mSQL (1.4ms)[0m [1mINSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["birthdate", nil], ["created_at", Sun, 25 Aug 2013 06:32:44 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 84], ["updated_at", Sun, 25 Aug 2013 06:32:44 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" [0m
+Started GET "/adherent/members/110/adhesions/new" for 127.0.0.1 at 2013-08-25 08:32:44 +0200
+Processing by Adherent::AdhesionsController#new as HTML
+ Parameters: {"member_id"=>"110"}
+ [1m[35mOrganism Load (0.3ms)[0m SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "110"]]
+ [1m[35mAdherent::Adhesion Load (0.5ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 110
+ [1m[36mAdherent::Adhesion Load (0.3ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 110 ORDER BY to_date DESC LIMIT 1[0m
+ Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (12.3ms)
+ Rendered layouts/adherent/_header.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms)
+Completed 200 OK in 85ms (Views: 78.3ms | ActiveRecord: 1.3ms)
+ [1m[35m (0.4ms)[0m SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 110
+Started POST "/adherent/members/110/adhesions" for 127.0.0.1 at 2013-08-25 08:32:44 +0200
+Processing by Adherent::AdhesionsController#create as HTML
+ Parameters: {"utf8"=>"✓", "adhesion"=>{"from_date"=>"01/08/2013", "to_date"=>"31/07/2014", "amount"=>"150.25"}, "commit"=>"Enregistrer", "member_id"=>"110"}
+ [1m[36mOrganism Load (0.5ms)[0m [1mSELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1[0m
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "110"]]
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (68.7ms)[0m INSERT INTO "adherent_adhesions" ("amount", "created_at", "from_date", "member_id", "to_date", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #<BigDecimal:a475d24,'0.15025E3',18(18)>], ["created_at", Sun, 25 Aug 2013 06:32:44 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 110], ["to_date", Thu, 31 Jul 2014], ["updated_at", Sun, 25 Aug 2013 06:32:44 UTC +00:00]]
+ [1m[36m (7.9ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/adherent/members/110/adhesions
+Completed 302 Found in 91ms (ActiveRecord: 77.4ms)
+Started GET "/adherent/members/110/adhesions" for 127.0.0.1 at 2013-08-25 08:32:44 +0200
+Processing by Adherent::AdhesionsController#index as HTML
+ Parameters: {"member_id"=>"110"}
+ [1m[35mOrganism Load (3.2ms)[0m SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "110"]]
+ [1m[35m (5.0ms)[0m SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 110
+ [1m[36mAdherent::Adhesion Load (0.4ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 110[0m
+ [1m[35m (3.6ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 46
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 46[0m
+ Rendered layouts/adherent/_header.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms)
+Completed 200 OK in 42ms (Views: 19.3ms | ActiveRecord: 12.5ms)
+ [1m[35m (0.9ms)[0m SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 110
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mOrganism Load (0.6ms)[0m [1mSELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (1.2ms)[0m [1mINSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["created_at", Sun, 25 Aug 2013 06:32:44 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sun, 25 Aug 2013 06:32:44 UTC +00:00]]
+ [1m[35m (1.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (1.3ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mAdherent::Member Exists (1.4ms)[0m SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 85) LIMIT 1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["birthdate", nil], ["created_at", Sun, 25 Aug 2013 06:32:44 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 85], ["updated_at", Sun, 25 Aug 2013 06:32:44 UTC +00:00]]
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" [0m
+Started GET "/adherent/members/111/adhesions/new" for 127.0.0.1 at 2013-08-25 08:32:44 +0200
+Processing by Adherent::AdhesionsController#new as HTML
+ Parameters: {"member_id"=>"111"}
+ [1m[35mOrganism Load (0.3ms)[0m SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "111"]]
+ [1m[35mAdherent::Adhesion Load (0.2ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 111
+ [1m[36mAdherent::Adhesion Load (0.8ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 111 ORDER BY to_date DESC LIMIT 1[0m
+ Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (5.4ms)
+ Rendered layouts/adherent/_header.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms)
+Completed 200 OK in 16ms (Views: 9.0ms | ActiveRecord: 1.7ms)
+ [1m[35m (0.4ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.9ms)[0m ROLLBACK
+ [1m[36m (1.2ms)[0m [1mBEGIN[0m
+ [1m[35m (29.9ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" IS NULL
+ [1m[36m (0.4ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mAdherent::Member Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."organism_id" = 1) LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mAdherent::Member Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."organism_id" = 1) LIMIT 1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["birthdate", nil], ["created_at", Sun, 25 Aug 2013 06:32:44 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Sun, 25 Aug 2013 06:32:44 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (1.1ms)[0m [1mINSERT INTO "adherent_adhesions" ("amount", "created_at", "from_date", "member_id", "to_date", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["amount", #<BigDecimal:b6a0fcec,'0.27E2',9(36)>], ["created_at", Sun, 25 Aug 2013 06:32:45 UTC +00:00], ["from_date", Sun, 25 Aug 2013], ["member_id", 112], ["to_date", Wed, 25 Sep 2013], ["updated_at", Sun, 25 Aug 2013 06:32:45 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mAdherent::Adhesion Load (0.3ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 112[0m
+ [1m[35mAdherent::Adhesion Load (0.4ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 112 ORDER BY to_date DESC LIMIT 1
+ [1m[36m (3.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "adherent_adhesions" ("amount", "created_at", "from_date", "member_id", "to_date", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #<BigDecimal:b6a2b884,'0.27E2',9(18)>], ["created_at", Sun, 25 Aug 2013 06:32:45 UTC +00:00], ["from_date", Thu, 26 Sep 2013], ["member_id", 112], ["to_date", Thu, 25 Sep 2014], ["updated_at", Sun, 25 Aug 2013 06:32:45 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["amount", #<BigDecimal:b6727bc4,'0.54E2',9(36)>], ["created_at", Sun, 25 Aug 2013 06:32:45 UTC +00:00], ["date", Sun, 25 Aug 2013], ["member_id", 112], ["mode", "CB"], ["updated_at", Sun, 25 Aug 2013 06:32:45 UTC +00:00]]
+ [1m[35mAdherent::Member Load (0.5ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 112 LIMIT 1
+ [1m[36mAdherent::Adhesion Load (0.4ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 112 ORDER BY to_date[0m
+ [1m[35m (0.3ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 47
+ [1m[36m (0.3ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 48[0m
+ [1m[35m (0.3ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 47
+ [1m[36mSQL (1.1ms)[0m [1mINSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["adhesion_id", 47], ["amount", #<BigDecimal:b677dbdc,'0.27E2',9(27)>], ["created_at", Sun, 25 Aug 2013 06:32:45 UTC +00:00], ["payment_id", 20], ["updated_at", Sun, 25 Aug 2013 06:32:45 UTC +00:00]]
+ [1m[35m (0.5ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 48
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["adhesion_id", 48], ["amount", #<BigDecimal:b679a1ec,'0.27E2',9(27)>], ["created_at", Sun, 25 Aug 2013 06:32:45 UTC +00:00], ["payment_id", 20], ["updated_at", Sun, 25 Aug 2013 06:32:45 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "adherent_reglements" [0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Exists (0.3ms)[0m SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."organism_id" = 1) LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mAdherent::Member Exists (0.3ms)[0m SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."organism_id" = 1) LIMIT 1
+ [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["birthdate", nil], ["created_at", Sun, 25 Aug 2013 06:32:45 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Sun, 25 Aug 2013 06:32:45 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (1.7ms)[0m INSERT INTO "adherent_adhesions" ("amount", "created_at", "from_date", "member_id", "to_date", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #<BigDecimal:b6a6eff8,'0.27E2',9(36)>], ["created_at", Sun, 25 Aug 2013 06:32:45 UTC +00:00], ["from_date", Sun, 25 Aug 2013], ["member_id", 113], ["to_date", Wed, 25 Sep 2013], ["updated_at", Sun, 25 Aug 2013 06:32:45 UTC +00:00]]
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mAdherent::Adhesion Load (0.3ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 113
+ [1m[36mAdherent::Adhesion Load (0.4ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 113 ORDER BY to_date DESC LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "adherent_adhesions" ("amount", "created_at", "from_date", "member_id", "to_date", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["amount", #<BigDecimal:b6a96544,'0.27E2',9(18)>], ["created_at", Sun, 25 Aug 2013 06:32:45 UTC +00:00], ["from_date", Thu, 26 Sep 2013], ["member_id", 113], ["to_date", Thu, 25 Sep 2014], ["updated_at", Sun, 25 Aug 2013 06:32:45 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.5ms)[0m INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #<BigDecimal:b6ab41e8,'0.6E2',9(36)>], ["created_at", Sun, 25 Aug 2013 06:32:45 UTC +00:00], ["date", Sun, 25 Aug 2013], ["member_id", 113], ["mode", "CB"], ["updated_at", Sun, 25 Aug 2013 06:32:45 UTC +00:00]]
+ [1m[36mAdherent::Member Load (0.6ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 113 LIMIT 1[0m
+ [1m[35mAdherent::Adhesion Load (0.4ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 113 ORDER BY to_date
+ [1m[36m (0.3ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 49[0m
+ [1m[35m (0.4ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 50
+ [1m[36m (0.3ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 49[0m
+ [1m[35mSQL (0.5ms)[0m INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 49], ["amount", #<BigDecimal:b683d220,'0.27E2',9(27)>], ["created_at", Sun, 25 Aug 2013 06:32:45 UTC +00:00], ["payment_id", 21], ["updated_at", Sun, 25 Aug 2013 06:32:45 UTC +00:00]]
+ [1m[36m (0.3ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 50[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 50], ["amount", #<BigDecimal:b68678a4,'0.27E2',9(27)>], ["created_at", Sun, 25 Aug 2013 06:32:45 UTC +00:00], ["payment_id", 21], ["updated_at", Sun, 25 Aug 2013 06:32:45 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mAdherent::Reglement Load (0.2ms)[0m SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 21
+ [1m[36m (0.2ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 21[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Exists (0.3ms)[0m SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."organism_id" = 1) LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mAdherent::Member Exists (0.2ms)[0m SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."organism_id" = 1) LIMIT 1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["birthdate", nil], ["created_at", Sun, 25 Aug 2013 06:32:45 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Sun, 25 Aug 2013 06:32:45 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "adherent_adhesions" ("amount", "created_at", "from_date", "member_id", "to_date", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #<BigDecimal:b68ac7ec,'0.27E2',9(36)>], ["created_at", Sun, 25 Aug 2013 06:32:45 UTC +00:00], ["from_date", Sun, 25 Aug 2013], ["member_id", 114], ["to_date", Wed, 25 Sep 2013], ["updated_at", Sun, 25 Aug 2013 06:32:45 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mAdherent::Adhesion Load (0.3ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 114
+ [1m[36mAdherent::Adhesion Load (0.3ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 114 ORDER BY to_date DESC LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.9ms)[0m [1mINSERT INTO "adherent_adhesions" ("amount", "created_at", "from_date", "member_id", "to_date", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["amount", #<BigDecimal:b68d53e0,'0.27E2',9(18)>], ["created_at", Sun, 25 Aug 2013 06:32:45 UTC +00:00], ["from_date", Thu, 26 Sep 2013], ["member_id", 114], ["to_date", Thu, 25 Sep 2014], ["updated_at", Sun, 25 Aug 2013 06:32:45 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #<BigDecimal:b650af44,'0.25E2',9(36)>], ["created_at", Sun, 25 Aug 2013 06:32:45 UTC +00:00], ["date", Sun, 25 Aug 2013], ["member_id", 114], ["mode", "CB"], ["updated_at", Sun, 25 Aug 2013 06:32:45 UTC +00:00]]
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 114 LIMIT 1[0m
+ [1m[35mAdherent::Adhesion Load (0.3ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 114 ORDER BY to_date
+ [1m[36m (0.2ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 51[0m
+ [1m[35m (0.2ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 52
+ [1m[36m (0.2ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 51[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 51], ["amount", #<BigDecimal:b65087d0,'0.25E2',9(36)>], ["created_at", Sun, 25 Aug 2013 06:32:45 UTC +00:00], ["payment_id", 22], ["updated_at", Sun, 25 Aug 2013 06:32:45 UTC +00:00]]
+ [1m[36m (0.4ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "adherent_reglements"
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.3ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (2.0ms)[0m BEGIN
+ [1m[36m (3.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mAdherent::Adhesion Load (0.3ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" IS NULL ORDER BY to_date DESC LIMIT 1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Adhesion Load (0.6ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" IS NULL ORDER BY to_date DESC LIMIT 1
+ [1m[36m (0.3ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mAdherent::Adhesion Load (0.4ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" IS NULL ORDER BY to_date DESC LIMIT 1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mAdherent::Member Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh 001' AND "adherent_members"."organism_id" = 1) LIMIT 1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["birthdate", nil], ["created_at", Sun, 25 Aug 2013 06:32:45 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Sun, 25 Aug 2013 06:32:45 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mAdherent::Adhesion Load (0.3ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 115
+ [1m[36mAdherent::Adhesion Load (0.4ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 115 ORDER BY to_date DESC LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "adherent_adhesions" ("amount", "created_at", "from_date", "member_id", "to_date", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["amount", #<BigDecimal:b6598e70,'0.2666E2',18(45)>], ["created_at", Sun, 25 Aug 2013 06:32:45 UTC +00:00], ["from_date", Sun, 25 Aug 2013], ["member_id", 115], ["to_date", Sun, 24 Aug 2014], ["updated_at", Sun, 25 Aug 2013 06:32:45 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mAdherent::Adhesion Load (0.3ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 115[0m
+ [1m[35mAdherent::Adhesion Load (0.3ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 115 ORDER BY to_date DESC LIMIT 1
+ [1m[36m (0.3ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mAdherent::Member Exists (0.3ms)[0m SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh 001' AND "adherent_members"."organism_id" = 1) LIMIT 1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["birthdate", nil], ["created_at", Sun, 25 Aug 2013 06:32:45 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Sun, 25 Aug 2013 06:32:45 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mAdherent::Adhesion Load (0.2ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 116[0m
+ [1m[35mAdherent::Adhesion Load (0.3ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 116 ORDER BY to_date DESC LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "adherent_adhesions" ("amount", "created_at", "from_date", "member_id", "to_date", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #<BigDecimal:afafbf4,'0.2666E2',18(45)>], ["created_at", Sun, 25 Aug 2013 06:32:45 UTC +00:00], ["from_date", Sun, 25 Aug 2013], ["member_id", 116], ["to_date", Sun, 24 Aug 2014], ["updated_at", Sun, 25 Aug 2013 06:32:45 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mAdherent::Adhesion Load (0.3ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 116
+ [1m[36mAdherent::Adhesion Load (0.3ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 116 ORDER BY to_date DESC LIMIT 1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.3ms)[0m SAVEPOINT active_record_1
+ [1m[36mAdherent::Member Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh 001' AND "adherent_members"."organism_id" = 1) LIMIT 1[0m
+ [1m[35mSQL (0.6ms)[0m INSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["birthdate", nil], ["created_at", Sun, 25 Aug 2013 06:32:45 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Sun, 25 Aug 2013 06:32:45 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mAdherent::Adhesion Load (0.2ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 117
+ [1m[36mAdherent::Adhesion Load (0.2ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 117 ORDER BY to_date DESC LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "adherent_adhesions" ("amount", "created_at", "from_date", "member_id", "to_date", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["amount", #<BigDecimal:b66212fc,'0.2666E2',18(45)>], ["created_at", Sun, 25 Aug 2013 06:32:45 UTC +00:00], ["from_date", Sun, 25 Aug 2013], ["member_id", 117], ["to_date", Sun, 24 Aug 2014], ["updated_at", Sun, 25 Aug 2013 06:32:45 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mAdherent::Adhesion Load (0.3ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 117[0m
+ [1m[35mAdherent::Adhesion Load (0.3ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 117 ORDER BY to_date DESC LIMIT 1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mAdherent::Member Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh 001' AND "adherent_members"."organism_id" = 1) LIMIT 1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Exists (0.3ms)[0m SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" IS NULL AND "adherent_members"."organism_id" = 1) LIMIT 1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36mAdherent::Member Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh 001' AND "adherent_members"."organism_id" = 1) LIMIT 1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mAdherent::Member Exists (4.0ms)[0m SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh 001' AND "adherent_members"."organism_id" = 1) LIMIT 1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mAdherent::Member Exists (0.4ms)[0m SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh 001' AND "adherent_members"."organism_id" = 1) LIMIT 1
+ [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["birthdate", nil], ["created_at", Sun, 25 Aug 2013 06:32:45 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Sun, 25 Aug 2013 06:32:45 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mAdherent::Member Exists (6.1ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh 001' AND "adherent_members"."organism_id" = 2) LIMIT 1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mAdherent::Member Exists (0.4ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh 001' AND "adherent_members"."organism_id" = 1) LIMIT 1[0m
+ [1m[35mSQL (0.7ms)[0m INSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["birthdate", nil], ["created_at", Sun, 25 Aug 2013 06:32:45 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Sun, 25 Aug 2013 06:32:45 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mAdherent::Member Exists (6.7ms)[0m SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh 001' AND "adherent_members"."organism_id" = 1) LIMIT 1
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mAdherent::Member Exists (0.9ms)[0m SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh 001' AND "adherent_members"."organism_id" = 1) LIMIT 1
+ [1m[36mSQL (2.7ms)[0m [1mINSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["birthdate", Tue, 06 Jun 1944], ["created_at", Sun, 25 Aug 2013 06:32:45 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Sun, 25 Aug 2013 06:32:45 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mOrganism Load (1.7ms)[0m [1mSELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["created_at", Sun, 25 Aug 2013 06:32:45 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sun, 25 Aug 2013 06:32:45 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mAdherent::Member Exists (0.3ms)[0m SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 86) LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["birthdate", nil], ["created_at", Sun, 25 Aug 2013 06:32:45 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 86], ["updated_at", Sun, 25 Aug 2013 06:32:45 UTC +00:00]]
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" [0m
+Started GET "/adherent/members/121/coord/new" for 127.0.0.1 at 2013-08-25 08:32:45 +0200
+Processing by Adherent::CoordsController#new as HTML
+ Parameters: {"member_id"=>"121"}
+ [1m[35mOrganism Load (0.4ms)[0m SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1
+ [1m[36mAdherent::Member Load (1.6ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "121"]]
+ [1m[35mAdherent::Coord Load (0.4ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 121 LIMIT 1
+ Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (11.2ms)
+ Rendered layouts/adherent/_header.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.2ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms)
+Completed 200 OK in 24ms (Views: 15.6ms | ActiveRecord: 2.4ms)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mOrganism Load (0.2ms)[0m [1mSELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (2.4ms)[0m [1mINSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["created_at", Sun, 25 Aug 2013 06:32:45 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sun, 25 Aug 2013 06:32:45 UTC +00:00]]
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (1.6ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mAdherent::Member Exists (4.8ms)[0m SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 87) LIMIT 1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["birthdate", nil], ["created_at", Sun, 25 Aug 2013 06:32:45 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 87], ["updated_at", Sun, 25 Aug 2013 06:32:45 UTC +00:00]]
+ [1m[35m (1.4ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" [0m
+Started GET "/adherent/members/122/coord/new" for 127.0.0.1 at 2013-08-25 08:32:45 +0200
+Processing by Adherent::CoordsController#new as HTML
+ Parameters: {"member_id"=>"122"}
+ [1m[35mOrganism Load (0.4ms)[0m SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "122"]]
+ [1m[35mAdherent::Coord Load (0.4ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 122 LIMIT 1
+ Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (20.5ms)
+ Rendered layouts/adherent/_header.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms)
+Completed 200 OK in 33ms (Views: 24.3ms | ActiveRecord: 1.0ms)
+Started POST "/adherent/members/122/coord" for 127.0.0.1 at 2013-08-25 08:32:45 +0200
+Processing by Adherent::CoordsController#create as HTML
+ Parameters: {"utf8"=>"✓", "coord"=>{"mail"=>"joe.dalton@penitencier.us", "tel"=>"", "gsm"=>"", "office"=>"", "address"=>"", "zip"=>"", "city"=>""}, "commit"=>"Enregistrer", "member_id"=>"122"}
+ [1m[36mOrganism Load (0.4ms)[0m [1mSELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1[0m
+ [1m[35mAdherent::Member Load (0.5ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "122"]]
+ [1m[36mAdherent::Coord Load (0.4ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 122 LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.7ms)[0m [1mINSERT INTO "adherent_coords" ("address", "city", "created_at", "gsm", "mail", "member_id", "office", "tel", "updated_at", "zip") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id"[0m [["address", ""], ["city", ""], ["created_at", Sun, 25 Aug 2013 06:32:45 UTC +00:00], ["gsm", ""], ["mail", "joe.dalton@penitencier.us"], ["member_id", 122], ["office", ""], ["tel", ""], ["updated_at", Sun, 25 Aug 2013 06:32:45 UTC +00:00], ["zip", ""]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+Redirected to http://www.example.com/adherent/members/122/adhesions/new
+Completed 302 Found in 10ms (ActiveRecord: 2.1ms)
+Started GET "/adherent/members/122/adhesions/new" for 127.0.0.1 at 2013-08-25 08:32:45 +0200
+Processing by Adherent::AdhesionsController#new as HTML
+ Parameters: {"member_id"=>"122"}
+ [1m[36mOrganism Load (0.3ms)[0m [1mSELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1[0m
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "122"]]
+ [1m[36mAdherent::Adhesion Load (0.2ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 122[0m
+ [1m[35mAdherent::Adhesion Load (0.3ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 122 ORDER BY to_date DESC LIMIT 1
+ Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (5.7ms)
+ Rendered layouts/adherent/_header.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.2ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms)
+Completed 200 OK in 15ms (Views: 9.9ms | ActiveRecord: 1.0ms)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mOrganism Load (0.3ms)[0m [1mSELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["created_at", Sun, 25 Aug 2013 06:32:45 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sun, 25 Aug 2013 06:32:45 UTC +00:00]]
+ [1m[35m (0.4ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.9ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mAdherent::Member Exists (0.4ms)[0m SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 88) LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["birthdate", nil], ["created_at", Sun, 25 Aug 2013 06:32:45 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 88], ["updated_at", Sun, 25 Aug 2013 06:32:45 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" [0m
+Started GET "/adherent/members/123/coord/new" for 127.0.0.1 at 2013-08-25 08:32:45 +0200
+Processing by Adherent::CoordsController#new as HTML
+ Parameters: {"member_id"=>"123"}
+ [1m[35mOrganism Load (2.1ms)[0m SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "123"]]
+ [1m[35mAdherent::Coord Load (0.3ms)[0m SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 123 LIMIT 1
+ Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (11.8ms)
+ Rendered layouts/adherent/_header.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.2ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms)
+Completed 200 OK in 23ms (Views: 16.1ms | ActiveRecord: 2.6ms)
+Started POST "/adherent/members/123/coord" for 127.0.0.1 at 2013-08-25 08:32:45 +0200
+Processing by Adherent::CoordsController#create as HTML
+ Parameters: {"utf8"=>"✓", "coord"=>{"mail"=>"joe.dalton@penitencier.us", "tel"=>"", "gsm"=>"", "office"=>"", "address"=>"", "zip"=>"", "city"=>"Oklahoma city"}, "commit"=>"Enregistrer", "member_id"=>"123"}
+ [1m[36mOrganism Load (0.6ms)[0m [1mSELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1[0m
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "123"]]
+ [1m[36mAdherent::Coord Load (0.2ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 123 LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "adherent_coords" ("address", "city", "created_at", "gsm", "mail", "member_id", "office", "tel", "updated_at", "zip") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id"[0m [["address", ""], ["city", "Oklahoma city"], ["created_at", Sun, 25 Aug 2013 06:32:45 UTC +00:00], ["gsm", ""], ["mail", "joe.dalton@penitencier.us"], ["member_id", 123], ["office", ""], ["tel", ""], ["updated_at", Sun, 25 Aug 2013 06:32:45 UTC +00:00], ["zip", ""]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+Redirected to http://www.example.com/adherent/members/123/adhesions/new
+Completed 302 Found in 8ms (ActiveRecord: 1.5ms)
+Started GET "/adherent/members/123/adhesions/new" for 127.0.0.1 at 2013-08-25 08:32:45 +0200
+Processing by Adherent::AdhesionsController#new as HTML
+ Parameters: {"member_id"=>"123"}
+ [1m[36mOrganism Load (0.4ms)[0m [1mSELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1[0m
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "123"]]
+ [1m[36mAdherent::Adhesion Load (0.2ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 123[0m
+ [1m[35mAdherent::Adhesion Load (0.3ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 123 ORDER BY to_date DESC LIMIT 1
+ Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (73.6ms)
+ Rendered layouts/adherent/_header.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms)
+Completed 200 OK in 82ms (Views: 76.7ms | ActiveRecord: 1.1ms)
+ [1m[36mAdherent::Coord Load (0.4ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 123 LIMIT 1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mOrganism Load (0.6ms)[0m SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (1.9ms)[0m INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sun, 25 Aug 2013 06:32:45 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sun, 25 Aug 2013 06:32:45 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m SAVEPOINT active_record_1
+ [1m[36mAdherent::Member Exists (0.7ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 89) LIMIT 1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["birthdate", nil], ["created_at", Sun, 25 Aug 2013 06:32:45 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 89], ["updated_at", Sun, 25 Aug 2013 06:32:45 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members"
+Started GET "/adherent/members/124/coord/new" for 127.0.0.1 at 2013-08-25 08:32:45 +0200
+Processing by Adherent::CoordsController#new as HTML
+ Parameters: {"member_id"=>"124"}
+ [1m[36mOrganism Load (0.6ms)[0m [1mSELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1[0m
+ [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "124"]]
+ [1m[36mAdherent::Coord Load (0.4ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 124 LIMIT 1[0m
+ Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (8.2ms)
+ Rendered layouts/adherent/_header.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms)
+Completed 200 OK in 21ms (Views: 13.3ms | ActiveRecord: 1.3ms)
+ [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "adherent_coords"
+Started POST "/adherent/members/124/coord" for 127.0.0.1 at 2013-08-25 08:32:45 +0200
+Processing by Adherent::CoordsController#create as HTML
+ Parameters: {"utf8"=>"✓", "coord"=>{"mail"=>"joe.dalton@penitencier.us", "tel"=>"", "gsm"=>"", "office"=>"", "address"=>"", "zip"=>"", "city"=>"Oklahoma city"}, "commit"=>"Enregistrer", "member_id"=>"124"}
+ [1m[36mOrganism Load (0.4ms)[0m [1mSELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1[0m
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "124"]]
+ [1m[36mAdherent::Coord Load (0.3ms)[0m [1mSELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 124 LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "adherent_coords" ("address", "city", "created_at", "gsm", "mail", "member_id", "office", "tel", "updated_at", "zip") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id"[0m [["address", ""], ["city", "Oklahoma city"], ["created_at", Sun, 25 Aug 2013 06:32:45 UTC +00:00], ["gsm", ""], ["mail", "joe.dalton@penitencier.us"], ["member_id", 124], ["office", ""], ["tel", ""], ["updated_at", Sun, 25 Aug 2013 06:32:45 UTC +00:00], ["zip", ""]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+Redirected to http://www.example.com/adherent/members/124/adhesions/new
+Completed 302 Found in 7ms (ActiveRecord: 1.4ms)
+Started GET "/adherent/members/124/adhesions/new" for 127.0.0.1 at 2013-08-25 08:32:45 +0200
+Processing by Adherent::AdhesionsController#new as HTML
+ Parameters: {"member_id"=>"124"}
+ [1m[36mOrganism Load (0.3ms)[0m [1mSELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1[0m
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "124"]]
+ [1m[36mAdherent::Adhesion Load (0.3ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 124[0m
+ [1m[35mAdherent::Adhesion Load (0.2ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 124 ORDER BY to_date DESC LIMIT 1
+ Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (4.5ms)
+ Rendered layouts/adherent/_header.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms)
+Completed 200 OK in 15ms (Views: 9.6ms | ActiveRecord: 1.0ms)
+ [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "adherent_coords" [0m
+ [1m[35m (0.3ms)[0m ROLLBACK
+Connecting to database specified by database.yml
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mOrganism Load (0.9ms)[0m SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (20.0ms)[0m INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sun, 25 Aug 2013 06:38:15 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sun, 25 Aug 2013 06:38:15 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mAdherent::Member Exists (0.6ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 90) LIMIT 1[0m
+ [1m[35mSQL (0.7ms)[0m INSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["birthdate", nil], ["created_at", Sun, 25 Aug 2013 06:38:15 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 90], ["updated_at", Sun, 25 Aug 2013 06:38:15 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members"
+ [1m[36mAdherent::Adhesion Load (0.4ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 125[0m
+ [1m[35mAdherent::Adhesion Load (0.4ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 125 ORDER BY to_date DESC LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.8ms)[0m INSERT INTO "adherent_adhesions" ("amount", "created_at", "from_date", "member_id", "to_date", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #<BigDecimal:a080408,'0.0',9(36)>], ["created_at", Sun, 25 Aug 2013 06:38:15 UTC +00:00], ["from_date", Sun, 25 Aug 2013], ["member_id", 125], ["to_date", Sun, 24 Aug 2014], ["updated_at", Sun, 25 Aug 2013 06:38:15 UTC +00:00]]
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.8ms)[0m [1mINSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["amount", #<BigDecimal:a21ae1c,'0.87654E3',18(45)>], ["created_at", Sun, 25 Aug 2013 06:38:15 UTC +00:00], ["date", Sun, 25 Aug 2013], ["member_id", 125], ["mode", "CB"], ["updated_at", Sun, 25 Aug 2013 06:38:15 UTC +00:00]]
+ [1m[35mAdherent::Member Load (0.4ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 125 LIMIT 1
+ [1m[36mAdherent::Adhesion Load (0.3ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 125 ORDER BY to_date[0m
+ [1m[35m (0.5ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 56
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/adherent/members/125/payments" for 127.0.0.1 at 2013-08-25 08:38:16 +0200
+Processing by Adherent::PaymentsController#index as HTML
+ Parameters: {"member_id"=>"125"}
+ [1m[35mOrganism Load (0.3ms)[0m SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1
+ [1m[36mAdherent::Member Load (0.4ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "125"]]
+ [1m[35mAdherent::Payment Load (0.5ms)[0m SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 125
+ [1m[36mAdherent::Reglement Load (0.4ms)[0m [1mSELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 23[0m
+ [1m[35mAdherent::Reglement Load (0.2ms)[0m SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 23
+ [1m[36m (0.2ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 23[0m
+ [1m[35mAdherent::Reglement Load (0.3ms)[0m SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 23
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 23[0m
+ Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/index.html.haml within layouts/adherent/application (22.3ms)
+ Rendered layouts/adherent/_header.html.haml (1.0ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (2.3ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (1.2ms)
+Completed 200 OK in 112ms (Views: 107.4ms | ActiveRecord: 2.4ms)
+ [1m[35m (0.4ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mOrganism Load (0.3ms)[0m SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sun, 25 Aug 2013 06:38:16 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sun, 25 Aug 2013 06:38:16 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mAdherent::Member Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 91) LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["birthdate", nil], ["created_at", Sun, 25 Aug 2013 06:38:16 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 91], ["updated_at", Sun, 25 Aug 2013 06:38:16 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mAdherent::Member Load (0.2ms)[0m SELECT "adherent_members".* FROM "adherent_members"
+ [1m[36mAdherent::Adhesion Load (0.2ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 126[0m
+ [1m[35mAdherent::Adhesion Load (0.2ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 126 ORDER BY to_date DESC LIMIT 1
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "adherent_adhesions" ("amount", "created_at", "from_date", "member_id", "to_date", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #<BigDecimal:a392808,'0.0',9(36)>], ["created_at", Sun, 25 Aug 2013 06:38:16 UTC +00:00], ["from_date", Sun, 25 Aug 2013], ["member_id", 126], ["to_date", Sun, 24 Aug 2014], ["updated_at", Sun, 25 Aug 2013 06:38:16 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["amount", #<BigDecimal:a3b8544,'0.87654E3',18(45)>], ["created_at", Sun, 25 Aug 2013 06:38:16 UTC +00:00], ["date", Sun, 25 Aug 2013], ["member_id", 126], ["mode", "CB"], ["updated_at", Sun, 25 Aug 2013 06:38:16 UTC +00:00]]
+ [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 126 LIMIT 1
+ [1m[36mAdherent::Adhesion Load (0.3ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 126 ORDER BY to_date[0m
+ [1m[35m (0.2ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 57
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/adherent/members/126/payments" for 127.0.0.1 at 2013-08-25 08:38:16 +0200
+Processing by Adherent::PaymentsController#index as HTML
+ Parameters: {"member_id"=>"126"}
+ [1m[35mOrganism Load (0.9ms)[0m SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1
+ [1m[36mAdherent::Member Load (0.4ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "126"]]
+ [1m[35mAdherent::Payment Load (0.3ms)[0m SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 126
+ [1m[36mAdherent::Reglement Load (0.2ms)[0m [1mSELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 24[0m
+ [1m[35mAdherent::Reglement Load (0.3ms)[0m SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 24
+ [1m[36m (0.2ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 24[0m
+ [1m[35mAdherent::Reglement Load (0.0ms)[0m SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 24
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 24[0m
+ Rendered layouts/adherent/_header.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms)
+Completed 200 OK in 16ms (Views: 10.9ms | ActiveRecord: 2.5ms)
+Started GET "/adherent/payments/24/reglements/new" for 127.0.0.1 at 2013-08-25 08:38:16 +0200
+Processing by Adherent::ReglementsController#new as HTML
+ Parameters: {"payment_id"=>"24"}
+ [1m[35mOrganism Load (0.8ms)[0m SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1
+ [1m[36mAdherent::Payment Load (0.4ms)[0m [1mSELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1[0m [["id", "24"]]
+ [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 126 LIMIT 1
+ [1m[36mAdherent::Reglement Load (0.2ms)[0m [1mSELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 24[0m
+ [1m[35m (0.3ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 24
+ [1m[36mAdherent::Adhesion Load (0.5ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" [0m
+ [1m[35m (0.3ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 57
+ [1m[36mAdherent::Reglement Load (0.3ms)[0m [1mSELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 24[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 24
+ Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (27.6ms)
+ Rendered layouts/adherent/_header.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms)
+Completed 200 OK in 60ms (Views: 35.2ms | ActiveRecord: 3.1ms)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36mOrganism Load (0.7ms)[0m [1mSELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["created_at", Sun, 25 Aug 2013 06:38:16 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sun, 25 Aug 2013 06:38:16 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mAdherent::Member Exists (0.3ms)[0m SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 92) LIMIT 1
+ [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["birthdate", nil], ["created_at", Sun, 25 Aug 2013 06:38:16 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 92], ["updated_at", Sun, 25 Aug 2013 06:38:16 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" [0m
+ [1m[35mAdherent::Adhesion Load (0.2ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 127
+ [1m[36mAdherent::Adhesion Load (0.3ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 127 ORDER BY to_date DESC LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "adherent_adhesions" ("amount", "created_at", "from_date", "member_id", "to_date", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["amount", #<BigDecimal:aab64cc,'0.0',9(36)>], ["created_at", Sun, 25 Aug 2013 06:38:16 UTC +00:00], ["from_date", Sun, 25 Aug 2013], ["member_id", 127], ["to_date", Sun, 24 Aug 2014], ["updated_at", Sun, 25 Aug 2013 06:38:16 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+Started GET "/adherent/members/127/payments/new" for 127.0.0.1 at 2013-08-25 08:38:16 +0200
+Processing by Adherent::PaymentsController#new as HTML
+ Parameters: {"member_id"=>"127"}
+ [1m[36mOrganism Load (0.3ms)[0m [1mSELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1[0m
+ [1m[35mAdherent::Member Load (0.1ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "127"]]
+ [1m[36mAdherent::Adhesion Load (0.3ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 127 ORDER BY to_date[0m
+ [1m[35m (0.2ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 58
+ Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (8.2ms)
+ Rendered layouts/adherent/_header.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms)
+Completed 200 OK in 21ms (Views: 14.9ms | ActiveRecord: 0.9ms)
+ [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 127[0m
+Started POST "/adherent/members/127/payments" for 127.0.0.1 at 2013-08-25 08:38:16 +0200
+Processing by Adherent::PaymentsController#create as HTML
+ Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"150.25", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"127"}
+ [1m[35mOrganism Load (0.5ms)[0m SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "127"]]
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["amount", #<BigDecimal:8f01448,'0.15025E3',18(18)>], ["created_at", Sun, 25 Aug 2013 06:38:16 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 127], ["mode", "CB"], ["updated_at", Sun, 25 Aug 2013 06:38:16 UTC +00:00]]
+ [1m[35mAdherent::Member Load (0.3ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 127 LIMIT 1
+ [1m[36mAdherent::Adhesion Load (0.3ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 127 ORDER BY to_date[0m
+ [1m[35m (0.2ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 58
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/adherent/members/127/payments
+Completed 302 Found in 11ms (ActiveRecord: 2.1ms)
+Started GET "/adherent/members/127/payments" for 127.0.0.1 at 2013-08-25 08:38:16 +0200
+Processing by Adherent::PaymentsController#index as HTML
+ Parameters: {"member_id"=>"127"}
+ [1m[35mOrganism Load (0.3ms)[0m SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1
+ [1m[36mAdherent::Member Load (0.3ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1[0m [["id", "127"]]
+ [1m[35mAdherent::Payment Load (0.3ms)[0m SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 127
+ [1m[36mAdherent::Reglement Load (0.3ms)[0m [1mSELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 25[0m
+ [1m[35mAdherent::Reglement Load (0.2ms)[0m SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 25
+ [1m[36m (0.2ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 25[0m
+ [1m[35mAdherent::Reglement Load (0.2ms)[0m SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 25
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 25[0m
+ Rendered layouts/adherent/_header.html.haml (0.2ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.2ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms)
+Completed 200 OK in 14ms (Views: 10.9ms | ActiveRecord: 1.8ms)
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 127
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mOrganism Load (0.3ms)[0m [1mSELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["created_at", Sun, 25 Aug 2013 06:38:16 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sun, 25 Aug 2013 06:38:16 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mAdherent::Member Exists (0.2ms)[0m SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 93) LIMIT 1
+ [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "adherent_members" ("birthdate", "created_at", "forname", "name", "number", "organism_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["birthdate", nil], ["created_at", Sun, 25 Aug 2013 06:38:16 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 93], ["updated_at", Sun, 25 Aug 2013 06:38:16 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mAdherent::Member Load (0.2ms)[0m [1mSELECT "adherent_members".* FROM "adherent_members" [0m
+ [1m[35mAdherent::Adhesion Load (0.2ms)[0m SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 128
+ [1m[36mAdherent::Adhesion Load (0.3ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 128 ORDER BY to_date DESC LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "adherent_adhesions" ("amount", "created_at", "from_date", "member_id", "to_date", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["amount", #<BigDecimal:a082208,'0.0',9(36)>], ["created_at", Sun, 25 Aug 2013 06:38:16 UTC +00:00], ["from_date", Sun, 25 Aug 2013], ["member_id", 128], ["to_date", Sun, 24 Aug 2014], ["updated_at", Sun, 25 Aug 2013 06:38:16 UTC +00:00]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+Started GET "/adherent/members/128/payments/new" for 127.0.0.1 at 2013-08-25 08:38:16 +0200
+Processing by Adherent::PaymentsController#new as HTML
+ Parameters: {"member_id"=>"128"}
+ [1m[36mOrganism Load (0.3ms)[0m [1mSELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1[0m
+ [1m[35mAdherent::Member Load (0.4ms)[0m SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "128"]]
+ [1m[36mAdherent::Adhesion Load (0.3ms)[0m [1mSELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 128 ORDER BY to_date[0m
+ [1m[35m (0.2ms)[0m SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 59
+ Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (8.5ms)
+ Rendered layouts/adherent/_header.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.1ms)
+ Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms)
+Completed 200 OK in 19ms (Views: 12.6ms | ActiveRecord: 1.3ms)
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m