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 @@  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 8ms (Views: 1.5ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK +Connecting to database specified by database.yml +  (0.1ms) BEGIN +  (0.1ms) SAVEPOINT active_record_1 + Adherent::Member Exists (70.9ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh1' AND "adherent_members"."organism_id" = 1) LIMIT 1 + SQL (30.5ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (28.6ms) INSERT 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" [["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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Adherent::Coord Load (0.6ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 15 LIMIT 1 +  (0.3ms) SELECT COUNT(*) FROM "adherent_coords" +  (0.1ms) SAVEPOINT active_record_1 + SQL (10.1ms) DELETE FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 [["id", 1]] + SQL (0.3ms) DELETE FROM "adherent_members" WHERE "adherent_members"."id" = $1 [["id", 15]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "adherent_coords"  +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +  (0.1ms) ROLLBACK + Organism Load (15.8ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 +  (0.1ms) BEGIN + SQL (12.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]] +  (1.1ms) COMMIT +  (0.1ms) BEGIN + Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 42) LIMIT 1 + SQL (0.6ms) 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: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]] +  (22.9ms) COMMIT +  (0.1ms) BEGIN + Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 42) LIMIT 1 + SQL (2.0ms) 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: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]] +  (0.8ms) COMMIT +  (0.1ms) BEGIN + Adherent::Member Exists (4.7ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 42) LIMIT 1 + SQL (0.4ms) 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: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]] +  (0.5ms) COMMIT +  (0.1ms) BEGIN + Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh003' AND "adherent_members"."organism_id" = 42) LIMIT 1 + SQL (0.5ms) 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: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]] +  (0.8ms) COMMIT +  (3.5ms) BEGIN + Adherent::Member Exists (0.5ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh004' AND "adherent_members"."organism_id" = 42) LIMIT 1 + SQL (0.4ms) 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: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]] +  (0.8ms) COMMIT + Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members"  +Started GET "/adherent/members" for 127.0.0.1 at 2013-08-25 08:32:01 +0200 +Processing by Adherent::MembersController#index as HTML + Organism Load (3.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 + Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 42 + Adherent::Adhesion Load (27.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 16 ORDER BY to_date + Adherent::Coord Load (0.8ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 16 LIMIT 1 + Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 17 ORDER BY to_date + Adherent::Coord Load (0.5ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 17 LIMIT 1 + Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 18 ORDER BY to_date + Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 18 LIMIT 1 + Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 19 ORDER BY to_date + Adherent::Coord Load (0.0ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 19 LIMIT 1 + Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 20 ORDER BY to_date + Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 20 LIMIT 1 + 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"} + Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 + Adherent::Member Load (23.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "16"]] +  (0.1ms) BEGIN + Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 16 LIMIT 1 + SQL (93.3ms) DELETE FROM "adherent_members" WHERE "adherent_members"."id" = $1 [["id", 16]] +  (88.9ms) COMMIT +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 + Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 + Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 42 + Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 17 ORDER BY to_date + Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 17 LIMIT 1 + Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 18 ORDER BY to_date + Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 18 LIMIT 1 + Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 19 ORDER BY to_date + Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 19 LIMIT 1 + Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 20 ORDER BY to_date + Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 20 LIMIT 1 + 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) +  (1.1ms) SELECT COUNT(*) FROM "adherent_members" +  (262.2ms) 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 +  (343.6ms) select table_name from information_schema.views where table_schema = 'adh_test' +  (1580.4ms) TRUNCATE TABLE "adherent_adhesions", "adherent_payments", "adherent_coords", "adherent_reglements", "adherent_members", "organisms" RESTART IDENTITY CASCADE; +  (0.7ms) 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 + Organism Load (13.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 +  (1.3ms) BEGIN + SQL (61.0ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]] +  (16.0ms) COMMIT +  (1.5ms) BEGIN + Adherent::Member Exists (0.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 1) LIMIT 1 + SQL (0.6ms) 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: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]] +  (126.0ms) COMMIT +  (0.2ms) BEGIN + Adherent::Member Exists (0.6ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 1) LIMIT 1 + SQL (1.6ms) 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: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]] +  (18.9ms) COMMIT +  (0.1ms) BEGIN + Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 1) LIMIT 1 + SQL (0.4ms) 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: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]] +  (11.1ms) COMMIT +  (0.1ms) BEGIN + Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh003' AND "adherent_members"."organism_id" = 1) LIMIT 1 + SQL (0.4ms) 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: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]] +  (1.5ms) COMMIT +  (0.1ms) BEGIN + Adherent::Member Exists (0.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh004' AND "adherent_members"."organism_id" = 1) LIMIT 1 + SQL (0.4ms) 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: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]] +  (3.3ms) COMMIT + Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members"  +  (0.2ms) BEGIN + SQL (44.6ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]] + Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 1 LIMIT 1 + Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 1 ORDER BY to_date +  (3.4ms) 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"} + Organism Load (4.0ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 + Adherent::Member Load (6.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "1"]] + Adherent::Payment Load (0.2ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 1 + Adherent::Reglement Load (0.1ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 1 + Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 1 +  (51.1ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 1 + Adherent::Reglement Load (2.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 1 + CACHE (0.0ms) 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"} + Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 + Adherent::Member Load (3.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "1"]] + Adherent::Payment Load (19.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 1 AND "adherent_payments"."id" = $1 LIMIT 1 [["id", "1"]] +  (0.1ms) BEGIN + Adherent::Reglement Load (6.7ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 1 + SQL (7.2ms) DELETE FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 [["id", 1]] +  (13.5ms) COMMIT +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"} + Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 + Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "1"]] + Adherent::Payment Load (0.8ms) 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) +  (0.7ms) SELECT COUNT(*) FROM "adherent_payments"  +  (0.6ms) 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 +  (440.8ms) TRUNCATE TABLE "adherent_adhesions", "adherent_payments", "adherent_coords", "adherent_reglements", "adherent_members", "organisms" RESTART IDENTITY CASCADE; +  (0.7ms) 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 + Organism Load (0.5ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 +  (0.1ms) BEGIN + SQL (42.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]] +  (28.6ms) COMMIT +  (0.1ms) BEGIN + Adherent::Member Exists (0.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 1) LIMIT 1 + SQL (0.6ms) 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: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]] +  (25.0ms) COMMIT +  (0.1ms) BEGIN + Adherent::Member Exists (0.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 1) LIMIT 1 + SQL (0.5ms) 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: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]] +  (8.0ms) COMMIT +  (0.1ms) BEGIN + Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 1) LIMIT 1 + SQL (0.4ms) 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: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]] +  (12.2ms) COMMIT +  (1.1ms) BEGIN + Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh003' AND "adherent_members"."organism_id" = 1) LIMIT 1 + SQL (0.3ms) 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: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]] +  (1.2ms) COMMIT +  (0.4ms) BEGIN + Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh004' AND "adherent_members"."organism_id" = 1) LIMIT 1 + SQL (0.4ms) 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: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]] +  (16.2ms) COMMIT + Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members"  + Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 1 + Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 1 ORDER BY to_date DESC LIMIT 1 +  (0.1ms) BEGIN + SQL (1.5ms) 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: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]] +  (14.6ms) 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"} + Organism Load (0.5ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 + Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "1"]] +  (0.5ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 1 + Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 1 +  (0.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 1 + CACHE (0.0ms) 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"} + Organism Load (0.7ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 + Adherent::Member Load (3.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "1"]] + Adherent::Adhesion Load (10.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 1 AND "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "1"]] +  (0.1ms) BEGIN + SQL (0.5ms) DELETE FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 [["id", 1]] +  (66.8ms) 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"} + Organism Load (2.6ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 + Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "1"]] +  (0.7ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 1 +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"} + Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 + Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "1"]] + Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 1 + Adherent::Adhesion Load (0.9ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 1 ORDER BY to_date DESC LIMIT 1 +  (1.6ms) SELECT COUNT(*) FROM "adherent_adhesions" +  (3.7ms) ALTER 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 + 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) +  (569.6ms) TRUNCATE TABLE "adherent_adhesions", "adherent_payments", "adherent_coords", "adherent_reglements", "adherent_members", "organisms" RESTART IDENTITY CASCADE; +  (2.9ms) 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 +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) +  (0.1ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN + Organism Load (0.8ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 +  (2.6ms) SAVEPOINT active_record_1 + SQL (1.2ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Adherent::Member Exists (0.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 1) LIMIT 1 + SQL (0.7ms) 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: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]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 1) LIMIT 1 + SQL (1.0ms) 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: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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + Adherent::Member Exists (0.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 1) LIMIT 1 + SQL (0.5ms) 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: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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members"  + Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 1 + Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 1 ORDER BY to_date DESC LIMIT 1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.5ms) 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: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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (1.1ms) SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 1 +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"} + Organism Load (1.1ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 + Adherent::Member Load (0.6ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "1"]] + Adherent::Adhesion Load (84.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 1 ORDER BY to_date +  (0.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 1 + CACHE (0.0ms) 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"} + Organism Load (0.7ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 + Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "1"]] +  (1.4ms) SAVEPOINT active_record_1 + SQL (1.5ms) 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]] + Adherent::Member Load (2.8ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 1 LIMIT 1 + Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 1 ORDER BY to_date +  (1.1ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 1 + CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 1 + SQL (1.5ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] +  (0.1ms) 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"} + Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 + Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "1"]] + Adherent::Payment Load (0.6ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 1 + Adherent::Reglement Load (1.6ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 1 + Adherent::Adhesion Load (6.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 1 LIMIT 1 + Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 1 LIMIT 1 + Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 1 +  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 1 + Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 1 + CACHE (0.0ms) 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) +  (0.3ms) SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 1 +  (0.2ms) ROLLBACK +  (0.2ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN + Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (1.1ms) 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]] +  (0.8ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Adherent::Member Exists (2.6ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 2) LIMIT 1 + SQL (0.8ms) 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]] +  (1.3ms) RELEASE SAVEPOINT active_record_1 +  (2.4ms) SAVEPOINT active_record_1 + Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 2) LIMIT 1 + SQL (5.5ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Adherent::Member Exists (0.6ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 2) LIMIT 1 + SQL (0.3ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" + Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 4 + Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 4 ORDER BY to_date DESC LIMIT 1 +  (4.5ms) SAVEPOINT active_record_1 + SQL (3.7ms) 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]] +  (0.3ms) RELEASE SAVEPOINT active_record_1 +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"} + Organism Load (1.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 + Adherent::Member Load (1.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "4"]] + Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 4 ORDER BY to_date +  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 2 + CACHE (0.0ms) 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"} + Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 + Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "4"]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.5ms) 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]] + Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 4 LIMIT 1 + Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 4 ORDER BY to_date +  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 2 + CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 2 + SQL (0.4ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] +  (0.1ms) 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"} + Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 + Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "4"]] + Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 4 + Adherent::Reglement Load (0.6ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 2 + Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 2 LIMIT 1 + Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 4 LIMIT 1 + Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 2 +  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 2 + Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 2 + CACHE (0.0ms) 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) + Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 4 ORDER BY to_date +  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 2 +  (0.3ms) ROLLBACK +  (0.1ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN + Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (3.3ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Adherent::Member Exists (0.8ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 3) LIMIT 1 + SQL (2.3ms) 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", 3], ["updated_at", Sun, 25 Aug 2013 06:32:32 UTC +00:00]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) SAVEPOINT active_record_1 + Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 3) LIMIT 1 + SQL (0.3ms) 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", 3], ["updated_at", Sun, 25 Aug 2013 06:32:32 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Adherent::Member Exists (0.9ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 3) LIMIT 1 + SQL (0.5ms) 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", 3], ["updated_at", Sun, 25 Aug 2013 06:32:32 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members"  + Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 7 + Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 7 ORDER BY to_date DESC LIMIT 1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.7ms) 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: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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT COUNT(*) FROM "adherent_reglements"  +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"} + Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 + Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "7"]] + Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 7 ORDER BY to_date +  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 3 + CACHE (0.0ms) 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"} + Organism Load (0.2ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 + Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "7"]] +  (0.4ms) SAVEPOINT active_record_1 + SQL (0.5ms) 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]] + Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 7 LIMIT 1 + Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 7 ORDER BY to_date +  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 3 + CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 3 + SQL (0.4ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] +  (0.1ms) 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"} + Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 + Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "7"]] + Adherent::Payment Load (1.0ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 7 + Adherent::Reglement Load (0.5ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 3 + Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 3 LIMIT 1 + Adherent::Member Load (0.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 7 LIMIT 1 + Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 3 +  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 3 + Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 3 + CACHE (0.0ms) 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) +  (0.3ms) SELECT COUNT(*) FROM "adherent_reglements"  +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN + Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (3.0ms) 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]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Adherent::Member Exists (0.5ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 4) LIMIT 1 + SQL (0.5ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 4) LIMIT 1 + SQL (0.4ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Adherent::Member Exists (0.5ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 4) LIMIT 1 + SQL (0.8ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Adherent::Member Load (0.1ms) SELECT "adherent_members".* FROM "adherent_members" + Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 10 + Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 10 ORDER BY to_date DESC LIMIT 1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (1.6ms) 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]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +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"} + Organism Load (3.2ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 + Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "10"]] + Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 10 ORDER BY to_date +  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 4 + CACHE (0.0ms) 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"} + Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 + Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "10"]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (1.6ms) 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]] + Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 10 LIMIT 1 + Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 10 ORDER BY to_date +  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 4 + CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 4 + SQL (0.4ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] +  (0.1ms) 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"} + Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 + Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "10"]] + Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 10 + Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 4 + Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 4 LIMIT 1 + Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 10 LIMIT 1 + Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 4 +  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 4 + Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 4 + CACHE (0.0ms) 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) + Adherent::Payment Load (0.6ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 10 ORDER BY "adherent_payments"."id" DESC LIMIT 1 + Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 11 + Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 11 ORDER BY to_date DESC LIMIT 1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.5ms) 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: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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 12 + Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 12 ORDER BY to_date DESC LIMIT 1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.6ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +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"} + Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 + Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", "4"]] + Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 10 LIMIT 1 + Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 4 +  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 4 + Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions"  +  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 4 +  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 5 +  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 6 + Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 4 + CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 4 + Adherent::Member Load (0.7ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 11 LIMIT 1 + CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 5 + Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 12 LIMIT 1 + CACHE (0.0ms) 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) + Adherent::Adhesion Load (0.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 10 ORDER BY to_date +  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 4 + Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 10 ORDER BY "adherent_payments"."id" DESC LIMIT 1 + Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 4 +  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 4 +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +  (0.1ms) COMMIT +  (0.0ms) BEGIN + Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (2.0ms) 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]] +  (2.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Adherent::Member Exists (0.6ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 5) LIMIT 1 + SQL (1.6ms) 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]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (4.4ms) SAVEPOINT active_record_1 + Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 5) LIMIT 1 + SQL (0.4ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + Adherent::Member Exists (1.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 5) LIMIT 1 + SQL (1.3ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" + Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 13 + Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 13 ORDER BY to_date DESC LIMIT 1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +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"} + Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 + Adherent::Member Load (0.6ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "13"]] + Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 13 ORDER BY to_date +  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 7 + CACHE (0.0ms) 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"} + Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 + Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "13"]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.5ms) 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]] + Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 13 LIMIT 1 + Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 13 ORDER BY to_date +  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 7 + CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 7 + SQL (0.4ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] +  (0.1ms) 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"} + Organism Load (0.2ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 + Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "13"]] + Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 13 + Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 5 + Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 7 LIMIT 1 + Adherent::Member Load (0.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 13 LIMIT 1 + Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 5 +  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 5 + Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 5 + CACHE (0.0ms) 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) + Adherent::Payment Load (0.5ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 13 ORDER BY "adherent_payments"."id" DESC LIMIT 1 + Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 14 + Adherent::Adhesion Load (0.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 14 ORDER BY to_date DESC LIMIT 1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.5ms) 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: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]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 + Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 15 + Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 15 ORDER BY to_date DESC LIMIT 1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +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"} + Organism Load (0.5ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 + Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", "5"]] + Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 13 LIMIT 1 + Adherent::Reglement Load (1.0ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 5 +  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 5 + Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions"  +  (0.1ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 7 +  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 8 +  (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 9 + Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 5 + CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 5 + Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 14 LIMIT 1 + CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 8 + Adherent::Member Load (0.6ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 15 LIMIT 1 + CACHE (0.0ms) 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) +  (0.3ms) ROLLBACK +  (0.1ms) BEGIN +  (0.1ms) COMMIT +  (0.0ms) BEGIN + Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 +  (0.5ms) SAVEPOINT active_record_1 + SQL (2.1ms) 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]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 6) LIMIT 1 + SQL (0.4ms) 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", 6], ["updated_at", Sun, 25 Aug 2013 06:32:33 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 6) LIMIT 1 + SQL (0.5ms) 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", 6], ["updated_at", Sun, 25 Aug 2013 06:32:33 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 6) LIMIT 1 + SQL (0.4ms) 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", 6], ["updated_at", Sun, 25 Aug 2013 06:32:33 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Adherent::Member Load (1.6ms) SELECT "adherent_members".* FROM "adherent_members"  + Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 16 + Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 16 ORDER BY to_date DESC LIMIT 1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.5ms) 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: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]] +  (0.1ms) 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"} + Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 + Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "16"]] + Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 16 ORDER BY to_date +  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 10 + CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 10 + 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"} + Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 + Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "16"]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.6ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]] + Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 16 LIMIT 1 + Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 16 ORDER BY to_date +  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 10 + CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 10 + SQL (1.1ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +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"} + Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 + Adherent::Member Load (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "16"]] + Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 16 + Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 6 + Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 10 LIMIT 1 + Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 16 LIMIT 1 + Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 6 +  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 6 + Adherent::Reglement Load (0.8ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 6 + CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 6 + 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) + Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 16 ORDER BY "adherent_payments"."id" DESC LIMIT 1 + Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 17 + Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 17 ORDER BY to_date DESC LIMIT 1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.6ms) 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]] +  (2.6ms) RELEASE SAVEPOINT active_record_1 + Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 18 + Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 18 ORDER BY to_date DESC LIMIT 1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) 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: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]] +  (0.1ms) 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"} + Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 + Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", "6"]] + Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 16 LIMIT 1 + Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 6 +  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 6 + Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" +  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 10 +  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 11 +  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 12 + Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 6 + CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 6 + Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 17 LIMIT 1 + CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 11 + Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 18 LIMIT 1 + CACHE (0.1ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 12 + 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) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN + Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (4.2ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Adherent::Member Exists (3.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 7) LIMIT 1 + SQL (1.4ms) 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]] +  (0.5ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 7) LIMIT 1 + SQL (2.1ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 7) LIMIT 1 + SQL (1.0ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Adherent::Member Load (0.8ms) SELECT "adherent_members".* FROM "adherent_members" + Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 19 + Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 19 ORDER BY to_date DESC LIMIT 1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.5ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +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"} + Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 + Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "19"]] + Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 19 ORDER BY to_date +  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 13 + CACHE (0.0ms) 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"} + Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 + Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "19"]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.6ms) 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]] + Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 19 LIMIT 1 + Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 19 ORDER BY to_date +  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 13 + CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 13 + SQL (0.4ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] +  (0.1ms) 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"} + Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 + Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "19"]] + Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 19 + Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 7 + Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 13 LIMIT 1 + Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 19 LIMIT 1 + Adherent::Reglement Load (1.0ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 7 +  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 7 + Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 7 + CACHE (0.0ms) 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) + Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 19 ORDER BY "adherent_payments"."id" DESC LIMIT 1 + Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 20 + Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 20 ORDER BY to_date DESC LIMIT 1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) 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: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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 21 + Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 21 ORDER BY to_date DESC LIMIT 1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +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"} + Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 + Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", "7"]] + Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 19 LIMIT 1 + Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 7 +  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 7 + Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions"  +  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 13 +  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 14 +  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 15 + Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 7 + CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 7 + Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 20 LIMIT 1 + CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 14 + Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 21 LIMIT 1 + CACHE (0.0ms) 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) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +  (0.1ms) COMMIT +  (0.5ms) BEGIN + Organism Load (3.2ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) 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]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Adherent::Member Exists (2.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 8) LIMIT 1 + SQL (0.5ms) 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", 8], ["updated_at", Sun, 25 Aug 2013 06:32:33 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) SAVEPOINT active_record_1 + Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 8) LIMIT 1 + SQL (0.6ms) 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", 8], ["updated_at", Sun, 25 Aug 2013 06:32:33 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Adherent::Member Exists (0.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 8) LIMIT 1 + SQL (0.4ms) 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", 8], ["updated_at", Sun, 25 Aug 2013 06:32:33 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members"  + Adherent::Adhesion Load (0.9ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 22 + Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 22 ORDER BY to_date DESC LIMIT 1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.5ms) 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: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]] +  (0.1ms) 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"} + Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 + Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "22"]] + Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 22 ORDER BY to_date +  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 16 + CACHE (0.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 16 + 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"} + Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 + Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "22"]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.5ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]] + Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 22 LIMIT 1 + Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 22 ORDER BY to_date +  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 16 + CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 16 + SQL (0.4ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +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"} + Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 + Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "22"]] + Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 22 + Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 8 + Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 16 LIMIT 1 + Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 22 LIMIT 1 + Adherent::Reglement Load (0.1ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 8 +  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 8 + Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 8 + CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 8 + 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) + Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 22 ORDER BY "adherent_payments"."id" DESC LIMIT 1 + Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 23 + Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 23 ORDER BY to_date DESC LIMIT 1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 24 + Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 24 ORDER BY to_date DESC LIMIT 1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.5ms) 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: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]] +  (0.0ms) 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"} + Organism Load (0.9ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 + Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", "8"]] + Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 22 LIMIT 1 + Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 8 +  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 8 + Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" +  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 16 +  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 17 +  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 18 + Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 8 + CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 8 + Adherent::Member Load (6.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 23 LIMIT 1 + CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 17 + Adherent::Member Load (1.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 24 LIMIT 1 + CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 18 + 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"} + Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 + Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", "8"]] + Adherent::Adhesion Load (1.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "17"]] + Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 8 +  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 8 +  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 17 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.5ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 22 LIMIT 1 +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"} + Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 + Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "22"]] + Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 22 + Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 8 + Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 17 LIMIT 1 + Adherent::Member Load (0.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 23 LIMIT 1 + Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 16 LIMIT 1 + Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 22 LIMIT 1 + Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 8 +  (3.7ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 8 + Adherent::Reglement Load (0.6ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 8 + CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 8 + 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) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +  (0.1ms) COMMIT +  (0.5ms) BEGIN + Organism Load (1.0ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 +  (0.6ms) SAVEPOINT active_record_1 + SQL (5.1ms) 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]] +  (4.9ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Adherent::Member Exists (1.8ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 9) LIMIT 1 + SQL (2.9ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (1.1ms) SAVEPOINT active_record_1 + Adherent::Member Exists (0.9ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 9) LIMIT 1 + SQL (0.8ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Adherent::Member Exists (0.5ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 9) LIMIT 1 + SQL (1.6ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" + Adherent::Adhesion Load (1.8ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 25 + Adherent::Adhesion Load (1.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 25 ORDER BY to_date DESC LIMIT 1 +  (1.5ms) SAVEPOINT active_record_1 + SQL (3.3ms) 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]] +  (0.6ms) RELEASE SAVEPOINT active_record_1 +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"} + Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 + Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "25"]] + Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 25 ORDER BY to_date +  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 19 + CACHE (0.0ms) 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"} + Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 + Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "25"]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) 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]] + Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 25 LIMIT 1 + Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 25 ORDER BY to_date +  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 19 + CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 19 + SQL (0.4ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] +  (0.1ms) 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"} + Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 + Adherent::Member Load (3.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "25"]] + Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 25 + Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 9 + Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 19 LIMIT 1 + Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 25 LIMIT 1 + Adherent::Reglement Load (0.6ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 9 +  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 9 + Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 9 + CACHE (0.0ms) 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) + Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 25 ORDER BY "adherent_payments"."id" DESC LIMIT 1 + Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 26 + Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 26 ORDER BY to_date DESC LIMIT 1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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: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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 27 + Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 27 ORDER BY to_date DESC LIMIT 1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +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"} + Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 + Adherent::Payment Load (0.2ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", "9"]] + Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 25 LIMIT 1 + Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 9 +  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 9 + Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions"  +  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 19 +  (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 20 +  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 21 + Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 9 + CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 9 + Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 26 LIMIT 1 + CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 20 + Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 27 LIMIT 1 + CACHE (0.0ms) 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"} + Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 + Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", "9"]] + Adherent::Adhesion Load (0.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "20"]] + Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 9 +  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 9 +  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 20 +  (0.1ms) SAVEPOINT active_record_1 + SQL (1.1ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Adherent::Member Load (0.6ms) 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"} + Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 + Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "25"]] + Adherent::Payment Load (0.2ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 25 + Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 9 + Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 20 LIMIT 1 + Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 26 LIMIT 1 + Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 19 LIMIT 1 + Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 25 LIMIT 1 + Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 9 +  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 9 + Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 9 + CACHE (0.0ms) 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) + Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements"  +  (1.1ms) ROLLBACK +  (0.1ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN + Organism Load (1.5ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 +  (0.6ms) SAVEPOINT active_record_1 + SQL (7.8ms) 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]] +  (0.3ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 10) LIMIT 1 + SQL (0.4ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 10) LIMIT 1 + SQL (1.1ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 10) LIMIT 1 + SQL (0.4ms) 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]] +  (0.3ms) RELEASE SAVEPOINT active_record_1 + Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" + Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 28 + Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 28 ORDER BY to_date DESC LIMIT 1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (2.7ms) 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]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +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"} + Organism Load (0.6ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 + Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "28"]] + Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 28 ORDER BY to_date +  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 22 + CACHE (0.0ms) 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"} + Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 + Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "28"]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) 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]] + Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 28 LIMIT 1 + Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 28 ORDER BY to_date +  (1.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 22 + CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 22 + SQL (0.4ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] +  (0.1ms) 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"} + Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 + Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "28"]] + Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 28 + Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 10 + Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 22 LIMIT 1 + Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 28 LIMIT 1 + Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 10 +  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 10 + Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 10 + CACHE (0.0ms) 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) + Adherent::Payment Load (0.9ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 28 ORDER BY "adherent_payments"."id" DESC LIMIT 1 + Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 29 + Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 29 ORDER BY to_date DESC LIMIT 1 +  (0.6ms) SAVEPOINT active_record_1 + SQL (0.3ms) 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: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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 30 + Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 30 ORDER BY to_date DESC LIMIT 1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.5ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +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"} + Organism Load (0.1ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 + Adherent::Payment Load (0.2ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", "10"]] + Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 28 LIMIT 1 + Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 10 +  (0.1ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 10 + Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions"  +  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 22 +  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 23 +  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 24 + Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 10 + CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 10 + Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 29 LIMIT 1 + CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 23 + Adherent::Member Load (0.6ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 30 LIMIT 1 + CACHE (0.0ms) 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"} + Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 + Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", "10"]] + Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "23"]] + Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 10 +  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 10 +  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 23 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.6ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Adherent::Member Load (0.3ms) 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"} + Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 + Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "28"]] + Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 28 + Adherent::Reglement Load (0.5ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 10 + Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 23 LIMIT 1 + Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 29 LIMIT 1 + Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 22 LIMIT 1 + Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 28 LIMIT 1 + Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 10 +  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 10 + Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 10 + CACHE (0.0ms) 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) + Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 29 ORDER BY to_date +  (0.1ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 23 +  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 23 +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN + Organism Load (0.7ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 +  (0.9ms) SAVEPOINT active_record_1 + SQL (0.8ms) 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]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.6ms) SAVEPOINT active_record_1 + Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 11) LIMIT 1 + SQL (0.4ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 11) LIMIT 1 + SQL (0.3ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 11) LIMIT 1 + SQL (0.7ms) 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]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 + Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" + Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 31 + Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 31 ORDER BY to_date DESC LIMIT 1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.5ms) 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]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +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"} + Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 + Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "31"]] + Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 31 ORDER BY to_date +  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 25 + CACHE (0.0ms) 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"} + Organism Load (0.2ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 + Adherent::Member Load (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "31"]] +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.4ms) 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]] + Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 31 LIMIT 1 + Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 31 ORDER BY to_date +  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 25 + CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 25 + SQL (1.1ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] +  (1.3ms) 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"} + Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 + Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "31"]] + Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 31 + Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 11 + Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 25 LIMIT 1 + Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 31 LIMIT 1 + Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 11 +  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 11 + Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 11 + CACHE (0.0ms) 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) + Adherent::Payment Load (0.5ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 31 ORDER BY "adherent_payments"."id" DESC LIMIT 1 + Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 32 + Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 32 ORDER BY to_date DESC LIMIT 1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.6ms) 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: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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 33 + Adherent::Adhesion Load (0.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 33 ORDER BY to_date DESC LIMIT 1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +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"} + Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 + Adherent::Payment Load (0.2ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", "11"]] + Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 31 LIMIT 1 + Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 11 +  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 11 + Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions"  +  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 25 +  (0.1ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 26 +  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 27 + Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 11 + CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 11 + Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 32 LIMIT 1 + CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 26 + Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 33 LIMIT 1 + CACHE (0.0ms) 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"} + Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 + Adherent::Payment Load (0.2ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", "11"]] + Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "26"]] + Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 11 +  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 11 +  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 26 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.5ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Adherent::Member Load (0.2ms) 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"} + Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 + Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "31"]] + Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 31 + Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 11 + Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 26 LIMIT 1 + Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 32 LIMIT 1 + Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 25 LIMIT 1 + Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 31 LIMIT 1 + Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 11 +  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 11 + Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 11 + CACHE (0.0ms) 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) + Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" LIMIT 1 + Adherent::Adhesion Load (0.8ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 25 LIMIT 1 + Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 31 LIMIT 1 +  (0.1ms) ROLLBACK +  (0.2ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN + Organism Load (3.7ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (1.6ms) 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]] +  (0.9ms) RELEASE SAVEPOINT active_record_1 +  (1.3ms) SAVEPOINT active_record_1 + Adherent::Member Exists (0.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 12) LIMIT 1 + SQL (0.4ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Adherent::Member Exists (1.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 12) LIMIT 1 + SQL (0.5ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 12) LIMIT 1 + SQL (1.9ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" + Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 34 + Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 34 ORDER BY to_date DESC LIMIT 1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.5ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +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"} + Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 + Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "34"]] + Adherent::Adhesion Load (0.9ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 34 ORDER BY to_date +  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 28 + CACHE (0.0ms) 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"} + Organism Load (1.1ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 + Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "34"]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.4ms) 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]] + Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 34 LIMIT 1 + Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 34 ORDER BY to_date +  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 28 + CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 28 + SQL (0.4ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] +  (0.1ms) 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"} + Organism Load (0.1ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 + Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "34"]] + Adherent::Payment Load (7.7ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 34 + Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 12 + Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 28 LIMIT 1 + Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 34 LIMIT 1 + Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 12 +  (2.9ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 12 + Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 12 + CACHE (0.0ms) 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) + Adherent::Payment Load (6.2ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 34 ORDER BY "adherent_payments"."id" DESC LIMIT 1 + Adherent::Adhesion Load (1.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 35 + Adherent::Adhesion Load (1.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 35 ORDER BY to_date DESC LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.8ms) 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: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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 36 + Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 36 ORDER BY to_date DESC LIMIT 1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.5ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +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"} + Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 + Adherent::Payment Load (0.2ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", "12"]] + Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 34 LIMIT 1 + Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 12 +  (0.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 12 + Adherent::Adhesion Load (2.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions"  +  (1.1ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 28 +  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 29 +  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 30 + Adherent::Reglement Load (0.7ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 12 + CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 12 + Adherent::Member Load (4.8ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 35 LIMIT 1 + CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 29 + Adherent::Member Load (1.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 36 LIMIT 1 + CACHE (0.1ms) 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"} + Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 + Adherent::Payment Load (0.1ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", "12"]] + Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "29"]] + Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 12 +  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 12 +  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 29 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.5ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Adherent::Member Load (0.4ms) 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"} + Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 + Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "34"]] + Adherent::Payment Load (0.5ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 34 + Adherent::Reglement Load (0.0ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 12 + Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 29 LIMIT 1 + Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 35 LIMIT 1 + Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 28 LIMIT 1 + Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 34 LIMIT 1 + Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 12 +  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 12 + Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 12 + CACHE (0.0ms) 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) + Adherent::Reglement Load (0.9ms) SELECT "adherent_reglements".* FROM "adherent_reglements" ORDER BY "adherent_reglements"."id" DESC LIMIT 1 + Adherent::Adhesion Load (0.8ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 29 LIMIT 1 + Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 35 LIMIT 1 +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +  (0.1ms) COMMIT +  (0.2ms) BEGIN + Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 +  (2.6ms) SAVEPOINT active_record_1 + SQL (0.6ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Adherent::Member Exists (1.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 13) LIMIT 1 + SQL (0.5ms) 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]] +  (0.3ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 13) LIMIT 1 + SQL (0.5ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.9ms) SAVEPOINT active_record_1 + Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 13) LIMIT 1 + SQL (0.3ms) 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]] +  (1.5ms) RELEASE SAVEPOINT active_record_1 + Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" + Adherent::Adhesion Load (4.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 37 + Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 37 ORDER BY to_date DESC LIMIT 1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +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"} + Organism Load (1.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 + Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "37"]] + Adherent::Adhesion Load (1.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 37 ORDER BY to_date +  (0.1ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 31 + CACHE (0.0ms) 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"} + Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 + Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "37"]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.5ms) 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]] + Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 37 LIMIT 1 + Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 37 ORDER BY to_date +  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 31 + CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 31 + SQL (0.4ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] +  (0.1ms) 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"} + Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 + Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "37"]] + Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 37 + Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 13 + Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 31 LIMIT 1 + Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 37 LIMIT 1 + Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 13 +  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 13 + Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 13 + CACHE (0.0ms) 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) + Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 37 ORDER BY to_date +  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 31 +  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 31 +  (0.1ms) ROLLBACK +  (0.0ms) BEGIN +  (0.1ms) COMMIT +  (0.2ms) BEGIN + Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (3.3ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Adherent::Member Exists (0.9ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 14) LIMIT 1 + SQL (0.5ms) 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]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) SAVEPOINT active_record_1 + Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 14) LIMIT 1 + SQL (0.4ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 14) LIMIT 1 + SQL (0.6ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" + Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 40 + Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 40 ORDER BY to_date DESC LIMIT 1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.5ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +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"} + Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 + Adherent::Member Load (0.8ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "40"]] + Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 40 ORDER BY to_date +  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 32 + CACHE (0.0ms) 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"} + Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 + Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "40"]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (28.5ms) 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]] + Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 40 LIMIT 1 + Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 40 ORDER BY to_date +  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 32 + CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 32 + SQL (0.6ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] +  (0.1ms) 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"} + Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 + Adherent::Member Load (0.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "40"]] + Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 40 + Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 14 + Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 32 LIMIT 1 + Adherent::Member Load (0.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 40 LIMIT 1 + Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 14 +  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 14 + Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 14 + CACHE (0.0ms) 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) + Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 40 ORDER BY to_date +  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 32 +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +  (0.4ms) COMMIT +  (0.3ms) BEGIN + Organism Load (0.8ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (4.3ms) 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]] +  (3.0ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) SAVEPOINT active_record_1 + Adherent::Member Exists (3.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 15) LIMIT 1 + SQL (1.6ms) 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", 15], ["updated_at", Sun, 25 Aug 2013 06:32:35 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + Adherent::Member Exists (1.9ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 15) LIMIT 1 + SQL (3.0ms) 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", 15], ["updated_at", Sun, 25 Aug 2013 06:32:35 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (1.3ms) SAVEPOINT active_record_1 + Adherent::Member Exists (2.0ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 15) LIMIT 1 + SQL (0.5ms) 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: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]] +  (1.5ms) RELEASE SAVEPOINT active_record_1 + Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members"  + Adherent::Adhesion Load (0.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 43 + Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 43 ORDER BY to_date DESC LIMIT 1 +  (0.7ms) SAVEPOINT active_record_1 + SQL (1.9ms) 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: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]] +  (0.2ms) 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"} + Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 + Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "43"]] + Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 43 ORDER BY to_date +  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 33 + CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 33 + 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"} + Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 + Adherent::Member Load (0.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "43"]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]] + Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 43 LIMIT 1 + Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 43 ORDER BY to_date +  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 33 + CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 33 + SQL (0.4ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +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"} + Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 + Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "43"]] + Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 43 + Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 15 + Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 33 LIMIT 1 + Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 43 LIMIT 1 + Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 15 +  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 15 + Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 15 + CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 15 + 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) + Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 43 ORDER BY "adherent_payments"."id" DESC LIMIT 1 + Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 15 +  (5.9ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 15 +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN + Organism Load (1.5ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 +  (1.0ms) SAVEPOINT active_record_1 + SQL (0.5ms) 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]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Adherent::Member Exists (0.0ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 16) LIMIT 1 + SQL (0.4ms) 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: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]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Adherent::Member Exists (0.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 16) LIMIT 1 + SQL (5.3ms) 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: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]] +  (0.5ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 16) LIMIT 1 + SQL (0.4ms) 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: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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members"  + Adherent::Adhesion Load (0.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 46 + Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 46 ORDER BY to_date DESC LIMIT 1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.9ms) 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: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]] +  (0.1ms) 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"} + Organism Load (0.5ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 + Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "46"]] + Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 46 ORDER BY to_date +  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 34 + CACHE (0.7ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 34 + 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"} + Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 + Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "46"]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.5ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]] + Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 46 LIMIT 1 + Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 46 ORDER BY to_date +  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 34 + CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 34 + SQL (0.9ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +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"} + Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 + Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "46"]] + Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 46 + Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 16 + Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 34 LIMIT 1 + Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 46 LIMIT 1 + Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 16 +  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 16 + Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 16 + CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 16 + 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) + Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 46 ORDER BY to_date +  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 34 +  (0.2ms) ROLLBACK +  (0.2ms) BEGIN +  (0.1ms) SAVEPOINT active_record_1 + SQL (3.2ms) 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: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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (2.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 35 +  (1.1ms) SAVEPOINT active_record_1 + SQL (4.8ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 35 +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.5ms) 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: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]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 36 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.6ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 37 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 37 +  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 37 +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +  (0.3ms) ROLLBACK +  (0.1ms) BEGIN +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +  (0.1ms) ROLLBACK +  (0.0ms) BEGIN +  (0.1ms) ROLLBACK +  (0.0ms) BEGIN +  (0.1ms) ROLLBACK +  (0.0ms) BEGIN +  (0.0ms) ROLLBACK +  (0.1ms) BEGIN +  (0.1ms) ROLLBACK +  (0.0ms) BEGIN +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +  (0.2ms) ROLLBACK +  (0.0ms) BEGIN +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +Processing by Adherent::AdhesionsController#index as HTML + Parameters: {"member_id"=>"1006"} + Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Completed 200 OK in 12ms (Views: 8.6ms | ActiveRecord: 0.8ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +Processing by Adherent::AdhesionsController#index as HTML + Parameters: {"member_id"=>"1007"} + Organism Load (6.1ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 +  (0.3ms) SAVEPOINT active_record_1 + SQL (0.6ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Completed 200 OK in 11ms (Views: 1.0ms | ActiveRecord: 7.0ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +Processing by Adherent::AdhesionsController#index as HTML + Parameters: {"member_id"=>"1008"} + Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.4ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/adherent/members/1008/adhesions/new +Completed 302 Found in 7ms (ActiveRecord: 1.0ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +Processing by Adherent::AdhesionsController#new as HTML + Parameters: {"member_id"=>"1009"} + Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.4ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Completed 200 OK in 4ms (Views: 0.9ms | ActiveRecord: 0.8ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +Processing by Adherent::AdhesionsController#update as HTML + Parameters: {"adhesion"=>{"amount"=>"125"}, "member_id"=>"1011", "id"=>"1"} + Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/adherent/members/1011/adhesions +Completed 302 Found in 5ms (ActiveRecord: 0.9ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +Processing by Adherent::AdhesionsController#update as HTML + Parameters: {"adhesion"=>{"amount"=>"125"}, "member_id"=>"1013", "id"=>"1"} + Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Completed 200 OK in 28ms (Views: 21.9ms | ActiveRecord: 1.1ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +Processing by Adherent::AdhesionsController#update as HTML + Parameters: {"adhesion"=>{"amount"=>"125"}, "member_id"=>"1015", "id"=>"1"} + Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.8ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Completed 200 OK in 11ms (Views: 1.0ms | ActiveRecord: 1.3ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +Processing by Adherent::AdhesionsController#update as HTML + Parameters: {"adhesion"=>{"amount"=>"125"}, "member_id"=>"1017", "id"=>"1"} + Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/adherent/members/1017/adhesions +Completed 302 Found in 6ms (ActiveRecord: 0.9ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +Processing by Adherent::AdhesionsController#edit as HTML + Parameters: {"member_id"=>"1019", "id"=>"1"} + Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Completed 200 OK in 6ms (Views: 1.6ms | ActiveRecord: 0.9ms) +  (0.0ms) ROLLBACK +  (0.1ms) BEGIN +Processing by Adherent::AdhesionsController#edit as HTML + Parameters: {"member_id"=>"1021", "id"=>"1"} + Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Completed 200 OK in 6ms (Views: 1.9ms | ActiveRecord: 0.9ms) +  (0.2ms) ROLLBACK +  (0.6ms) BEGIN +Processing by Adherent::AdhesionsController#create as HTML + Parameters: {"adhesion"=>{"amount"=>"57", "mode"=>"CB", "date"=>"25/08/2013"}, "member_id"=>"1023"} + Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 +  (4.9ms) SAVEPOINT active_record_1 + SQL (0.5ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/adherent/members/1023/adhesions +Completed 302 Found in 10ms (ActiveRecord: 5.8ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +Processing by Adherent::AdhesionsController#create as HTML + Parameters: {"adhesion"=>{"amount"=>"57", "mode"=>"CB", "date"=>"25/08/2013"}, "member_id"=>"1025"} + Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.5ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Completed 200 OK in 10ms (Views: 2.2ms | ActiveRecord: 1.0ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +Processing by Adherent::AdhesionsController#create as HTML + Parameters: {"adhesion"=>{"amount"=>"57", "mode"=>"CB", "date"=>"25/08/2013"}, "member_id"=>"1027"} + Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 +  (6.1ms) SAVEPOINT active_record_1 + SQL (2.3ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/adherent/members/1027/adhesions +Completed 302 Found in 15ms (ActiveRecord: 8.9ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +Processing by Adherent::CoordsController#show as HTML + Parameters: {"member_id"=>"1029"} + Organism Load (1.5ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.5ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Completed 200 OK in 114ms (Views: 107.0ms | ActiveRecord: 2.2ms) +  (0.5ms) ROLLBACK +  (0.1ms) BEGIN +Processing by Adherent::CoordsController#show as HTML + Parameters: {"member_id"=>"1031"} + Organism Load (2.0ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.8ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Completed 200 OK in 7ms (Views: 1.6ms | ActiveRecord: 3.0ms) +  (1.9ms) ROLLBACK +  (0.1ms) BEGIN +Processing by Adherent::CoordsController#new as HTML + Parameters: {"member_id"=>"1033"} + Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Completed 200 OK in 46ms (Views: 40.9ms | ActiveRecord: 0.9ms) +  (1.3ms) ROLLBACK +  (0.1ms) BEGIN +Processing by Adherent::CoordsController#update as HTML + Parameters: {"coord"=>{"city"=>"Dallas"}, "member_id"=>"1035"} + Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.5ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/adherent/members/1035/coord +Completed 302 Found in 6ms (ActiveRecord: 1.0ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +Processing by Adherent::CoordsController#update as HTML + Parameters: {"coord"=>{"city"=>"Dallas"}, "member_id"=>"1037"} + Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Completed 200 OK in 200ms (Views: 195.9ms | ActiveRecord: 0.8ms) +  (1.9ms) ROLLBACK +  (0.1ms) BEGIN +Processing by Adherent::CoordsController#update as HTML + Parameters: {"coord"=>{"city"=>"Dallas"}, "member_id"=>"1039"} + Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.4ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Completed 200 OK in 6ms (Views: 1.5ms | ActiveRecord: 0.8ms) +  (0.1ms) ROLLBACK +  (0.2ms) BEGIN +Processing by Adherent::CoordsController#update as HTML + Parameters: {"coord"=>{"city"=>"Dallas"}, "member_id"=>"1041"} + Organism Load (0.5ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/adherent/members/1041/coord +Completed 302 Found in 7ms (ActiveRecord: 1.0ms) +  (0.3ms) ROLLBACK +  (0.2ms) BEGIN +Processing by Adherent::CoordsController#edit as HTML + Parameters: {"member_id"=>"1043"} + Organism Load (0.5ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Completed 200 OK in 6ms (Views: 1.8ms | ActiveRecord: 1.1ms) +  (0.1ms) ROLLBACK +  (0.3ms) BEGIN +Processing by Adherent::CoordsController#edit as HTML + Parameters: {"member_id"=>"1045"} + Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (1.4ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Completed 200 OK in 6ms (Views: 1.3ms | ActiveRecord: 1.8ms) +  (0.0ms) ROLLBACK +  (0.1ms) BEGIN +Processing by Adherent::CoordsController#create as HTML + Parameters: {"coord"=>{"city"=>"Bruxelles", "zip"=>"1000"}, "member_id"=>"1047"} + Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.6ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Completed 200 OK in 6ms (Views: 1.0ms | ActiveRecord: 1.1ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +Processing by Adherent::CoordsController#create as HTML + Parameters: {"coord"=>{"city"=>"Bruxelles", "zip"=>"1000"}, "member_id"=>"1049"} + Organism Load (0.5ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.5ms) 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]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/adherent/members/1049/adhesions/new +Completed 302 Found in 6ms (ActiveRecord: 1.4ms) +  (0.3ms) ROLLBACK +  (0.1ms) BEGIN +  (0.1ms) COMMIT +  (0.4ms) BEGIN + Organism Load (1.2ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (9.2ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Adherent::Member Exists (4.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 41) LIMIT 1 + SQL (1.1ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" + Adherent::Adhesion Load (2.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 49 + Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 49 ORDER BY to_date DESC LIMIT 1 +  (2.0ms) SAVEPOINT active_record_1 + SQL (2.7ms) 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]] +  (1.7ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (2.6ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]] + Adherent::Member Load (1.8ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 49 LIMIT 1 + Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 49 ORDER BY to_date +  (4.9ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 38 +  (0.1ms) RELEASE SAVEPOINT active_record_1 +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"} + Organism Load (8.9ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 + Adherent::Member Load (4.6ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "49"]] + Adherent::Payment Load (1.9ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 49 + Adherent::Reglement Load (2.1ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 17 + Adherent::Reglement Load (0.1ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 17 +  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 17 + Adherent::Reglement Load (1.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 17 + CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 17 + 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) +  (0.5ms) ROLLBACK +  (0.4ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN + Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 +  (0.4ms) SAVEPOINT active_record_1 + SQL (3.2ms) 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]] +  (5.5ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) SAVEPOINT active_record_1 + Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 42) LIMIT 1 + SQL (0.4ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" + Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 50 + Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 50 ORDER BY to_date DESC LIMIT 1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.5ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]] + Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 50 LIMIT 1 + Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 50 ORDER BY to_date +  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 39 +  (0.1ms) RELEASE SAVEPOINT active_record_1 +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"} + Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 + Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "50"]] + Adherent::Payment Load (0.5ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 50 + Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 18 + Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 18 +  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 18 + Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 18 + CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 18 + 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) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN + Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 +  (1.0ms) SAVEPOINT active_record_1 + SQL (2.2ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Adherent::Member Exists (1.6ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 43) LIMIT 1 + SQL (4.6ms) 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]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 + Adherent::Member Load (1.0ms) SELECT "adherent_members".* FROM "adherent_members" + Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 51 + Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 51 ORDER BY to_date DESC LIMIT 1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.5ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +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"} + Organism Load (0.6ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 + Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "51"]] + Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 51 ORDER BY to_date +  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 40 + 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) +  (0.3ms) 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"} + Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 + Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "51"]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) 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]] + Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 51 LIMIT 1 + Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 51 ORDER BY to_date +  (0.6ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 40 +  (0.1ms) 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"} + Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 + Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "51"]] + Adherent::Payment Load (0.5ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 51 + Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 19 + Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 19 +  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 19 + Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 19 + CACHE (0.0ms) 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) +  (0.3ms) SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 51 +  (0.1ms) ROLLBACK +  (0.8ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN + Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (3.0ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Adherent::Member Exists (1.9ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 44) LIMIT 1 + SQL (3.3ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Adherent::Member Load (0.7ms) SELECT "adherent_members".* FROM "adherent_members" + Adherent::Adhesion Load (0.8ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 52 + Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 52 ORDER BY to_date DESC LIMIT 1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.6ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +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"} + Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 + Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "52"]] + Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 52 ORDER BY to_date +  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 41 + 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) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +Processing by Adherent::PaymentsController#index as HTML + Parameters: {"member_id"=>"1051"} + Organism Load (0.9ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.5ms) 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]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +Completed 200 OK in 8ms (Views: 0.9ms | ActiveRecord: 1.7ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +Processing by Adherent::PaymentsController#index as HTML + Parameters: {"member_id"=>"1052"} + Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 +  (3.5ms) SAVEPOINT active_record_1 + SQL (0.6ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Completed 200 OK in 12ms (Views: 1.1ms | ActiveRecord: 4.6ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +Processing by Adherent::PaymentsController#create as HTML + Parameters: {"payment"=>{"amount"=>"57", "mode"=>"CB", "date"=>"25/08/2013"}, "member_id"=>"1053"} + Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.7ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/adherent/members/1053/payments +Completed 302 Found in 5ms (ActiveRecord: 1.3ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +Processing by Adherent::PaymentsController#create as HTML + Parameters: {"payment"=>{"amount"=>"57", "mode"=>"CB", "date"=>"25/08/2013"}, "member_id"=>"1055"} + Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Completed 200 OK in 6ms (Views: 2.4ms | ActiveRecord: 0.9ms) +  (0.3ms) ROLLBACK +  (0.1ms) BEGIN +Processing by Adherent::PaymentsController#create as HTML + Parameters: {"payment"=>{"amount"=>"57", "mode"=>"CB", "date"=>"25/08/2013"}, "member_id"=>"1057"} + Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/adherent/members/1057/payments +Completed 302 Found in 7ms (ActiveRecord: 1.0ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +Processing by Adherent::PaymentsController#new as HTML + Parameters: {"member_id"=>"1059"} + Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.7ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Completed 200 OK in 5ms (Views: 1.1ms | ActiveRecord: 1.3ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +Processing by Adherent::MembersController#destroy as HTML + Parameters: {"id"=>"1061"} + Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/adherent/members +Completed 302 Found in 7ms (ActiveRecord: 0.7ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +Processing by Adherent::MembersController#destroy as HTML + Parameters: {"id"=>"1062"} + Organism Load (4.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.5ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/adherent/members +Completed 302 Found in 10ms (ActiveRecord: 5.0ms) +  (2.2ms) ROLLBACK +  (0.1ms) BEGIN +Processing by Adherent::MembersController#new as HTML + Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (2.8ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Completed 200 OK in 53ms (Views: 42.0ms | ActiveRecord: 3.4ms) +  (0.1ms) ROLLBACK +  (0.0ms) BEGIN +Processing by Adherent::MembersController#edit as HTML + Parameters: {"id"=>"998"} + Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Completed 200 OK in 20ms (Views: 15.3ms | ActiveRecord: 0.9ms) +  (0.2ms) ROLLBACK +  (0.9ms) BEGIN +Processing by Adherent::MembersController#edit as HTML + Parameters: {"id"=>"999"} + Organism Load (1.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 +  (0.5ms) SAVEPOINT active_record_1 + SQL (9.5ms) 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]] +  (0.5ms) RELEASE SAVEPOINT active_record_1 +Completed 200 OK in 17ms (Views: 0.7ms | ActiveRecord: 11.9ms) +  (1.8ms) ROLLBACK +  (0.1ms) BEGIN +Processing by Adherent::MembersController#create as HTML + Parameters: {"member"=>{"name"=>"Dupont", "forname"=>"Jules", "number"=>"A001"}} + Organism Load (2.1ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (1.2ms) 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]] +  (7.6ms) RELEASE SAVEPOINT active_record_1 +  (2.5ms) SAVEPOINT active_record_1 + Adherent::Member Exists (0.5ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'A001' AND "adherent_members"."organism_id" = 56) LIMIT 1 + SQL (3.4ms) 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]] +  (0.5ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/adherent/members/53/coord/new +Completed 302 Found in 33ms (ActiveRecord: 17.8ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +Processing by Adherent::MembersController#create as HTML + Parameters: {"member"=>{"name"=>"Dupont", "forname"=>"Jules", "number"=>"A001", "birthdate"=>"06/06/1955"}} + Organism Load (0.5ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (1.0ms) 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]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (2.7ms) SAVEPOINT active_record_1 + Adherent::Member Exists (0.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'A001' AND "adherent_members"."organism_id" = 57) LIMIT 1 + SQL (0.4ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/adherent/members/54/coord/new +Completed 302 Found in 22ms (ActiveRecord: 5.4ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +Processing by Adherent::MembersController#create as HTML + Parameters: {"member"=>{"name"=>"Dupont", "forname"=>"Jules", "number"=>"A001"}} + Organism Load (1.8ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.6ms) 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]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'A001' AND "adherent_members"."organism_id" = 58) LIMIT 1 + SQL (0.4ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/adherent/members/55/coord/new +Completed 302 Found in 15ms (ActiveRecord: 3.5ms) +  (0.5ms) ROLLBACK +  (0.1ms) BEGIN +Processing by Adherent::MembersController#create as HTML + Parameters: {"member"=>{"name"=>"Dupont", "forname"=>"Jules", "number"=>"A001"}} + Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (1.3ms) 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]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Completed 200 OK in 16ms (Views: 1.0ms | ActiveRecord: 1.7ms) +  (1.5ms) ROLLBACK +  (0.1ms) BEGIN +Processing by Adherent::MembersController#update as HTML + Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1065"} + Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (1.0ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/adherent/members/1065 +Completed 302 Found in 12ms (ActiveRecord: 1.6ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +Processing by Adherent::MembersController#update as HTML + Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1066"} + Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/adherent/members/1066 +Completed 302 Found in 5ms (ActiveRecord: 0.9ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +Processing by Adherent::MembersController#update as HTML + Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1067"} + Organism Load (3.5ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.5ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Completed 200 OK in 12ms (Views: 1.0ms | ActiveRecord: 4.2ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +Processing by Adherent::MembersController#update as HTML + Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1068"} + Organism Load (1.5ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 +  (0.5ms) SAVEPOINT active_record_1 + SQL (0.9ms) 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]] +  (0.3ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/adherent/members/1068 +Completed 302 Found in 14ms (ActiveRecord: 3.2ms) +  (1.1ms) ROLLBACK +  (0.1ms) BEGIN +Processing by Adherent::MembersController#index as HTML + Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (1.2ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Completed 200 OK in 14ms (Views: 0.9ms | ActiveRecord: 1.8ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +Processing by Adherent::MembersController#index as HTML + Organism Load (2.1ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (1.6ms) 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]] +  (0.3ms) RELEASE SAVEPOINT active_record_1 + Adherent::Member Load (10.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 65 +Completed 200 OK in 31ms (Views: 1.3ms | ActiveRecord: 14.3ms) +  (6.3ms) ROLLBACK +  (0.1ms) BEGIN +Processing by Adherent::MembersController#show as HTML + Parameters: {"id"=>"998"} + Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) 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]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +Completed 200 OK in 26ms (Views: 21.3ms | ActiveRecord: 1.0ms) +  (0.1ms) ROLLBACK +  (0.2ms) BEGIN +Processing by Adherent::MembersController#show as HTML + Parameters: {"id"=>"999"} + Organism Load (1.0ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.5ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Completed 200 OK in 12ms (Views: 0.9ms | ActiveRecord: 1.7ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +Processing by Adherent::ReglementsController#create as HTML + Parameters: {"reglement"=>{"adhesion_id"=>"9"}, "payment_id"=>"1072"} + Organism Load (4.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 +  (0.3ms) SAVEPOINT active_record_1 + SQL (0.4ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/adherent/members/1071/payments +Completed 302 Found in 10ms (ActiveRecord: 5.2ms) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +Processing by Adherent::ReglementsController#new as HTML + Parameters: {"payment_id"=>"1074"} + Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions"  +Completed 200 OK in 5ms (Views: 1.3ms | ActiveRecord: 1.1ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +Processing by Adherent::ReglementsController#new as HTML + Parameters: {"payment_id"=>"1077"} + Organism Load (0.9ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (2.1ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" +Completed 200 OK in 13ms (Views: 1.5ms | ActiveRecord: 3.4ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +  (1.1ms) ROLLBACK +  (0.1ms) BEGIN +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN + Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 71) LIMIT 1 + SQL (0.3ms) 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", 71], ["updated_at", Sun, 25 Aug 2013 06:32:42 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Adherent::Member Exists (0.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 71) LIMIT 1 + SQL (0.4ms) 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", 71], ["updated_at", Sun, 25 Aug 2013 06:32:42 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 71) LIMIT 1 + SQL (0.3ms) 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", 71], ["updated_at", Sun, 25 Aug 2013 06:32:42 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh003' AND "adherent_members"."organism_id" = 71) LIMIT 1 + SQL (0.3ms) 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", 71], ["updated_at", Sun, 25 Aug 2013 06:32:42 UTC +00:00]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh004' AND "adherent_members"."organism_id" = 71) LIMIT 1 + SQL (0.4ms) 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", 71], ["updated_at", Sun, 25 Aug 2013 06:32:42 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Adherent::Member Load (0.2ms) 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 + Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 + Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 71 + Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 56 ORDER BY to_date + Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 56 LIMIT 1 + Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 57 ORDER BY to_date + Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 57 LIMIT 1 + Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 58 ORDER BY to_date + Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 58 LIMIT 1 + Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 59 ORDER BY to_date + Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 59 LIMIT 1 + Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 60 ORDER BY to_date + Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 60 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 41ms (Views: 33.9ms | ActiveRecord: 3.5ms) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +  (0.1ms) COMMIT +  (1.1ms) BEGIN + Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.5ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 72) LIMIT 1 + SQL (0.5ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 72) LIMIT 1 + SQL (0.4ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 72) LIMIT 1 + SQL (0.4ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh003' AND "adherent_members"."organism_id" = 72) LIMIT 1 + SQL (0.4ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh004' AND "adherent_members"."organism_id" = 72) LIMIT 1 + SQL (0.4ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Adherent::Member Load (0.3ms) 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 + Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 + Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 72 + Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 61 ORDER BY to_date + Adherent::Coord Load (0.1ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 61 LIMIT 1 + Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 62 ORDER BY to_date + Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 62 LIMIT 1 + Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 63 ORDER BY to_date + Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 63 LIMIT 1 + Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 64 ORDER BY to_date + Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 64 LIMIT 1 + Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 65 ORDER BY to_date + Adherent::Coord Load (0.2ms) 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) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN + Organism Load (0.6ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (1.1ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (2.0ms) SAVEPOINT active_record_1 + Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 73) LIMIT 1 + SQL (7.9ms) 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", 73], ["updated_at", Sun, 25 Aug 2013 06:32:42 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (1.1ms) SAVEPOINT active_record_1 + Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 73) LIMIT 1 + SQL (4.0ms) 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", 73], ["updated_at", Sun, 25 Aug 2013 06:32:42 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Adherent::Member Exists (1.6ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 73) LIMIT 1 + SQL (7.9ms) 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", 73], ["updated_at", Sun, 25 Aug 2013 06:32:42 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) SAVEPOINT active_record_1 + Adherent::Member Exists (5.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh003' AND "adherent_members"."organism_id" = 73) LIMIT 1 + SQL (2.1ms) 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", 73], ["updated_at", Sun, 25 Aug 2013 06:32:42 UTC +00:00]] +  (0.4ms) RELEASE SAVEPOINT active_record_1 +  (0.6ms) SAVEPOINT active_record_1 + Adherent::Member Exists (4.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh004' AND "adherent_members"."organism_id" = 73) LIMIT 1 + SQL (4.7ms) 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", 73], ["updated_at", Sun, 25 Aug 2013 06:32:42 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members"  +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 + Organism Load (0.6ms) 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) +  (1.9ms) SELECT COUNT(*) FROM "adherent_members"  +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"} + Organism Load (0.2ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 +  (0.1ms) SAVEPOINT active_record_1 + Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'ADH1' AND "adherent_members"."organism_id" = 73) LIMIT 1 + SQL (0.4ms) 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", "Jessie"], ["name", "James"], ["number", "ADH1"], ["organism_id", 73], ["updated_at", Sun, 25 Aug 2013 06:32:42 UTC +00:00]] +  (0.1ms) 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"} + Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 + Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "71"]] + Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 71 LIMIT 1 + 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) +  (1.4ms) SELECT COUNT(*) FROM "adherent_members" +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN + Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (1.6ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 74) LIMIT 1 + SQL (0.4ms) 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", 74], ["updated_at", Sun, 25 Aug 2013 06:32:42 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 74) LIMIT 1 + SQL (0.4ms) 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", 74], ["updated_at", Sun, 25 Aug 2013 06:32:42 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 74) LIMIT 1 + SQL (0.4ms) 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", 74], ["updated_at", Sun, 25 Aug 2013 06:32:42 UTC +00:00]] +  (0.3ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh003' AND "adherent_members"."organism_id" = 74) LIMIT 1 + SQL (0.4ms) 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", 74], ["updated_at", Sun, 25 Aug 2013 06:32:42 UTC +00:00]] +  (0.5ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh004' AND "adherent_members"."organism_id" = 74) LIMIT 1 + SQL (0.3ms) 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", 74], ["updated_at", Sun, 25 Aug 2013 06:32:42 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Adherent::Member Load (0.2ms) 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 + Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 + Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 74 + Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 72 ORDER BY to_date + Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 72 LIMIT 1 + Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 73 ORDER BY to_date + Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 73 LIMIT 1 + Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 74 ORDER BY to_date + Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 74 LIMIT 1 + Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 75 ORDER BY to_date + Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 75 LIMIT 1 + Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 76 ORDER BY to_date + Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 76 LIMIT 1 + 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 + Organism Load (0.3ms) 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) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +  (0.3ms) COMMIT +  (0.2ms) BEGIN + Organism Load (4.9ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 +  (1.0ms) SAVEPOINT active_record_1 + SQL (3.7ms) 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]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + Adherent::Member Exists (1.0ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 75) LIMIT 1 + SQL (0.8ms) 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", 75], ["updated_at", Sun, 25 Aug 2013 06:32:43 UTC +00:00]] +  (0.5ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) SAVEPOINT active_record_1 + Adherent::Member Exists (0.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 75) LIMIT 1 + SQL (0.3ms) 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", 75], ["updated_at", Sun, 25 Aug 2013 06:32:43 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Adherent::Member Exists (4.8ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 75) LIMIT 1 + SQL (2.2ms) 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", 75], ["updated_at", Sun, 25 Aug 2013 06:32:43 UTC +00:00]] +  (1.9ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Adherent::Member Exists (2.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh003' AND "adherent_members"."organism_id" = 75) LIMIT 1 + SQL (1.7ms) 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", 75], ["updated_at", Sun, 25 Aug 2013 06:32:43 UTC +00:00]] +  (1.1ms) RELEASE SAVEPOINT active_record_1 +  (1.1ms) SAVEPOINT active_record_1 + Adherent::Member Exists (0.9ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh004' AND "adherent_members"."organism_id" = 75) LIMIT 1 + SQL (1.3ms) 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", 75], ["updated_at", Sun, 25 Aug 2013 06:32:43 UTC +00:00]] +  (0.5ms) RELEASE SAVEPOINT active_record_1 + Adherent::Member Load (0.7ms) 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 + Organism Load (0.6ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 + Adherent::Member Load (1.8ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 75 + Adherent::Adhesion Load (3.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 77 ORDER BY to_date + Adherent::Coord Load (1.6ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 77 LIMIT 1 + Adherent::Adhesion Load (2.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 78 ORDER BY to_date + Adherent::Coord Load (2.8ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 78 LIMIT 1 + Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 79 ORDER BY to_date + Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 79 LIMIT 1 + Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 80 ORDER BY to_date + Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 80 LIMIT 1 + Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 81 ORDER BY to_date + Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 81 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 57ms (Views: 28.6ms | ActiveRecord: 14.7ms) + Adherent::Member Load (0.2ms) 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"} + Organism Load (2.7ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 + Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "77"]] +  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 77 +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"} + Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 + Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "77"]] + Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 77 + Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 77 ORDER BY to_date DESC LIMIT 1 + 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) +  (0.2ms) ROLLBACK +  (0.2ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN + Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 +  (0.4ms) SAVEPOINT active_record_1 + SQL (2.9ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Adherent::Member Exists (3.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 76) LIMIT 1 + SQL (1.5ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (1.2ms) SAVEPOINT active_record_1 + Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 76) LIMIT 1 + SQL (0.4ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 76) LIMIT 1 + SQL (0.4ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh003' AND "adherent_members"."organism_id" = 76) LIMIT 1 + SQL (0.7ms) 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]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Adherent::Member Exists (0.6ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh004' AND "adherent_members"."organism_id" = 76) LIMIT 1 + SQL (0.4ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Adherent::Member Load (0.1ms) 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 + Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 + Adherent::Member Load (0.7ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 76 + Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 82 ORDER BY to_date + Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 82 LIMIT 1 + Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 83 ORDER BY to_date + Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 83 LIMIT 1 + Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 84 ORDER BY to_date + Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 84 LIMIT 1 + Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 85 ORDER BY to_date + Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 85 LIMIT 1 + Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 86 ORDER BY to_date + Adherent::Coord Load (6.3ms) 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) + Adherent::Member Load (3.7ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 + Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 82 + Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 82 ORDER BY to_date DESC LIMIT 1 +  (4.2ms) SAVEPOINT active_record_1 + SQL (0.5ms) 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: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]] +  (0.1ms) 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"} + Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 + Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "82"]] +  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 82 + Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 82 +  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 42 + CACHE (0.0ms) 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) +  (0.0ms) ROLLBACK +  (0.1ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN + Organism Load (0.5ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) 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]] +  (0.7ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 77) LIMIT 1 + SQL (0.5ms) 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", 77], ["updated_at", Sun, 25 Aug 2013 06:32:43 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 77) LIMIT 1 + SQL (0.3ms) 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", 77], ["updated_at", Sun, 25 Aug 2013 06:32:43 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Adherent::Member Exists (0.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 77) LIMIT 1 + SQL (0.4ms) 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", 77], ["updated_at", Sun, 25 Aug 2013 06:32:43 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh003' AND "adherent_members"."organism_id" = 77) LIMIT 1 + SQL (0.5ms) 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", 77], ["updated_at", Sun, 25 Aug 2013 06:32:43 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Adherent::Member Exists (0.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh004' AND "adherent_members"."organism_id" = 77) LIMIT 1 + SQL (1.6ms) 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", 77], ["updated_at", Sun, 25 Aug 2013 06:32:43 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Adherent::Member Load (0.5ms) 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 + Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 + Adherent::Member Load (4.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 77 + Adherent::Adhesion Load (3.9ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 87 ORDER BY to_date + Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 87 LIMIT 1 + Adherent::Adhesion Load (3.9ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 88 ORDER BY to_date + Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 88 LIMIT 1 + Adherent::Adhesion Load (3.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 89 ORDER BY to_date + Adherent::Coord Load (0.7ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 89 LIMIT 1 + Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 90 ORDER BY to_date + Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 90 LIMIT 1 + Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 91 ORDER BY to_date + Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 91 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 52ms (Views: 26.4ms | ActiveRecord: 18.2ms) + Adherent::Member Load (0.3ms) 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"} + Organism Load (0.5ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 + Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "87"]] + Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 87 + 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) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +  (0.1ms) COMMIT +  (0.0ms) BEGIN + Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (2.1ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (4.1ms) SAVEPOINT active_record_1 + Adherent::Member Exists (0.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 78) LIMIT 1 + SQL (0.4ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Adherent::Member Exists (1.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 78) LIMIT 1 + SQL (1.1ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 78) LIMIT 1 + SQL (0.3ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Adherent::Member Exists (0.8ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh003' AND "adherent_members"."organism_id" = 78) LIMIT 1 + SQL (0.4ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh004' AND "adherent_members"."organism_id" = 78) LIMIT 1 + SQL (0.4ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Adherent::Member Load (0.2ms) 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 + Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 + Adherent::Member Load (0.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 78 + Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 92 ORDER BY to_date + Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 92 LIMIT 1 + Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 93 ORDER BY to_date + Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 93 LIMIT 1 + Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 ORDER BY to_date + Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 94 LIMIT 1 + Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 95 ORDER BY to_date + Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 95 LIMIT 1 + Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 96 ORDER BY to_date + Adherent::Coord Load (0.3ms) 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) + Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 +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"} + Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 + Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["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) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN + Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 +  (0.5ms) SAVEPOINT active_record_1 + SQL (1.9ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + Adherent::Member Exists (0.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 79) LIMIT 1 + SQL (0.4ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (1.0ms) SAVEPOINT active_record_1 + Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 79) LIMIT 1 + SQL (0.2ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) SAVEPOINT active_record_1 + Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 79) LIMIT 1 + SQL (0.3ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Adherent::Member Exists (1.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh003' AND "adherent_members"."organism_id" = 79) LIMIT 1 + SQL (1.0ms) 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]] +  (1.8ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh004' AND "adherent_members"."organism_id" = 79) LIMIT 1 + SQL (0.4ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Adherent::Member Load (0.2ms) 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 + Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 + Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 79 + Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 97 ORDER BY to_date + Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 97 LIMIT 1 + Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 98 ORDER BY to_date + Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 98 LIMIT 1 + Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 99 ORDER BY to_date + Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 99 LIMIT 1 + Adherent::Adhesion Load (0.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 100 ORDER BY to_date + Adherent::Coord Load (0.9ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 100 LIMIT 1 + Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 101 ORDER BY to_date + Adherent::Coord Load (0.9ms) 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) + Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 +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"} + Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 + Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "97"]] + Adherent::Coord Load (0.3ms) 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"} + Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 + Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "97"]] + Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 97 LIMIT 1 + 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) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +  (0.1ms) COMMIT +  (0.2ms) BEGIN + Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 +  (0.9ms) SAVEPOINT active_record_1 + SQL (1.7ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 80) LIMIT 1 + SQL (0.4ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 80) LIMIT 1 + SQL (0.3ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Adherent::Member Exists (0.5ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 80) LIMIT 1 + SQL (1.4ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh003' AND "adherent_members"."organism_id" = 80) LIMIT 1 + SQL (0.4ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh004' AND "adherent_members"."organism_id" = 80) LIMIT 1 + SQL (0.1ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Adherent::Member Load (0.2ms) 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 + Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 + Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 80 + Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 102 ORDER BY to_date + Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 102 LIMIT 1 + Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 103 ORDER BY to_date + Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 103 LIMIT 1 + Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 104 ORDER BY to_date + Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 104 LIMIT 1 + Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 105 ORDER BY to_date + Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 105 LIMIT 1 + Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 106 ORDER BY to_date + Adherent::Coord Load (0.2ms) 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) + Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.7ms) INSERT 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" [["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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 102 LIMIT 1 +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"} + Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 + Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "102"]] + Adherent::Coord Load (0.2ms) 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) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN + Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (3.5ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 81) LIMIT 1 + SQL (2.2ms) 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", 81], ["updated_at", Sun, 25 Aug 2013 06:32:44 UTC +00:00]] +  (0.7ms) RELEASE SAVEPOINT active_record_1 + Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members"  +  (0.6ms) SAVEPOINT active_record_1 + SQL (0.9ms) 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: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]] +  (0.1ms) 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"} + Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 + Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "107"]] +  (0.4ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 107 + Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 107 +  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 43 + CACHE (0.0ms) 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) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN + Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (2.9ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Adherent::Member Exists (2.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 82) LIMIT 1 + SQL (1.4ms) 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", 82], ["updated_at", Sun, 25 Aug 2013 06:32:44 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Adherent::Member Load (3.6ms) SELECT "adherent_members".* FROM "adherent_members"  +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.6ms) 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: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]] +  (0.1ms) 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"} + Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 + Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "108"]] +  (0.6ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 108 + Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 108 +  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 44 + CACHE (0.0ms) 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"} + Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 + Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "108"]] + Adherent::Adhesion Load (0.9ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 108 ORDER BY to_date +  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 44 + CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 44 + 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) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN + Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (1.3ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (2.1ms) SAVEPOINT active_record_1 + Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 83) LIMIT 1 + SQL (8.2ms) 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]] +  (1.0ms) RELEASE SAVEPOINT active_record_1 + Adherent::Member Load (1.4ms) SELECT "adherent_members".* FROM "adherent_members" +  (1.4ms) SAVEPOINT active_record_1 + SQL (3.2ms) 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]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +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"} + Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 + Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "109"]] +  (0.1ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 109 + Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 109 +  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 45 + CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 45 + 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"} + Organism Load (0.5ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 + Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "109"]] + Adherent::Adhesion Load (0.4ms) 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) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN + Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (2.2ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (1.7ms) SAVEPOINT active_record_1 + Adherent::Member Exists (0.7ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 84) LIMIT 1 + SQL (1.4ms) 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", 84], ["updated_at", Sun, 25 Aug 2013 06:32:44 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members"  +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"} + Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 + Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "110"]] + Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 110 + Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 110 ORDER BY to_date DESC LIMIT 1 + 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) +  (0.4ms) 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"} + Organism Load (0.5ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 + Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "110"]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (68.7ms) 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]] +  (7.9ms) RELEASE SAVEPOINT active_record_1 +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"} + Organism Load (3.2ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 + Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "110"]] +  (5.0ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 110 + Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 110 +  (3.6ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 46 + CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 46 + 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) +  (0.9ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 110 +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN + Organism Load (0.6ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (1.2ms) 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]] +  (1.0ms) RELEASE SAVEPOINT active_record_1 +  (1.3ms) SAVEPOINT active_record_1 + Adherent::Member Exists (1.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 85) LIMIT 1 + SQL (0.4ms) 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", 85], ["updated_at", Sun, 25 Aug 2013 06:32:44 UTC +00:00]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 + Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members"  +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"} + Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 + Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "111"]] + Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 111 + Adherent::Adhesion Load (0.8ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 111 ORDER BY to_date DESC LIMIT 1 + 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) +  (0.4ms) ROLLBACK +  (0.1ms) BEGIN +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +  (0.1ms) ROLLBACK +  (0.0ms) BEGIN +  (0.9ms) ROLLBACK +  (1.2ms) BEGIN +  (29.9ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" IS NULL +  (0.4ms) ROLLBACK +  (0.1ms) BEGIN + Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."organism_id" = 1) LIMIT 1 +  (0.1ms) SAVEPOINT active_record_1 + Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."organism_id" = 1) LIMIT 1 + SQL (0.4ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (1.1ms) 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: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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 112 + Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 112 ORDER BY to_date DESC LIMIT 1 +  (3.0ms) SAVEPOINT active_record_1 + SQL (0.4ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.5ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]] + Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 112 LIMIT 1 + Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 112 ORDER BY to_date +  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 47 +  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 48 +  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 47 + SQL (1.1ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] +  (0.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 48 + SQL (0.4ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "adherent_reglements"  +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN + Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."organism_id" = 1) LIMIT 1 +  (0.1ms) SAVEPOINT active_record_1 + Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."organism_id" = 1) LIMIT 1 + SQL (0.5ms) 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", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Sun, 25 Aug 2013 06:32:45 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (1.7ms) 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]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 + Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 113 + Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 113 ORDER BY to_date DESC LIMIT 1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.5ms) 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: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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.5ms) 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]] + Adherent::Member Load (0.6ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 113 LIMIT 1 + Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 113 ORDER BY to_date +  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 49 +  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 50 +  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 49 + SQL (0.5ms) 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]] +  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 50 + SQL (0.4ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 21 +  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 21 +  (0.0ms) ROLLBACK +  (0.0ms) BEGIN + Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."organism_id" = 1) LIMIT 1 +  (0.1ms) SAVEPOINT active_record_1 + Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."organism_id" = 1) LIMIT 1 + SQL (0.4ms) 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", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Sun, 25 Aug 2013 06:32:45 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 114 + Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 114 ORDER BY to_date DESC LIMIT 1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.9ms) 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: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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) 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]] + Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 114 LIMIT 1 + Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 114 ORDER BY to_date +  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 51 +  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 52 +  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 51 + SQL (0.4ms) 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]] +  (0.4ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) SELECT COUNT(*) FROM "adherent_reglements" +  (0.1ms) ROLLBACK +  (0.3ms) BEGIN +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +  (0.1ms) ROLLBACK +  (2.0ms) BEGIN +  (3.0ms) ROLLBACK +  (0.1ms) BEGIN + Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" IS NULL ORDER BY to_date DESC LIMIT 1 +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN + Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" IS NULL ORDER BY to_date DESC LIMIT 1 +  (0.3ms) ROLLBACK +  (0.1ms) BEGIN + Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" IS NULL ORDER BY to_date DESC LIMIT 1 +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +  (0.1ms) SAVEPOINT active_record_1 + Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh 001' AND "adherent_members"."organism_id" = 1) LIMIT 1 + SQL (0.4ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 115 + Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 115 ORDER BY to_date DESC LIMIT 1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.5ms) 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: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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 115 + Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 115 ORDER BY to_date DESC LIMIT 1 +  (0.3ms) ROLLBACK +  (0.1ms) BEGIN +  (0.1ms) SAVEPOINT active_record_1 + Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh 001' AND "adherent_members"."organism_id" = 1) LIMIT 1 + SQL (0.4ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 116 + Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 116 ORDER BY to_date DESC LIMIT 1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 116 + Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 116 ORDER BY to_date DESC LIMIT 1 +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +  (0.3ms) SAVEPOINT active_record_1 + Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh 001' AND "adherent_members"."organism_id" = 1) LIMIT 1 + SQL (0.6ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 117 + Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 117 ORDER BY to_date DESC LIMIT 1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.5ms) 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: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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 117 + Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 117 ORDER BY to_date DESC LIMIT 1 +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN + Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh 001' AND "adherent_members"."organism_id" = 1) LIMIT 1 +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN + Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" IS NULL AND "adherent_members"."organism_id" = 1) LIMIT 1 +  (0.1ms) ROLLBACK +  (0.0ms) BEGIN + Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh 001' AND "adherent_members"."organism_id" = 1) LIMIT 1 +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN + Adherent::Member Exists (4.0ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh 001' AND "adherent_members"."organism_id" = 1) LIMIT 1 +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +  (0.1ms) SAVEPOINT active_record_1 + Adherent::Member Exists (0.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh 001' AND "adherent_members"."organism_id" = 1) LIMIT 1 + SQL (0.6ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Adherent::Member Exists (6.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh 001' AND "adherent_members"."organism_id" = 2) LIMIT 1 +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +  (0.1ms) SAVEPOINT active_record_1 + Adherent::Member Exists (0.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh 001' AND "adherent_members"."organism_id" = 1) LIMIT 1 + SQL (0.7ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Adherent::Member Exists (6.7ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh 001' AND "adherent_members"."organism_id" = 1) LIMIT 1 +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +  (0.1ms) SAVEPOINT active_record_1 + Adherent::Member Exists (0.9ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh 001' AND "adherent_members"."organism_id" = 1) LIMIT 1 + SQL (2.7ms) 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", 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN + Organism Load (1.7ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.5ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 86) LIMIT 1 + SQL (0.3ms) 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", 86], ["updated_at", Sun, 25 Aug 2013 06:32:45 UTC +00:00]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 + Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members"  +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"} + Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 + Adherent::Member Load (1.6ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "121"]] + Adherent::Coord Load (0.4ms) 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) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN + Organism Load (0.2ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (2.4ms) 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]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (1.6ms) SAVEPOINT active_record_1 + Adherent::Member Exists (4.8ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 87) LIMIT 1 + SQL (0.4ms) 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", 87], ["updated_at", Sun, 25 Aug 2013 06:32:45 UTC +00:00]] +  (1.4ms) RELEASE SAVEPOINT active_record_1 + Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members"  +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"} + Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 + Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "122"]] + Adherent::Coord Load (0.4ms) 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"} + Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 + Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "122"]] + Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 122 LIMIT 1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.7ms) INSERT 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" [["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", ""]] +  (0.1ms) 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"} + Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 + Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "122"]] + Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 122 + Adherent::Adhesion Load (0.3ms) 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) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN + Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) 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]] +  (0.4ms) RELEASE SAVEPOINT active_record_1 +  (0.9ms) SAVEPOINT active_record_1 + Adherent::Member Exists (0.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 88) LIMIT 1 + SQL (0.3ms) 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", 88], ["updated_at", Sun, 25 Aug 2013 06:32:45 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members"  +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"} + Organism Load (2.1ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 + Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "123"]] + Adherent::Coord Load (0.3ms) 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"} + Organism Load (0.6ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 + Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "123"]] + Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 123 LIMIT 1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT 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" [["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", ""]] +  (0.1ms) 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"} + Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 + Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "123"]] + Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 123 + Adherent::Adhesion Load (0.3ms) 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) + Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 123 LIMIT 1 +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN + Organism Load (0.6ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (1.9ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.5ms) SAVEPOINT active_record_1 + Adherent::Member Exists (0.7ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 89) LIMIT 1 + SQL (0.4ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Adherent::Member Load (0.2ms) 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"} + Organism Load (0.6ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 + Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "124"]] + Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 124 LIMIT 1 + 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) +  (0.3ms) 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"} + Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 + Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "124"]] + Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 124 LIMIT 1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT 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" [["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", ""]] +  (0.1ms) 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"} + Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 + Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "124"]] + Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 124 + Adherent::Adhesion Load (0.2ms) 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) +  (0.3ms) SELECT COUNT(*) FROM "adherent_coords"  +  (0.3ms) ROLLBACK +Connecting to database specified by database.yml +  (0.1ms) BEGIN + Organism Load (0.9ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (20.0ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Adherent::Member Exists (0.6ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 90) LIMIT 1 + SQL (0.7ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" + Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 125 + Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 125 ORDER BY to_date DESC LIMIT 1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.8ms) 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]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.8ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]] + Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 125 LIMIT 1 + Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 125 ORDER BY to_date +  (0.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 56 +  (0.1ms) RELEASE SAVEPOINT active_record_1 +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"} + Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 + Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "125"]] + Adherent::Payment Load (0.5ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 125 + Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 23 + Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 23 +  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 23 + Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 23 + CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 23 + 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) +  (0.4ms) ROLLBACK +  (0.0ms) BEGIN + Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 91) LIMIT 1 + SQL (0.3ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" + Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 126 + Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 126 ORDER BY to_date DESC LIMIT 1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.4ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.5ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]] + Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 126 LIMIT 1 + Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 126 ORDER BY to_date +  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 57 +  (0.1ms) RELEASE SAVEPOINT active_record_1 +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"} + Organism Load (0.9ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 + Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "126"]] + Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 126 + Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 24 + Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 24 +  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 24 + Adherent::Reglement Load (0.0ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 24 + CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 24 + 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"} + Organism Load (0.8ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 + Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", "24"]] + Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 126 LIMIT 1 + Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 24 +  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 24 + Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions"  +  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 57 + Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 24 + CACHE (0.0ms) 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) +  (0.1ms) ROLLBACK +  (0.0ms) BEGIN + Organism Load (0.7ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 92) LIMIT 1 + SQL (0.5ms) 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", 92], ["updated_at", Sun, 25 Aug 2013 06:38:16 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members"  + Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 127 + Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 127 ORDER BY to_date DESC LIMIT 1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.5ms) 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: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]] +  (0.1ms) 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"} + Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 + Adherent::Member Load (0.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "127"]] + Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 127 ORDER BY to_date +  (0.2ms) 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) +  (0.3ms) SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 127 +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"} + Organism Load (0.5ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 + Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "127"]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]] + Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 127 LIMIT 1 + Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 127 ORDER BY to_date +  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 58 +  (0.1ms) RELEASE SAVEPOINT active_record_1 +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"} + Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 + Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "127"]] + Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 127 + Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 25 + Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 25 +  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 25 + Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 25 + CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 25 + 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) +  (0.2ms) SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 127 +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN + Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 93) LIMIT 1 + SQL (0.5ms) 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", 93], ["updated_at", Sun, 25 Aug 2013 06:38:16 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members"  + Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 128 + Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 128 ORDER BY to_date DESC LIMIT 1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) 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: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]] +  (0.0ms) 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"} + Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 + Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "128"]] + Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 128 ORDER BY to_date +  (0.2ms) 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) +  (0.2ms) ROLLBACK